* lisp/files.el (move-file-to-trash): Files aren't regexps.
[emacs.git] / lisp / ChangeLog
blobdc8c5e04eb38f3bf065ba28ea3f82019b8d58ad1
1 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5 2012-03-21  Sam Steingold  <sds@gnu.org>
7         * progmodes/etags.el (tags-completion-at-point-function):
8         Avoid the error when point is inside the pattern.
10 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
12         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13         line (Bug#10855).
15 2012-03-21  Drew Adams  <drew.adams@oracle.com>
17         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
19 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
21         * ido.el (ido-set-current-directory, ido-read-internal)
22         (ido-choose-completion-string, ido-completion-help): Handle nil
23         value of ido-completion-buffer (Bug#11008).
25 2012-03-21  Sam Steingold  <sds@gnu.org>
27         * window.el (switch-to-prev-buffer): Do not switch to a visible
28         window previous buffer, just like with the frame previous buffers.
30 2012-03-21  Chong Yidong  <cyd@gnu.org>
32         * faces.el (make-face, make-empty-face, copy-face):
33         * face-remap.el (face-remap-add-relative, face-remap-set-base):
34         Doc fixes.
36 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
38         * wid-edit.el (widget-complete-field): Remove (bug#11051).
39         (widget-complete): Remove broken use of it.
41 2012-03-20  Chong Yidong  <cyd@gnu.org>
43         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
44         Use string-width and truncate-string-width to handle arbitrary
45         characters.
47 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
49         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
50         to draw rectangles, not squares.  (Regression introduced by revno
51         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
53 2012-03-18  Chong Yidong  <cyd@gnu.org>
55         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
56         it is not yet defined (for temacs).
58 2012-03-18  Leo Liu  <sdl.web@gmail.com>
60         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
62 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
64         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
65         (ispell-choices-win-default-height, ispell-silently-savep)
66         (ispell-dictionary-alist, ispell-encoding8-command)
67         (ispell-check-version, ispell-aspell-find-dictionary)
68         (ispell-valid-dictionary-list, ispell-words-keyword)
69         (ispell-get-word, ispell-internal-change-dictionary)
70         (ispell-region, ispell-skip-region-list)
71         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
72         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
73         (ispell-message-text-end, ispell-message)
74         (ispell-buffer-local-parsing): Doc fix.
76 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
78         * htmlfontify.el: Add support for code block fontification for ODT
79         export (Bug #9914).
80         (hfy-optimisations): Define new option
81         `body-text-only'
82         (hfy-fontify-buffer): Honor above setting.
83         (hfy-begin-span, hfy-end-span): New routines factored out form
84         `hfy-fontify-buffer'.
85         (hfy-begin-span-handler, hfy-end-span-handler): New variables
86         that permit insertion of custom tags.
87         (hfy-fontify-buffer): Use above handlers.
88         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
89         (hfy-face-to-css): Re-defined to be a variable.
90         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
91         over multiple runs. This is made possible by having the caller let
92         bind a special variable `hfy-user-sheet-assoc'.
93         (htmlfontify-string): New defun.
94         (hfy-compile-face-map): Make sure that the last char in the
95         buffer is correctly fontified.
96         (hfy-face-resolve-face): Whitespace only change.
98 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
100         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
101         message more clear.
103 2012-03-16  Leo Liu  <sdl.web@gmail.com>
105         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
107 2012-03-16  Alan Mackenzie  <acm@muc.de>
109         Further optimise the handling of large macros.
111         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
112         limit to a call of `c-literal-limits'.
113         (c-determine-+ve-limit): New function.
114         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
115         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
116         In CASE 5B, restrict a search limit to 500.
117         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
119         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
120         Restrict macro bounds to +-500 from after-change's BEG END.
122 2012-03-16  Leo Liu  <sdl.web@gmail.com>
124         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
126 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
128         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
129         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
131 2012-03-16  Glenn Morris  <rgm@gnu.org>
133         * view.el (view-buffer, view-buffer-other-window)
134         (view-buffer-other-frame): Doc fixes re special mode-class.
136         * subr.el (eval-after-load): If named feature is provided not from
137         a file, run after-load forms.  (Bug#10946)
139         * calendar/calendar.el (calendar-insert-at-column):
140         Handle non-unit-width characters a bit better.  (Bug#10978)
142 2012-03-15  Chong Yidong  <cyd@gnu.org>
144         * emacs-lisp/ring.el (ring-extend): New function.
145         (ring-insert+extend): Extend the ring correctly (Bug#11019).
147         * comint.el (comint-read-input-ring)
148         (comint-add-to-input-history): Grow comint-input-ring lazily.
150 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
152         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
153         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
155         * imenu.el: Fix multiple inheritance breakage (bug#9199).
156         (imenu-add-to-menubar): Don't add a redundant index.
157         (imenu-update-menubar): Handle a dynamically composed keymap.
159 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
161         * mail/sendmail.el (mail-encode-header):
162         Bind rfc2047-encode-encoded-words to nil.
164 2012-03-13  Glenn Morris  <rgm@gnu.org>
166         * calendar/calendar.el (calendar-string-spread):
167         Handle non-unit-width characters a bit better.  (Bug#10978)
169 2012-03-13  Leo Liu  <sdl.web@gmail.com>
171         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
172         directory and file as argument (Bug#10822).
174 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
176         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
177         For dynamically generated code, follow $PC.
178         (gdb-disassembly-handler-custom): Handle no function name case.
180 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
182         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
183         * emulation/ws-mode.el (ws-query-replace):
184         * sort.el (sort-regexp-fields):
185         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
187 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
189         * dabbrev.el: Fix cycle completion order (bug#10963).
190         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
191         (dabbrev-completion): Don't use an obarray; provide
192         a cycle-sort-function.
194 2012-03-12  Leo Liu  <sdl.web@gmail.com>
196         * simple.el (kill-new): Use equal-including-properties for comparison.
197         (kill-do-not-save-duplicates): Doc fix.
199 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * dabbrev.el: Fix cycle completion (bug#10963).
202         Use lexical binding and wrap to 80 columns.
203         (dabbrev-completion): Delay computing the list of completions.
205 2012-03-12  Kenichi Handa  <handa@m17n.org>
207         * international/quail.el (quail-insert-kbd-layout): Surround each
208         row by LRO and PDF instead of inserting many LRMs.  Pad the left
209         and right of each non-spacing marks.  Insert invisible space
210         between lower and upper characters to prevent composition.
212 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * minibuffer.el (minibuffer-complete): Don't get confused when the
215         function is run twice via different commands (bug#10958).
216         (complete-with-action): Fix docstring.
218 2012-03-12  Chong Yidong  <cyd@gnu.org>
220         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
221         (nxml-completion-at-point-function): New function.
222         (nxml-mode): Use it.
223         (nxml-bind-meta-tab-to-complete-flag): Default to t.
225         * emacs-lisp/package.el (package-unpack, package-unpack-single):
226         Load generated autoloads file before byte compiling (Bug#10970).
227         (package--make-autoloads-and-compile): New helper fun.
229 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
231         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
233 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
235         * autorevert.el (auto-revert-handler): Ensure, that
236         file-readable-p is applied only for local files or in
237         auto-revert-tail-mode.
239 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
241         * server.el (server-eval-at): Handle non-tcp connections.
242         Decode result string.
244         * server.el (server-msg-size): New constant.
245         (server-reply-print): New function.
246         (server-eval-and-print): Use it.
247         (server-eval-at): Use server-quote-arg and server-unquote-arg.
248         Handle -print-nonl.
250 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
252         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
253         (Bug#10987).
255 2012-03-11  Chong Yidong  <cyd@gnu.org>
257         * simple.el (goto-line): Doc fix (Bug#9938).
259         * subr.el (save-window-excursion): Doc fix (Bug#9979).
261         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
262         when finished (Bug#10963).
264 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
266         * window.el (split-window-below): Fix bug in case where
267         split-window-keep-point is nil (Bug#10971).
269 2012-03-11  Juri Linkov  <juri@jurta.org>
271         * replace.el (replace-highlight): Set isearch-word to nil
272         unconditionally.  (Bug#10887)
274 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
276         * net/mairix.el (mairix-replace-invalid-chars): Rename from
277         mairix-replace-illegal-chars; all callers changed.  Don't remove
278         ^, ~, and = characters: they are meaningful in mairix search specs.
279         (mairix-widget-create-query): Add usage information about mairix
280         search forms: negating words, searching for substrings, etc.
282 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
284         * international/fontset.el (font-encoding-alist): Add an entry for
285         ksx1001 (Bug#5667).
287 2012-03-10  Richard Stallman  <rms@gnu.org>
289         * mail/sendmail.el (mail-encode-header):
290         Set rfc2047-encode-encoded-words.
292         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
294         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
295         view buffer means not swapped.
296         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
297         (rmail-write-region-annotate): Error if real text has disappeared.
299         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
301 2012-03-10  Chong Yidong  <cyd@gnu.org>
303         * emulation/cua-rect.el (cua--init-rectangles):
304         * emulation/cua-base.el (cua--init-keymaps):
305         Add delete-forward-char to remappings (Bug#9666).
307 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
309         * speedbar.el (speedbar-unhighlight-one-tag-line):
310         Avoid unhighlighting due to frame switching (Bug#10275).
312 2012-03-10  Chong Yidong  <cyd@gnu.org>
314         * minibuffer.el (completion-in-region, completion-help-at-point):
315         Give the completion field overlay a high priority (Bug#6830).
317         * dired.el (dired-goto-file): Recognize absolute file name
318         listings (Bug#7126).
319         (dired-goto-file-1): New helper function.
320         (dired-toggle-read-only): Inhibit warnings.
322 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
324         * net/dbus.el: (dbus-property-handler): Return empty array if
325         there are no properties.
327 2012-03-09  Leo Liu  <sdl.web@gmail.com>
329         * savehist.el (savehist-printable): Stricter check for string
330         value (Bug#10937).
332 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
334         * mail/smtpmail.el (smtpmail-send-it):
335         Bind coding-system-for-write to *-unix, so that FCC files are kept in
336         valid mbox format.
338 2012-03-09  Glenn Morris  <rgm@gnu.org>
340         * files.el (dir-locals-find-file):
341         Don't check result is regular, readable.
342         (dir-locals-read-from-file): Demote errors.
344 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
346         * international/quail.el (quail-insert-kbd-layout):
347         Insert invisible LRM characters before each character in a keyboard
348         layout cell, to prevent their reordering by bidi display engine.
349         For details, see the discussion in
350         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
352 2012-03-08  Alan Mackenzie  <acm@muc.de>
354         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
355         the starting position; make it extend the marked region when
356         invoked repeatedly - all under appropriate circumstances.
357         Fixes bugs #5525, #10906.
359 2012-03-08  Glenn Morris  <rgm@gnu.org>
361         * files.el (locate-dominating-file, dir-locals-find-file):
362         Undo 2012-03-06 change.
364 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
366         * international/quail.el (quail-help):
367         Force bidi-paragraph-direction be left-to-right.  See discussion in
368         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
369         for the reason.
371 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
373         Avoid superfluous registering of signals.  (Bug#10807)
375         * notifications.el (notifications-on-action-object)
376         (notifications-on-close-object): New defvars.
377         (notifications-on-action-signal, notifications-on-closed-signal):
378         Unregister the signal if not needed any longer.
379         (notifications-notify): Register `notifications-action-signal' or
380         `notifications-closed-signal', if :on-action or :on-close has been
381         passed as argument.
383 2012-03-07  Chong Yidong  <cyd@gnu.org>
385         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
386         non-X platforms.
388 2012-03-06  Glenn Morris  <rgm@gnu.org>
390         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
391         (x-disown-selection-internal, x-get-selection-internal):
392         Doc fix (add arglist signatures).  (Bug#10783)
394 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
396         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
397         Handle breakpoints with no "type".
399 2012-03-06  Glenn Morris  <rgm@gnu.org>
401         * files.el (locate-dominating-file): Add optional predicate argument.
402         (dir-locals-find-file): Make use of above change.
404 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
406         * info.el (Info-insert-dir): Also try "dir.gz".
408 2012-03-06  Glenn Morris  <rgm@gnu.org>
410         * files.el (dir-locals-find-file):
411         Ignore non-readable or non-regular files.  (Bug#10928)
413         * files.el (locate-dominating-file): Doc fix.
415 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
417         * calendar/calendar.el (calendar-set-mode-line):
418         `getenv' returns a string.  (Bug#10951)
420 2012-03-05  Leo Liu  <sdl.web@gmail.com>
422         * simple.el (backward-delete-char-untabify): Constrain point to
423         field (Bug#10939).
425         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
427 2012-03-05  Chong Yidong  <cyd@gnu.org>
429         * simple.el (count-words): If called from Lisp, return the word
430         count, for symmetry with `count-lines'.  Arglist changed.
431         (count-words--message): Args changed.  Consolidate counting code
432         from count-words and count-words-region.
433         (count-words-region): Caller changed.
434         (count-lines-region): Make it an obsolete alias.
436 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
438         * saveplace.el (save-place-to-alist)
439         (save-place-ignore-files-regexp): Allow value nil to disable this
440         feature.
442 2012-03-04  Chong Yidong  <cyd@gnu.org>
444         * faces.el (face-spec-reset-face): For the default face, reset the
445         attributes to default values (Bug#10748).
447 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
449         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
450         previous patch: Check `message-send-mail-function', and not the
451         default function (bug#10897).
453 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
455         * notifications.el (notifications-on-action-signal)
456         (notifications-on-closed-signal): Check for unique service name of
457         incoming event.  Fix error in removing entry.
458         (top): Register for signals with wildcard service name.
459         (notifications-notify): Use daemon unique service name for map entries.
461 2012-03-04  Chong Yidong  <cyd@gnu.org>
463         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
465 2012-03-04  Glenn Morris  <rgm@gnu.org>
467         * abbrev.el (copy-abbrev-table, abbrev-table-p)
468         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
469         (expand-abbrev, define-abbrev-table): Doc fixes.
471 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
473         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
474         `message-default-send-mail-function' and not `send-mail-function'
475         when doing the prompting for `sendmail-query-once' before sending
476         in Message buffers (bug#10897).
478         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
479         This is inconsistent with all the other stream functions, which leave
480         the setting up to the higher levels (if so wanted) (bug#10931).
482 2012-03-02  Alan Mackenzie  <acm@muc.de>
484         Depessimize the handling of very large macros.
486         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
487         (c-macro-cache-syntactic): New variables to implement a one
488         element macro cache.
489         (c-invalidate-macro-cache): New function.
490         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
491         Adapt to use the new cache.
492         (c-state-safe-place): Use better the cache of safe positions.
493         (c-state-semi-nonlit-pos-cache)
494         (c-state-semi-nonlit-pos-cache-limit):
495         New variables for...
496         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
497         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
498         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
499         Use c-state-semi-safe-place.
501         * progmodes/cc-langs.el (c-get-state-before-change-functions):
502         Add c-invalidate-macro-cache to the C, C++, Obj entries.
504 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
506         * jka-compr.el (jka-compr-call-process):
507         Apply `file-accessible-directory-p' only when the default directory is
508         not remote.
510 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
512         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
513         access of FILE2, if FILE1 does not exist.
515         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
516         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
518         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
519         Add "PAGER=" to `process-environment'.
521 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
523         * progmodes/sql.el: Bug fix
524         (sql-get-login-ext): Save login values in globals.
525         (sql-get-login): Use new version of `sql-get-login-ext'.
526         (sql-interactive-mode): Set global `sql-connection' to nil.
527         (sql-connect): Set global values for connection.
528         (sql-product-interactive): Save global values as buffer local.
530 2012-02-29  Leo Liu  <sdl.web@gmail.com>
532         * abbrev.el (define-abbrevs): Reset sys to nil.
534 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
536         * files.el (file-equal-p): Rename from `files-equal-p'.
537         Return nil when one or both files don't exist.
538         (file-subdir-of-p): Now only top directory must exists,
539         return nil if it doesn't.
540         (copy-directory): No need to test with `file-subdir-of-p' after
541         creating dir.
542         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
543         to `file-equal-p'.
545 2012-02-28  Glenn Morris  <rgm@gnu.org>
547         * shell.el (shell-mode):
548         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
549         * play/landmark.el (landmark-font-lock-face-O):
550         * play/handwrite.el (handwrite):
551         * play/gomoku.el (gomoku-O):
552         * net/browse-url.el (browse-url-browser-display):
553         * international/mule.el (define-charset):
554         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
555         * filesets.el (filesets-find-file-delay):
556         * eshell/em-xtra.el (eshell-xtra):
557         * eshell/em-unix.el (eshell-grep):
558         * emulation/viper.el (viper-mode):
559         * emacs-lisp/regexp-opt.el (regexp-opt-group):
560         * emacs-lisp/easymenu.el (easy-menu-define):
561         * calendar/timeclock.el (timeclock-use-display-time):
562         * bs.el (bs-mode):
563         * bookmark.el (bookmark-save-flag):
564         Doc fix (standardize possessive apostrophe usage).
566 2012-02-27  Chong Yidong  <cyd@gnu.org>
568         * emulation/viper-cmd.el (viper-intercept-ESC-key):
569         Fix key-binding lookup for ESC key (Bug#9146).
571         * font-lock.el (font-lock-specified-p): Rename from
572         font-lock-spec-present.  Callers changed.
574 2012-02-27  Daniel Hackney  <dan@haxney.org>
576         * emacs-lisp/package.el (package-compute-transaction):
577         Handle holding a package version to t in package-load-list.
579 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
581         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
582         (tramp-get-inode, tramp-get-device): Use cached values.
584 2012-02-26  Alan Mackenzie  <acm@muc.de>
586         Check there is a font-lock specification before doing initial
587         fontification.
589         * font-core.el (font-lock-mode): Move the conditional from
590         :after-hook to font-lock-initial-fontify.
591         (font-lock-default-function): Move the check for a specification
592         to font-lock-spec-present.
594         * font-lock.el (font-lock-initial-fontify): Call ...
595         (font-lock-spec-present): New function.
597 2012-02-26  Jim Blandy  <jimb@red-bean.com>
599         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
600         (gdb-send): Apply it to the operand of the '-interpreter-exec
601         console' command, so that we can pass arguments with (say) quotes
602         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
604 2012-02-26  Chong Yidong  <cyd@gnu.org>
606         * help-fns.el (describe-function-1): Clarify description of
607         remapping (Bug#10844).
609         * files.el (files-equal-p): Doc fix.
610         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
611         and quit the loop once a mismatch is found.
613 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
615         * bs.el (bs--show-with-configuration): Don't throw an error
616         if the window cannot be split; otherwise, subsequent calls to
617         bs-show fail, restoring a stale window config.  (Bug#10882)
619 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
621         * term/ns-win.el (global-map): Bind ns-drag-file to
622         ns-find-file (Bug#5855, Bug#10050).
624 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
626         * calendar/parse-time.el (parse-time-string): Allow extractor to
627         return nil.
629 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
631         * net/tramp.el (tramp-file-name-for-operation):
632         Add `files-equal-p' and `file-subdir-of-p'.
634         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
635         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
636         Add COPY-CONTENTS argument.
638 2012-02-25  Chong Yidong  <cyd@gnu.org>
640         Add custom groups for VC backends, for consistency with vc-bzr.
642         * vc/vc-arch.el (vc-arch):
643         * vc/vc-cvs.el (vc-cvs):
644         * vc/vc-git.el (vc-git):
645         * vc/vc-hg.el (vc-hg):
646         * vc/vc-mtn.el (vc-mtn):
647         * vc/vc-rcs.el (vc-rcs):
648         * vc/vc-sccs.el (vc-sccs):
649         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
650         All relevant defcustoms reassigned.
652 2012-02-25  Chong Yidong  <cyd@gnu.org>
654         * newcomment.el (comment-styles): Add autoload (Bug#10868).
656         * term/x-win.el (x-initialize-window-system): Reduce default for
657         x-selection-timeout to 5 seconds (Bug#8869).
659 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
661         * files.el (file-subdir-of-p): Fix typo.
663 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
665         * files.el (files-equal-p, file-subdir-of-p): New functions.
666         (copy-directory): Error when trying to copy a directory on itself.
667         Add missing copy-contents arg to tramp handler.
668         * dired-aux.el (dired-copy-file-recursive): Same.
669         (dired-create-files): Modify destination when source is equal to
670         dest when copying files.
671         Return also when dest is a subdir of source.  (Bug#10489)
673 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
675         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
676         (Bug#10874)
678 2012-02-23  Alan Mackenzie  <acm@muc.de>
680         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
681         parameter "after-hook:" to allow the expansion to run code after
682         the execution of the mode hooks.
684         * font-lock.el (font-lock-initial-fontify): New function extracted
685         from font-lock-mode-internal.
687         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
688         :after-hook.
690 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
692         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
693         (completion--cache-all-sorted-completions): New function.
694         (completion-all-sorted-completions): Use it.
695         (completion--do-completion, minibuffer-force-complete):
696         Use it to re-instate the flush hook.
698         * icomplete.el (icomplete-completions): Replace last fix with a better
699         one (bug#10850).
701 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
703         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
704         when it might call us back infinitely (bug#10797).
706 2012-02-23  Glenn Morris  <rgm@gnu.org>
708         * minibuffer.el (completion-category-overrides): Doc fix.
710 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
712         * minibuffer.el (completion-table-with-context): Fix inf-loop.
713         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
715 2012-02-23  Glenn Morris  <rgm@gnu.org>
717         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
718         (authors-obsolete-files-regexps, authors-ignored-files)
719         (authors-ambiguous-files, authors-renamed-files-alist):
720         Add more entries.
722 2012-02-23  Juri Linkov  <juri@jurta.org>
724         * isearch.el (isearch-occur): Sync interactive spec with occur's
725         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
727         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
729 2012-02-22  Juri Linkov  <juri@jurta.org>
731         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
732         (ucs-insert): Doc fix.  Check for hex digits in the string.
733         Don't display `nil' in the error message.  (Bug#10857)
735 2012-02-22  Alan Mackenzie  <acm@muc.de>
737         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
739 2012-02-22  Glenn Morris  <rgm@gnu.org>
741         * ffap.el (ffap-c-path):
742         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
744 2012-02-22  Chong Yidong  <cyd@gnu.org>
746         * custom.el (load-theme): Doc fix.
748 2012-02-22  Glenn Morris  <rgm@gnu.org>
750         * dired-x.el (dired-guess-shell-alist-default):
751         Remove escape sequences from nroff output.  (Bug#172)
753 2012-02-21  Glenn Morris  <rgm@gnu.org>
755         * vc/emerge.el (emerge-defvar-local):
756         Set `permanent-local' property rather than unused `preserved'.
758         * textmodes/picture.el (picture-delete-char): New alias.
759         (picture-mode-map): Use it.  (Bug#10860)
760         (picture-mode): Doc fix.
762 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
764         * newcomment.el (uncomment-region-default): Remove unused binding.
766 2012-02-21  Glenn Morris  <rgm@gnu.org>
768         * textmodes/picture.el (picture-motion, picture-motion-reverse)
769         (picture-self-insert, picture-tab-chars): Doc fix.
770         (picture-mode-map): Fix C-a, C-e.
772 2012-02-20  Glenn Morris  <rgm@gnu.org>
774         * emacs-lisp/authors.el (authors-aliases): Add another entry.
776 2012-02-20  Leo Liu  <sdl.web@gmail.com>
778         * icomplete.el (icomplete-completions): Check FROM arg before
779         passing to substring (Bug#10850).
781 2012-02-19  Chong Yidong  <cyd@gnu.org>
783         * comint.el: Require ansi-color.
784         (comint-output-filter-functions): Add ansi-color-process-output.
786         * ansi-color.el: Don't set comint-output-filter-functions; it is
787         now in the initial value defined in comint.el.
788         (ansi-color-apply-face-function): New variable.
789         (ansi-color-apply-on-region): Use it.
790         (ansi-color-apply-overlay-face): New function.
792         * shell.el (shell): No need to require ansi-color.
793         (shell-mode): Use ansi-color-apply-face-function to highlight
794         color escapes using font-lock-face property (Bug#10835).
796 2012-02-19  Chong Yidong  <cyd@gnu.org>
798         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
799         mode-line formats (Bug#10839).
801 2012-02-18  Glenn Morris  <rgm@gnu.org>
803         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
805         * mail/undigest.el (unforward-rmail-message): Doc fix.
807         * saveplace.el (save-place-ignore-files-regexp): Add :version.
809 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
811         * international/characters.el (script-list): Sync with the latest
812         Unicode Character Database.
814 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
816         * international/titdic-cnv.el: Remove duplicate coding tag.
817         * language/cham.el: Likewise.
818         * language/tai-viet.el: Likewise.
820 2012-02-18  Glenn Morris  <rgm@gnu.org>
822         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
823         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
824         (calendar-bahai-all-holidays-flag, calendar-other-dates):
825         * calendar/diary-lib.el (diary-abbreviated-year-flag):
826         * calendar/holidays.el (holiday-bahai-holidays)
827         (calendar-holidays, list-holidays):
828         Use utf-8 Bahá'í in doc-strings, menus, etc.
830 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
832         * saveplace.el (save-place-ignore-files-regexp): New variable
833         allowing for excluding files from saving their location of point.
834         The default value matches the temporary commit message editing
835         files from Git, SVN, Bazaar, and Mercurial.
836         (save-place-to-alist): Use it.
838 2012-02-17  Lawrence Mitchell <wence@gmx.li>
839             Stefan Monnier  <monnier@iro.umontreal.ca>
841         * newcomment.el (uncomment-region-default): Don't leave extra space
842         when an arg is provided (bug#8150).
844 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
846         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
848 2012-02-17  Glenn Morris  <rgm@gnu.org>
850         * net/socks.el: Require network-stream.  (Bug#10599)
852 2012-02-17  Kenichi Handa  <handa@m17n.org>
854         * international/charprop.el:
855         * international/uni-name.el:
856         * international/uni-old-name.el:
857         * international/uni-comment.el: Regenerate.
859 2012-02-16  Glenn Morris  <rgm@gnu.org>
861         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
862         Interactively in calendar buffer, give an error if not on a date.
864 2012-02-15  Glenn Morris  <rgm@gnu.org>
866         * shell.el (shell-delimiter-argument-list):
867         Revert 2011-02-17 change.  (Bug#8027)
869 2012-02-15  Chong Yidong  <cyd@gnu.org>
871         * minibuffer.el (completion-at-point-functions): Doc fix.
873         * custom.el (defcustom): Doc fix; note use of defvar.
875 2012-02-15  Glenn Morris  <rgm@gnu.org>
877         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
878         Doc fixes.
880 2012-02-14  Glenn Morris  <rgm@gnu.org>
882         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
884 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
886         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
887         way the ports list is computed.
888         (smtpmail-query-smtp-server): Prompt the user for a port number if
889         we can't connect to any of the standard ports (bug#10810).
891 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
893         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
895 2012-02-13  Glenn Morris  <rgm@gnu.org>
897         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
899 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
901         * net/gnutls.el (gnutls-trustfiles): New variable.
902         (gnutls-negotiate): Use it.
904 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
906         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
907         does its stuff if Gnus is running.
909 2012-02-13  Alan Mackenzie  <acm@muc.de>
911         Fix a loop in c-set-fl-decl-start.
913         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
914         c-backward-syntactic-ws actually moves backwards.
916 2012-02-13  Leo Liu  <sdl.web@gmail.com>
918         * net/rcirc.el (rcirc-markup-attributes): Move point to the
919         beginning so that all \C-o chars are removed.
921 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
923         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
925 2012-02-12  Alan Mackenzie  <acm@muc.de>
927         Fix infinite loop with long macros.
928         * cc-engine.el (c-state-safe-place): Handle macros properly.
930 2012-02-12  Chong Yidong  <cyd@gnu.org>
932         * window.el (display-buffer): Doc fix (Bug#10785).
934 2012-02-12  Glenn Morris  <rgm@gnu.org>
936         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
937         (x-disown-selection-internal, x-get-selection-internal):
938         Sync docs with the xselect.c versions.
940         * allout-widgets.el: Add missing license notice.
942 2012-02-11  Glenn Morris  <rgm@gnu.org>
944         * select.el (x-get-selection-internal, x-own-selection-internal)
945         (x-disown-selection-internal):
946         * x-dnd.el (x-get-selection-internal): Update declarations.
948         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
950         * window.el (window-sides-slots):
951         * tool-bar.el (tool-bar-position):
952         * term/xterm.el (xterm-extra-capabilities):
953         * ses.el (ses-self-reference-early-detection):
954         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
955         (verilog-auto-wire-type)
956         (verilog-auto-delete-trailing-whitespace)
957         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
958         (verilog-auto-tieoff-declaration):
959         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
960         (sql-oracle-statement-starters, sql-oracle-scan-on):
961         * progmodes/prolog.el (prolog-align-comments-flag)
962         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
963         (prolog-left-indent-regexp, prolog-paren-indent-p)
964         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
965         (prolog-types, prolog-mode-specificators)
966         (prolog-determinism-specificators, prolog-directives)
967         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
968         (prolog-electric-dot-flag)
969         (prolog-electric-dot-full-predicate-template)
970         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
971         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
972         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
973         (prolog-program-switches, prolog-prompt-regexp)
974         (prolog-debug-on-string, prolog-debug-off-string)
975         (prolog-trace-on-string, prolog-trace-off-string)
976         (prolog-zip-on-string, prolog-zip-off-string)
977         (prolog-use-standard-consult-compile-method-flag)
978         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
979         (prolog-imenu-max-lines, prolog-info-predicate-index)
980         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
981         (prolog-char-quote-workaround):
982         * progmodes/cc-vars.el (c-defun-tactic):
983         * net/tramp.el (tramp-encoding-command-interactive)
984         (tramp-local-end-of-line):
985         * net/soap-client.el (soap-client):
986         * net/netrc.el (netrc-file):
987         * net/gnutls.el (gnutls):
988         * minibuffer.el (completion-category-overrides)
989         (completion-cycle-threshold)
990         (completion-pcm-complete-word-inserts-delimiters):
991         * man.el (Man-name-local-regexp):
992         * mail/feedmail.el (feedmail-display-full-frame):
993         * international/characters.el (glyphless-char-display-control):
994         * eshell/em-ls.el (eshell-ls-date-format):
995         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
996         (lisp-lambda-list-keyword-parameter-indentation)
997         (lisp-lambda-list-keyword-parameter-alignment):
998         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
999         * dired-x.el (dired-omit-verbose):
1000         * cus-theme.el (custom-theme-allow-multiple-selections):
1001         * calc/calc.el (calc-highlight-selections-with-faces)
1002         (calc-lu-field-reference, calc-lu-power-reference)
1003         (calc-note-threshold):
1004         * battery.el (battery-mode-line-limit):
1005         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1006         (archive-7z-update):
1007         * allout.el (allout-prefixed-keybindings)
1008         (allout-unprefixed-keybindings)
1009         (allout-inhibit-auto-fill-on-headline)
1010         (allout-flattened-numbering-abbreviation):
1011         * allout-widgets.el (allout-widgets-auto-activation)
1012         (allout-widgets-icons-dark-subdir)
1013         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1014         (allout-widgets-theme-dark-background)
1015         (allout-widgets-theme-light-background)
1016         (allout-widgets-item-image-properties-emacs)
1017         (allout-widgets-item-image-properties-xemacs)
1018         (allout-widgets-run-unit-tests-on-load)
1019         (allout-widgets-time-decoration-activity)
1020         (allout-widgets-hook-error-post-time)
1021         (allout-widgets-track-decoration):
1022         Add missing :version tags to new defcustoms and defgroups.
1024         * progmodes/sql.el (sql-ansi-statement-starters)
1025         (sql-oracle-statement-starters): Add custom type.
1027         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1028         (prolog-system-version): Give it a type.
1030 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1032         * term/pc-win.el (x-select-text, x-selection-owner-p)
1033         (x-own-selection-internal, x-disown-selection-internal)
1034         (x-get-selection-internal): Sync doc strings and argument lists
1035         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1037 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1039         * progmodes/python.el (python-end-of-statement): Fix infinite
1040         loop.  (Bug#10788)
1042 2012-02-10  Glenn Morris  <rgm@gnu.org>
1044         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1045         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1047 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1049         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1050         about SMTP before checking the From header.
1052         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1053         into own function for reuse by emacsbug.el.
1055 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1057         * subr.el (condition-case-unless-debug): Rename from
1058         condition-case-no-debug.  All callers changed.
1059         (with-demoted-errors): Fix caller.
1061         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1062         * nxml/rng-valid.el (rng-do-some-validation):
1063         * emacs-lisp/package.el (package-refresh-contents)
1064         (package-menu-execute):
1065         * desktop.el (desktop-create-buffer):
1066         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1068 2012-02-10  Glenn Morris  <rgm@gnu.org>
1070         * textmodes/bibtex.el:
1071         Add missing :version tags for new/changed defcustoms.
1073         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1075 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1077         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1078         (smtpmail-via-smtp): Use it, or fall back on the From address.
1079         (smtpmail-send-it): Ditto.
1081 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1083         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1084         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1085         (byte-compile-tmp-var): New const.
1086         (byte-compile-defvar): Use it to minimize .elc size.
1087         Just use `defvar' rather than simulate it (bug#10761).
1089 2012-02-09  Glenn Morris  <rgm@gnu.org>
1091         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1093         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1094         Add :version tags.
1096         * progmodes/compile.el (compilation-error-screen-columns)
1097         (compilation-first-column, compilation-filter-start): Doc fixes.
1099         * vc/log-view.el (log-view-toggle-entry-display):
1100         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1102         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1103         (report-emacs-bug-can-use-xdg-email):
1104         (report-emacs-bug-insert-to-mailer): Doc fixes.
1105         (report-emacs-bug): Message fix.
1107         * net/browse-url.el (browse-url-can-use-xdg-open)
1108         (browse-url-xdg-open): Doc fixes.
1110         * electric.el (electric-indent-mode, electric-pair-mode)
1111         (electric-layout-rules, electric-layout-mode): Doc fixes.
1112         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1114 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1116         * server.el (server-unselect-display): Don't inadvertently kill
1117         the current buffer.  (Bug#10729)
1119 2012-02-08  Glenn Morris  <rgm@gnu.org>
1121         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1122         (sql-list-table): Doc fixes.
1124         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1125         Comment out (does nothing).
1127         * completion.el (dynamic-completion-mode):
1128         * dirtrack.el (dirtrack-debug-mode):
1129         * electric.el (electric-layout-mode):
1130         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1131         * face-remap.el (text-scale-mode, buffer-face-mode):
1132         * iimage.el (iimage-mode):
1133         * image-mode.el (image-transform-mode):
1134         * minibuffer.el (completion-in-region-mode):
1135         * scroll-lock.el (scroll-lock-mode):
1136         * simple.el (next-error-follow-minor-mode):
1137         * tar-mode.el (tar-subfile-mode):
1138         * tooltip.el (tooltip-mode):
1139         * vcursor.el (vcursor-use-vcursor-map):
1140         * wid-browse.el (widget-minor-mode):
1141         * emulation/tpu-edt.el (tpu-edt-mode):
1142         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1143         * international/iso-ascii.el (iso-ascii-mode):
1144         * language/thai-util.el (thai-word-mode):
1145         * mail/supercite.el (sc-minor-mode):
1146         * net/goto-addr.el (goto-address-mode):
1147         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1148         * progmodes/cwarn.el (cwarn-mode):
1149         * progmodes/flymake.el (flymake-mode):
1150         * progmodes/glasses.el (glasses-mode):
1151         * progmodes/hideshow.el (hs-minor-mode):
1152         * progmodes/pascal.el (pascal-outline-mode):
1153         * textmodes/enriched.el (enriched-mode):
1154         * vc/smerge-mode.el (smerge-mode):
1155         Doc fixes (minor mode argument).
1157 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1159         * ls-lisp.el (ls-lisp-sanitize): New function.
1160         (ls-lisp-insert-directory): Use it to fix or remove any elements
1161         in file-alist with missing attributes.  (Bug#4673)
1163 2012-02-07  Alan Mackenzie  <acm@muc.de>
1165         Fix spurious recognition of c-in-knr-argdecl.
1167         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1168         putative K&R region.
1170 2012-02-07  Alan Mackenzie  <acm@muc.de>
1172         * progmodes/cc-engine.el (c-forward-objc-directive):
1173         Prevent looping in "#pragma mark @implementation".
1175 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1177         * notifications.el (notifications-on-closed-signal): Make `reason'
1178         optional.  (Bug#10744)
1180 2012-02-07  Glenn Morris  <rgm@gnu.org>
1182         * emacs-lisp/easy-mmode.el (define-minor-mode):
1183         Doc fixes for the macro and the mode it defines.
1185         * image.el (imagemagick-types-inhibit): Doc fix.
1187         * cus-start.el (imagemagick-render-type): Add it.
1189 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1191         * progmodes/cc-mode.el
1192         (c-standard-font-lock-fontify-region-function): Set the default at
1193         load time, too, so that `font-lock-fontify-buffer' can be called
1194         without setting up the entire mode first.  This fixes a bug in
1195         `mm-inline-text' with C MIME parts.
1197 2012-02-06  Chong Yidong  <cyd@gnu.org>
1199         * simple.el (list-processes--refresh): Delete exited processes
1200         (Bug#8094).
1202         * comint.el (comint-next-prompt): next-single-char-property-change
1203         and prev-single-char-property-change never return nil (Bug#8657).
1205         * custom.el (defcustom): Doc fix (Bug#9711).
1207 2012-02-05  Chong Yidong  <cyd@gnu.org>
1209         * cus-edit.el (custom-variable-reset-backup): Quote the value
1210         before storing it in the customized-value property (Bug#6712).
1211         (custom-display): Add a customization type tag.
1212         (custom-buffer-create-internal): Improve tooltip message.
1214         * wid-edit.el (widget-field-value-get): New optional arg to
1215         suppress trailing whitespace truncation.
1216         (character): Use it (Bug#2689).
1218 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1220         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1221         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1223 2012-02-05  Chong Yidong  <cyd@gnu.org>
1225         * cus-edit.el (custom-variable-value-create): For mismatched
1226         types, show the current value (Bug#7600).
1228         * custom.el (defcustom): Doc fix.
1230 2012-02-05  Glenn Morris  <rgm@gnu.org>
1232         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1234 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1236         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1237         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1238         (pp-last-sexp): Use `looking-at-p'.
1240 2012-02-04  Glenn Morris  <rgm@gnu.org>
1242         * files.el (revert-buffer):
1243         Doc fix (mention revert-buffer-in-progress-p).
1245         * emacs-lisp/ert-x.el (ert-simulate-command):
1246         Check deferred-action-list (which is obsolete) is bound.
1248         * subr.el (with-wrapper-hook): Doc fixes.
1250         * simple.el (filter-buffer-substring-functions)
1251         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1253 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1255         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1256         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1258 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1260         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1262 2012-02-04  Glenn Morris  <rgm@gnu.org>
1264         * image.el (image-extension-data): Add obsolete alias.
1266         * isearch.el (isearch-update): Doc fix.
1268         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1270         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1272 2012-02-03  Glenn Morris  <rgm@gnu.org>
1274         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1275         (image-animate-timeout): Doc fix.
1277         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1279 2012-02-02  Glenn Morris  <rgm@gnu.org>
1281         * server.el (server-auth-dir): Doc fix.
1282         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1284         * subr.el (run-mode-hooks): Doc fix.
1286 2012-02-02  Juri Linkov  <juri@jurta.org>
1288         * image-mode.el (image-toggle-display-image): Remove tautological
1289         `major-mode' from the `derived-mode-p' test.
1291 2012-02-02  Kenichi Handa  <handa@m17n.org>
1293         * composite.el (compose-region): Cancel previous change.
1295 2012-02-02  Kenichi Handa  <handa@m17n.org>
1297         * composite.el (compose-region, compose-string): Signal error for
1298         a null string component (Bug#6988).
1300 2012-02-01  Chong Yidong  <cyd@gnu.org>
1302         * view.el (view-buffer-other-window, view-buffer-other-frame):
1303         Handle special modes like view-buffer (Bug#10650).
1304         (view-buffer): Simplify.
1306         * frame.el (set-frame-font): Tweak meaning of third argument.
1308         * dynamic-setting.el (font-setting-change-default-font):
1309         Use set-frame-font (Bug#9982).
1311 2012-02-01  Glenn Morris  <rgm@gnu.org>
1313         * progmodes/compile.el (compilation-internal-error-properties):
1314         Respect compilation-first-column in the "*compilation*" buffer.
1316         * emacs-lisp/easy-mmode.el (define-minor-mode):
1317         Relax :variable's test for a named function.
1319 2012-01-31  Alan Mackenzie  <acm@muc.de>
1321         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1322         off by one error.
1324 2012-01-31  Chong Yidong  <cyd@gnu.org>
1326         * frame.el (set-frame-font): New arg ALL-FRAMES.
1328         * menu-bar.el (menu-set-font): Use set-frame-font.
1330         * faces.el (face-spec-reset-face): Don't apply unspecified
1331         attribute values to the default face.
1333 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1335         * progmodes/cwarn.el (cwarn): Remove dead link.
1336         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1337         Remove * from defcustom docstrings.
1338         (turn-on-cwarn-mode): Make obsolete.
1339         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1340         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1342 2012-01-31  Glenn Morris  <rgm@gnu.org>
1344         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1345         Fix :variable handling of mode a symbol not equal to modefun.
1346         Allow named functions to be used as the cdr of :variable.
1348 2012-01-30  Glenn Morris  <rgm@gnu.org>
1350         * emacs-lisp/authors.el (authors-fixed-entries):
1351         Remove reference to deleted file rnewspost.el.
1353 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1355         * window.el (window-with-parameter): Remove unused variable `windows'.
1356         (window--side-check): Remove unused variable `code'.
1357         (window--resize-siblings): Remove unused variable `first'.
1358         (adjust-window-trailing-edge): Remove unused variable `failed'.
1359         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1360         Use `let', not `let*'.
1361         (balance-windows-2): Remove unused variable `found'.
1362         (window--state-put-2): Remove unused variable `splits'.
1363         (window-state-put): Remove unused variable `selected'.
1364         (same-window-p): Use `string-match-p'.
1365         (display-buffer-assq-regexp): Remove unused variable `value'.
1366         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1367         Mark argument ALIST as ignored.
1368         (pop-to-buffer): Remove unused variable `old-window'.
1370 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1372         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1373         and .lzma compressed files.
1375 2012-01-29  Chong Yidong  <cyd@gnu.org>
1377         * frame.el (window-system-default-frame-alist): Doc fix.
1379         * dynamic-setting.el (font-setting-change-default-font): Don't
1380         change the default face if SET-FONT argument is non-nil (Bug#9982).
1382 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1384         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1386 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1388         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1389         breakpoints in files outside current directory (Bug#6098).
1391 2012-01-29  Chong Yidong  <cyd@gnu.org>
1393         * progmodes/python.el: Require ansi-color at top-level.
1395         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1396         Define and use in Emacs Lisp mode (Bug#9360).
1397         (lisp-mode-abbrev-table): Add doc.
1398         (lisp-mode-variables): Don't set local-abbrev-table.
1399         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1401 2012-01-28  Roland Winkler  <winkler@gnu.org>
1403         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1405 2012-01-28  Roland Winkler  <winkler@gnu.org>
1407         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1408         (bibtex-set-dialect): Use it.  Either set global values of
1409         dialect-dependent variables or bind these variables buffer-locally
1410         (Bug#10254).
1411         (bibtex-mode): Call bibtex-set-dialect via
1412         hack-local-variables-hook.
1413         (bibtex-dialect): Update docstring.
1414         Add safe-local-variable predicate.
1415         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1416         bibtex-set-dialect.
1417         (bibtex-mode-map): Define menu for each dialect.
1418         (bibtex-entry): Fix docstring.
1420 2012-01-28  Chong Yidong  <cyd@gnu.org>
1422         * eshell/esh-arg.el (eshell-quote-argument): New function.
1424         * eshell/esh-ext.el (eshell-invoke-batch-file):
1425         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1426         first arg to eshell-parse-command (Bug#10523).
1428 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1430         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1431         `default-directory' is non-nil.
1433 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1435         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1436         line that displays system-configuration-options.  (Bug#9924)
1438 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1440         * descr-text.el (describe-char): Show information about POS, in
1441         addition to information about the character at POS.  Improve and
1442         update the doc string.  Change "code point" to "code point in
1443         charset", to avoid confusion with the character's Unicode code
1444         point shown above that.  (Bug#10129)
1446 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1448         * descr-text.el (describe-char): Show the raw character, not only
1449         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1450         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1451         for the reasons.
1453 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1455         * emacs-lisp/package.el (package-install):
1456         Run package-refresh-contents if there is no archive yet (Bug#9798).
1458 2012-01-28  Chong Yidong  <cyd@gnu.org>
1460         * emacs-lisp/package.el (package-maybe-load-descriptor):
1461         New function, split from package-maybe-load-descriptor.
1462         (package-maybe-load-descriptor): Use it.
1463         (package-download-transaction): Fully load required packages
1464         inside the loop, so that `require' calls work (Bug#10593).
1465         (package-install): No need to call package-initialize now.
1467 2012-01-28  Chong Yidong  <cyd@gnu.org>
1469         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1471         * tooltip.el (tooltip-mode): Doc fix.
1472         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1474         * frame.el (set-cursor-color): Doc fix (Bug#352).
1476         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1477         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1479         * cus-edit.el (custom-buffer-create-internal): Fix search button
1480         action (Bug#10542).
1481         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1483 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1485         * dired.el (dired-mark-files-regexp):
1486         Include any subdirectory components.  (Bug#10445)
1488 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1490         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1491         Handle [host]:port syntax.  (Bug#10533)
1493 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1495         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1497 2012-01-26  Glenn Morris  <rgm@gnu.org>
1499         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1500         * term.el (term-raw-escape-map): Use Control-X-prefix.
1501         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1503 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1505         * window.el (window-state-get, window--state-get-1): Don't deal
1506         with fixed-sizeness of windows.  Simplify code.
1508 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1510         * window.el (window--state-get-1, window--state-put-2):
1511         Don't save and restore the mark.
1513 2012-01-25  Chong Yidong  <cyd@gnu.org>
1515         * custom.el (custom-variable-p): Doc fix.
1517 2012-01-25  Glenn Morris  <rgm@gnu.org>
1519         * dired.el (dired-goto-file): Handle some of the more common
1520         characters that `ls -b' escapes.  (Bug#10596)
1522         * progmodes/compile.el (compilation-next-error-function):
1523         Respect compilation-first-column in the "*compilation*" buffer.
1524         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1526         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1528 2012-01-24  Glenn Morris  <rgm@gnu.org>
1530         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1532 2012-01-24  Julien Danjou  <julien@danjou.info>
1534         * color.el (color-rgb-to-hsl): Fix value computing.
1535         (color-hue-to-rgb): New function.
1536         (color-hsl-to-rgb): New function.
1537         (color-clamp, color-saturate-hsl, color-saturate-name)
1538         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1539         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1541 2012-01-24  Glenn Morris  <rgm@gnu.org>
1543         * vc/vc-rcs.el (vc-rcs-create-tag):
1544         * vc/vc-sccs.el (vc-sccs-create-tag):
1545         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1547 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1549         * eshell/esh-util.el (eshell-read-hosts-file):
1550         Skip comment lines.  (Bug#10549)
1552         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1554 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1556         * subr.el (display-delayed-warnings): Doc fix.
1557         (collapse-delayed-warnings): New function to collapse identical
1558         adjacent warnings.
1559         (delayed-warnings-hook): Add it.
1561 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1563         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1565         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1566         properties, when "login-as" is set.
1568         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1569         (tramp-default-user-alist): Don't add "pscp".
1570         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1571         property "login-as", if set.  (Bug#10530)
1573 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1575         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1576         "plink1" and "psftp".  (Bug#10530)
1578 2012-01-21  Kenichi Handa  <handa@m17n.org>
1580         * international/mule-cmds.el (prefer-coding-system): Show a
1581         warning message if the default value of file-name-coding-system
1582         was not changed.
1584 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1586         * windmove.el (windmove-reference-loc):
1587         Fix windmove-reference-loc miscalculation.
1589 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1591         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1592         default unit.
1594 2012-01-21  Glenn Morris  <rgm@gnu.org>
1596         * international/mule.el (auto-coding-alist): Add .tbz.
1598         * files.el (local-enable-local-variables): Doc fix.
1599         (inhibit-local-variables-regexps): Rename from
1600         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1601         Doc fix.  Add some extensions from auto-coding-alist.
1602         (inhibit-local-variables-suffixes):
1603         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1604         (inhibit-local-variables-p):
1605         New function, extracted from set-auto-mode-1.
1606         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1607         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1608         (hack-local-variables): Doc fix.  Make the mode-only case
1609         respect enable-local-variables and friends.
1610         Respect inhibit-local-variables-regexps for file-locals, but
1611         not for directory-locals.
1612         (set-visited-file-name):
1613         Take account of inhibit-local-variables-regexps.
1614         Whether it applies may change as the file name is changed.
1615         * jka-cmpr-hook.el (jka-compr-install):
1616         * jka-compr.el (jka-compr-uninstall):
1617         Update for inhibit-first-line-modes-suffixes name change.
1619 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1621         * help-macro.el (make-help-screen): Temporarily restore original
1622         binding for minor-mode-map-alist (Bug#10454).
1624 2012-01-19  Julien Danjou  <julien@danjou.info>
1626         * color.el (color-name-to-rgb): Use the white color to find the max
1627         color component value and return correctly computed values.
1628         (color-name-to-rgb): Add missing float conversion for max value.
1630 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1632         * window.el (window--state-get-1, window-state-get): Do not use
1633         special state value for window-persistent-parameters.
1634         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1635         (window--state-put-2): Reset all window parameters to nil before
1636         assigning values of persistent parameters.
1638 2012-01-18  Alan Mackenzie  <acm@muc.de>
1640         Eliminate sluggishness and hangs in fontification of "semicolon
1641         deserts".
1643         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1644         Change value 10000 -> 3000.
1645         (c-state-safe-place): Reformulate so it doesn't stack up an
1646         infinite number of wrong entries in c-state-nonlit-pos-cache.
1647         (c-determine-limit-get-base, c-determine-limit): New functions to
1648         determine backward search limits disregarding literals.
1649         (c-find-decl-spots): Amend commenting.
1650         (c-cheap-inside-bracelist-p): New function which detects "={".
1652         * progmodes/cc-fonts.el
1653         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1654         backward search.
1655         (c-font-lock-declarations): Fix an occurrence of point being
1656         undefined.  Check additionally for point being in a bracelist or
1657         near a macro invocation without a semicolon so as to avoid a
1658         fruitless time consuming search for a declarator.  Give a more
1659         precise search limit for declarators using the new
1660         c-determine-limit.
1662 2012-01-18  Glenn Morris  <rgm@gnu.org>
1664         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1665         (set-auto-mode): Doc fixes.
1667 2012-01-17  Glenn Morris  <rgm@gnu.org>
1669         * isearch.el (search-nonincremental-instead): Fix doc typo.
1671         * dired.el (dired-insert-directory): Handle newlines in directory name.
1672         (dired-build-subdir-alist): Unescape newlines in directory name.
1674 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1676         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1677         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1678         (tramp-action-terminal): Use it.  (Bug#10530)
1680 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1682         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1684 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1686         * window.el (window-state-ignored-parameters): Remove variable.
1687         (window--state-get-1): Rename argument MARKERS to IGNORE.
1688         Handle persistent window parameters.  Make copy of clone-of
1689         parameter only if requested.  (Bug#10348)
1690         (window--state-put-2): Install a window parameter only if it has
1691         a non-nil value or an existing parameter shall be overwritten.
1693 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1695         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1697 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1699         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1700         don't pass the (nil) value of `upnode' to string-match.
1702 2012-01-14  Chong Yidong  <cyd@gnu.org>
1704         * startup.el (command-line): Fix X resource class for cursorColor.
1705         Fix values recognized by the cursorBlink resource.
1707 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
1709         * epg.el (epg--make-temp-file): Avoid permission race condition
1710         when running on old Emacs versions (bug#10403).
1712 2012-01-14  Glenn Morris  <rgm@gnu.org>
1714         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1716 2012-01-13  Alan Mackenzie  <acm@muc.de>
1718         Fix filling for when filladapt mode is enabled.
1720         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1721         c-mask-paragraph, pass in `fill-paragraph' rather than
1722         `fill-region-as-paragraph'.  (This is a reversion of a previous
1723         change.)
1724         * progmodes/cc-mode.el (c-basic-common-init):
1725         Make fill-paragraph-handle-comment buffer local and set it to nil.
1727 2012-01-13  Glenn Morris  <rgm@gnu.org>
1729         * dired.el (dired-switches-escape-p): New function.
1730         (dired-insert-directory): Use dired-switches-escape-p.
1731         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
1733         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
1735 2012-01-12  Glenn Morris  <rgm@gnu.org>
1737         * mail/sendmail.el (mail-mode): Update paragraph-separate for
1738         changes in adaptive-fill-regexp.  (Bug#10276)
1740 2012-01-11  Alan Mackenzie  <acm@muc.de>
1742         Fix Emacs bug #10463 - put `widen's around the critical spots.
1744         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1745         widen around each invocation of c-state-pp-to-literal.  Remove an
1746         unused let variable.
1748 2012-01-11  Glenn Morris  <rgm@gnu.org>
1750         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
1751         Doc fix.
1753 2012-01-10  Chong Yidong  <cyd@gnu.org>
1755         * net/network-stream.el (network-stream-open-starttls):
1756         Avoid emitting a confusing error message when the server gives a bad
1757         response to the capability command.
1759 2012-01-10  Glenn Morris  <rgm@gnu.org>
1761         * mail/unrmail.el (unrmail): Tweak previous change.
1763 2012-01-09  Chong Yidong  <cyd@gnu.org>
1765         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1767 2012-01-08  Alan Mackenzie  <acm@muc.de>
1769         Optimise font locking in long enum definitions.
1771         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1772         arm to a cond form to handle enums.
1773         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1774         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1776 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1778         * files.el (move-file-to-trash): Preserve default file modes on error.
1779         (Bug#10401)
1781 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1783         * faces.el (set-face-attribute): Clarify the meaning of the nil
1784         frame (bug#10294).
1786         * subr.el (with-selected-frame): Mention that the selected frame
1787         is restored (bug#9980).
1789         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1790         (bug#9759).
1792         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1793         (password-read): Don't autoload unused function.
1795 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
1797         * progmodes/which-func.el (which-func-mode): Turn into a
1798         non-interactive function and mark as obsolete (bug#10428).
1800 2012-01-06  Chong Yidong  <cyd@gnu.org>
1802         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1803         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1804         functions, along with 1 and -1.
1806 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
1808         * time.el (display-time-load-average)
1809         (display-time-default-load-average): Doc fixes.  See the thread
1810         starting at
1811         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1812         for the details.
1814 2012-01-06  Glenn Morris  <rgm@gnu.org>
1816         * mail/unrmail.el (unrmail): Give an explicit error if the input file
1817         has no messages.  (Bug#10377)
1819         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1820         than Info-edit.  (Bug#10385)
1822         * time.el (display-time-load-average, display-time-next-load-average):
1823         Doc fixes.
1825         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1826         local setting of buffer-read-only to the input buffer.  (Bug#10419)
1828         * calendar/calendar.el (calendar-mode):
1829         Locally set scroll-margin to 0.  (Bug#10379)
1831 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
1833         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
1835 2012-01-05  Glenn Morris  <rgm@gnu.org>
1837         * eshell/em-unix.el (diff-no-select): Autoload it.
1838         (eshell/diff): Use diff-no-select.  (Bug#10420)
1840 2012-01-05  Chong Yidong  <cyd@gnu.org>
1842         * shell.el (shell-dynamic-complete-functions): Revert last change.
1843         (shell-command-completion-function): New function.
1844         (shell-completion-vars): Use it to implement
1845         shell-completion-execonly (Bug#10417).
1847         * custom.el (enable-theme): Don't set custom-safe-themes.
1849         * cus-theme.el (custom-theme-merge-theme):
1850         Ignore custom-enabled-themes and custom-safe-themes.
1852 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
1854         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1855         first prompt in `sql-interacive-mode'.
1856         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1857         keywords.
1858         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1859         (sql-product-interactive): Bug fix: Set `sql-buffer' in
1860         context of original buffer.  Invoke `sql-login-hook'.
1862 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
1864         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1865         letters in cite-prefix.
1867 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1869         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1871 2012-01-03  Chong Yidong  <cyd@gnu.org>
1873         * shell.el (shell-dynamic-complete-functions):
1874         Put pcomplete-completions-at-point, so as to try
1875         comint-filename-completion first (Bug#10417).
1877 2012-01-02  Richard Stallman  <rms@gnu.org>
1879         * battery.el (battery-status-function):
1880         Detect when to use battery-yeeloong-sysfs.
1881         (battery-echo-area-format): Add string for Yeeloong.
1882         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1883         (battery-yeeloong-sysfs): New function.
1885 2012-01-02  Chong Yidong  <cyd@gnu.org>
1887         * dirtrack.el (dirtrack-list): Eliminate unused third element.
1888         (dirtrack): Merge code for handling relative filenames in prompt
1889         from shell-dir-cookie-watcher.
1890         (dirtrack-debug-message): New arg to avoid excess format calls.
1892         * shell.el (shell-dir-cookie-re): Variable deleted.
1893         (shell-dir-cookie-watcher): Function deleted.
1894         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1895         with dirtrack-mode.
1897 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
1899         * term/w32-win.el (dynamic-library-alist) <gnutls>:
1900         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1901         libgnutls-26.dll.
1903 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
1905         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1907 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
1909         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1910         headers of non-MIME messages, when rmail-enable-mime is non-nil.
1912 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
1914         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1915         also for alternative shells.
1916         (tramp-open-connection-setup-interactive-shell): Check, whether
1917         the shell is a busybox.
1918         (tramp-send-command): Don't suppress multiple prompts for
1919         busyboxes, it hurts.
1921 2011-12-28  Chong Yidong  <cyd@gnu.org>
1923         * progmodes/gdb-mi.el (gdb-get-source-file-list)
1924         (gdb-get-source-file): Move mode line update to
1925         gdb-get-source-file (Bug#10087).
1927 2011-12-25  Chong Yidong  <cyd@gnu.org>
1929         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1930         gud-gdb-marker-filter without taking it as an argument.
1931         (gud-gdb-run-command-fetch-lines): Caller changed.
1932         (gud-gdb-completion-function): New variable.
1933         (gud-gdb-completion-at-point): Use it.
1934         (gud-gdb-completions-1): Split from gud-gdb-completions.
1936         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1937         function as separate arguments.
1938         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1939         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1940         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1941         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1942         (gdb-stopped, def-gdb-auto-update-trigger)
1943         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1944         (gdb-get-changed-registers, gdb-get-main-selected-frame):
1945         Callers changed.
1946         (gud-gdbmi-completions): New function.
1947         (gdb): Use it for generating the completion table.
1949 2011-12-24  Alan Mackenzie  <acm@muc.de>
1951         Introduce a mechanism to widen the region used in context font
1952         locking.  Use this to protect declarations from losing their contexts.
1954         * progmodes/cc-langs.el (c-before-font-lock-functions):
1955         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1956         (c-before-context-fontification-functions): New defvar, a list of
1957         functions to be run just before context (etc.) font locking.
1959         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
1960         New, functionality extracted from
1961         c-neutralize-syntax-in-and-mark-CPP.
1962         (c-in-after-change-fontification): New variable.
1963         (c-after-change): Set c-in-after-change-fontification.
1964         (c-set-fl-decl-start): Rejig its interface, so it can be called
1965         from both after-change and context fontifying.
1966         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1967         New functions.
1968         (c-standard-font-lock-fontify-region-function): New variable.
1969         (c-font-lock-fontify-region): New function.
1971 2011-12-24  Juri Linkov  <juri@jurta.org>
1973         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1974         (Bug#10348)
1976 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
1978         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1979         existence of source file.  (Bug#10325)
1981 2011-12-23  Alan Mackenzie  <acm@muc.de>
1983         Fix unstable fontification inside templates.
1985         * progmodes/cc-langs.el (c-before-font-lock-functions):
1986         Newly created from the singular version.  The (c c++ objc) entry now
1987         additionally has c-set-fl-decl-start.  The other languages (apart
1988         from AWK) have that as a single entry.
1990         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1991         The functionality for "local" declarations has been extracted to
1992         c-set-fl-decl-start.
1994         * progmodes/cc-mode.el (c-common-init, c-after-change):
1995         Changes due to pluralisation of c-before-font-lock-functions.
1996         (c-set-fl-decl-start): New function, extracted from
1997         c-font-lock-enclosing-decls and enhanced.
1999 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2001         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2003 2011-12-22  Juri Linkov  <juri@jurta.org>
2005         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2007 2011-12-22  Chong Yidong  <cyd@gnu.org>
2009         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2011 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2013         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2015 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2017         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2019 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2021         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2022         highlighting and support.  Fix up comments for capitalization.
2023         (cfengine-mode-debug): New var.
2024         (cfengine3-mode): Change the modeline indicator to "CFE3".
2025         (cfengine3-font-lock-keywords): Improve defun highlighting.
2026         (cfengine2-actions): Rename from `cfengine-actions'.
2027         (cfengine2-font-lock-keywords): Rename from
2028         `cfengine-font-lock-keywords'.
2029         (cfengine2-imenu-expression): Rename from
2030         `cfengine-imenu-expression'.
2031         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2032         (cfengine2-beginning-of-defun): Rename from
2033         `cfengine-beginning-of-defun'.
2034         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2035         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2036         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2037         modeline indicator to "CFE2".
2038         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2039         (cfengine-mode-abbrevs): Mark obsolete.
2041 2011-12-21  Chong Yidong  <cyd@gnu.org>
2043         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2044         filename argument.
2046 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2048         * window.el (window-normalize-buffer-to-display): Remove.
2049         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2051 2011-12-19  Chong Yidong  <cyd@gnu.org>
2053         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2054         Don't signal an error in a predicate function; return non-nil.
2055         (vc-dir-mark-file): Move the error here.
2056         (vc-dir-mark-unmark): If acting on the region, keep going if one
2057         of the entries cannot be marked/unmarked.
2058         (vc-dir-mark-all-files): If current entry is a directory, mark
2059         only child files, as documented.
2061 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2063         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2064         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2065         addition.
2067 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2069         * term/ns-win.el (ns-get-selection-internal)
2070         (ns-store-selection-internal): Declare.
2071         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2072         Declare as obsolete.
2073         (ns-get-pasteboard, ns-paste-secondary):
2074         Use ns-get-selection-internal.
2075         (ns-set-pasteboard,  ns-copy-including-secondary):
2076         Use ns-store-selection-internal.
2078 2011-12-17  Chong Yidong  <cyd@gnu.org>
2080         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2081         (vc-deduce-fileset): Doc fix.
2083 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2085         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2087 2011-12-13  Sam Steingold  <sds@gnu.org>
2089         * man.el (Man-getpage-in-background): When running under a
2090         window-system, ignore $MANWIDTH and $COLUMNS.
2092 2011-12-15  Kenichi Handa  <handa@m17n.org>
2094         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2095         (setup-ethiopic-environment-internal): Comment out key-binding for
2096         ethio-toggle-punctuation.
2098 2011-12-13  Alan Mackenzie  <acm@muc.de>
2100         Add the switch statement to AWK Mode.
2102         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2103         "default" to the keywords regexp.
2105         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2106         expression as the rest.
2107         (c-nonlabel-token-key): Allow string literals for AWK.
2108         Refactor for the other modes.
2110         Large brace-block initialisation makes CC Mode slow: Fix.
2111         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2112         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2114         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2115         pp-state and literal type in addition to the limits.
2116         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2117         (c-state-literal-at): Use the above new defun.
2118         (c-slow-in-literal, c-fast-in-literal): Remove.
2119         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2121         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2122         being in a literal.  Add a limit for backward searching.
2124         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2125         c-slow-in-literal.
2127 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2129         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2131 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2133         * window.el (delete-other-windows): Use correct frame in call to
2134         window-with-parameter.
2136 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2138         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2139         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2140         (makefile-gmake-statements, makefile-makepp-statements):
2141         Use it and add new makepp keywords.
2142         (makefile-makepp-font-lock-keywords): Add new patterns.
2143         (makefile-match-function-end): Match new [...] and [[...]].
2145 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2147         * ses.el (ses-call-printer-return, ses-cell-property-get)
2148         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2149         (ses-create-cell-variable, ses-reset-header-string)
2150         (ses-cell-set-formula, ses-repair-cell-reference-all)
2151         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2152         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2153         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2154         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2155         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2156         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2157         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2158         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2159         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2160         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2161         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2162         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2164 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2166         * ses.el: The overall change is to add cell renaming, that is
2167         setting fancy names for cell symbols other than name matching
2168         "\\`[A-Z]+[0-9]+\\'" regexp .
2169         (ses-create-cell-variable): New defun.
2170         (ses-relocate-formula): Relocate formulas only for cells the
2171         symbols of which are not renamed, i.e. symbols whose names do not
2172         match regexp "\\`[A-Z]+[0-9]+\\'".
2173         (ses-relocate-all): Relocate values only for cells the symbols of
2174         which are not renamed.
2175         (ses-load): Create cells variables as the (ses-cell ...) are read,
2176         in order to check row col consistency with cell symbol name only
2177         for cells that are not renamed.
2178         (ses-replace-name-in-formula): New defun.
2179         (ses-rename-cell): New defun.
2181 2011-12-11  Chong Yidong  <cyd@gnu.org>
2183         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2184         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2186 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2188         * window.el (other-window): Fix docstring.
2190 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2192         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2193         `from' or `to' address before taking its substring.
2194         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2195         encoded name is chopped in the middle of the encoded string, and
2196         thus displayed encoded.
2198 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2200         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2202 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2204         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2205         to use texinfo-update-node and commands that call it if the
2206         Texinfo file uses @node lines without next/prev/up pointers.
2207         Correct outdated description about texinfo-master-menu.
2208         (texinfo-all-menus-update, texinfo-master-menu)
2209         (texinfo-update-node, texinfo-every-node-update)
2210         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2211         all the @node lines.
2212         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2213         argument is numeric.  Explain better in the doc string what the
2214         function really does.
2215         (texinfo-insert-master-menu-list): Improve the error message
2216         displayed if there's no menu in the Top node.
2217         (Bug#2975)  See also this thread:
2218         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2220 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2222         * speedbar.el (speedbar-supported-extension-expressions):
2223         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2225 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2227         * printing.el (pr-mode-alist):
2228         * simple.el (filter-buffer-substring-functions)
2229         (completion-list-insert-choice-function):
2230         * window.el (window-with-parameter, window-atom-root)
2231         (window-sides-slots, window-size-fixed, window-min-delta)
2232         (window-max-delta, window--resize-mini-window)
2233         (window--resize-child-windows-normal, window-tree)
2234         (delete-other-windows, quit-window, split-window)
2235         (display-buffer-record-window, special-display-buffer-names)
2236         (special-display-regexps, special-display-popup-frame)
2237         (same-window-p, split-window-sensibly)
2238         (display-buffer-overriding-action, display-buffer-alist)
2239         (display-buffer-base-action, display-buffer, switch-to-buffer)
2240         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2241         (fit-window-to-buffer, recenter-positions)
2242         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2243         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2244         and remove unneeded backslashes in docstrings.
2246 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2248         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2250         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2251         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2252         end in ".mk".
2253         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2254         when reading the makefile (bug#10116).
2256 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2258         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2259         (bug#10116).
2261 2011-12-06  Glenn Morris  <rgm@gnu.org>
2263         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2265 2011-12-06  Chong Yidong  <cyd@gnu.org>
2267         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2269 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2271         * textmodes/table.el (table-shorten-cell): Fix typo.
2273 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2275         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2277 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2279         * descr-text.el (describe-char): Fix display of strong
2280         right-to-left characters and directional embeddings and overrides.
2282         * simple.el (what-cursor-position): Fix display of codepoints of
2283         strong right-to-left characters.
2285 2011-12-05  Chong Yidong  <cyd@gnu.org>
2287         * faces.el (read-color): Doc fix.
2289 2011-12-05  Glenn Morris  <rgm@gnu.org>
2291         * align.el (align--set-marker): Add doc-string.
2292         Don't try to move something that is not a marker.  (Bug#10216)
2294 2011-12-04  Glenn Morris  <rgm@gnu.org>
2296         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2297         overly zealous deletion of trailing whitespace.
2299 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2301         * server.el (server-delete-client): On Windows, do not try to delete
2302         the only terminal.
2303         (server-process-filter): On Windows, treat requests for a tty frame as
2304         if they were for a GUI frame if the running server is in GUI mode.
2306 2011-12-03  Glenn Morris  <rgm@gnu.org>
2308         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2310 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2312         * electric.el: Streamline electric-indent's hook.
2313         (electric-indent-chars): Revert to simple list.
2314         (electric-indent-functions): New var.
2315         (electric-indent-post-self-insert-function): Use it.
2317         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2318         there's no inferior buffer (bug#10196).
2319         (prolog-consult-compile): Don't use toggle-read-only.
2321 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2323         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2324         interrupt.  (Bug#10187)
2326 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2328         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2329         (bug#9160).
2331         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2332         (bug#10191).
2334 2011-12-02  Juri Linkov  <juri@jurta.org>
2336         * info.el (Info-search): Display "end of manual" when Isearch
2337         reaches the end of single-file Info manual.  (Bug#9918)
2339 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2341         * isearch.el (isearch-message-prefix): Run the input method part
2342         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2344 2011-12-02  Juri Linkov  <juri@jurta.org>
2346         * isearch.el (isearch-occur): Use `word-search-regexp' for
2347         `isearch-word'.
2348         (isearch-search-and-update): Add condition for `isearch-word' and
2349         call `word-search-regexp'.  (Bug#10145)
2351 2011-12-01  Glenn Morris  <rgm@gnu.org>
2353         * eshell/em-hist.el (eshell-hist-initialize):
2354         Handle eshell-history-size nil and HISTSIZE set or unset.
2355         (eshell-history-file-name, eshell-history-size): Fix custom type.
2357 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2359         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2361 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2363         * progmodes/verilog-mode.el (verilog-pretty-expr):
2364         Rework verilog-pretty-expr to handle new assignment operators in system
2365         verilog, such as += *= and the like.
2366         (verilog-assignment-operator-re): Regular expression to find the
2367         assigment operator in a verilog assignment.
2368         (verilog-assignment-operation-re): Regular expression to find an
2369         assignment statement for pretty-expr.
2370         (verilog-in-attribute-p): Query returns true if point is in an
2371         attribute context; used to skip these for expression line up from
2372         pretty-expr.
2373         (verilog-in-parameter-p): Query returns true if point is in an
2374         parameter definition context; used to skip these for expression
2375         line up from pretty-expr.
2376         (verilog-in-parenthesis-p): Query returns true if point is in a
2377         parenthetical expression, specifically ( ) but not [ ] or { };
2378         used by pretty-expr.
2379         (verilog-just-one-space): If there is no space, don't add one.
2380         (verilog-get-lineup-indent-2): Specifically skip just attribute
2381         contexts for expression lineup, rather than skipping all
2382         parenthetical expressions.
2383         (verilog-calculate-indent): Fix comment, and fix indent.
2384         (verilog-do-indent): Indent declarations in lists (suggested by
2385         Joachim Lechner).
2386         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2387         skeleton items.
2388         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2389         by Alain Mellan).
2391 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2393         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2394         parameters with embedded comments.  Reported by Ray Stevens.
2395         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2396         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2397         Reported by Tim Holt.
2398         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2399         instantiated by upper module causing wrong expansion until AUTOed a
2400         second time.  Reported by K C Buckenmaier.
2401         (verilog-diff-auto): Fix showing .* as a difference when
2402         `verilog-auto-star-save' off.  Reported by Dan Dever.
2403         (verilog-auto-reset, verilog-read-always-signals)
2404         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2405         temporary signals in reset list if
2406         verilog-auto-reset-blocking-in-non is nil, and match assignment
2407         style to each signal's assignment type, bug381.
2408         Reported by Thomas Esposito.
2409         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2410         (verilog-uvm-statement-re): Support UVM indentation and
2411         highlighting, with old OVM keywords only.
2412         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2413         Support AUTOTIEOFF creating non-wire data types.
2414         Suggested by Jonathan Greenlaw.
2415         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2416         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2417         (verilog-inject-sense, verilog-read-inst-pins)
2418         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2419         Fix mismatching parenthesis inside commented out code when deleting
2420         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2421         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2422         non-numeric vector width.  Reported by Alex Reed.
2423         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2424         detecting signals with parameter widths.  Reported by Alex Reed.
2425         (verilog-auto-delete-trailing-whitespace):
2426         With `verilog-auto-delete-trailing-whitespace' remove trailing
2427         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2428         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2429         Fix verilog-scan-cache corruption when running user AUTO expansion
2430         hooks that call indentation routines.
2431         (verilog-simplify-range-expression): Fix typo ignoring lower case
2432         identifiers.
2433         (verilog-delete-auto): Fix delete-autos to also remove user created
2434         automatics, as long as they start with AUTO.
2435         (verilog-batch-diff-auto, verilog-diff-auto)
2436         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2437         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2438         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2439         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2440         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2441         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2442         is disabled and its cache will get corrupt, causing AUTOS not to
2443         expand.  Instead use only -quick functions.
2444         (verilog-scan-region): Fix scanning over escaped quotes.
2445         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2446         (verilog-re-search-backward-quick)
2447         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2448         related functions now ignore strings, to fix misparsing of strings
2449         with magic comments embedded in them.
2450         (verilog-read-auto-template):
2451         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2452         Reported by Brad Dobbie.
2453         (verilog-read-auto-template):
2454         Fix 'verilog-auto-inst-template-numbers' with comments.
2455         Reported by Brad Dobbie.
2456         (verilog-auto-inst, verilog-auto-inst-param)
2457         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2458         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2459         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2460         debugging templates without merge conflicts, bug357.
2461         Reported by Brad Dobbie.
2462         (verilog-read-auto-template):
2463         Fix verilog-auto-inst-template-numbers with multiple templates.
2464         Reported by Brad Dobbie.
2465         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2466         abbrevs so user won't be asked to save.
2467         (verilog-read-auto-lisp-present): Fix to start at beginning of
2468         buffer in case called outside of verilog-auto.
2469         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2470         to "X-2".  Reported by Matthew Myers.
2471         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2472         all inputs from module templates.  Reported by Leith Johnson.
2473         (verilog-module-inside-filename-p): Fix locating programs as with
2474         modules.
2475         (verilog-auto-inst-port): Fix vl-width expressions when using
2476         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2477         (verilog-decls-get-regs, verilog-decls-get-signals,
2478         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2479         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2480         verilog-read-decls): Combine reg and wire structures into one var
2481         structure to represent SystemVerilog concepts.
2482         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2483         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2484         (verilog-auto-wire-type, verilog-insert-definition):
2485         Add verilog-auto-wire-type and AUTOLOGIC to support using
2486         SystemVerilog "logic" keyword instead of "wire"/"reg".
2487         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2488         to declares outputs that also have assignments (presumably in an
2489         ifdef or generate if so there's not a driver conflict).
2490         Reported by Matthew Myers.
2491         (verilog-auto-declare-nettype, verilog-insert-definition):
2492         Add verilog-auto-declare-nettype to fix declarations using
2493         `default_nettype none.  Reported by Julian Gorfajn.
2494         (verilog-read-always-signals-recurse, verilog-read-decls)
2495         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2496         malformed end statement, bug325.  Reported by Joshua Wise and
2497         Andrew Drake.
2498         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2499         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2500         when expanding .* in interfaces, bug320.
2501         Reported by Pierre-David Pfister.
2502         (verilog-read-module-name): Fix import statements between module
2503         name and open parenthesis, bug317.
2504         Reported by Pierre-David Pfister.
2505         (verilog-simplify-range-expression): Fix simplification of
2506         multiplications inside AUTOWIRE connections, bug303.
2507         (verilog-auto-inst-port): Support parameter expansion in
2508         multidimensional arrays.
2509         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2510         after "assert property".  Reported by Julian Gorfajn.
2511         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2512         with multiplication, bug303.
2513         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2514         Reported by Jan Frode Lonnum.
2516 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2518         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2519         (hfy-shell-file-name, hfy-shell):
2520         * international/fontset.el (x-decompose-font-name): Fix typos.
2522 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2524         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2525         (gdb-version): Remove defvar.
2526         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2527         (gdb-gud-context-command, gdb-non-stop-handler)
2528         (gdb-current-context-command, gdb-stopped): Use it.
2529         (gdb-init-1): Enable pretty printing here.
2530         (gdb-non-stop-handler): Don't enable pretty-printing here.
2531         Check to see if the target supports non-stop mode; if not, turn off
2532         non-stop mode.  Use the following.
2533         (gdb-check-target-async): New defun.
2534         (gud-watch, gdb-stopped): Fix whitespace.
2535         (gdb-get-source-file): Don't try to display the source file if
2536         `gdb-main-file' is nil.
2538 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2540         * align.el: Try to generate fewer markers (bug#10047).
2541         (align--set-marker): New macro.
2542         (align-region): Use it.
2544 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2546         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2548 2011-11-29  Chong Yidong  <cyd@gnu.org>
2550         * indent.el (indent-for-tab-command, indent-according-to-mode):
2551         Doc fix.
2552         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2554 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2556         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2557         aware of remote file names.  (Bug#10124)
2559 2011-11-29  Chong Yidong  <cyd@gnu.org>
2561         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2563 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2565         * files.el (find-file): Don't use force-same-window (bug#10144).
2566         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2567         use pop-to-buffer if the selected window can't be used.
2568         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2570 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2572         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2573         special-mode-map.
2575 2011-11-28  Chong Yidong  <cyd@gnu.org>
2577         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2579 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2581         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2582           gdb-get-source-file-list on gdb-create-source-file-list.
2584 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2586         * whitespace.el (whitespace-newline): Use a different foreground
2587         color for 16-color light-background displays.
2589 2011-11-24  Chong Yidong  <cyd@gnu.org>
2591         * window.el (display-buffer--special-action): Doc fix.
2593 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2595         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2596         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2597         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2598         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2599         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2600         (avl-tree-stack-first):
2601         * emacs-lisp/cconv.el (cconv--analyse-use):
2602         * net/gnutls.el (gnutls-negotiate): Fix typos.
2604 2011-11-24  Glenn Morris  <rgm@gnu.org>
2606         * lpr.el (lpr-windows-system, lpr-lp-system):
2607         * mail/binhex.el (binhex-begin-line):
2608         * progmodes/grep.el (grep-history, grep-find-history):
2609         * textmodes/flyspell.el:
2610         * vc/pcvs-defs.el (cvs-global-menu):
2611         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2612         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2613         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2615         * net/tls.el: Fix case of "GnuTLS".
2617         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2619         * version.el (emacs-build-system): Give it a doc-string.
2621 2011-11-24  Juri Linkov  <juri@jurta.org>
2623         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2625 2011-11-24  Glenn Morris  <rgm@gnu.org>
2627         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2628         if called on a non-mime message just toggle the headers.  (Bug#8006)
2630 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2632         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2633         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2634         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2635         (allout-rebullet-heading, allout-open-sibtopic)
2636         (allout-toggle-current-subtree-encryption)
2637         (allout-toggle-subtree-encryption, allout-encrypt-string)
2638         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2639         (allout-distinctive-bullets-string, allout-auto-activation):
2640         * window.el (window-normalize-buffer-to-display):
2641         * progmodes/verilog-mode.el (verilog-batch-indent):
2642         * textmodes/bibtex.el (bibtex-field-braces-opt)
2643         (bibtex-field-strings-opt):
2644         * vc/cvs-status.el (cvs-tree-merge):
2645         Fix typos.
2647 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2649         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2650         `non-essential' to t, in order to avoid remote connections.
2652 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2654         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2655         On MS-DOS and MS-Windows, compare with loaddefs.el
2656         case-insensitively.
2658 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2660         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2662 2011-11-23  Glenn Morris  <rgm@gnu.org>
2664         * paths.el (rmail-file-name): Reformat the doc-string so that it
2665         is picked up.
2667         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2668         (rmail-auto-file): Ignore case in the "special" field names,
2669         as mail-fetch-field does for all others.
2671         * mail/rmail.el (rmail-forward):
2672         * mail/rmailkwd.el (rmail-set-label):
2673         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2674         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2676         * mail/rmail.el (rmail-current-message): Doc fix.
2678         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2680 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2684 2011-11-22  Glenn Morris  <rgm@gnu.org>
2686         * mail/rmailmm.el (test-rmail-mime-handler)
2687         (test-rmail-mime-bulk-handler)
2688         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2690 2011-11-21  Juri Linkov  <juri@jurta.org>
2692         * calc/calc.el (calc-read-key-sequence):
2693         Let-bind `input-method-function' to nil.  (Bug#10018)
2695 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2697         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2698         Tell the caller that the next line needs recomputation, even
2699         though it doesn't start a sexp (bug#10094).
2701 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2703         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2705 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2707         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2708         Use force-same-window.
2710 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2712         * descr-text.el (describe-char-unicode-data):
2713         * json.el (json-string-escape):
2714         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2715         (Footnote-unicode, Footnote-style-p):
2716         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2718 2011-11-20  Chong Yidong  <cyd@gnu.org>
2720         * window.el (replace-buffer-in-windows): Restore interactive spec.
2722 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2724         * electric.el (electric-indent-mode): Fix last change (too optimistic).
2726         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2727         (byte-compile-global-not-obsolete-vars): New var.
2728         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2729         Use it.
2730         (byte-compile-warn-obsolete): Align text with the one in *Help*.
2732 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2734         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2735         * progmodes/pascal.el (electric-pascal-equal):
2736         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2737         * xml.el (xml-substitute-special): Fix typos.
2739 2011-11-20  Glenn Morris  <rgm@gnu.org>
2741         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2742         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2743         Doc fixes.
2744         (rmail-decode-mime-charset): Mark as obsolete.
2746         * mail/rmailsum.el (rmail-message-regexp-p-1):
2747         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2748         Before using mime functions, check they are set.  (Bug#10077)
2750 2011-11-19  Juri Linkov  <juri@jurta.org>
2752         * info.el (Info-finder-find-node): Use `package--builtins' instead
2753         of `package-alist'.  Use node names formed by the pattern "Keyword "
2754         and the keyword name.
2756 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2758         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2760 2011-11-19  Juri Linkov  <juri@jurta.org>
2762         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2763         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
2764         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2765         `old-history', `old-history-forward'.  Add let-binding
2766         `window-selected'.  Remove calls to `kill-buffer',
2767         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
2768         before calling `Info-find-node', so `Info-find-node-2' will reread
2769         the Info file.  Restore window positions only when `window-selected'
2770         is non-nil.
2772 2011-11-19  Juri Linkov  <juri@jurta.org>
2774         * isearch.el (isearch-lazy-highlight-new-loop):
2775         Remove condition `(not isearch-error)'.  (Bug#9918)
2777         * misearch.el (multi-isearch-search-fun): Add condition
2778         `(not bound)' to ignore lazy-highlighting search.
2779         Add the search-failed message "end of multi" when the end of
2780         multi-sequence is reached.  Uncapitalize the search-failed
2781         message "Repeat for next buffer".
2783         * info.el (Info-search): Add the search-failed message
2784         "end of the manual" when the end of the manual is reached
2785         in Isearch mode.
2787 2011-11-19  Juri Linkov  <juri@jurta.org>
2789         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2790         Use non-destructive `remove' instead of `delete' because
2791         `Info-history-list' stored to `Info-isearch-initial-history-list' in
2792         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2794 2011-11-19  Juri Linkov  <juri@jurta.org>
2796         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2797         to nil instead of binding `search-ring' and `regexp-search-ring'.
2798         (Bug#9185)
2800 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2802         * simple.el (line-move): Force movement by logical lines for any
2803         hscrolled window, not only when auto-hscroll-mode is on.
2804         (line-move-visual): Update doc string to that effect.  (Bug#10076)
2806 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2808         * language/european.el (macintosh): Define as alias for mac-roman.
2810 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2812         * mail/rmailmm.el (rmail-mime-display-header)
2813         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2814         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2815         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2816         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2817         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2818         of a raw aref.
2819         (rmail-mime-entity-segment): To get past the tagline, move forward
2820         2 more lines, to account for the 2 empty lines that precede and
2821         follow the line with the buttons.
2822         (rmail-mime-update-tagline): Move one more line, to get past the
2823         empty line that follows the buttons in the tagline.  (Bug#9520)
2825 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
2827         * window.el (window-max-delta-1, window-min-delta-1)
2828         (window-min-size-1, window-state-get-1, window-state-put-1)
2829         (window-state-put-2): Use "window--" prefix.
2831 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2833         * emacs-lisp/smie.el: Improve warnings and conflict detection.
2834         (smie-warning-count): New var.
2835         (smie-set-prec2tab): Use it.
2836         (smie-bnf->prec2): Improve warnings.  Add docstring.
2837         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2838         (smie-bnf--set-class): New function.
2839         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
2840         corner case.
2842         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2843         (compilation-error-properties, compilation-move-to-column):
2844         Handle compilation-first-column while in the target buffer.
2846         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2847         Don't hardcode point-min==1.
2849         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2850         (eshell-rewrite-for-command): Remove workaround.
2851         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2852         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2853         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2855         * files-x.el (modify-file-local-variable): Obey commenting conventions.
2857 2011-11-17  Glenn Morris  <rgm@gnu.org>
2859         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2860         Ignore buffer-local generated-autoload-file if it is the same
2861         as the global value.  (Bug#10049)
2863 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
2865         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2866         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2867         (reftex-toc-previous-heading, reftex-toc-max-level)
2868         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2869         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2870         (reftex-toc-do-promote, reftex-toc-promote-prepare)
2871         (reftex-toc-promote-action, reftex-toc-extract-section-number)
2872         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2873         (reftex-toc-rename-label, reftex-toc-visit-location)
2874         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2875         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2876         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2877         leaving "*toc*" only for references to the buffer.
2879 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
2881         * window.el (window-resize, delete-window, split-window):
2882         Replace window-splits by window-combination-resize.
2883         * cus-start.el (window-splits): Replace by window-combination-resize.
2885 2011-11-17  Glenn Morris  <rgm@gnu.org>
2887         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2888         Make bash entry derive from sh entry, not shell entry.
2890 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
2892         * net/tramp-cache.el (tramp-flush-file-property): Flush also
2893         properties of linked files.  (Bug#9879)
2895         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2896         local file name.
2898 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2900         * menu-bar.el (menu-bar-file-menu):
2901         * printing.el (pr-ps-utility):
2902         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2903         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2904         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2905         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2906         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2907         (icalendar--convert-cyclic-to-ical)
2908         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2909         (icalendar--convert-ical-to-diary)
2910         (icalendar--convert-recurring-to-diary)
2911         (icalendar--convert-non-recurring-all-day-to-diary)
2912         (icalendar-import-format-sample):
2913         * progmodes/idlw-shell.el (idlwave-shell-mode):
2914         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2915         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2916         (vhdl-ps-print-init): Fix typos.
2918 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
2920         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2921         FSF and collapse date sequence, obscure author/maintainer email address
2922         better, remove extra version line, track relocation of author's webpage.
2924         * progmodes/python.el (python-pdbtrack-input-prompt)
2925         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2926         regular python pdb prompts.  Adjustments shamelessly taken exactly as
2927         suggested in EmacsWiki page (tiny change):
2928         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2930 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2932         * expand.el (expand-pos, expand-index, expand-point):
2933         Remove redundant info from docstring.
2934         (expand-add-abbrevs): Doc fix.
2935         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2936         (expand-sample-perl-mode-expand-list): Fix typos.
2938         * net/dbus.el (dbus-event-member-name):
2939         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2940         * term/pc-win.el (msdos-create-frame-with-faces):
2941         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2943 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
2945         * window.el (split-window, window-state-get-1)
2946         (window-state-put-1, window-state-put-2): Rename occurrences of
2947         window-nest to window-combination-limit.
2948         * cus-start.el (window-nest): Rename to window-combination-limit.
2950 2011-11-16  Chong Yidong  <cyd@gnu.org>
2952         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2953         regexp (Bug#10033).
2955 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2957         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2958         `completing-read' will remove *Completions* and will preserve
2959         current-buffer for us.
2960         (tmm-add-prompt): Users of *Completions* will always (re)set its
2961         major mode.
2962         (tmm-old-comp-map): Remove.
2964 2011-11-16  Glenn Morris  <rgm@gnu.org>
2966         * mail/rmailedit.el: Require rmailmm when compiling.
2967         (rmail-old-mime-state): New declaration.
2968         (rmail-edit-current-message): If editing a mime message,
2969         edit the "raw" message from the mbox buffer.
2970         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
2972 2011-11-15  Glenn Morris  <rgm@gnu.org>
2974         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2975         which wasn't being used.  Add optional arg to force given state.
2976         (rmail-mime): Add optional arg to force given state.
2978 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
2980         * allout.el (allout-encryption-plaintext-sanitization-regexps):
2981         * frame.el (display-mm-dimensions-alist):
2982         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2983         (outline-move-subtree-down):
2984         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2985         (newsticker--treeview-do-get-node):
2986         * net/quickurl.el (quickurl-list-buffer-name):
2987         * progmodes/dcl-mode.el (dcl-mode):
2988         * progmodes/gdb-mi.el (gdb-mapcar*):
2989         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2991 2011-11-15  Glenn Morris  <rgm@gnu.org>
2993         * mail/rmail.el (rmail-file-coding-system): It's only ever used
2994         in a boolean sense, so just make it a boolean, and fix the doc.
2995         (rmail-show-mime-function, rmail-mime-feature)
2996         (rmail-require-mime-maybe): Doc fixes.
2997         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2999         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3001 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3003         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3004         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3005         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3006         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3008 2011-11-15  Glenn Morris  <rgm@gnu.org>
3010         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3011         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3012         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3013         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3014         (rmail-mime, rmail-show-mime): Doc fixes.
3016         * term/ns-win.el (mode-line-frame-identification):
3017         Leave it alone.  (Bug#10051)
3019         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3021         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3022         Handle empty buffers.  (Bug#9978)
3024 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3026         * international/mule.el (define-charset):
3027         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3028         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3029         * progmodes/verilog-mode.el (verilog-backward-token):
3030         * textmodes/ispell.el (lookup-words):
3031         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3033 2011-11-14  Glenn Morris  <rgm@gnu.org>
3035         * progmodes/executable.el
3036         (executable-make-buffer-file-executable-if-script-p):
3037         Handle file-modes returning nil.
3039         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3040         message - not necessary, and causes problems.  (Bug#9831)
3042         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3044         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3046         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3047         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3048         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3050 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3052         * window.el (window-resize, delete-window): Use window-splits
3053         variable instead of function.
3054         (window-state-get-1, window-state-put-2, window-state-put):
3055         Don't deal with windows' splits status.
3057 2011-11-12  Glenn Morris  <rgm@gnu.org>
3059         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3060         (apropos-documentation): Doc fixes.
3062 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3064         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3065         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3067 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * electric.el (electric-indent-post-self-insert-function): Make it
3070         possible for a char to only indent in some circumstances.
3071         (electric-indent-mode): Simplify.
3073 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3075         * window.el (windows-with-parameter): Remove unused function.
3076         (windows-at-side): Rename to window-at-side-list.
3077         (window-check, window-atom-check, window-atom-check-1)
3078         (window-side-check, window-size-ignore, window-size-fixed-1)
3079         (window-in-direction-2): Prefix with "window--".
3080         (window-tree-1): Rename to window--subtree, fix doc-string.
3082 2011-11-11  Glenn Morris  <rgm@gnu.org>
3084         * subr.el (eval-after-load): If FILE is already loaded,
3085         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3087 2011-11-10  Glenn Morris  <rgm@gnu.org>
3089         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3090         Call svn via vc-svn-command rather than vc-do-command.
3091         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3092         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3094         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3095         Add toggle-read-only.  (Bug#7292)
3096         * files.el (toggle-read-only): Mention that it should only
3097         be used interactively.  (Bug#10006)
3099 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3101         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3102         Adjust regexp for OCaml warnings.
3104         * electric.el (electric-pair-post-self-insert-function): Let user
3105         turn it off buffer-locally (bug#9932).
3107         * progmodes/python.el (python-beginning-of-statement):
3108         Rewrite (bug#2703).
3110         * progmodes/compile.el: Better handle TABs (bug#9749).
3111         (compilation-internal-error-properties)
3112         (compilation-next-error-function): Obey the target buffer's
3113         compilation-error-screen-columns.
3115 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3117         * progmodes/meta-mode.el: Remove obsolete comments.
3118         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3119         Fix typos in docstrings.
3121 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3123         * window.el (window-size-fixed-p): Rewrite doc-string.
3124         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3125         (window--resizable): New function.  Make all callers of
3126         window-resizable call window--resizable instead.
3127         (window-resizable): Rewrite in terms of window--resizable.
3129 2011-11-08  Glenn Morris  <rgm@gnu.org>
3131         * progmodes/delphi.el (delphi-mode-syntax-table):
3132         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3134 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3136         * window.el: Stay away from defsubst.
3137         (window-list-no-nils): Remove.
3138         (window-state-get-1, window-state-get): Use backquote instead.
3140 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3142         * emacs-lisp/find-func.el (find-function-read):
3143         Fix incorrect use of default argument in `completing-read'.
3145 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3147         * window.el (display-buffer-function, special-display-function):
3148         Mention display-buffer-record-window but do not mention
3149         help-setup parameter in doc-strings.
3150         (window-min-delta): Fix doc-string typo.
3152 2011-11-08  Chong Yidong  <cyd@gnu.org>
3154         * window.el (window-total-height, window-total-width): Doc fix.
3155         (window-body-size): Move from C.
3156         (window-body-height, window-body-width): Move to C.
3158 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * window.el: Make special-display like display-buffer-alist (bug#9532).
3161         (display-buffer--special-action): New function, morphed
3162         from display-buffer--special.
3163         (display-buffer): Use it to handle special-display-buffers at higher
3164         priority (just after display-buffer-alist).
3165         (display-buffer-fallback-action, display-buffer--other-frame-action)
3166         (pop-to-buffer-same-window): Remove display-buffer--special.
3168 2011-11-07  Glenn Morris  <rgm@gnu.org>
3170         * calendar/cal-menu.el (cal-menu-set-date-title):
3171         Do nothing if not in a calendar.  (Bug#9976)
3173 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * files.el (find-file): Always use selected-window.
3177 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3179         * window.el (window-combinations): Make WINDOW argument
3180         mandatory.  Rewrite doc-string.
3181         (walk-window-subtree, window-atom-check, window-min-delta)
3182         (window-max-delta, window--resize-this-window)
3183         (window--resize-root-window-vertically, window-tree)
3184         (balance-windows, window-state-put): Rewrite doc-strings as to
3185         not mention the term "subwindow".
3186         (window--resize-subwindows-skip-p): Rename to
3187         window--resize-child-windows-skip-p.
3188         (window--resize-subwindows-normal): Rename to
3189         window--resize-child-windows-normal.
3190         (window--resize-subwindows): Rename to
3191         window--resize-child-windows.
3192         (window-or-subwindow-p): Rename to window--in-subtree-p.
3194 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3196         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3197         Ensure that mbox format messages end in two newlines (Bug#9974).
3199 2011-11-06  Chong Yidong  <cyd@gnu.org>
3201         * window.el (window-combination-p): Function deleted; its
3202         side-effect is not used in any existing code.
3203         (window-combinations, window-combined-p): Call window-*-child
3204         directly.
3206 2011-11-05  Chong Yidong  <cyd@gnu.org>
3208         * window.el (window-valid-p): Rename from window-any-p.
3209         (window-size-ignore, window-state-get): Callers changed.
3210         (window-normalize-window): Rename from window-normalize-any-window.
3211         New arg LIVE-ONLY, replacing window-normalize-live-window.
3212         (window-normalize-live-window): Delete.
3213         (window-combination-p, window-combined-p, window-combinations)
3214         (walk-window-subtree, window-atom-root, window-min-size)
3215         (window-sizable, window-sizable-p, window-size-fixed-p)
3216         (window-min-delta, window-max-delta, window-resizable)
3217         (window-resizable-p, window-full-height-p, window-full-width-p)
3218         (window-current-scroll-bars, window-point-1, set-window-point-1)
3219         (window-at-side-p, window-in-direction, window-resize)
3220         (adjust-window-trailing-edge, maximize-window, minimize-window)
3221         (window-deletable-p, delete-window, delete-other-windows)
3222         (record-window-buffer, unrecord-window-buffer)
3223         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3224         (quit-window, split-window, window-state-put)
3225         (set-window-text-height, fit-window-to-buffer)
3226         (shrink-window-if-larger-than-buffer): Callers changed.
3228 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3230         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3231         rfc2047-decode-string.
3232         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3233         warnings.
3235         * window.el (window-body-height, window-body-width): Mention in
3236         the doc string that the return values are in frame's canonical
3237         units.  (Bug#9949)
3239 2011-11-03  Alan Mackenzie  <acm@muc.de>
3241         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3242         change in cc-engine.el.
3244 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3248 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3250         * window.el (quit-window): Call unrecord-window-buffer after
3251         showing another buffer in the window.  (Bug#9937)
3252         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3254 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3256         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3257         Accept status with more than 9 shelves.  (Bug#9935)
3258         Reported by Colin D Bennett <colin@gibibit.com>.
3260 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3262         * help.el (with-help-window): Don't reference
3263         temp-buffer-show-specifiers in doc-string.
3265 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3267         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3268         menu-item.
3270 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3272         * whitespace.el: New version 13.2.2.
3273         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3274         <EmacsWiki>.
3276 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3278         * net/newst-treeview.el: Remove "Time-stamp".
3279         (newsticker--group-manage-orphan-feeds): Do not call
3280         newsticker--treeview-tree-update.
3281         (newsticker-treeview-update, newsticker-treeview):
3282         Call newsticker--treeview-tree-update if necessary.
3284 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3286         * window.el (window-iso-combination-p, window-iso-combined-p)
3287         (window-iso-combinations): Remove "iso-" infix.
3288         Suggested by Chong Yidong.
3289         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3290         (window-max-delta-1, window-resize, window--resize-siblings)
3291         (window--resize-this-window, adjust-window-trailing-edge)
3292         (split-window, balance-windows-1)
3293         (shrink-window-if-larger-than-buffer):
3294         * calendar/calendar.el (calendar-generate-window):
3295         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3297 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3299         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3300         in place (bug#9907).
3301         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3302         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3303         (eshell-structure-basic-command, eshell-rewrite-while-command)
3304         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3305         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3306         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3307         (eshell-do-pipelines-synchronously, eshell-eval-command):
3308         Use backquotes and prefer setq to set.
3309         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3310         (eshell-macrop): Use functionp.
3311         (eshell-do-eval): Handle multiple expressions in `while' body.
3313 2011-10-30  Chong Yidong  <cyd@gnu.org>
3315         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3316         instead of set-mark (Bug#9810).
3318 2011-10-30  Chong Yidong  <cyd@gnu.org>
3320         * window.el (split-window-below, split-window-right): Rename from
3321         split-window-above-each-other and split-window-side-by-side
3322         respectively.  All callers changed.
3323         (split-window-sensibly, split-window-sensibly): Use them.
3324         (split-window-keep-point): Doc fix.
3326         * isearch.el: Add isearch-scroll property to split-window-below
3327         and split-window-right.
3329         * follow.el (follow-mode):
3330         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3331         * progmodes/ada-xref.el (ada-gdb-application):
3332         * emulation/vip.el (vip-buffer-in-two-windows):
3333         * image-dired.el (image-dired-dired-with-window-configuration):
3334         * dired-x.el (dired-do-find-marked-files):
3335         * dired.el (dired-pop-to-buffer):
3336         * bs.el (bs--show-with-configuration):
3337         * vc/emerge.el (emerge-setup-windows):
3338         * textmodes/two-column.el (2C-two-columns):
3339         * textmodes/reftex-toc.el (reftex-toc):
3340         * progmodes/gdb-mi.el (gdb-setup-windows):
3341         * progmodes/fortran.el (fortran-window-create):
3342         * net/newst-treeview.el (newsticker--treeview-window-init):
3343         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3344         * emulation/tpu-edt.el (tpu-gold-map):
3345         * emulation/crisp.el (crisp-mode-map):
3346         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3348 2011-10-29  Chong Yidong  <cyd@gnu.org>
3350         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3352         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3354         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3355         forged Ispell output (Bug#7904).
3357         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3359 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3361         * doc-view.el: Avoid ugly errors about not finding nil.
3362         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3363         (doc-view-dvipdf-program, doc-view-unoconv-program)
3364         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3365         Avoid nil or absolute file name as default value.
3366         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3368 2011-10-28  Alan Mackenzie  <acm@muc.de>
3370         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3372 2011-10-28  Alan Mackenzie  <acm@muc.de>
3374         Amend the handling of c-beginning/end-of-defun in nested declaration
3375         scopes.
3377         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3378         cc-langs.el.  Change it to a defcustom.
3380         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3381         cc-vars.el.
3383         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3384         Prevent "class foo : bar" being spuriously recognized as a label.
3386         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3387         Add parameter `inclusive' (to include enclosing braces in the region).
3388         (c-widen-to-enclosing-decl-scope): New function.
3389         (c-while-widening-to-decl-block): New macro.
3390         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3391         outward for defun boundaries, and correspondingly change symbol
3392         `respect-enclosure' to `go-outward'.
3393         (c-declaration-limits): Change algorithm to report only the "innermost"
3394         defun's boundaries.
3396 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3398         * net/rcirc.el (rcirc-mode): Use hard newlines.
3400 2011-10-28  Alan Mackenzie  <acm@muc.de>
3402         Amend to indent and fontify macros "which include their own semicolon"
3403         correctly, using the "virtual semicolon" mechanism.
3405         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3407         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3408         Recode to scan one line at a time rather than having \n and \r
3409         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3410         (c-forward-label): Amend for virtual semicolons.
3411         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3413         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3414         of the new C macros.
3416         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3417         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3418         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3419         (c-opt-cpp-macro-define): Make into a full language variable.
3420         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3421         AWK Mode (including \n, \r) removed, no longer needed.
3423         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3424         Invoke c-make-macro-with-semi-re.
3426         * progmodes/cc-vars.el (c-macro-with-semi-re):
3427         (c-macro-names-with-semicolon): New variables.
3428         (c-make-macro-with-semi-re): New function.
3430 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3432         * vc/log-edit.el: Fill empty field rather than adding new one.
3433         (log-edit-add-field): New function.
3434         (log-edit-insert-changelog): Use it.
3436 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3438         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3440 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3442         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3443         (gdb--check-interpreter): New function.
3444         (gdb): Use it.
3446 2011-10-27  Glenn Morris  <rgm@gnu.org>
3448         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3449         (least-positive-float, least-negative-float)
3450         (least-positive-normalized-float, least-negative-normalized-float)
3451         (float-epsilon, float-negative-epsilon):
3452         Remove unnecessary declarations.
3454         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3455         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3456         (least-positive-float, least-negative-float)
3457         (least-positive-normalized-float, least-negative-normalized-float)
3458         (float-epsilon, float-negative-epsilon): Add doc-strings,
3459         based on those in cl.texi.
3461         * files.el (set-visited-file-name): If the major-mode changed,
3462         reload the local variables.  (Bug#9796)
3464 2011-10-27  Chong Yidong  <cyd@gnu.org>
3466         * subr.el (change-major-mode-after-body-hook): New hook.
3467         (run-mode-hooks): Run it.
3469         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3470         Use change-major-mode-before-body-hook.
3472         * simple.el (fundamental-mode):
3473         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3474         change introducing fundamental-mode-hook.
3476 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3478         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3480 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3482         * ido.el (ido-file-name-all-completions-1): Do not require
3483         tramp.el explicitly.  (Bug#7583)
3485 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3487         * progmodes/octave-mod.el:
3488         * progmodes/octave-inf.el: Update maintainer.
3490 2011-10-26  Chong Yidong  <cyd@gnu.org>
3492         * subr.el (with-wrapper-hook): Rewrite doc.
3494 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3496         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3497         filenames "/method:foo:".  (Bug#9793)
3499 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3502         (bug#9865).
3504 2011-10-24  Glenn Morris  <rgm@gnu.org>
3506         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3508 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3510         * notifications.el: Add the requirement of a running D-Bus session
3511         bus to the Commentary.
3513 2011-10-24  Juri Linkov  <juri@jurta.org>
3515         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3516         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3517         (Bug#9364)
3519 2011-10-24  Juri Linkov  <juri@jurta.org>
3521         * info.el (Info-following-node-name-re): Add newline to the list
3522         of allowed characters for leading space.  (Bug#9824)
3524 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3526         * progmodes/octave-inf.el (inferior-octave-mode-map):
3527         Fix C-c C-h binding.
3528         * progmodes/octave-mod.el (octave-help): Remove.
3530 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3532         Sync with Tramp 2.2.3.
3534         * net/tramp-cache.el (top): Pacify byte-compiler using
3535         `init-file-user' and `site-run-file'.
3537         * net/trampver.el: Update release number.
3539 2011-10-23  Chong Yidong  <cyd@gnu.org>
3541         * files.el (toggle-read-only): Remove obsolete comment about
3542         version control.
3544         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3545         for toggle-read-only.  Note that this hasn't called vc-next-action
3546         since 2008-05-02, though it wasn't documented at the time.
3548         * vc/ediff-init.el (ediff-toggle-read-only-function):
3549         Use toggle-read-only.
3551 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3553         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3554         of c-parse-state.
3556         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3557         correct faulty logical expression.
3558         (c-parse-state-state, c-record-parse-state-state):
3559         (c-replay-parse-state-state): New defvar/defuns.
3560         (c-debug-parse-state): Use new functions.
3562 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3564         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3565         last fix.  Use window-in-direction correctly.
3567 2011-10-21  Chong Yidong  <cyd@gnu.org>
3569         * progmodes/idlwave.el (idlwave-mode):
3570         * progmodes/vera-mode.el (vera-mode): No need to set
3571         require-final-newline; that's done in prog-mode.
3572         Suggested by Stefan Monnier.
3574 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3576         * mouse.el (mouse-drag-window-above)
3577         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3578         (mouse-drag-mode-line-1, mouse-drag-header-line)
3579         (mouse-drag-vertical-line-rightward-window): Remove.
3580         (mouse-drag-line): New function.
3581         (mouse-drag-mode-line, mouse-drag-header-line)
3582         (mouse-drag-vertical-line): Call mouse-drag-line.
3583         * window.el (window-at-side-p, windows-at-side): New functions.
3585 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3587         * tar-mode.el (tar-grind-file-mode):
3588         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3590 2011-10-21  Chong Yidong  <cyd@gnu.org>
3592         * progmodes/idlwave.el (idlwave-mode):
3593         * progmodes/vera-mode.el (vera-mode):
3594         Use mode-require-final-newline.
3596 2011-10-20  Glenn Morris  <rgm@gnu.org>
3598         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3600 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3602         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3604 2011-10-20  Chong Yidong  <cyd@gnu.org>
3606         * emulation/cua-base.el (cua-mode):
3607         * mail/footnote.el (footnote-mode):
3608         * mail/mailabbrev.el (mail-abbrevs-mode):
3609         * net/xesam.el (xesam-minor-mode):
3610         * progmodes/bug-reference.el (bug-reference-mode):
3611         * progmodes/cap-words.el (capitalized-words-mode):
3612         * progmodes/compile.el (compilation-minor-mode)
3613         (compilation-shell-minor-mode):
3614         * progmodes/gud.el (gud-tooltip-mode):
3615         * progmodes/hideif.el (hide-ifdef-mode):
3616         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3617         * progmodes/subword.el (subword-mode):
3618         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3619         * progmodes/which-func.el (which-function-mode):
3620         * term/tvi970.el (tvi970-set-keypad-mode):
3621         * term/vt100.el (vt100-wide-mode):
3622         * textmodes/flyspell.el (flyspell-mode):
3623         * textmodes/ispell.el (ispell-minor-mode):
3624         * textmodes/nroff-mode.el (nroff-electric-mode):
3625         * textmodes/paragraphs.el (use-hard-newlines):
3626         * textmodes/refill.el (refill-mode):
3627         * textmodes/reftex.el (reftex-mode):
3628         * textmodes/rst.el (rst-minor-mode):
3629         * textmodes/sgml-mode.el (html-autoview-mode)
3630         (sgml-electric-tag-pair-mode):
3631         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3632         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3633         * emulation/crisp.el (crisp-mode):
3634         * emacs-lisp/eldoc.el (eldoc-mode):
3635         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3636         minor mode behavior.
3638 2011-10-19  Juri Linkov  <juri@jurta.org>
3640         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3641         the list of hard-coded chars with escape-glyph face.
3643 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3645         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3647 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3649         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3650         running process.
3652 2011-10-19  Glenn Morris  <rgm@gnu.org>
3654         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3655         Ignore ignored files.  (Bug#9726)
3657 2011-10-19  Chong Yidong  <cyd@gnu.org>
3659         Doc fix for minor modes, stating that an omitted argument enables
3660         the mode unconditionally when called from Lisp.
3662         * abbrev.el (abbrev-mode):
3663         * allout.el (allout-mode):
3664         * autoinsert.el (auto-insert-mode):
3665         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3666         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3667         (global-auto-revert-mode):
3668         * battery.el (display-battery-mode):
3669         * composite.el (global-auto-composition-mode)
3670         (auto-composition-mode):
3671         * delsel.el (delete-selection-mode):
3672         * desktop.el (desktop-save-mode):
3673         * dired-x.el (dired-omit-mode):
3674         * dirtrack.el (dirtrack-mode):
3675         * doc-view.el (doc-view-minor-mode):
3676         * double.el (double-mode):
3677         * electric.el (electric-indent-mode, electric-pair-mode):
3678         * emacs-lock.el (emacs-lock-mode):
3679         * epa-hook.el (auto-encryption-mode):
3680         * follow.el (follow-mode):
3681         * font-core.el (font-lock-mode):
3682         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3683         * help.el (temp-buffer-resize-mode):
3684         * hilit-chg.el (highlight-changes-mode)
3685         (highlight-changes-visible-mode):
3686         * hi-lock.el (hi-lock-mode):
3687         * hl-line.el (hl-line-mode, global-hl-line-mode):
3688         * icomplete.el (icomplete-mode):
3689         * ido.el (ido-everywhere):
3690         * image-file.el (auto-image-file-mode):
3691         * image-mode.el (image-minor-mode):
3692         * iswitchb.el (iswitchb-mode):
3693         * jka-cmpr-hook.el (auto-compression-mode):
3694         * linum.el (linum-mode):
3695         * longlines.el (longlines-mode):
3696         * master.el (master-mode):
3697         * mb-depth.el (minibuffer-depth-indicate-mode):
3698         * menu-bar.el (menu-bar-mode):
3699         * minibuf-eldef.el (minibuffer-electric-default-mode):
3700         * mouse-sel.el (mouse-sel-mode):
3701         * msb.el (msb-mode):
3702         * mwheel.el (mouse-wheel-mode):
3703         * outline.el (outline-minor-mode):
3704         * paren.el (show-paren-mode):
3705         * recentf.el (recentf-mode):
3706         * reveal.el (reveal-mode, global-reveal-mode):
3707         * rfn-eshadow.el (file-name-shadow-mode):
3708         * ruler-mode.el (ruler-mode):
3709         * savehist.el (savehist-mode):
3710         * scroll-all.el (scroll-all-mode):
3711         * scroll-bar.el (scroll-bar-mode):
3712         * server.el (server-mode):
3713         * shell.el (shell-dirtrack-mode):
3714         * simple.el (auto-fill-mode, transient-mark-mode)
3715         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3716         (line-number-mode, column-number-mode, size-indication-mode)
3717         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3718         * strokes.el (strokes-mode):
3719         * time.el (display-time-mode):
3720         * t-mouse.el (gpm-mouse-mode):
3721         * tool-bar.el (tool-bar-mode):
3722         * tooltip.el (tooltip-mode):
3723         * type-break.el (type-break-mode-line-message-mode)
3724         (type-break-query-mode):
3725         * view.el (view-mode):
3726         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3727         (global-whitespace-mode, global-whitespace-newline-mode):
3728         * xt-mouse.el (xterm-mouse-mode): Doc fix.
3730         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3731         Fix autogenerated docstring.
3733 2011-10-19  Juri Linkov  <juri@jurta.org>
3735         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3736         by checking environment variables "DESKTOP_SESSION" and
3737         "XDG_CURRENT_DESKTOP".  (Bug#9779)
3739 2011-10-19  Juri Linkov  <juri@jurta.org>
3741         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3742         (browse-url-chromium-program, browse-url-chromium-arguments):
3743         New defcustoms.
3744         (browse-url-default-browser): Check for `browse-url-chromium' and
3745         call `browse-url-chromium-program'.
3746         (browse-url-chromium): New command.  (Bug#9779)
3748 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
3750         * facemenu.el (list-colors-duplicates): On Windows, detect more
3751         duplicates by assuming that only colors matching "^System" are
3752         special "system colors".  (Bug#9722)
3754 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3756         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3757         to distinguish the author from the committer.
3759 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
3761         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3763 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
3765         * international/mule.el (sgml-html-meta-auto-coding-function):
3766         Add support for detecting encoding in HTML5 specified only as
3767         <meta charset="UTF-8">.  Implementation just makes http-equiv and
3768         content-type parts from HTML4 encoding string optional.  (Bug#9716)
3770 2011-10-18  Glenn Morris  <rgm@gnu.org>
3772         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
3774 2011-10-18  Chong Yidong  <cyd@gnu.org>
3776         * faces.el (cursor): Doc fix.
3778 2011-10-17  Chong Yidong  <cyd@gnu.org>
3780         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3782 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
3784         * dirtrack.el (dirtrack): Support shell buffers with path
3785         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
3787 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
3789         * json.el: Bump version to 1.3 and note change in History.
3790         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3792 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3794         * comint.el (comint-insert-input, comint-send-input)
3795         (comint-get-old-input-default, comint-backward-matching-input)
3796         (comint-next-prompt): Use nil instead of `input' for field property of
3797         past user input (bug#114).
3799         * minibuffer.el (completion--replace): Inherit surrounding properties
3800         (bug#114).
3801         (minibuffer-complete-and-exit): Use it.
3803         * comint.el (comint--table-subvert): Quote the all-completions output
3804         (bug#9160).
3806 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
3808         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3810         * menu-bar.el (menu-bar-file-menu): Add entry for making new
3811         window on right of selected.  (Bug#9350) Reword other window
3812         entries and separate them from frame entries.
3814 2011-10-15  Glenn Morris  <rgm@gnu.org>
3816         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3817         Doc fixes.
3819 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
3821         * net/network-stream.el (network-stream-open-starttls):
3822         Improve detection of failure due to lack of TLS support.
3824         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3825         putting the input text in front and in bold.
3827 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3829         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3831         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3832         empty buffer.
3834         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3835         unread-command-events rather than pushing yet-another event.
3837 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
3839         * mail/sendmail.el (sendmail-query-once): Improve the wording of
3840         the explanation of the possible choices.  Make the options passed
3841         to completing-read shorter.
3843 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3845         * textmodes/flyspell.el (flyspell-large-region): Make sure
3846         extended character mode is used if defined (Bug#1339).
3848 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
3850         * simple.el (what-cursor-position): Fix the display of the
3851         character info for LRE, LRO, RLE, and RLO characters by appending
3852         an invisible PDF.
3854 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3856         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3857         even in case of error; add debug spec; simplify data flow.
3858         (with-timeout-handler): Remove.
3860 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3862         Fix Bug#6019, Bug#9315.
3864         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3865         complete `buffer-file-name', the local file name part could look
3866         remotely (for example on VMS).
3868         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3869         `tramp-run-real-handler'.
3870         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3871         already quoted by '"'.
3873         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3874         Let `file-name-handler-alist' be nil, the local file name part
3875         could look remotely (for example on VMS).
3877 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3879         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3880         from here...
3881         (flyspell-post-command-hook): ...to here.
3883 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3885         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3886         if not needed.
3887         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
3888         using completion.  Protect against "slow" callers.
3889         Remove the "message hack".
3891 2011-10-11  Juri Linkov  <juri@jurta.org>
3893         * isearch.el (isearch-lazy-highlight-word): New variable.
3894         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3895         Use it.  (Bug#9727)
3897 2011-10-11  Glenn Morris  <rgm@gnu.org>
3899         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3900         like f90-previous-statement does.
3902 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3904         * eshell/eshell.el (eshell-command): History should be saved
3905         only in interactive use, to avoid error.
3907 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3909         * minibuffer.el (completion-file-name-table): Fix last change,
3910         i.e. ignore normal errors but not the other ones.
3912 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
3914         * window.el (special-display-buffer-names)
3915         (special-display-regexps): Remove some remnants of earlier
3916         changes from doc-strings.
3917         (quit-windows-on): New function.
3919         * vc/vc.el (vc-revert, vc-rollback):
3920         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3921         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
3922         (Bug#6183) (Bug#7074) (Bug#7447)
3924 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
3926         * window.el (frame-auto-hide-function): Add version tag.
3927         (Bug#9699)
3929 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
3931         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3932         condition.
3934 2011-10-09  Leo Liu  <sdl.web@gmail.com>
3936         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3937         (Bug#9701)
3939 2011-10-08  Glenn Morris  <rgm@gnu.org>
3941         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3942         before the first code statement zero indent.  (Bug#9690)
3944 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
3946         * simple.el (count-words-region): Always count in the region.
3947         Report the number of lines and characters too.
3948         (count-words): New command, which counts in the buffer if the
3949         region is inactive, as count-words-region used to.
3950         (count-words--message): New function.  Handle plurals.
3951         (count-lines-region): Make it an alias for count-words-region.
3953         * bindings.el (esc-map): Replace count-lines-region with
3954         count-words-region.
3956 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
3958         * window.el (window--delete): Delete dedicated frame
3959         unconditionally when argument KILL is non-nil.  (Bug#9699)
3960         (switch-to-buffer): Fix doc-string typo.
3962 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3964         * eshell/eshell.el (eshell-command): Avoid using hooks.
3966 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
3968         * bindings.el ([M-left],[M-right]): Bind to left-word and
3969         right-word respectively.
3971 2011-10-07  Glenn Morris  <rgm@gnu.org>
3973         * cus-start.el (debug-on-quit): Fix custom type.
3975 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3977         * subr.el (define-key-after): Clarify that the function is not
3978         useful for non-menu keymaps.
3980         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3982 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3984         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
3985         in current minibuffer (Fix bug with recursive minibuffers).
3987 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
3989         * progmodes/gdb-mi.el (gdb): Doc fix.
3991 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
3993         * window.el (frame-auto-hide-function): New option replacing
3994         frame-auto-delete.  Suggested by Stefan Monnier.
3995         (window--delete): Call frame-auto-hide-function instead of
3996         investigating frame-auto-delete.
3997         (window-point-1, set-window-point-1): New functions.
3998         (window-in-direction, record-window-buffer, window-state-get-1)
3999         (display-buffer-record-window): Use window-point-1 instead of
4000         window-point.
4001         (set-window-buffer-start-and-point): Use set-window-point-1.
4003 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4005         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4007 2011-10-05  Glenn Morris  <rgm@gnu.org>
4009         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4010         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4012 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4014         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4015         works with buffer object.
4017 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4019         * mpc.el (mpc-tool-bar-map): Add labels.
4021 2011-10-04  Glenn Morris  <rgm@gnu.org>
4023         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4025 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4027         * window.el (window--delete): New function.
4028         (frame-auto-delete): Resuscitate option.
4029         (bury-buffer, replace-buffer-in-windows)
4030         (quit-window): Rewrite using window--delete.
4031         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4032         Pass display-buffer-mark-dedicated to window--display-buffer-2
4033         (Bug#9639).
4035 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4037         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4038         returns a list (bug#9554).  Add remote file name completion.
4039         * comint.el (comint--table-subvert): Curry and get quote&unquote
4040         functions as arguments.
4041         (comint--complete-file-name-data): Adjust call accordingly.
4042         * pcomplete.el (pcomplete--table-subvert): Remove.
4043         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4045         * minibuffer.el (completion-table-case-fold): Use currying.
4046         (completion--styles-type, completion--cycling-threshold-type):
4047         New constants.
4048         (completion-styles, completion-category-overrides)
4049         (completion-cycle-threshold): Use them.
4050         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4051         completion-table-case-fold.
4053 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4055         * minibuffer.el (completion-category-overrides): Fix type of styles
4056         and add more user friendly tags (bug#9660).
4058 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4061         (mule-input-method-string): New widget.
4062         (default-input-method, language-info-custom-alist): Use it.
4064 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4066         * pcomplete.el: Require comint.
4067         (pcomplete--common-suffix): Remove.
4068         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4069         (pcomplete--table-subvert): Sync with comint--table-subvert.
4070         (pcomplete--entries): Use comint-completion-file-name-table.
4071         * comint.el (comint-unquote-filename): Simplify.
4072         (comint-completion-file-name-table): New function (bug#9616).
4073         (comint--complete-file-name-data): Use it.
4075         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4076         (pcmpl-gnu-tar-buffer): Remove.
4077         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4078         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4079         Don't look inside the tar's file if it's too large.
4081 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4083         * cus-edit.el (custom-mode-map):
4084         * epa.el (epa-key-list-mode-map):
4085         * man.el (Man-mode-map):
4086         * startup.el (splash-screen-keymap):
4087         * simple.el (special-mode-map): Use scroll-up-command and
4088         scroll-down-command.
4090         * progmodes/idlw-help.el (idlwave-help-mode-map):
4091         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4092         * net/newst-plainview.el (newsticker-mode-map):
4093         * emulation/ws-mode.el (wordstar-mode-map):
4094         * emulation/vi.el (vi-com-map):
4095         * calc/calc-graph.el (calc-graph-show-dumb):
4096         * term/sun.el (terminal-init-sun):
4097         * term/ns-win.el (global-map):
4098         * progmodes/grep.el (grep-mode-map):
4099         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4100         * mail/rmail.el (rmail-mode-map):
4101         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4103         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4104         custom-safe-themes as special.
4106 2011-10-01  Julien Danjou  <julien@danjou.info>
4108         * notifications.el (notifications-notify): Fix docstring.
4110 2011-10-01  Per Starbäck  <per@starback.se>
4112         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4114 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4116         * startup.el (command-line-1): Fix last fix by inserting
4117         initial-scratch-message into *scratch* before displaying it.
4118         (Bug#9605) and (Bug#9636)
4120 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4122         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4123         window is hscrolled, move by logical lines.  (Bug#9607)
4124         (line-move-visual): Update the doc string to the above effect.
4126 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4128         * window.el (display-buffer-record-window): When WINDOW is the
4129         selected window use `point' instead of `window-point'.  (Bug#9626)
4131         * startup.el (command-line-1): Use insert-before-markers when
4132         inserting initial-scratch-message.  (Bug#9605)
4134         * help.el (help-window): Remove variable.
4136 2011-09-29  Glenn Morris  <rgm@gnu.org>
4138         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4140 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4142         * descr-text.el (describe-char-categories): Accept category
4143         descriptions more than one line long.
4145 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4147         * simple.el (delete-trailing-whitespace): Fix last change.
4149         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4150         Don't confuse "y => 3" as the beginning of a `y' operation.
4152         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4153         object has more than 4 slots (bug#9613).
4155 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4157         * subr.el (with-output-to-temp-buffer):
4158         * net/quickurl.el (quickurl, quickurl-browse-url):
4159         Fix typos in docstrings.
4161 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4163         * minibuffer.el (completion-styles)
4164         (completion-category-overrides): Cross reference each other in doc
4165         strings.
4167 2011-09-27  Glenn Morris  <rgm@gnu.org>
4169         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4170         to split-string.  (Bug#9606)
4172 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4174         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4175         (bug#9615).
4177 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4179         * emacs-lisp/package.el (list-packages): Fix echo area message.
4181 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4183         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4185 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4187         * net/dbus.el (dbus-unregister-object): Don't release services for
4188         registered signals.  (Bug#9581)
4190 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4192         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4193         function that picks between cfengine 2 and 3 support
4194         automatically.  Update docs accordingly.
4196 2011-09-22  Kenichi Handa  <handa@m17n.org>
4198         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4199         ZERO.
4200         (indian-itrans-v5-table-for-tamil): New variable.
4201         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4203 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4205         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4206         that's true if the current command involved collapsing of text.
4207         It's reset to false at the beginning of the next command.
4208         (allout-post-command-business): Move the cursor to the beginning
4209         of entry if the cursor is hidden and collapsing activity just
4210         happened.
4212 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4214         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4215         tracking (Bug#9541).
4217 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4219         * net/newst-reader.el (newsticker-html-renderer)
4220         (newsticker-show-news): Automatically load html rendering package
4221         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4222         because w3m-fill-column is let-bound" and the error "Symbol's value
4223         as variable is void: w3m-fill-column".
4225 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4227         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4228         Release services only if they are defined.  (Bug#9581)
4230 2011-09-23  Richard Stallman  <rms@gnu.org>
4232         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4233         distinguish start of paragraph from start of its text.
4235         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4237         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4238         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4239         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4241 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4243         * international/mule-diag.el (mule-diag): Insert a newline after
4244         each fontset description.
4246 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4248         * simple.el (delete-trailing-whitespace):
4249         Document last change; simplify.
4251 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4253         * simple.el (delete-trailing-whitespace): Also delete
4254         extra newlines at the end of the buffer.
4256         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4257         (picture-newline): Use forward-line so as to ignore fields.
4259 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4261         * subr.el (with-wrapper-hook): Fix edebug spec.
4263 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4265         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4266         (bug#4538).
4268 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4270         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4271         Fix nasty bug using wrong cached values.
4273 2011-09-23  Alan Mackenzie  <acm@muc.de>
4275         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4277 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4279         * window.el (pop-to-buffer): Ensure right window is selected if we
4280         chose another frame.
4282 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4284         * simple.el (what-cursor-position): Use get-char-property-change
4285         and next-single-char-property-change, to be able to show display
4286         properties that come from overlays as well as text properties.
4288 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4290         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4292         * cmuscheme.el (run-scheme, switch-to-scheme):
4293         * cus-edit.el (customize-group, custom-buffer-create)
4294         (customize-browse):
4295         * info.el (info):
4296         * shell.el (shell):
4297         * mail/sendmail.el (mail):
4298         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4300 2011-09-22  Richard Stallman  <rms@gnu.org>
4302         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4303         move back only to line beg, don't move back over blank lines.
4305 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4307         * files.el (copy-directory): Set directory attributes only in case
4308         they could be retrieved from the source directory.  (Bug#9565)
4310 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4312         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4313         (hs-find-block-beginning, hs-hide-level-recursive):
4314         Ignore strings as well as comments.  (Bug#9502)
4316 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4318         * progmodes/sql.el (sql-comint-postgres):
4319         Convert port number to a string.  (Bug#9566)
4321 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4323         * window.el (quit-window): Undedicate window when switching to
4324         previous buffer.  Reported by Thierry Volpiatto
4325         <thierry.volpiatto@gmail.com>.
4326         (special-display-popup-frame): When popping up a new frame reset
4327         its previous buffers to nil.  Simplify code.
4329 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4331         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4332         and process filter, as done also in `shell-command'.
4334 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4336         * window.el (set-window-buffer-start-and-point):
4337         Call set-window-start with NOFORCE argument t.
4338         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4339         (quit-window): Reword doc-string.  Handle new format of
4340         quit-restore parameter.  Don't delete window if it has a
4341         previous buffer we can show instead of the present one.
4342         (display-buffer-record-window): Rewrite using a new format for
4343         the quit-restore window parameter
4344         (special-display-popup-frame, display-buffer-same-window)
4345         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4346         (display-buffer-pop-up-window, display-buffer-use-some-window):
4347         Adapt symbol passed to display-buffer-record-window.
4348         * help.el (help-window-setup): Handle new format of quit-restore
4349         parameter.
4351 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4353         * faces.el (face-list): Fix docstring (bug#9564).
4355         * window.el (display-buffer--action-function-custom-type):
4356         Don't include internal functions in the Custom interface.
4358 2011-09-20  Juri Linkov  <juri@jurta.org>
4360         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4361         (Info-forward-node, Info-backward-node, Info-next-preorder)
4362         (Info-last-preorder): Use it.  (Bug#9528)
4364 2011-09-20  Juri Linkov  <juri@jurta.org>
4366         * info.el (Info-last-preorder): Visit last menu item only when
4367         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4369 2011-09-20  Julien Danjou  <julien@danjou.info>
4371         * password-cache.el (password-cache-remove): Remove entries even if the
4372         value is nil, so that password with a nil value (negative caching) is
4373         possible to invalidate.
4375 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4377         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4378         all whitespace around breakpoint.  (Bug#9553)
4379         (f90-find-breakpoint): Only break at whitespace inside a comment.
4381 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4383         * minibuffer.el (completion-file-name-table): Keep track of errors.
4384         (completion-table-with-predicate): Handle the case where pred1 is nil.
4385         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4387 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4389         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4390         (debugger-return-value): Signal an error if the debugging context does
4391         not await any return value.
4393         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4394         * image-mode.el (image-toggle-display-text)
4395         (image-toggle-display-image): Stay away from evil `intangible'.
4397 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4399         * replace.el (occur-revert-arguments): Make it permanent-local.
4400         (occur-mode): Don't call font-lock-defontify.
4402 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4404         * net/ldap.el (ldap-search-internal): Don't push empty search
4405         result (Bug#9508).
4407 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4409         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4411 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4413         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4414         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4416 2011-09-18  Juri Linkov  <juri@jurta.org>
4418         * buff-menu.el (Buffer-menu-mode-map):
4419         * dired.el (dired-mode-map):
4420         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4421         (lisp-interaction-mode-map):
4422         * emacs-lisp/package.el (package-menu-mode-map):
4423         * epa.el (epa-key-list-mode-map):
4424         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4425         (menu-bar-options-menu):
4426         * outline.el (outline-mode-menu-bar-map):
4427         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4428         * vc/vc-dir.el (vc-dir-menu-map):
4429         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4430         Capitalize non-function content words in menu item strings.
4432         * dired.el (dired-mode-map): Add menu item for
4433         `image-dired-dired-toggle-marked-thumbs'.
4435 2011-09-18  Juri Linkov  <juri@jurta.org>
4437         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4438         to `isearch-case-fold-search' and restore its original value
4439         after the `isearch-mode' call.
4441 2011-09-18  Juri Linkov  <juri@jurta.org>
4443         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4444         because `zgrep' returns 1 for successful matches (bug#9226).
4446 2011-09-18  Juri Linkov  <juri@jurta.org>
4448         * info.el (Info-extract-menu-node-name): Check the second match
4449         for empty string (second test-case of bug#9528).
4450         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4451         intermediate nodes to the history (first test-case of bug#9528).
4453 2011-09-18  Juri Linkov  <juri@jurta.org>
4455         * info.el (Info-mode-syntax-table): New variable.
4456         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4458 2011-09-18  Juri Linkov  <juri@jurta.org>
4460         * info.el (Info-file-supports-index-cookies):
4461         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4462         outputs one more line for long file names (bug#4142).
4464 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4466         * newcomment.el (comment-normalize-vars): If prompting for
4467         comment-start, set comment-start-skip too (Bug#8424).
4469 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
4471         * icomplete.el: Fix previous fix of Bug#5849.
4472         (icomplete-mode): Don't set completion-show-inline-help.
4473         (icomplete-minibuffer-setup): Set completion-show-inline-help
4474         locally during icompletion.
4476 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4478         * woman.el (woman2-process-escapes): Don't delete unrecognized
4479         escapes (Bug#7843).
4481         * files.el (inhibit-first-line-modes-regexps): Add image files.
4482         (hack-local-variables-prop-line): Return nil for malformed
4483         prop-lines (Bug#9044).
4485 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4487         * net/tramp.el (top): Don't require 'shell.
4488         (tramp-methods): Fix docstring.
4489         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4490         Return complete remote file name.  Handle "smb" case.
4491         Use `tramp-tmpdir', if defined for the respective method.
4492         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4494         * net/tramp-compat.el (top): Require 'shell.
4496         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4497         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4498         `tramp-current-host'.
4499         (tramp-get-remote-tmpdir): Remove.
4501         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4502         `tramp-tmpdir' entries.
4503         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4504         (tramp-smb-handle-file-attributes): Ignore errors.
4505         (tramp-smb-wait-for-output): Check also for process end.
4507 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4509         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4510         when sending QUIT (bug#9312).
4512 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4514         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4515         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4516         occur-mode-display-occurrence.
4517         (occur-edit-mode): Add usage message.
4518         (occur-cease-edit): New command.
4519         (occur-after-change-function): Use text properties to find the
4520         position of the prefix text.
4521         (occur-engine): Set stickiness of prefix text properties.
4523 2011-09-17  Glenn Morris  <rgm@gnu.org>
4525         * progmodes/etags.el (complete-tag):
4526         Fix call to completion-in-region.  (Bug#9526)
4528 2011-09-17  Juri Linkov  <juri@jurta.org>
4530         * textmodes/ispell.el (ispell-word): Add to the error message
4531         the word, ispell program name and current dictionary (bug#9121).
4532         (ispell-tex-arg-end): Capitalize "error" in the error message.
4534 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4536         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4537         check.  (Bug#4251)
4539 2011-09-17  Juri Linkov  <juri@jurta.org>
4541         * window.el (window-safe-min-height, window-safe-min-width):
4542         Fix typos (followup to bug#9522).
4544 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4546         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4548 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4550         * simple.el (line-move): If goal-column is set, move by logical
4551         lines, not by display lines.  (Bug#971)
4552         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4553         to reflect the above change.
4555 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4557         * image.el (imagemagick-register-types): Use regexp-opt.
4559 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4561         * window.el (display-buffer-base-action): Rename from
4562         display-buffer-default-action.  Make default value empty.
4563         (display-buffer-overriding-action): Convert to defvar.
4564         (display-buffer-fallback-action): New var.
4566 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4568         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4569         declaration.
4570         (package--add-to-archive-contents): If there is a duplicate entry
4571         with an older version, remove it.
4572         (package-menu-mark-delete, package-menu-mark-install)
4573         (package-menu-mark-unmark): Make unused args optional.
4574         (package-menu-mark-obsolete-for-deletion):
4575         Use package-menu-get-status instead of a regexp search.
4576         (package-menu-get-status): Use tabulated-list-entry.
4577         (package-menu-mark-upgrades): New command.
4578         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4579         (package-menu-execute): Do installation before deletion.
4580         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4581         instead of checking major-mode.
4582         (package-menu--find-upgrades): New function.
4584 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4586         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4587         passwords in the log buffer.
4588         (smtpmail-process-filter): Update the process marker so that the
4589         "broken by peer" status message is inserted in the right place.
4591 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4593         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4594         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4595         bibtex-completion-at-point-function.
4596         (bibtex-completion-at-point-function): Use them.
4598         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4600         * mpc.el (mpc-constraints-tag-lookup): New function.
4601         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4602         also to browser "album|playlist".
4604 2011-09-14  Juri Linkov  <juri@jurta.org>
4606         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4607         (isearch-edit-string): Use length of `isearch-string' when
4608         `isearch-fail-pos' returns nil.
4609         (isearch-message): Remove duplicate code and call
4610         `isearch-fail-pos' with arg `t'.
4612 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4614         * replace.el (occur-mode-goto-occurrence): Don't force using other
4615         window (Bug#9499).
4617         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4619 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4621         * window.el (display-buffer-window): Remove.
4622         (display-buffer-record-window): Use help-setup window parameter
4623         instead of variable display-buffer-window.
4624         (display-buffer-function, special-display-buffer-names)
4625         (special-display-function): Mention help-setup parameter instead
4626         of display-buffer-window in doc-string.
4627         * help.el (help-window-setup): New argument help-window.
4628         Use help-window-setup parameter instead of display-buffer-window.
4629         Reword some messages.
4630         (with-help-window): Pass window used for displaying the buffer
4631         to help-window-setup.  Don't set display-buffer-window.
4633 2011-09-13  Glenn Morris  <rgm@gnu.org>
4635         * emacs-lisp/debug.el (debugger-make-xrefs):
4636         Preserve point.  (Bug#9462)
4638 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4640         * window.el (window-deletable-p): Use next-frame.
4642 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4644         * window.el (window-auto-delete): Remove.
4645         (window-deletable-p): Remove argument FORCE.  Don't deal with
4646         dedication and previous buffers.
4647         (switch-to-prev-buffer): Don't delete window.
4648         (delete-windows-on): Delete a window's frame if and only if the
4649         window is dedicated.
4650         (replace-buffer-in-windows): Delete buffer's window or frame if
4651         and only if window is dedicated.
4652         (quit-window): Handle quit-restore as before last change.
4653         (bury-buffer): Delete window only if window-deletable-p returns t.
4655 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4657         * window.el (window-deletable-p): Never delete the last frame on a
4658         given terminal.
4660 2011-09-13  Glenn Morris  <rgm@gnu.org>
4662         * help.el (describe-key-briefly): Copy previous standard-output change.
4664 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4666         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4668 2011-09-13  Glenn Morris  <rgm@gnu.org>
4670         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4671         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4673 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4675         * dired-aux.el (dired-mark-read-string): Don't return default
4676         value on empty input (Bug#9361).
4677         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4678         Omit initial minibuffer contents.
4679         (dired-do-chmod): Signal an error on empty input.
4680         (dired-mark-read-string): Don't return default on empty input.
4682         * files.el (file-modes-symbolic-to-number): Doc fix.
4684 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4686         * international/mule-cmds.el (ucs-completions): Remove.
4687         (read-char-by-name): Use complete-with-action instead; add metadata.
4689 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4691         * window.el (display-buffer--action-function-custom-type)
4692         (display-buffer--action-custom-type): New vars.
4693         (display-buffer-alist, display-buffer-default-action)
4694         (display-buffer-overriding-action): Add defcustom types.
4696         * frame.el (delete-other-frames): Doc fix (Bug#276).
4698 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4700         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4702 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4704         Change modes that used same-window-* vars to use switch-to-buffer.
4706         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4707         Use switch-to-buffer.
4709         * cus-edit.el (customize-group, custom-buffer-create)
4710         (customize-browse, custom-buffer-create-other-window):
4711         Use switch-to-buffer or switch-to-buffer-other-window.
4713         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4714         (Info-prev, Info-up, Info-speedbar-goto-node)
4715         (info-display-manual): Use switch-to-buffer.
4716         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4718         * mail/sendmail.el (mail): Use switch-to-buffer.
4719         (mail-recover): Use switch-to-buffer-other-window.
4721         * cmuscheme.el (run-scheme, switch-to-scheme):
4722         * ielm.el (ielm):
4723         * shell.el (shell):
4724         * net/rlogin.el (rlogin):
4725         * net/telnet.el (telnet, rsh):
4726         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4728 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
4730         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4732 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4734         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4735         so don't mention it (bug#9301).
4736         (dired-sort-toggle-or-edit): Clarify string further.
4738         * faces.el (face-spec-set-match-display): Make `(type graphic)'
4739         match `x', `w32' and `ns', like the manual says (bug#9029).
4741         * subr.el (eval-after-load): Doc string clarification (bug#9125).
4742         (process-kill-buffer-query-function): Mention the buffer name in
4743         the query.
4745         * image-mode.el (image-next-line): The line parameter is mandatory
4746         (bug#9258).
4748         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4749         which can be useful (bug#9301).
4751         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4753         * subr.el (match-string): Mention that the current buffer should
4754         be the same as the search was done in (bug#9282).
4756         * facemenu.el: Disable the remove-* commands if the mark isn't
4757         active (bug#9162).
4759 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4761         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4762         of display-buffer.
4763         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4765         * replace.el (occur-mode-goto-occurrence)
4766         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4767         and display-buffer.
4769         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4770         display-buffer.
4772         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4773         special-display and same-window variables.
4774         (mail-other-window): Use switch-to-buffer-other-window.
4775         (mail-other-frame): USe switch-to-buffer-other-frame.
4777         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4778         Use display-buffer-other-frame.
4779         (gdb-display-gdb-buffer): Use pop-to-buffer.
4781         * progmodes/gud.el (gud-goto-info): Use info-other-window.
4783         * progmodes/python.el: Don't set same-window-buffer-names.
4785         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4787         * window.el (display-buffer-alist): Add *Python*.
4789 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4791         * window.el (display-buffer-alist): Add entry for buffers
4792         previously handled same-window-*.
4793         (display-buffer-alist, display-buffer-default-action)
4794         (display-buffer-overriding-action): Mark as risky.
4795         (display-buffer-alist): Document action function changes.
4796         (display-buffer--same-window-action)
4797         (display-buffer--other-frame-action): New variables.
4798         (switch-to-buffer, display-buffer-other-frame): Use them.
4799         (display-buffer): Rename reuse-frame entry to reusable-frames.
4800         (display-buffer-reuse-selected-window): Function deleted.
4801         (display-buffer-reuse-window): Handle reusable-frames alist entry.
4802         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4803         (display-buffer-special): New function.
4804         (display-buffer--maybe-pop-up-frame-or-window): Rename from
4805         display-buffer-reuse-or-pop-window.  Split off special-display
4806         part into display-buffer-special.
4807         (display-buffer-use-some-window): Don't perform any special
4808         pop-up-frames handling.
4809         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4810         (display-buffer--maybe-same-window): Rename from
4811         display-buffer-maybe-same-window.
4813         * info.el: Don't set same-window-regexps.
4814         (info-setup): New function.
4815         (info-other-window, info): Call it.
4817         * cus-edit.el: Don't set same-window-regexps.
4818         (customize-group): New argument.
4819         (customize-group-other-window): Use it.
4820         (customize-face, customize-face-other-window): Likewise.
4821         (custom-buffer-create-other-window): Use pop-to-buffer directly.
4823         * net/rlogin.el:
4824         * net/telnet.el:
4825         * progmodes/gud.el: Don't set same-window-regexps.
4827         * cmuscheme.el:
4828         * ielm.el:
4829         * shell.el:
4830         * mail/sendmail.el:
4831         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4833 2011-09-10  Juri Linkov  <juri@jurta.org>
4835         * isearch.el (isearch-edit-string): Remove obsolete mention of
4836         `C-w' (`isearch-yank-word-or-char') from docstring.
4837         (isearch-query-replace): Fix typo in docstring (bug#9466).
4839 2011-09-10  Juri Linkov  <juri@jurta.org>
4841         * paren.el (show-paren-function): Don't show escaped parens.
4842         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
4844 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
4846         * mail/sendmail.el (mml-to-mime, mml-attach-file)
4847         (mm-default-file-encoding): Remove autoload forms, they are
4848         replaced with autoload cookies in mml.el and mm-encode.el.
4849         (mail-add-attachment): New command.
4850         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4851         (mail-mode): Mention mail-insert-file and mail-add-attachment in
4852         the doc string.
4853         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4855 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
4857         * simple.el (count-words-region): Use buffer if there's no region
4858         (bug#9429).
4860 2011-09-09  Juri Linkov  <juri@jurta.org>
4862         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4863         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4864         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
4866 2011-09-09  Alan Mackenzie  <acm@muc.de>
4868         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4869         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
4871 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
4873         Fix for Savannah bug#9392.
4874         * simple.el (mail-encode-mml): New defvar.
4876         * mail/rmail.el (mail-encode-mml): Add a defvar.
4877         (rmail-enable-mime-composing): Default to t.
4878         (rmail-forward): Use MIME method of forwarding only if both
4879         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4880         Set mail-encode-mml non-nil if the MIME method was used.
4882         * mail/sendmail.el (mml-to-mime): Add autoload form.
4883         (mail-encode-mml): Add a defvar.
4884         (mail-mode): Make mail-encode-mml buffer-local and initialize it
4885         to nil.
4886         (mail-send): If mail-encode-mml is non-nil, run the outgoing
4887         message through mml-to-mime, and reset mail-encode-mml to nil.
4889 2011-09-09  Glenn Morris  <rgm@gnu.org>
4891         * woman.el (woman-if-body): When processing an .el block,
4892         do not delete the next .el block as well.  (Bug#9447)
4893         (woman-special-characters): Add oq, cq, and hy characters.
4895 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4897         * window.el (window-deletable-p): Make sure window is live before
4898         invoking window-prev-buffers.
4900 2011-09-08  Leo Liu  <sdl.web@gmail.com>
4902         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
4904 2011-09-08  Juri Linkov  <juri@jurta.org>
4906         * progmodes/compile.el (compilation-environment): Make it
4907         a defcustom (bug#8340).
4909 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4911         * window.el (frame-auto-delete): Rename to window-auto-delete.
4912         Make it control auto-deletion of windows and/or frames.
4913         (window-deletable-p): New argument FORCE.  Rewrite conditions
4914         for deleting window/frame.  (Bug#9419)
4915         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4916         Rewrite handling of case when window/frame can be deleted.
4917         (delete-windows-on): Call window-deletable-p with new FORCE
4918         argument t.  (Bug#9456)
4920 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
4922         * help-mode.el (help-mode): Restore autoload.
4924 2011-09-07  Juri Linkov  <juri@jurta.org>
4926         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4927         `compilation-environment'.  Set buffer-local
4928         `compilation-environment' to `thisenv' later after (funcall mode).
4929         (Bug#8340)
4931         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
4932         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4933         instead of replacing its value.  (Bug#8340)
4935 2011-09-07  Juri Linkov  <juri@jurta.org>
4937         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4938         based on text properties put by `grep-filter' instead of matching
4939         escape sequences.
4940         (grep-mode): Set buffer-local `compilation-error-screen-columns'
4941         to the value of `grep-error-screen-columns' (bug#9438).
4943 2011-09-07  Juri Linkov  <juri@jurta.org>
4945         * simple.el (next-error-highlight, next-error-highlight-no-select):
4946         Doc fix (bug#9432).
4948 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
4950         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4951         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
4953 2011-09-07  Leo Liu  <sdl.web@gmail.com>
4955         * net/rcirc.el (rcirc-mode): Conditionally initialize
4956         rcirc-input-ring.
4958 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4960         * emacs-lisp/find-func.el (find-function-C-source): Only set
4961         find-function-C-source-directory after checking that we found a source
4962         file there (bug#9440).
4964 2011-09-06  Alan Mackenzie  <acm@muc.de>
4966         * isearch.el (isearch-other-meta-char): Wherever a key list is
4967         unread, "unread" the prefix arg, too.  This fixes bug #8901.
4969 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4971         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4973 2011-09-05  Juri Linkov  <juri@jurta.org>
4975         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4977 2011-09-05  Juri Linkov  <juri@jurta.org>
4979         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4980         keeping point where processing of grep matches begins, and
4981         continue to delete remaining escape sequences from the same point.
4982         (grep-filter): Make leading zero optional in "0?1;31m" because
4983         git-grep emits "\033[1;31m" escape sequences unlike expected
4984         "\033[01;31m" as GNU Grep does (bug#9408).
4985         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4987 2011-09-05  Juri Linkov  <juri@jurta.org>
4989         * subr.el (y-or-n-p): Capitalize "yes".
4991 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
4993         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
4994         `tramp-cache-unload-hook' where appropriate.
4995         (tramp-methods): Rename `tramp-remote-sh' to
4996         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
4997         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4999         * net/tramp-sh.el (top): Don't require 'shell.
5000         (tramp-methods): Add `tramp-remote-shell' and
5001         `tramp-remote-shell-args' entries.
5002         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5003         (tramp-sh-handle-shell-command): Remove.
5004         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5005         Use `tramp-remote-shell'.
5007 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5009         * mail/sendmail.el (sendmail-query-once-function): Delete.
5010         (sendmail-query-once): Save directly to send-mail-function.
5011         Update message-send-mail-function too.
5013         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5015 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5017         * progmodes/python.el (python-mode-map): Use correct function to
5018         start python interpreter from menu-bar (as reported by Geert
5019         Kloosterman).
5020         (inferior-python-mode-map): Fix typo.
5021         (python-shell-map): Remove.
5023 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5025         * net/rcirc.el (rcirc-print): Simplify code for
5026         rcirc-scroll-show-maximum-output.  There is no need to walk
5027         through all windows to find the right one.
5029 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5031         * help.el (help-return-method): Doc fix.
5033 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5035         * window.el (window-deletable-p): Don't return a non-nil value
5036         when there's a buffer that was shown in the window before.
5037         (Bug#9419)
5038         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5039         Set window's previous buffers to nil.
5041 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5043         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5044         newline before and after the tag line, so it doesn't interfere
5045         with determining the paragraph direction of bidirectional text.
5047 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5049         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5051 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5053         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5054         (pop-to-buffer): Change interactive spec.  Pass second argument
5055         directly to display-buffer.
5056         (display-buffer): Fix interactive spec.  Use functionp to
5057         distinguish between a function and a list of functions.
5059         * abbrev.el (edit-abbrevs):
5060         * arc-mode.el (archive-extract):
5061         * autoinsert.el (auto-insert):
5062         * bookmark.el (bookmark-bmenu-list):
5063         * files.el (find-file):
5064         * view.el (view-buffer):
5065         * progmodes/compile.el (compilation-goto-locus):
5066         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5068 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5070         * window.el (display-buffer-alist): Doc fix.
5071         (display-buffer): Add docstring.  Don't treat
5072         display-buffer-default specially.
5073         (display-buffer-reuse-selected-window)
5074         (display-buffer-same-window, display-buffer-maybe-same-window)
5075         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5076         (display-buffer-pop-up-window)
5077         (display-buffer-reuse-or-pop-window)
5078         (display-buffer-use-some-window): New functions.
5079         (display-buffer-default-action): Use them.
5080         (display-buffer-default): Delete.
5081         (pop-to-buffer-1): Fix choice of actions.
5083 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5085         * minibuffer.el (completion--insert-strings): Don't get confused by
5086         completion entries that end with an LF char.
5088 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5090         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5092 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5094         * window.el (display-buffer): Restore interactive spec.
5095         (display-buffer-same-window, display-buffer-other-window):
5096         New functions.
5097         (pop-to-buffer-1): New function.  Use the above.
5098         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5099         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5101         * view.el (view-buffer-other-window, view-buffer-other-frame):
5102         Just use pop-to-buffer.
5104 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5106         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5108 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5110         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5112 2011-08-31  Richard Stallman  <rms@gnu.org>
5114         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5115         of the separation of rmail-view-buffer from rmail-buffer.
5116         If you say no to "replace original", the decrypt is in the
5117         view buffer.  If you say yes, the decrypt goes into the
5118         rmail buffer also.
5120 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5122         * window.el (display-buffer-window): Rewrite doc-string.
5123         (display-buffer-record-window): New function.
5124         (display-buffer-macro-specifiers)
5125         (display-buffer-even-window-sizes, display-buffer-set-height)
5126         (display-buffer-set-width, display-buffer-in-window)
5127         (display-buffer-reuse-window, display-buffer-split-specifiers)
5128         (display-buffer-side-specifiers, display-buffer-split-window-1)
5129         (display-buffer-split-window, display-buffer-split-atom-window)
5130         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5131         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5132         (display-buffer-other-window-means-other-frame)
5133         (display-buffer-normalize-special)
5134         (display-buffer-normalize-default)
5135         (display-buffer-normalize-argument)
5136         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5137         (display-buffer-normalize-specifiers, display-buffer-frame)
5138         (display-buffer-same-window, display-buffer-same-frame)
5139         (display-buffer-other-window)
5140         (display-buffer-same-frame-other-window)
5141         (display-buffer-other-frame, pop-to-buffer-same-window)
5142         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5143         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5144         (switch-to-buffer-same-frame)
5145         (switch-to-buffer-other-window-same-frame)
5146         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5147         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5148         (display-buffer-alist-set): Remove.
5149         (display-buffer-function, special-display-buffer-names)
5150         (special-display-regexps, special-display-function):
5151         In doc-string refer to display-buffer-window and quit-restore
5152         parameter.
5153         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5154         (special-display-frame-alist, special-display-popup-frame)
5155         (same-window-buffer-names, same-window-regexps, same-window-p)
5156         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5157         (split-window-preferred-function, split-height-threshold)
5158         (split-width-threshold, window-splittable-p)
5159         (split-window-sensibly, window--try-to-split-window)
5160         (window--frame-usable-p, even-window-heights)
5161         (window--even-window-heights, window--display-buffer-1)
5162         (window--display-buffer-2, display-buffer-other-frame):
5163         Restore old Emacs 23 code, order and doc-strings where applicable.
5164         (display-buffer-default, display-buffer-assq-regexp): New functions.
5165         (display-buffer-alist): Rewrite doc-string.
5166         (display-buffer-default-action)
5167         (display-buffer-overriding-action): New variables.
5168         (display-buffer, switch-to-buffer): Rewrite.
5169         (pop-to-buffer): Restore Emacs 23 behavior but use
5170         window-normalize-buffer-to-display.
5171         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5172         Restore Emacs 23 behavior but use
5173         window-normalize-buffer-to-switch-to.
5174         (pop-to-buffer-same-window): Rewrite.
5175         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5176         Rewrite using Emacs 23 options.
5178 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5180         * net/tramp.el (tramp-root-regexp): Remove.
5181         (tramp-completion-file-name-regexp-unified)
5182         (tramp-completion-file-name-regexp-separate)
5183         (tramp-completion-file-name-regexp-url): Don't use leading volume
5184         letter on win32 systems.  (Bug#5303, Bug#9311)
5185         (tramp-drop-volume-letter): Simplify definition.
5186         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5188 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5191         (bug#9356).
5193 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5195         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5197 2011-08-29  Juri Linkov  <juri@jurta.org>
5199         * isearch.el (isearch-done): Don't display message "Mark saved"
5200         when arg `edit' is non-nil to prevent its flicker in the echo area.
5202 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5204         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5205         obsolete packages for deletion.
5207 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5209         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5210         (help-mode): Derive help-mode from special-mode.  Don't invoke
5211         view-mode from help-mode.
5212         (help-xref-override-view-map): Remove.
5213         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5214         view-mode is not used anymore.
5216 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5218         * server.el (server-port): Doc fix.
5220         * cus-theme.el (custom-theme-choose-mode): Inherit from
5221         special-mode (Bug#9124).
5222         (custom-theme-choose-mode-map): Add special-mode to parent.
5224 2011-08-28  Alan Mackenzie  <acm@muc.de>
5226         * progmodes/cc-fonts.el
5227         (c-make-font-lock-BO-decl-search-function): New function.
5228         (c-basic-matchers-after - "Fontify the clauses after various
5229         keywords"): Extract the three keyword lists for the 3 erroneous
5230         constructs from the list of four, and use the new function above
5231         in place of an old one.
5233 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5235         * net/rcirc.el (rcirc-insert-prev-input)
5236         (rcirc-insert-next-input): Remove unused argument.
5238 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5240         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5242 2011-08-27  Alan Mackenzie  <acm@muc.de>
5244         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5245         handle function pointer parameters properly.
5247 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5249         * window.el (display-buffer-reuse-window): Fix case where
5250         selected window was reused with non-nil OTHER-WINDOW argument.
5251         (Bug#9381)
5253 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5255         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5256         oftc's NickServ messages.
5258 2011-08-27  Glenn Morris  <rgm@gnu.org>
5260         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5262 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5264         * emacs-lisp/package.el (package-install): Call package-initialize
5265         if called interactively.
5267 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5269         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5271 2011-08-25  Juri Linkov  <juri@jurta.org>
5273         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5274         `search-whitespace-regexp' (bug#9364).
5276 2011-08-25  Juri Linkov  <juri@jurta.org>
5278         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5279         `regexp-search-ring' to their global values to protect from
5280         updating by `read-from-minibuffer' (bug#9185).
5282 2011-08-25  Juri Linkov  <juri@jurta.org>
5284         * textmodes/ispell.el (ispell-command-loop): Add newline
5285         at the end of the "Use option `i'..." line.
5287 2011-08-25  Juri Linkov  <juri@jurta.org>
5289         * battery.el (display-battery-mode): If `battery-status-function'
5290         or `battery-mode-line-format' is nil, display the message and set
5291         `display-battery-mode' to nil (bug#9363).
5293 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5295         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5296         bidi-string-mark-left-to-right; they are unnecessary now.
5298 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5300         * net/quickurl.el: Documentation typo fixes.
5302 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5304         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5306 2011-08-25  Glenn Morris  <rgm@gnu.org>
5308         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5310         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5311         (smtpmail-via-smtp): Handle nil response from smtp.
5313 2011-08-24  Juri Linkov  <juri@jurta.org>
5315         * proced.el (proced-marked): Inherit from `error' instead of
5316         `font-lock-warning-face'.
5318         * ibuffer.el (ibuffer-marked-face): Change default face from
5319         `font-lock-warning-face' to `warning'.
5320         (ibuffer-deletion-face): Change default face from
5321         `font-lock-type-face' to `error'.
5323         * battery.el (battery-update): Use the face `error' instead of
5324         `font-lock-warning-face' (bug#6117).
5326 2011-08-24  Juri Linkov  <juri@jurta.org>
5328         * faces.el (success): Change face color from "Green3" to
5329         "ForestGreen" on light background (bug#9353).
5331 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5333         * window.el (quit-window): Rename from quit-restore-window.
5334         Use same arglist as old quit-window.
5335         (frame-auto-delete): Doc fix.
5337         * view.el (view-mode-exit): Use quit-window.
5339 2011-08-24  Juri Linkov  <juri@jurta.org>
5341         * isearch.el (isearch-ring-adjust1): Start visiting previous
5342         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5343         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5344         for empty search string (when the last search string is reused
5345         automatically) to adjust the isearch ring to the last element and
5346         prepare the correct index for further M-p commands (bug#9185).
5348 2011-08-24  Kenichi Handa  <handa@m17n.org>
5350         * international/ucs-normalize.el: If decomposition property of
5351         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5352         nil.
5353         (nfd, nfkd): Likewise.
5355 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5357         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5358         from process filters aren't reliably transmitted to the surrounding
5359         accept-process-output.
5360         (mpc-proc-check): New function.
5361         (mpc-proc-sync): Use it (bug#8293)
5363 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5365         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5366         Add compatibility functions (bug#9313).
5368 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5370         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5372         * international/uni-bidi.el: Regenerate.
5374 2011-08-23  Kenichi Handa  <handa@m17n.org>
5376         * international/charprop.el:
5377         * international/uni-bidi.el:
5378         * international/uni-category.el:
5379         * international/uni-combining.el:
5380         * international/uni-comment.el:
5381         * international/uni-decimal.el:
5382         * international/uni-decomposition.el:
5383         * international/uni-digit.el:
5384         * international/uni-lowercase.el:
5385         * international/uni-mirrored.el:
5386         * international/uni-name.el:
5387         * international/uni-numeric.el:
5388         * international/uni-old-name.el:
5389         * international/uni-titlecase.el:
5390         * international/uni-uppercase.el: Regenerate.
5392 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5394         * help.el (help-window-setup): Fix message displayed when other
5395         window is reused.  (Bug#9341)
5397 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5399         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5400         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5402         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5403         Mark obsolete.
5404         * shell.el (shell-parse-pcomplete-arguments): New function.
5405         (shell-completion-vars): Use it instead (bug#9160).
5407 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5409         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5410         strings and comments (bug#9333).
5412         * emacs-lisp/debug.el (debug-arglist): New function.
5413         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5414         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5416 2011-08-22  Juri Linkov  <juri@jurta.org>
5418         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5419         Revert regexp that highlights output switches to its old
5420         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5422         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5423         to check for empty output (bug#9226).
5425 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5427         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5428         symbol-constituent as the default, as that stops font-lock from
5429         working properly (Bug#8843).
5431 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5433         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5434         `coding-system-for-*' around the process open call to avoid
5435         auth-source side effects.
5436         (smtpmail-try-auth-methods): Expand the secret password.
5437         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5438         probe hangs.
5440 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5442         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5444         * emacs-lisp/find-func.el (find-function-noselect): New arg
5445         lisp-only.
5447         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5448         signal an error for built-in functions (Bug#6664).
5450 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5452         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5453         (smtpmail-try-auth-methods): Use it.
5455 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5457         * font-lock.el (font-lock-fontify-region)
5458         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5459         (font-lock-default-unfontify-buffer)
5460         (font-lock-default-fontify-region)
5461         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5463         * progmodes/compile.el (compilation-error-properties):
5464         Fix confusion between file struct and message struct (Bug#9319).
5465         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5466         `ant' regexp.
5468         * net/browse-url.el (browse-url-firefox): Don't call
5469         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5471 2011-08-20  Glenn Morris  <rgm@gnu.org>
5473         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5475         * tutorial.el (tutorial--default-keys): Update some default bindings.
5477         * files.el (hack-local-variables): Fully ignore case for "mode:".
5479 2011-08-20  Alan Mackenzie  <acm@muc.de>
5481         Resolve invalid use of a regexp in regexp-opt.
5483         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5484         detection for a java annotation.
5486         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5487         detection for a java annotation.
5489         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5490         handling for java.
5491         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5493 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5495         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5496         (Bug#9274).
5498 2011-08-20  Alan Mackenzie  <acm@muc.de>
5500         Fontify CPP expressions correctly when starting in the middle of
5501         such a construct.  Mainly for when jit-lock etc. starts a chunk
5502         here.
5504         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5505         variable.
5506         (c-make-font-lock-search-form): New function, extracted from
5507         c-make-font-lock-search-function.
5508         (c-make-font-lock-search-function): Use the above function.
5509         (c-make-font-lock-context-search-function): New function.
5510         (c-cpp-matchers): Enhance the preprocessor expression case with
5511         the above function
5512         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5513         which takes an expression.
5515         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5517 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5519         * window.el (display-buffer-reuse-window)
5520         (display-buffer-pop-up-window): Don't reuse or split a side
5521         window.
5523 2011-08-19  Glenn Morris  <rgm@gnu.org>
5525         * files.el (hack-local-variables-prop-line, hack-local-variables):
5526         Downcase "Mode:".  (Bug#9331)
5528 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5530         * international/characters.el: Add L and R categories.
5532         * subr.el (bidi-string-mark-left-to-right): Rename from
5533         string-mark-left-to-right.  Use category search.
5535         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5537 2011-08-18  Juri Linkov  <juri@jurta.org>
5539         * faces.el (error, warning, success): New faces with definitions
5540         copied from old default values of `font-lock-warning-face',
5541         `compilation-warning', `compilation-info' (bug#6117).
5543         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5545         * progmodes/compile.el (compilation-error): Inherit from `error'.
5546         (compilation-warning): Inherit from `warning'.
5547         (compilation-info): Inherit from `success'.
5549         * dired.el (dired-marked): Inherit from `warning'.
5550         (dired-flagged): Inherit from `error'.
5552 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5554         * mail/smtpmail.el (auth-source): Require to avoid problems with
5555         binding variables (bug#9298).  Also clean up some unused
5556         autoloads.
5558         * net/network-stream.el (network-stream-open-starttls):
5559         Support using starttls.el without using gnutls-cli.
5561 2011-08-17  Juri Linkov  <juri@jurta.org>
5563         * progmodes/grep.el (rgrep): Handle the case when
5564         `grep-find-command' is a cons cell (bug#9278).
5566 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5568         * window.el (display-buffer-pop-up-frame): Run frame creation
5569         function with BUFFER current (as special-display-popup-frame
5570         does).  Reported by Drew Adams.
5572 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5574         * epa-mail.el: Simplify GnuPG group expansion using
5575         epg-expand-group.
5576         (epa-mail-group-alist, epa-mail-group-modtime)
5577         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5578         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5579         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5580         Remove.
5582 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5584         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5586 2011-08-16  Alan Mackenzie  <acm@muc.de>
5588         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5589         Correct, to avoid the inside of macros.
5591 2011-08-16  Richard Stallman  <rms@gnu.org>
5593         * epa-mail.el: Handle GnuPG group definitions.
5594         (epa-mail-group-alist, epa-mail-group-modtime)
5595         (epa-mail-gnupg-conf-file): New variables.
5596         (epa-mail-parse-groups, epa-mail-sync-groups)
5597         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5598         (epa-mail-expand-recipients): New functions.
5599         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5601         * mail/rmail.el (rmail-epa-decrypt): New command.
5603         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5604         Don't bind buffer-read-only, just inhibit-read-only.
5605         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5606         (epa-decrypt-armor-in-region): Make error message clearer.
5608 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5610         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5611         and "a2b" to "ab" for `prefix'.
5613 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5615         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5616         filter groups.
5617         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5618         Fourquet (Bug#8804).
5620 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5622         * startup.el (argi): Declare as global variable (bug#9275).
5624 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5626         * subr.el (string-mark-left-to-right): Search the entire string
5627         for RTL script, not just the terminating character.  Doc fix.
5629 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5631         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5632         New function.
5633         (js--regexp-literal, js-syntax-propertize-function): Remove.
5634         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5635         (js-mode-map): Don't rebind electric keys.
5636         (js-insert-and-indent): Remove.
5637         (js-mode): Setup electric-layout and electric-indent instead.
5639         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5641 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5643         * epa.el (epa-progress-callback-function): Fix the logic of
5644         displaying progress.
5645         * epa-file.el (epa-file-insert-file-contents): Make progress
5646         display more user-friendly.
5647         (epa-file-write-region): Ditto.
5649 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5651         * subr.el (string-mark-left-to-right): New function.
5653         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5654         Use string-mark-left-to-right.
5655         (list-buffers-noselect): Caller changed.
5657         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5658         Use string-mark-left-to-right.
5659         (tabulated-list-print): Recenter after moving point.
5661 2011-08-10  Juri Linkov  <juri@jurta.org>
5663         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5664         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5665         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5667 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5669         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5670         (Bug#7554).
5672 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5674         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5675         character.  (Bug#6594)
5677 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5679         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5680         (image-dired--with-db-file): New macro.
5681         (image-dired-write-tags, image-dired-remove-tag)
5682         (image-dired-create-gallery-lists, image-dired-write-comments)
5683         (image-dired-get-comment, image-dired-mark-tagged-files)
5684         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5685         (image-dired-gallery-generate): Use insert-file-contents.
5687         * time.el (display-time-world-list, display-time-world-display):
5688         * time-stamp.el (time-stamp-string):
5689         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5690         set-time-zone-rule (Bug#7337).
5692 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5694         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5695         (epg-error-to-string, epg-errors-to-string): New function.
5696         (epg-wait-for-completion): Reverse errors list.
5697         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5698         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5699         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5700         (epg-sign-keys, epg-generate-key-from-file)
5701         (epg-generate-key-from-string): Format errors by using
5702         epg-errors-to-string (bug#9255).
5703         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5705 2011-08-07  Juri Linkov  <juri@jurta.org>
5707         * faces.el (list-faces-display): Remove extra angle bracket
5708         from `help-mode-map'.
5710         * info.el (Info-history-toc-nodes): Doc fix.
5712         * longlines.el (longlines-mode): Doc fix.
5714 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5716         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5717         of statements and in a few more cases (bug#9183).
5719         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5720         New functions.
5721         (cl-transform-lambda): Use them (bug#9239).
5723 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
5725         * window.el (display-buffer-same-window)
5726         (display-buffer-same-frame, display-buffer-other-window)
5727         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5728         (pop-to-buffer-other-window)
5729         (pop-to-buffer-same-frame-other-window)
5730         (pop-to-buffer-other-frame): Make them defuns.
5731         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5733 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5735         * subr.el (make-composed-keymap): Move from C.  Change calling
5736         convention, and improve docstring to bring attention to a subtle point.
5737         * minibuffer.el (completing-read-default): Adjust accordingly.
5739 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
5741         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5742         (tramp-open-shell): Use `tramp-shell-quote-argument'.
5744         * net/trampver.el: Update release number.
5746 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5748         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5749         "in" (bug#9190).
5751 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5753         * mail/sendmail.el (sendmail-query-once): Restore the current
5754         buffer after querying (bug#9074).
5756         * dired.el (dired-flagged): Use different faces for marked and
5757         flagged files (bug#6117).
5759         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5760         (bug#4433).
5762         * ido.el (ido-mode): Switch off the message if called
5763         non-interactively.
5765         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5766         before 587, since it appears that that's more likely to work for
5767         more people.
5769         * cus-edit.el (custom-file): When running under emacs -q, always
5770         refuse to save the customizations, even if the .emacs file doesn't
5771         exist.
5773         * info.el: Remove the `Info-beginning-of-buffer' function
5774         (bug#8325).
5776         * net/network-stream.el (network-stream-open-starttls):
5777         Use `starttls-available-p' to see whether starttls.el can be used.
5779 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
5781         * window.el (display-buffer-in-window): Don't set dedicated status
5782         of window here (Bug#9215).
5783         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5784         (display-buffer-pop-up-side-window)
5785         (display-buffer-in-side-window): Set dedicated status of window here.
5787 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5789         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5790         before binding generated-autoload-file.
5792 2011-08-01  Deniz Dogan  <deniz@dogan.se>
5794         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5796 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
5798         Sync with Tramp 2.2.2.
5800         * net/trampver.el: Update release number.
5802 2011-07-30  Juri Linkov  <juri@jurta.org>
5804         * dired-aux.el (dired-touch-initial): Remove function.
5805         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5806         current time, and `default' to the last modification time of the
5807         current marked file (bug#6887).
5809 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
5811         * simple.el (goto-line): Use string-to-number to provide a
5812         numeric argument to read-number (bug#9163).
5814 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
5816         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5817         connection process, it could be nil.
5819 2011-07-27  Leo Liu  <sdl.web@gmail.com>
5821         Simplify url handling in rcirc-mode.
5823         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5824         (rcirc-browse-url-at-mouse): Remove.
5825         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5827 2011-07-26  Alan Mackenzie  <acm@muc.de>
5829         Fontify bitfield declarations properly.
5831         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5832         (c-symbol-chars): Now exported as a lang variable.
5833         (c-not-primitive-type-keywords): New lang variable.
5835         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5836         QT keyword "more" to prevent "more slots: ...." being spuriously
5837         parsed as a bitfield declaration.
5839         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5840         Refactor and enhance to handle bitfield declarations.
5841         (c-punctuation-in): New function.
5842         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5843         declarations properly.
5845 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
5847         * calendar/icalendar.el (icalendar--all-events): Take care of
5848         multiple vcalendars in a single file.
5849         (icalendar--convert-float-to-ical): Checkdoc fixes.
5851 2011-07-25  Deniz Dogan  <deniz@dogan.se>
5853         * image.el (insert-image): Clarifying docstring.
5855 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
5857         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5858         `tramp-send-command-and-check' if there is no error.
5859         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5861 2011-07-22  Alan Mackenzie  <acm@muc.de>
5863         Prevent cc-langs.elc being loaded at run time.
5865         * progmodes/cc-mode.el: Remove two autoload forms which loaded
5866         cc-langs.
5868         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5869         "(require 'cc-langs)".  Quote a form so it will evaluate at
5870         (cc-mode's) compilation time.
5872 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
5874         * net/tramp.el (tramp-file-name-handler): Avoid recursive
5875         loading.  (Bug#9114)
5877 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
5879         * window.el (display-buffer-pop-up-window)
5880         (display-buffer-pop-up-side-window)
5881         (display-buffer-in-side-window): Call display-buffer-set-height
5882         and display-buffer-set-width after setting the new window's
5883         buffer so `fit-window-to-buffer' and friends work on the right buffer.
5885 2011-07-20  Sam Steingold  <sds@gnu.org>
5887         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5888         (etags-tags-included-tables): Call `convert-standard-filename' on
5889         the file names contained in TAGS so that windows Emacs can handle
5890         TAGS files created by cygwin ctags.
5892 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5894         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5895         which apparently didn't work.
5897 2011-07-19  Roland Winkler  <winkler@gnu.org>
5899         * proced.el (proced-send-signal): For *Marked Processes* buffer
5900         put point at beginning of buffer.
5902 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
5904         * proced.el (proced-format): Make header lines align with the text
5905         (bug#1779).
5907 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5909         * view.el (view-buffer): Allow running in `special' modes if we're
5910         visiting a file (bug#8615).
5912 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
5914         * window.el (display-buffer-alist-of-strings-p)
5915         (display-buffer-alist-set-1, display-buffer-alist-set-2):
5916         New functions.
5917         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5918         more accurately.
5920 2011-07-18  Alan Mackenzie  <acm@muc.de>
5922         Fontify declarators properly when, e.g., a jit-lock chunk begins
5923         inside a declaration.
5925         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5927         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5928         New function.
5929         (c-complex-decl-matchers): Insert reference to
5930         c-font-lock-enclosing-decls.
5932         * progmodes/cc-engine.el (c-backward-single-comment):
5933         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5934         to nil around calls to (forward-comment -1).
5936 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5938         * image.el (put-image): Doc typo fix.
5940         * progmodes/etags.el (tags-search): Doc typo fix.
5942         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5943         password if we get errors 550 to 554.
5945 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5947         * net/gnutls.el (gnutls-log-level): Remove.
5949         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5950         indentation character (bug#6380).
5952         * files.el (buffer-offer-save): Made permanently local (bug#6241).
5954         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5955         to clarify what the problem is (bug#4291).
5957         * simple.el (current-kill): Clarify what
5958         `interprogram-paste-function' does (bug#7500).
5959         (auto-fill-mode): Document `auto-fill-function' in relation to
5960         `auto-fill-mode' (bug#2470).
5962 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
5964         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5965         method if slot is read-only (bug#9035).
5967 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
5969         * frame.el (select-frame-set-input-focus): New argument NORECORD.
5970         * window.el (pop-to-buffer): Select window used even if it was
5971         selected before, see discussion of (Bug#8615), (Bug#6954).
5972         Pass argument NORECORD on to select-frame-set-input-focus.
5974 2011-07-15  Glenn Morris  <rgm@gnu.org>
5976         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
5977         Respect help-form.
5979 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
5981         * net/gnutls.el (gnutls-min-prime-bits): New variable.
5982         (gnutls-negotiate): Use it.
5984 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5986         * net/gnutls.el (gnutls-negotiate):
5987         Upcase `gnutls-algorithm-priority'.
5989 2011-07-15  Glenn Morris  <rgm@gnu.org>
5991         * jka-compr.el (jka-compr-verbose): Move from here...
5992         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
5993         Add missing :version tag.
5994         * info.el: No need to require jka-compr when compiling.
5996 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5998         * net/gnutls.el (gnutls-algorithm-priority): New variable.
5999         (gnutls-negotiate): Use it.
6001         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6003         * info.el (Info-beginning-of-buffer): New command.
6004         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6005         announcing `b' as the key (bug#8325).
6006         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6008         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6010         * international/mule-cmds.el
6011         (describe-specified-language-support): Make the error message
6012         clearer (bug#8905).
6014         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6016         * isearch.el (isearch-barrier): Add a doc string, since it's
6017         mentioned in a function doc string (bug#8678).
6019 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6021         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6022         buffer argument (Bug#9083) and self-identifying label argument.
6024 2011-07-15  Glenn Morris  <rgm@gnu.org>
6026         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6028 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6030         * man.el (Man-fontify-manpage): Fix message when formatting the
6031         man page (bug#7929).
6033 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6035         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6036         argument LRM; if non-nil, append an invisible LRM character to the
6037         buffer name.
6038         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6039         last argument non-nil, when formatting buffer names.
6040         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6041         paragraph direction.
6043 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6045         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6046         the man page name (bug#7929).
6048         * image.el (put-image): Mention the `put-image' overlay property
6049         (bug#7834).
6051         * scroll-bar.el (set-scroll-bar-mode): Mention that
6052         `scroll-bar-mode' lists the values (bug#7772).
6054         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6055         command (bug#7729).
6057         * rect.el (apply-on-rectangle): Return the point after the last
6058         operation.
6059         (string-rectangle): Go to the point after the last operation
6060         (bug#7522).
6062         * printing.el (pr-toggle-region): Clarify the documentation
6063         slightly (bug#7493).
6065         * time.el (display-time-update):
6066         Allow `display-time-mail-function' to return nil (bug#7158).
6067         Fix suggested by Detlev Zundel.
6069         * vc/diff.el (diff): Clarify the order the file names are read
6070         (bug#7111).
6072         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6073         the doc string (bug#7015).
6075         * font-lock.el (font-lock-maximum-decoration): Mention what
6076         numeric levels mean (bug#6935).
6078         * startup.el (initial-buffer-choice): Don't mention the `none'
6079         selection, which is against policy.
6081 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6083         * window.el (display-buffer-normalize-special):
6084         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6086 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6088         * subr.el (version<, version<=, version=): Mention "-CVS" and
6089         "-12345" alpha version numbers.
6091 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6093         * bindings.el: Add advertised binding for set-mark-command
6094         (Bug#5772).
6096 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6098         * bindings.el (mode-line-other-buffer):
6099         * bookmark.el (bookmark-bmenu-2-window):
6100         * bs.el (bs-cycle-next, bs-cycle-previous):
6101         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6102         switch-to-buffer.
6104         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6105         Delete.
6107 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6109         * follow.el (follow-debug-message, follow-redisplay):
6110         * jka-cmpr-hook.el (with-auto-compression-mode):
6111         Fix typos in docstrings.
6113 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6115         * subr.el (with-silent-modifications): Clarify somewhat what the
6116         macro inhibits (bug#6525).
6118         * simple.el (eval-expression): Note what it does if called
6119         interactively (bug#6495).
6121 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6123         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6124         Use pop-to-buffer buffer-or-name if it is nil.
6126         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6127         Remove switch-to-buffer.
6129 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6131         * files.el (make-directory): Clarify that an error will be raised
6132         if there's an error (bug#6397).
6134         * startup.el (initial-buffer-choice): Add `none' as a choice
6135         (bug#6234).
6137         * subr.el (add-hook): Clarify section about buffer-local hooks
6138         (bug#6218).
6140         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6142 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6144         * tabify.el (untabify): Preserve the current column so that point
6145         doesn't move (bug#6032).
6147 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6149         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6150         Rewrite to avoid awkward possessive "s" (bug#5986).
6152 2011-07-13  Glenn Morris  <rgm@gnu.org>
6154         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6155         (dired-insert-directory): Give a message the first time
6156         if ls is found not to support --dired.
6158 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6160         * simple.el (toggle-truncate-lines): Clarify what is toggled
6161         (bug#5580).  Text by Drew Adams.
6163 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6165         * simple.el (blink-matching-open): Make the error message from the
6166         last change less verbose.
6168 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6170         * font-lock.el (font-lock-comment-face): Use the high contrast
6171         "yellow" color for font-lock-comment-face on low color terminals
6172         using a dark background color (bug#4221).
6174 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6176         * dired.el (dired-insert-set-properties): Make the doc string
6177         reflect what it does now (bug#5325).
6179         * simple.el (blink-matching-open): Say that we were unable to find
6180         the match within the limit, if we're limited (bug#5122).
6182         * international/mule-cmds.el (prefer-coding-system): Add an
6183         example (bug#4869).
6185         * progmodes/etags.el (tags-search): Document `file-list-form'
6186         (bug#4731).
6188 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6190         * net/browse-url.el (browse-url-default-browser)
6191         (browse-url-browser-function): Make the default browser choice a
6192         bit more logical (bug#4300).  Also clean up the doc string.
6194 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6196         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6197         binary endings (bug#4440).
6199 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6201         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6202         which can be pretty annoying (bug#8971).
6204         * jka-compr.el (jka-compr-verbose): New variable, and use
6205         throughout (bug#8971).
6207         * info.el (Info-find-file): Fall back on the installation
6208         directory if we can't find the info node anywhere else.
6210 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6212         * vc/vc.el (vc-revert-file):
6213         Don't set file time-stamp in the past.  (Bug#5181)
6215 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6217         * files.el (after-find-file): Give a better error message when
6218         trying to find a symlink that points to a file that doesn't exist
6219         (bug#4398).
6221         * progmodes/cc-vars.el: Remove (probably) misleading comment
6222         (bug#4396).
6224 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6226         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6228 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6230         * mouse-sel.el: Hack restoring functionality, while keeping
6231         compatibility with 2010-07-03 changes to mouse selection.
6232         (mouse-sel-primary-overlay): New var.
6233         (mouse-sel-selection-alist): Use it.
6234         (mouse-sel-mode): Doc fix; remove points that are default features
6235         of mouse.el.
6237 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6239         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6240         Fix previous fix (bug#2490).
6242 2011-07-12  Roland Winkler  <winkler@gnu.org>
6244         * textmodes/bibtex.el (bibtex-initialize):
6245         Use pop-to-buffer-same-window.
6246         (bibtex-search-entries): Fix interactive call.
6248 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6250         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6251         Fontise bytecomp Error lines more correctly (bug#2490).
6252         Fix suggested by Johan BockgÃ¥rd.
6254         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6256         * dired-x.el (dired-guess-default): Use `delete-dups'.
6258 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6260         * dired.el (dired-mark-prompt):
6261         * dired-aux.el (dired-read-shell-command): Doc fix.
6263 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6265         * mail/sendmail.el (sendmail-query-once):
6266         Use `customize-save-variable' unconditionally, now that it works under
6267         emacs -Q.
6269         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6271         * cus-edit.el (custom-file): Take an optional no-error variable.
6272         (customize-save-variable): Set the variable, and give a warning if
6273         running under "emacs -q".
6275 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6277         * loadhist.el (unload-feature-special-hooks):
6278         Add `auto-coding-functions', `fill-nobreak-predicate' and
6279         `find-directory-functions' (bug#5327).
6281 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6283         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6285         * cus-edit.el (custom-guess-name-alist): -alist variables should
6286         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6288         * printing.el: Add documentation to all the `pr-toggle-' commands.
6290 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6292         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6293         backends where it makes sense (bug#2623).
6295 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6297         * dired-x.el (dired-guess-default): Remove duplicate shell command
6298         entries (bug#2028).
6299         (dired-guess-default): Fix grammar in doc string (bug#2028).
6300         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6302         * subr.el (remove-duplicates): New conveniency function.
6304 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6306         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6307         (bug#1526).
6309 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6311         * window.el (display-buffer-normalize-default): Don't invert
6312         meaning of even-window-heights.  Reported by Eli Zaretskii
6313         <eliz@gnu.org>.
6315 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6317         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6319 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6321         * window.el (display-buffer): Fix arguments to
6322         display-buffer-reuse-window in last change.
6324         * faces.el (link): Use a less saturated blue on light backgrounds.
6326         * startup.el (fancy-startup-text, fancy-about-text)
6327         (fancy-startup-tail): Use font-lock faces, for background safety.
6329 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6331         * emulation/viper-cmd.el (viper-change-state-to-vi):
6332         Limit triggering of abbrev expansion (Bug#9038).
6334 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6336         * window.el (display-buffer-default-specifiers): Remove.
6337         (display-buffer-macro-specifiers): Remove default specifiers.
6338         (display-buffer-alist): Default to nil.
6339         (display-buffer-reuse-window): New optional argument other-window.
6340         (display-buffer-pop-up-window): Allow splitting internal
6341         windows.  Check whether a live window was created.
6342         (display-buffer-other-window-means-other-frame)
6343         (display-buffer-normalize-arguments): Rename to
6344         display-buffer-normalize-argument and rewrite.  Set the
6345         other-window specifier.
6346         (display-buffer-normalize-special): New function.
6347         (display-buffer-normalize-options): Rename to
6348         display-buffer-normalize-default and rewrite.
6349         (display-buffer-normalize-options-inhibit): Remove.
6350         (display-buffer-normalize-specifiers): Rewrite.
6351         (display-buffer): Process other-window specifier and call
6352         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6353         more faithfully.
6354         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6355         (display-buffer-alist-set): Don't handle 'unset default values.
6356         (display-buffer-in-window, display-buffer-alist-set):
6357         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6358         <tassilo@member.fsf.org>.
6360 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6362         * register.el (insert-register): Restore accidental change on
6363         2011-06-26.  (Bug#9028)
6365 2011-07-09  Glenn Morris  <rgm@gnu.org>
6367         * subr.el (remq): Handle the empty list.  (Bug#9024)
6369 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6371         * mail/sendmail.el (send-mail-function): No longer delay custom
6372         initialization.
6373         * custom.el (custom-initialize-delay): Doc fix.
6375 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6379 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6381         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6382         human-friendly prompt.
6384 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6386         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6387         provided by a particular plugin.
6389 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6391         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6392         save customizations (with "emacs -Q"), just set the variable
6393         instead of erroring out.
6395         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6397 2011-07-08  Juri Linkov  <juri@jurta.org>
6399         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6400         (archive-zip-update-case): Use 7z if found by `executable-find'.
6401         The order of searching the available programs is the same as in
6402         `archive-zip-extract' (bug#8968).
6404 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6406         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6407         (menu-bar-options-menu): Tweak descriptions.
6409 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6411         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6412         menu items into verb phrases (bug#1421).  Also refill to fit under
6413         80 columns.
6415 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6417         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6418         (Info-read-node-name): Doc fix (Bug#1084).
6420         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6421         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6422         (end-of-sexp, beginning-of-sexp)
6423         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6424         (forward-symbol, forward-same-syntax, word-at-point)
6425         (sentence-at-point): Doc fix (Bug#1144).
6427 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6429         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6430         should cover it (bug#1281).
6432         * cus-edit.el (custom-show): Mark as obsolete.
6434         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6435         negotiation fails, then possibly try again with a non-encrypted
6436         connection (bug#9017).
6438         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6439         be used.
6441 2011-07-07  Richard Stallman  <rms@gnu.org>
6443         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6444         property, and handle its changed format.
6445         Look for the correct line number.
6446         Use file's line contents (but not past first =) to find
6447         correct line in message.
6449 2011-07-07  Kenichi Handa  <handa@m17n.org>
6451         * international/characters.el (build-unicode-category-table):
6452         Delete it.
6453         (unicode-category-table): Set it by unicode-property-table-internal.
6455         * international/mule-cmds.el (char-code-property-alist): Move to
6456         to src/chartab.c.
6457         (get-char-code-property): Call unicode-property-table-internal to
6458         load a file.  Call get-unicode-property-internal where necessary.
6459         (put-char-code-property): Call unicode-property-table-internal to
6460         load a file.  Call put-unicode-property-internal where necessary.
6461         put-unicode-property-internal where necessary.
6462         (char-code-property-description):
6463         Call unicode-property-table-internal to load a file.
6465         * international/charprop.el:
6466         * international/uni-bidi.el:
6467         * international/uni-category.el:
6468         * international/uni-combining.el:
6469         * international/uni-comment.el:
6470         * international/uni-decimal.el:
6471         * international/uni-decomposition.el:
6472         * international/uni-digit.el:
6473         * international/uni-lowercase.el:
6474         * international/uni-mirrored.el:
6475         * international/uni-name.el:
6476         * international/uni-numeric.el:
6477         * international/uni-old-name.el:
6478         * international/uni-titlecase.el:
6479         * international/uni-uppercase.el: Regenerate.
6481         * loadup.el: Load international/charprop.el before
6482         international/characters.
6484 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6486         * window.el (next-buffer, previous-buffer): Signal an error if
6487         called from a minibuffer window.
6489         * bindings.el: Revert 2011-07-04 change.
6491 2011-07-06  Richard Stallman  <rms@gnu.org>
6493         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6494         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6495         Treat markers like ints.
6496         (rmail-mime-entity): Doc fix.
6498 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6500         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6501         defcustom again for backwards compatibility.
6503         * simple.el (shell-command-on-region): Fill.
6505         * dired-aux.el (dired-kill-line): Add a doc string.
6507         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6508         to "\\sw\\|\\s_" (bug#358).
6510         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6511         (dired-unmark-backward): Ditto.
6512         (dired-flag-backup-files): Ditto.
6514         * dired-x.el (dired-mark-sexp): Ditto.
6516 2011-07-06  Richard Stallman  <rms@gnu.org>
6518         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6519         (rmail-mime-entity): New arg TRUNCATED.
6520         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6521         New functions.
6522         (rmail-mime-save): Warn if entity is truncated.
6523         (rmail-mime-toggle-hidden): Likewise, for showing.
6524         (rmail-mime-process-multipart): Record when an entity is truncated.
6526         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6527         if ENTITY is a string.
6529 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6531         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6532         of faces when `M-C-x'-ing their definitions (bug#8378).
6533         Also clean up the code slightly.
6535         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6536         because that makes the colors go away.
6538         * mail/sendmail.el (send-mail-function): Change the default to
6539         `sendmail-query-once'.
6540         (sendmail-query-once): Add an autoload cookie.
6542         * net/network-stream.el (network-stream-open-starttls): Try using
6543         a plain connection even if the server offered STARTTLS, and we
6544         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6545         capability.  This should make smtpmail.el work in slightly more
6546         configurations.
6548 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6550         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6551         New defun.
6552         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6554 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6556         * progmodes/sql.el: Version 3.0
6557         (sql-product-alist): Add product :completion-object,
6558         :completion-column, and :statement attributes.
6559         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6560         (sql-mode-syntax-table): Mark all punctuation.
6561         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6562         ansi keywords.
6563         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6564         (sql-mode-oracle-font-lock-keywords): Improve.
6565         (sql-oracle-show-reserved-words): New function for development.
6566         (sql-product-font-lock): Simplify for source code buffers.
6567         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6568         New functions.
6569         (sql-highlight-product): Set product specific syntax table.
6570         (sql-mode-map): Add statement movement functions.
6571         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6572         New variable.
6573         (sql-statement-regexp, sql-beginning-of-statement)
6574         (sql-end-of-statement, sql-signum): New functions.
6575         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6576         (sql-show-sqli-buffer): Bug fix.
6577         (sql-interactive-mode): Store connection data as buffer local.
6578         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6579         with sql-interactive-mode.
6580         (sql-save-connection): Save buffer local settings.
6581         (sql-connection-menu-filter): Change menu entry name.
6582         (sql-product-interactive): Bug fix.
6583         (sql-preoutput-hold): New variable.
6584         (sql-interactive-remove-continuation-prompt): Bug fixes.
6585         (sql-debug-redirect): New variable.
6586         (sql-str-literal): New function.
6587         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6588         Redesign.
6589         (sql-oracle-save-settings, sql-oracle-restore-settings)
6590         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6591         (sql-completion-object, sql-completion-column)
6592         (sql-completion-sqlbuf): New variables.
6593         (sql-build-completions-1, sql-build-completions)
6594         (sql-try-completion): New functions.
6595         (sql-read-table-name): Use them.
6596         (sql-contains-names): New buffer local variable.
6597         (sql-list-all, sql-list-table): Use it.
6598         (sql-oracle-completion-types): New variable.
6599         (sql-oracle-completion-object, sql-sqlite-completion-object)
6600         (sql-postgres-completion-object): New functions.
6602 2011-07-06  Glenn Morris  <rgm@gnu.org>
6604         * window.el (pop-to-buffer): Doc fix.
6606 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6608         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6610 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6612         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6614         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6616 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6618         * button.el (button): Inherit from link face.  Suggested by Dan
6619         Nicolaescu.
6621 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * progmodes/gdb-mi.el: Fit in 80 columns.
6624         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6625         switch-to-buffer.
6627         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6628         if imenu is simply not configured (bug#8941).
6630 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6632         * allout.el (allout-post-undo-hook): New allout outline-change
6633         event hook to signal undo activity.
6634         (allout-post-command-business): Run allout-post-undo-hook if an
6635         undo just occurred.
6636         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6637         * allout-widgets.el (allout-widgets-after-undo-function):
6638         Ensure the integrity of the current item's decoration after it has been
6639         in the vicinity of an undo.
6640         (allout-widgets-mode): Include allout-widgets-after-undo-function
6641         on the new allout-post-undo-hook.
6643 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6645         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6646         Let define-derived-mode define it.
6647         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6648         cycles of abbrev-table inheritance (bug#8998).
6650 2011-07-05  Roland Winkler  <winkler@gnu.org>
6652         * textmodes/bibtex.el: Add support for biblatex.
6653         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6654         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6655         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6656         (bibtex-entry-alist, bibtex-field-alist): New variables.
6657         (bibtex-entry-field-alist): Obsolete alias for
6658         bibtex-BibTeX-entry-alist.
6659         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6660         (bibtex-set-dialect): New command.
6661         (bibtex-entry-type, bibtex-entry-head)
6662         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6663         Bind via bibtex-set-dialect.
6664         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6665         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6666         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6667         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6668         Define via bibtex-set-dialect.
6669         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6670         Obey bibtex-no-opt-remove-re.
6671         (bibtex-vec-push, bibtex-vec-incr): New functions.
6672         (bibtex-format-entry, bibtex-field-list)
6673         (bibtex-print-help-message, bibtex-validate)
6674         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6676 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6678         * progmodes/compile.el (compilation-goto-locus):
6679         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6680         * bs.el (bs-cycle-next, bs-cycle-previous):
6681         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6682         * bindings.el (mode-line-other-buffer):
6683         * autoinsert.el (auto-insert):
6684         * arc-mode.el (archive-extract):
6685         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6687 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6689         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6690         Fix check of `emacs-lock-unlockable-modes'.
6691         Coerce true values of `emacs-lock--try-unlocking' to t.
6693 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6695         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6696         * emacs-lock.el: New file.
6698 2011-07-05  Julien Danjou  <julien@danjou.info>
6700         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6701         than `boundp' to check if face is set.
6703 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6705         * register.el (registerv-make):
6706         * window.el (window-min-height): Fix typos in docstrings.
6708 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
6710         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6711         Update doc string.
6713 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6715         * server.el (server-execute): Catch quit and call
6716         `server-return-error' to pass the error back to emacsclient and
6717         close the connection (bug#8942).
6719 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
6721         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6722         insecure exception for current topic.  Also note that auto-saves
6723         are handled differently.
6725         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6726         State variables for tracking auto-save inhibition situation.
6728         (allout-write-contents-hook-handler): Rename from
6729         'allout-write-file-hook-handler', and describe how it depends on
6730         write-contents-functions sensitivity to non-nil value to prevent
6731         file write.
6733         (allout-auto-save-hook-handler): Remove.  auto-save does not check
6734         this in individual buffers, only in the starting buffer, so this
6735         is not the right way for us to inhibit auto-save in a buffer
6736         according to its condition.
6738         (allout-mode): Use new allout-write-contents-hook-handler, and
6739         only with write-contents-functions.  Remove auto-save provisions -
6740         they're implemented elsewhere.
6742         (allout-before-change-handler): If undo is in progress, note that
6743         for attention of allout-post-command-business.
6745         (allout-post-command-business): If the command we're following was
6746         an undo, check for change in the status of encrypted items and
6747         adjust auto-save inhibitions accordingly.
6749         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6750         according to whether there are or aren't any plain-text topics
6751         pending encryption.
6753         (allout-inhibit-auto-save-info-for-decryption):
6754         Adjust buffer-saved-size and some allout state to inhibit auto-saves
6755         if there are plain-text topics pending encryption.
6757         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6758         buffer-saved-size and some allout state to not inhibit auto-saves
6759         if there are no longer any plain-text topics pending encryption.
6761         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6762         No longer provide for exemption of the current topic.
6764 2011-07-04  Juri Linkov  <juri@jurta.org>
6766         Add 7z operations to delete and save changed members (bug#8968).
6767         * arc-mode.el (archive-7z-expunge, archive-7z-update):
6768         New defcustoms.
6769         (archive-7z-write-file-member): New function.
6770         (archive-7z-summarize): Fix the number of dashes in the
6771         listing output.
6773 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6775         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6776         (bug#8958).
6778 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
6780         * bindings.el: Ignore next-buffer and previous-buffer in
6781         minibuffer-local-map.
6783         * font-lock.el (font-lock-builtin-face): Change light background
6784         color to dark slate blue (Bug#6693).
6786 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
6788         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6790 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6792         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6793         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6794         Add switch-to-buffer.
6796 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6798         * isearch.el (isearch-search-fun-function): Clarify further the
6799         meaning of the function returned.
6801 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
6803         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6805         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6806         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6807         Use it.
6808         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
6809         `tramp-default-remote-path' does not exist.
6810         (tramp-send-command-and-read): New optional argument NOERROR.
6811         (tramp-open-connection-setup-interactive-shell)
6812         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6813         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6814         (tramp-process-sentinel): Flush also process' connection property.
6815         (tramp-sh-handle-start-file-process): Do not set process
6816         sentinel.  It is done now ...
6817         (tramp-maybe-open-connection): ... here.  (Bug#8929)
6819 2011-07-04  MON KEY  <monkey@sandpframing.com>
6821         * play/animate.el (animate-string): Doc fixes and allow changing
6822         the buffer name (bug#5417).
6824 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6826         * play/animate.el (animation-buffer-name): Rename from *animate*.
6828 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6830         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6831         This is simpler and helps future-proof the code.
6832         (timer-until): Use time-subtract and float-time.
6833         (timer--time-less-p): Use time-less-p.
6835 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6837         * type-break.el (timep): Use the value of `float-time' to avoid a
6838         byte-compiler warning.
6840         * server.el (server-eval-and-print): Return any result, even nil.
6842 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6844         * type-break.el: Accept time formats that the builtins accept.
6845         (timep, type-break-time-difference): Accept any format that
6846         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6847         This is simpler and helps future-proof the code.
6848         (type-break-time-difference): Round rather than ignoring
6849         subseconds components.
6851 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6853         * info.el (Info-apropos-matches): Make non-interactive, since it
6854         doesn't seem to do anything useful as a command (bug#8829).
6856 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
6858         * frame.el (frame-background-mode, frame-set-background-mode):
6859         Move from faces.el.
6860         (frame-default-terminal-background): New function.
6862         * custom.el (custom-push-theme): Don't record faces in `changed'
6863         theme; this doesn't work correctly for per-frame face settings.
6864         (disable-theme): Use face-set-after-frame-default to reset faces.
6865         (custom--frame-color-default): New function.
6867 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6869         * dired.el (dired-flagging-regexp): Remove unused variable
6870         (bug#8769).
6872 2011-03-29  Kevin Ryde  <user42@zip.com.au>
6874         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6875         `perl-Test2' extend to match possible "fail #N" rep count
6876         (bug#8377).
6878 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6880         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6881         `smtpmail-via-smtp' now returns the error instead of nil.
6883         * isearch.el (isearch-search-fun-function): Clarify the doc string
6884         (bug#8101).
6886 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
6888         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6889         unnecessary spaces (bug#8987).
6891 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6893         * net/network-stream.el (open-network-stream): Use the
6894         :end-of-capability command thoughout.
6896 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6898         * net/network-stream.el (open-network-stream): Add the
6899         :end-of-capability command parameter, used by pop3.el.
6901 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6903         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6905         * fringe.el (fringe-query-style): Remove redundant text " (type ?
6906         for list)" (bug#6475).
6908         * files.el (file-expand-wildcards): Ignore non-readable
6909         sub-directories while trying to find matches instead of signaling
6910         an error (bug#6297).
6912         * man.el (Man-reference-regexp): Allow matching possible
6913         word-wrapped references (bug#6289).
6915         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6916         for consistency with the other vc buffers (bug#6197).
6917         (vc-checkin): Ditto.
6919         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6921         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6923 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6925         * custom.el (defcustom): Clarify that :set is only used in the
6926         Customize user interface (bug#6089).
6928         * progmodes/flymake.el (flymake-mode): If the buffer isn't
6929         associated with a file, refuse to run instead of erroring out
6930         (bug#6084).
6932         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6933         the doc string, since it appears that using `fill-column' always
6934         controls the width (bug#7845).
6936         * simple.el (shell-command-on-region): Say where the error output
6937         went if `shell-command-default-error-buffer' is set (bug#6857).
6939 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
6941         * allout.el (allout-yank-processing): Adjust cursor position for
6942         backwards-deleted space.
6944         (allout-rebullet-heading): Register changes with
6945         allout-exposure-changed-hook, so the modified topic is properly
6946         decorated.
6948 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6950         * minibuffer.el (completion-in-region): Document PREDICATE
6951         (bug#7136).
6953         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6954         of keyword/argument pairs (bug#6904).
6956         * replace.el (multi-occur):
6957         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
6959 2011-07-02  Drew Adams  <drew.adams@oracle.com>
6961         * dired.el (dired-mark-if): Make the message about whether it's
6962         marking or unmarking clearer (bug#8523).
6964 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6966         * disp-table.el (display-table-print-array): New function.
6967         (describe-display-table): Use it to print the vectors more pretty
6968         (Bug#8859).
6970 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
6972         * window.el (window-state-get-1): Don't assign clone numbers.
6973         Add clone-of item to list of window parameters.
6974         (window-state-put-2): Don't process clone numbers.
6975         (display-buffer-alist): Fix doc-string.
6977 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6979         * subr.el (remq): Don't allocate if it's not needed.
6980         (keymap--menu-item-binding, keymap--menu-item-with-binding)
6981         (keymap--merge-bindings): New functions.
6982         (keymap-canonicalize): Use them to refine the canonicalization.
6983         * minibuffer.el (minibuffer-local-completion-map)
6984         (minibuffer-local-must-match-map): Move initialization from C.
6985         (minibuffer-local-filename-completion-map): Move initialization from C;
6986         don't inherit from anything here.
6987         (minibuffer-local-filename-must-match-map): Make obsolete.
6988         (completing-read-default): Use make-composed-keymap to combine
6989         minibuffer-local-filename-completion-map with either
6990         minibuffer-local-must-match-map or
6991         minibuffer-local-filename-completion-map.
6993 2011-07-01  Glenn Morris  <rgm@gnu.org>
6995         * type-break.el (type-break-time-sum): Use dolist.
6997         * textmodes/flyspell.el (flyspell-word-search-backward):
6998         Replace CL function.
7000 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7002         * mouse.el (mouse--strip-first-event): New function.
7003         (function-key-map): Use it to map fringe clicks to normal clicks
7004         by default.
7006         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7007         (vc-bzr-revision-completion-table): Add support for annotate and date.
7009         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7010         inherit from parent.
7012 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7014         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7015         (dired-show-file-type): Doc fixup (bug#8818).
7017         * dired.el (dired-mode): Fix up the doc string as suggested by
7018         Drew Adams (bug#8817).
7020         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7021         cookie, since the manual says that it should be possible to add
7022         this function to `find-file-hook' (bug#8709).
7024 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7026         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7027         here.  Noted Ted Zlatanov as the maintainer.
7028         (cfengine-common-settings, cfengine-common-syntax): New functions
7029         to set up common things between `cfengine-mode' and
7030         `cfengine3-mode'.
7031         (cfengine3-mode): New mode.
7032         (cfengine3-defuns cfengine3-defuns-regex
7033         (cfengine3-class-selector-regex cfengine3-category-regex)
7034         (cfengine3-vartypes cfengine3-font-lock-keywords)
7035         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7036         (cfengine3-indent-line): Add from cfengine3.el.
7038 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7040         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7042         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7044 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7046         * window.el (same-window-buffer-names, same-window-regexps)
7047         (same-window-p, special-display-frame-alist)
7048         (special-display-popup-frame, special-display-function)
7049         (special-display-buffer-names, special-display-regexps)
7050         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7051         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7052         (split-window-preferred-function, split-height-threshold)
7053         (split-width-threshold, even-window-heights)
7054         (display-buffer-mark-dedicated, window-splittable-p)
7055         (split-window-sensibly, window-safely-shrinkable-p):
7056         Un-obsolete.
7057         (display-buffer): Don't spread args with function specifier
7058         because special-display-popup-frame won't like it.
7060 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7062         Time-stamp simplifications and fixes.
7063         These improve accuracy slightly, and future-proof the code
7064         against some potential changes to current-time format.
7066         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7067         by using time-since and float-time.
7069         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7070         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7071         + NNN microseconds".
7073         * type-break.el (type-break-time-sum): Rewrite using time-add.
7075         * play/hanoi.el (hanoi-current-time-float): Remove.
7076         All uses replaced by float-time.
7078         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7079         This yields a more-accurate answer.
7080         (rng-time-to-float): Remove; no longer needed.
7082         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7084         * calendar/timeclock.el (timeclock-seconds-to-time):
7085         Defalias to seconds-to-time, since they're the same thing.
7087         * emacs-lisp/elp.el (elp-elapsed-time):
7088         * emacs-lisp/benchmark.el (benchmark-elapse):
7089         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7091 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7093         * window.el (bury-buffer): Don't iconify the only frame.
7094         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7095         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7097 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7099         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7100         Add mouse-yank-primary.
7102 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7104         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7106 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7108         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7109         (find-library-name): Use it to find relative load names when provided
7110         absolute file name (bug#8803).
7112 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7114         * textmodes/flyspell.el (flyspell-word): Consider words that
7115         differ only in case as potential doublons (bug#5687).
7117         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7118         Remove two rather uninteresting debugging-like messages to make
7119         debbugs.el more silent.
7121         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7122         a password-like phrase.
7124 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7126         * progmodes/cc-guess.el: New file.
7128         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7130         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7131         derived from `c-basic-common-init'.
7133         * progmodes/cc-mode.el (top-level): Require cc-guess.
7134         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7136 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7138         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7140 2011-06-30  Alan Mackenzie  <acm@muc.de>
7142         * progmodes/cc-engine.el (c-guess-continued-construct):
7143         Correct the handling of template-args-cont, particularly for when font
7144         lock is disabled.  Name this case as "CASE G".
7146 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7148         * allout.el (allout-yank-processing): Fix injection of extra space
7149         between bullet and non-whitespace character in first topic when
7150         pasting, ensuring that the actual spacing in the pasted topic
7151         following the bullet char is preserved.  This extra space was
7152         causing pasted encrypted topics to get a decrypted status even
7153         when the content was actually still encrypted.  Now the decryption
7154         status from before the paste is preserved.
7156         (allout-flag-region): Set all allout overlays so they evaporate
7157         when reduced to zero length (evanescent), to prevent overlay
7158         leakage.
7160 2011-06-30  Glenn Morris  <rgm@gnu.org>
7162         * w32-fns.el (w32-charset-info-alist): Declare.
7164         * find-dired.el (find-grep-options): Simplify.
7166         * term/ns-win.el (ns-set-resource): Declare.
7168         * ses.el (row, col): Declare dynamic variables honestly.
7170         * textmodes/reftex-parse.el (index-tags): Declare.
7172 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7174         * cus-edit.el (customize-push-and-save): New function.
7176         * files.el (hack-local-variables-confirm): Use it.
7178         * custom.el (load-theme): New arg NO-CONFIRM.
7179         Use customize-push-and-save (Bug#8720).
7180         (custom-enabled-themes): Doc fix.
7182         * cus-theme.el (customize-create-theme)
7183         (custom-theme-merge-theme): Callers to load-theme changed.
7185 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7187         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7188         short URLs have at least one dot in them (bug #7614).
7190         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7191         nil, because using a pty is apparently too slow (bug #895).
7193 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7195         * mail/sendmail.el (sendmail-query-once): New function.
7196         (sendmail-query-once-function): New variable.
7198 2011-06-29  Glenn Morris  <rgm@gnu.org>
7200         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7202         * ses.el (top-level): Require cl when compiling.
7203         (ses-set-localvars): Fix error statement.
7204         Call it at compile time to silence a storm of warnings.
7206 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7208         * window.el (normalize-live-buffer): Rename to
7209         window-normalize-buffer.
7210         (normalize-live-frame): Rename to window-normalize-frame.
7211         (normalize-any-window): Rename to window-normalize-any-window.
7212         (normalize-live-window): Rename to window-normalize-live-window.
7213         (make-window-atom): Rename to window-make-atom.
7214         (window-resize-reset): Rename to window--resize-reset.
7215         (window-resize-reset-1): Rename to window--resize-reset-1.
7216         (resize-mini-window): Rename to window--resize-mini-window.
7217         (resize-subwindows-skip-p): Rename to
7218         window--resize-subwindows-skip-p.
7219         (resize-subwindows-normal): Rename to
7220         window--resize-subwindows-normal.
7221         (resize-subwindows): Rename to window--resize-subwindows.
7222         (resize-other-windows): Rename to window--resize-siblings.
7223         (resize-this-window): Rename to window--resize-this-window.
7224         (resize-root-window): Rename to window--resize-root-window.
7225         (resize-root-window-vertically): Rename to
7226         window--resize-root-window-vertically.
7227         (normalize-buffer-to-display): Rename to
7228         window-normalize-buffer-to-display.
7229         (normalize-buffer-to-switch-to): Rename to
7230         window-normalize-buffer-to-switch-to.
7231         Correspondingly update all callers of the functions listed
7232         above.
7233         (display-buffer-alist, display-buffer-normalize-arguments)
7234         (display-buffer-normalize-options, display-buffer)
7235         (display-buffer-alist-set): Use "function" instead of
7236         "fun-with-args".
7238 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7240         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7241         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7242         debbugs.gnu.org.  Mention acknowledgment email.
7244 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7246         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7247         buffer multibyteness, since it shouldn't matter.
7249 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7251         * window.el (display-buffer-in-side-window): Handle dedicated
7252         windows as in display-buffer-reuse-window.
7253         (display-buffer-normalize-alist): Use value of override
7254         specifier.
7255         (display-buffer-normalize-specifiers): Use value of
7256         other-window-means-other-frame specifier.
7257         (display-buffer-alist): Rewrite some texts in widgets.
7258         (display-buffer): Spread arguments when calling function
7259         specified by fun-with-args.
7261 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7263         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7264         Unnest `let'.
7266         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7267         selectors (Bug#5732).
7268         (css-proprietary-nmstart-re): Use `regexp-opt'.
7270 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7272         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7273         (eshell-ls-date-format): New defcustom.
7274         (eshell-ls-file): Use it.
7276 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7280 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7282         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7283         (ange-ftp-make-tmp-name): New arg.
7284         (ange-ftp-file-local-copy): Use it.
7286 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7288         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7289         no-conversion (Bug#8870).
7291 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7293         * window.el (window-right, window-left, window-child)
7294         (window-child-count, window-last-child)
7295         (window-iso-combination-p, walk-window-tree-1)
7296         (window-atom-check-1, window-tree-1, delete-window)
7297         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7298         new naming conventions - window-vchild, window-hchild,
7299         window-next and window-prev are now called window-top-child,
7300         window-left-child, window-next-sibling and window-prev-sibling
7301         respectively.
7302         (resize-window-reset): Rename to window-resize-reset.
7303         (resize-window-reset-1): Rename to window-resize-reset-1.
7304         (resize-window): Rename to window-resize.
7305         (window-min-height, window-min-width)
7306         (resize-mini-window, resize-this-window, resize-root-window)
7307         (resize-root-window-vertically, adjust-window-trailing-edge)
7308         (enlarge-window, shrink-window, maximize-window)
7309         (minimize-window, delete-window, quit-restore-window)
7310         (split-window, balance-windows, balance-windows-area-adjust)
7311         (balance-windows-area, window-state-put-2)
7312         (display-buffer-even-window-sizes, display-buffer-set-height)
7313         (display-buffer-set-width, set-window-text-height)
7314         (fit-window-to-buffer): Rename all "resize-window" prefixed
7315         calls to use the "window-resize" prefix convention.
7316         (display-buffer-alist): Fix symbol for label specifier.
7317         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7318         corresponding specifier.
7319         Reported by Juanma Barranquero <lekktu@gmail.com>.
7321 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7323         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7324         convention.
7325         (ses-call-printer): Does not pass an empty string to formatter when the
7326         cell is empty to keep from barking printer Calc math-format-value.
7328 2011-06-27  Richard Stallman  <rms@gnu.org>
7330         * battery.el (battery-mode-line-limit): New variable.
7331         (battery-update): Handle it.
7333         * mail/rmailmm.el (rmail-mime-process-multipart):
7334         Handle truncated messages.
7336 2011-06-27  Glenn Morris  <rgm@gnu.org>
7338         * progmodes/flymake.el (flymake-err-line-patterns):
7339         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7341 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7343         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7344         (ses--clean-!, ses--clean-_): New functions.
7345         (ses-range): Add configurability of readout order, and conversion
7346         to Calc vector.
7348         * ses.el (ses-repair-cell-reference-all): New function.
7349         (ses-cell-symbol): Set macro as safe, so that it can be used in
7350         formulas.
7352         * ses.el: Update cycle detection algorithm.
7353         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7354         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7355         (ses-set-localvars): New function.
7356         (ses-make-cell): Add property-list as a cell element.
7357         (ses-cell-property-get-fun, ses-cell-property-get)
7358         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7359         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7360         New functions.
7361         (ses-cell-property-set, ses-cell-property-pop)
7362         (ses-cell-property-get-handle): New macro.
7363         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7364         New aliases, used for code readability.
7365         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7366         cycle detection.
7367         (ses-self-reference-early-detection): New defcustom.
7368         (ses-formula-references): Robustify against self-referring cells.
7369         (ses-mode): Use ses-set-localvars.
7370         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7371         before lauching the update processing.
7372         (ses-initialize-Dijkstra-attempt): New function.
7373         (ses-recalculate-cell): Update for cycle detection based on
7374         Dijkstra algorithm.
7376         * ses.el: Fix commenting and indenting convention.
7378 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7380         * bs.el (bs-cycle-next): Complete last change.
7382 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7384         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7386 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7388         * net/network-stream.el (network-stream-open-starttls):
7389         Don't re-get capabilities unless we've reestablished connection.
7390         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7392         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7393         to binary to possibly avoid line encoding issues on Windows (among
7394         other things).
7396 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7398         * net/network-stream.el (open-network-stream): Return an :error
7399         saying what the problem was, if possible.
7401         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7402         server.
7404         * net/network-stream.el (network-stream-open-starttls): If we
7405         wanted to use STARTTLS, and the server offered it, but we weren't
7406         able to because we had no STARTTLS support, then close the connection.
7407         (open-network-stream): Return an :error element, if present.
7409 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7411         * hl-line.el (hl-line-sticky-flag): Doc fix.
7412         (global-hl-line-sticky-flag): New option (Bug#8323).
7413         (global-hl-line-highlight): Obey it.
7415         * vc/vc.el (vc-revert-show-diff): Default to t.
7417 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7419         * allout-widgets.el (allout-widgets-post-command-business):
7420         Stop decorating intermediate isearch matches.  They're not being
7421         undecorated when an isearch is continued past, and isearch
7422         automatically collapses them.  This leads to "widget leaks", where
7423         decorated items accumulate in collapsed areas.  Lines with lots of
7424         hidden widgets can slow down cursor travel, substantially.
7425         Too much complicated machinery would be needed to ensure undecoration,
7426         so we're doing without this nicety.
7428         (allout-widgets-tally-string): Don't try to do a hash-table-count
7429         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7430         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7431         *Messages* when allout-widgets-maintain-tally is t.
7433 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7435         * window.el (display-buffer-normalize-argument): Rename to
7436         display-buffer-normalize-arguments.  Handle special meaning of
7437         LABEL argument.  Respect special-display-function when popping up
7438         a new frame.  Fix code searching for a window showing the buffer
7439         on another frame.
7440         (display-buffer-normalize-specifiers):
7441         Call display-buffer-normalize-arguments.
7442         (display-buffer-in-window): Don't undedicate the window if its
7443         buffer remains the same.
7444         Reported by Drew Adams <drew.adams@oracle.com>.
7445         (display-buffer-alist): Add choice for same-window macro
7446         specfier.
7447         (display-buffer): Mention special meaning of LABEL argument in
7448         doc-string.  Fix quoting.  Don't pop up a new frame even as
7449         fallback.
7451 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7453         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7454         avoid deleting the current window in some cases (bug#8911).
7456 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7458         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7459         (Bug#8934)
7461 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7463         * net/network-stream.el (network-stream-open-starttls):
7464         Use built-in TLS support if `gnutls-available-p' is true.
7465         (network-stream-open-tls): Ditto.
7467 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7469         * register.el (registerv): New struct.
7470         (registerv-make): New function.
7471         (jump-to-register, describe-register-1, insert-register):
7472         Support the jump-func, print-func and insert-func slot of a registerv
7473         struct.  (Bug#8415)
7475 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7477         * vc/vc.el (vc-revert-show-diff): New defcustom.
7478         (vc-diff-internal): New arg specifying diff buffer.
7479         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7480         reuse an existing *vc-diff* buffer (Bug#8927).
7482         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7484 2011-06-26  Glenn Morris  <rgm@gnu.org>
7486         * progmodes/f90.el (f90-critical-indent): New option.
7487         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7488         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7489         (f90-mode): Doc fix.
7490         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7491         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7492         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7493         (f90-match-end): Handle block, critical.
7495 2011-06-25  Glenn Morris  <rgm@gnu.org>
7497         * calendar/diary-lib.el (diary-included-files): Doc fix.
7498         (diary-include-files): New function, extracted from
7499         diary-include-other-diary-files and diary-mark-included-diary-files.
7500         (diary-include-other-diary-files, diary-mark-included-diary-files):
7501         Just call diary-include-files.
7502         (diary-mark-entries): Reset diary-included-files on first call.
7504         * calendar/diary-lib.el (diary-mark-entries)
7505         (diary-mark-included-diary-files):
7506         Visit included diary-files in temp buffers.
7508         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7509         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7510         (f90-start-block-re, f90-imenu-generic-expression)
7511         (f90-looking-at-program-block-start, f90-no-block-limit):
7512         Add support for submodules.
7514         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7515         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7517 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7519         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7520         buffer-file-type before setting its value, to avoid disastrous
7521         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7523 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7525         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7527         * ses.el (ses-unload-function):
7528         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7530         * proced.el (proced-unload-function):
7531         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7533 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7535         * server.el (server-create-window-system-frame): Add parameters arg.
7536         (server-process-filter): Doc fix.  Handle frame-parameters.
7538 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7540         Fix bug#8730, bug#8781.
7542         * loadhist.el (unload--set-major-mode): New function.
7543         (unload-feature): Use it.
7545         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7546         (python-unload-function): New function.
7548 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7550         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7552 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7554         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7555         the candidates list.
7557 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7559         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7561 2011-06-23  Richard Stallman  <rms@gnu.org>
7563         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7564         (rmail-variables): Set next-error-move-function.
7565         (rmail-what-message): Take argument POS.
7566         (rmail-next-error-move): New function.
7568 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7570         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7571         messages for adjacent non-terminals.
7573 2011-06-23  Richard Stallman  <rms@gnu.org>
7575         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7576         (rmail-show-message-1): Preserve buffer modified flag.
7577         (rmail-start-mail): Don't specify use of rmail-mail-return;
7578         that's done by mail-bury now.
7579         (rmail-mail-return): Handle arg NEWBUF.
7581 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7583         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7584         SIZE is a number.
7586 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7588         * window.el (get-lru-window, get-mru-window)
7589         (get-largest-window): Never return a minibuffer window.
7590         (display-buffer-pop-up-window): Fix a bug that could lead to
7591         reusing the minibuffer window.
7592         (display-buffer): Pass original specifier argument to
7593         display-buffer-function instead of the normalized one.
7594         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7596 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7598         * minibuffer.el (completing-read-function)
7599         (completing-read-default): Move from minibuf.c
7601 2011-06-22  Richard Stallman  <rms@gnu.org>
7603         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7604         to Rmail even if not started by a special Rmail command.
7606         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7607         Copy the buffer currently showing just one message.
7609 2011-06-22  Roland Winkler  <winkler@gnu.org>
7611         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7612         (bibtex-clean-entry): First delete the old key so that a
7613         customized algorithm for generating the new key does not get
7614         confused by the old key.
7615         (bibtex-url): Obey regexp of first step.
7616         (bibtex-search-entries): Do not use add-to-list with local
7617         list-var.
7619 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7621         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7622         stored a user name, then query for the password first, instead of
7623         waiting for SMTP to give an error message and the trying again.
7625 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7627         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7628         BUFFER in call-process.
7630 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7632         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7633         QUIT twice.
7634         (smtpmail-try-auth-methods): Require user name and password from
7635         auth-source.
7637 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7639         * window.el (display-buffer-default-specifiers)
7640         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7641         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7642         (split-window): Normalize SIDE argument (Bug#8916).
7644         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7645         (special-display-frame-alist, special-display-popup-frame):
7646         Remove duplicate declarations.  These are now in window.el.
7648 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7650         * mail/smtpmail.el (smtpmail-via-smtp):
7651         Set :use-starttls-if-possible so that we always use STARTTLS if the
7652         server supports it.  SMTP servers that support STARTTLS commonly
7653         require it.
7655         * net/network-stream.el (network-stream-open-starttls): Support
7656         upgrading to STARTTLS always, even if we don't have built-in support.
7657         (open-network-stream): Add the :always-query-capabilities keyword.
7659         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7660         upgrades with `open-network-stream', and rely solely on
7661         auth-source for all credentials.  Big changes throughout the file,
7662         but in particular:
7663         (smtpmail-auth-credentials): Remove.
7664         (smtpmail-starttls-credentials): Remove.
7665         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7666         MAIL FROM, too.
7668         * net/network-stream.el (network-stream-open-starttls):
7669         Provide support for client certificates both for external and built-in
7670         STARTTLS.
7671         (auth-source): Require.
7672         (open-network-stream): Document the :client-certificate keyword.
7673         (network-stream-certificate): Change cert-cert to cert and
7674         cert-key to key.
7676 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7678         * net/tramp-cache.el (top): Don't load the persistency file when
7679         "emacs -Q" has been called.
7681 2011-06-21  Tim Harper  <timcharper@gmail.com>
7683         * term/ns-win.el (ns-initialize-window-system):
7684         Set application-specific `ApplePressAndHoldEnabled' system
7685         resource to NO as it is not yet supported by the NS port.
7687 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7689         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7690         (list-dynamic-libraries): ...not here.
7692 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7694         * subr.el (sha1): Implement sha1 using secure-hash.
7696 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7698         * window.el (display-buffer-alist): In default value do not
7699         enforce searching a window on any but the selected frame.
7700         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7701         (display-buffer-select-window): Remove function.
7702         (display-buffer-in-window): When a window on another frame gets
7703         reused, do not select it any more but just raise its frame if
7704         necessary (Bug#8851) and (Bug#8856).
7705         (display-buffer-normalize-options): Handle pop-up-frames related
7706         options more faithfully.
7707         (pop-to-buffer): Don't rely on `display-buffer' selecting the
7708         window if it is on another frame.
7709         (display-buffer-alist, display-buffer-default-specifiers):
7710         Don't make new frame unsplittable by default.
7711         (display-buffer-normalize-argument): Fix doc-string typo and use
7712         'same-frame-other-window instead of 'other-window when associating
7713         with display-buffer-macro-specifiers.
7715 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
7717         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7718         New functions.
7719         (5x5-mode-map, 5x5-mode-menu): Bind them.
7720         (5x5-draw-grid): Tweak the solver's rendering.
7722 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7724         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7725         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7727 2011-06-21  Drew Adams  <drew.adams@oracle.com>
7729         * menu-bar.el: Use function variable instead of switch-to-buffer.
7730         (menu-bar-select-buffer-function): New variable.
7731         (menu-bar-update-buffers): Use it (bug#8876).
7733 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7735         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7736         variable's status.
7738 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
7740         * x-dnd.el (x-dnd-version-from-flags)
7741         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7742         and long as number (Bug#8899).
7743         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7745 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7747         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7748         (completion-try-completion, completion-all-completions): Compute the
7749         metadata argument if it's missing; make it optional (bug#8795).
7751         * wid-edit.el: Use lex-bind and move towards completion-at-point.
7752         (widget-complete): Use new :completion-function property.
7753         (widget-completions-at-point): New function.
7754         (default): Use :completion-function instead of :complete.
7755         (widget-default-completions): Rename from widget-default-complete;
7756         Rewrite.
7757         (widget-string-complete, widget-file-complete, widget-color-complete):
7758         Remove functions.
7759         (file, symbol, function, variable, coding-system, color):
7760         * international/mule-cmds.el (default-input-method, charset)
7761         (language-info-custom-alist):
7762         * cus-edit.el (face): Use new property :completions.
7764         * progmodes/pascal.el (pascal-completions-at-point): New function.
7765         (pascal-mode): Use it.
7766         (pascal-mode-map): Use completion-at-point.
7767         (pascal-toggle-completions): Make obsolete.
7768         (pascal-complete-word, pascal-show-completions):
7769         * progmodes/octave-mod.el (octave-complete-symbol):
7770         Redefine as obsolete alias.
7771         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7772         Signal absence of completion info for old Octave,
7773         (inferior-octave-complete): Redefine as obsolete alias.
7774         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7775         (meta-completions-at-point): Rename from meta-complete-symbol and
7776         adapt it for use on completion-at-point-functions.
7777         (meta-common-mode): Use it.
7778         (meta-looking-at-backward, meta-match-buffer): Remove.
7779         (meta-complete-symbol): Redefine as obsolete alias.
7780         (meta-common-mode-map): Use completion-at-point.
7781         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7782         (makefile-mode-map): Use completion-at-point.
7783         (makefile-completions-at-point): Rename from makefile-complete and
7784         adapt it for use on completion-at-point-functions.
7785         (makefile-mode): Use it.
7786         (makefile-complete): Redefine as obsolete alias.
7788 2011-06-20  Deniz Dogan  <deniz@dogan.se>
7790         * net/rcirc.el: Delete trailing whitespaces once and for all.
7792 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
7794         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7796 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
7798         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7800         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7802 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
7804         * window.el (display-buffer-other-window-means-other-frame):
7805         Call display-buffer-normalize-alist.
7806         (display-buffer-normalize-specifiers-1): Rename to
7807         display-buffer-normalize-argument.  New argument other-frame.
7808         Rewrite.
7809         (display-buffer-normalize-specifiers-2): Rename to
7810         display-buffer-normalize-options.
7811         (display-buffer-normalize-alist-1): New function.
7812         (display-buffer-normalize-specifiers-3): Rename to
7813         display-buffer-normalize-alist.
7814         Call display-buffer-normalize-alist-1.
7815         (display-buffer-normalize-options-inhibit): New variable.
7816         (display-buffer-normalize-specifiers): Rewrite calling
7817         display-buffer-normalize-alist,
7818         display-buffer-normalize-argument, and
7819         display-buffer-normalize-options.  Don't call the latter if
7820         display-buffer-normalize-options-inhibit is non-nil.
7821         (frame-auto-delete): New option.
7822         (window-deletable-p): Use frame-auto-delete.
7823         (window-list-no-nils, window-state-ignored-parameters)
7824         (window-state-get-1, window-state-get, window-state-put-list)
7825         (window-state-put-1, window-state-put-2, window-state-put):
7826         New functions.
7827         (display-buffer-normalize-options): Move special-display-p group
7828         after pop-up-frame group (Bug#8851) and (Bug#8856).
7830 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
7832         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7833         groups (Bug#8776).
7834         (rx-submatch-n): New function.
7835         (rx): Document it.
7837         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7838         (Bug#8768).
7840         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7842         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7844         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7845         anytime existing face settings are present (Bug#8889).
7847         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7848         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7849         Remove unused argument.
7851 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
7853         * window.el (display-buffer-default-specifiers):
7854         Remove pop-up-frame.  Add pop-up-window-min-height,
7855         pop-up-window-min-width, and another reuse-window specifier
7856         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
7857         (display-buffer-normalize-specifiers-2):
7858         Handle split-height-threshold and split-width-threshold also when
7859         pop-up-windows is unset.  Add a reuse-window specifier for the
7860         case popping up a new window fails.
7861         (special-display-popup-frame): Remove double quoting.
7862         (display-buffer-normalize-specifiers-1): Fix thinko.
7864 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7866         * shell.el (shell-completion-vars): Set pcomplete-termination-string
7867         according to comint-completion-addsuffix.
7869         * pcomplete.el: Convert to lexical binding and fix bug#8819.
7870         (pcomplete-suffix-list): Mark as obsolete.
7871         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7872         pcomplete-seen in the closure.
7873         (pcomplete-comint-setup): Setup completion-at-point as well.
7874         (pcomplete--entries): New function.
7875         (pcomplete--env-regexp): New var.
7876         (pcomplete-entries): Rewrite to work with partial-completion and
7877         without relying on pcomplete-suffix-list.
7878         (pcomplete-pare-list): Remove, unused.
7880 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7882         * window.el (display-buffer-alist): Set pop-up-window-min-height
7883         and pop-up-window-min-width in default value.  Reported by
7884         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
7885         other-window-means-other-frame.
7886         (display-buffer-macro-specifiers): Comment out entry for
7887         other-window specifier.
7888         (display-buffer-other-window-means-other-frame): New function.
7889         (display-buffer-normalize-specifiers-1): New arguments
7890         buffer-name and label.  Treat other-window case specially.
7891         (display-buffer-normalize-specifiers-2): Treat other-window case
7892         specially.
7893         (display-buffer-normalize-specifiers-3): New function.
7894         (display-buffer-normalize-specifiers):
7895         Call display-buffer-normalize-specifiers-3.
7897 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7899         * window.el (same-window-p): Fix two typos introduced when
7900         adding with-no-warnings.
7901         (display-buffer-normalize-specifiers-1): Don't check
7902         pop-up-frames for 'unset initialization.
7903         (display-buffer-normalize-specifiers-2): Major rewrite using
7904         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7905         (pop-up-frames, display-buffer-reuse-frames)
7906         (display-buffer-mark-dedicated): Don't initialize to 'unset.
7907         Suggested by David Engster <deng@randomsample.de>.
7908         (even-window-heights): Initialize to 'unset.
7909         (display-buffer-alist-set): Handle new 'unset initializations.
7910         (display-buffer-macro-specifiers): Don't pop up a new frame in the
7911         other window case.
7913 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
7915         * window.el (display-buffer-normalize-specifiers-1):
7916         Respect current value of pop-up-frames for most reasonable values of
7917         second argument of display-buffer (Bug#8865).
7918         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7919         (switch-to-buffer-other-window-same-frame)
7920         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
7921         Adams (Bug#8875).
7922         (display-buffer): Don't check noninteractive when calling
7923         display-buffer-pop-up-frame.
7924         (display-buffer-pop-up-frame): Never pop up a frame in
7925         noninteractive mode (Bug#8857).
7926         (enlarge-window, shrink-window): Don't report an error when the
7927         window can't be resized as requested (Bug#8862).
7929 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7931         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7933         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7935         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7937 2011-06-15  Alan Mackenzie  <acm@muc.de>
7939         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7940         for declarators, disable knr checking to speed up for normal files.
7941         2: Refactor, replacing a sequence of nested if forms by a cond form.
7943 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7945         * net/network-stream.el (open-network-stream): Add the keyword
7946         :always-query-capabilities for the case where you want to force a
7947         `plain' network connection, but the protocol still requires the
7948         capabilitiy command (i.e., SMTP and EHLO).
7950         * subr.el (process-live-p): Rename from `process-alive-p' for
7951         consistency with other `-live-p' functions.
7953 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7955         * window.el (same-window-buffer-names, same-window-regexps)
7956         (special-display-frame-alist, special-display-popup-frame)
7957         (special-display-function, special-display-buffer-names)
7958         (special-display-regexps, pop-up-frame-alist)
7959         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7960         (pop-up-windows, split-window-preferred-function)
7961         (split-height-threshold, split-width-threshold, even-window-heights)
7962         (display-buffer-mark-dedicated): Don't encourage the use of
7963         display-buffer-alist from Elisp code.
7965 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
7967         * progmodes/python.el (python-mode): Derive from prog-mode.
7968         * progmodes/ps-mode.el (ps-mode):
7969         * progmodes/mixal-mode.el (mixal-mode):
7970         * progmodes/cfengine.el (cfengine-mode):
7971         * progmodes/ld-script.el (ld-script-mode): Likewise.
7973 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
7975         * window.el (display-buffer-alist): Trim default value to avoid
7976         popping up a new frame (Bug#8857) or reusing an arbitrary window
7977         on another frame.
7978         (display-buffer): Do not fall back on popping up a new frame in
7979         batch mode (Bug#8857).
7981 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
7983         * cus-theme.el (describe-theme-1): Use custom-theme-p.
7984         (custom-theme-summary): New function.
7985         (customize-themes): Use it.
7987 2011-06-13  Glenn Morris  <rgm@gnu.org>
7989         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7991 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
7993         * help.el (help-window): Remove variable.
7994         (help-window-point-marker, temp-buffer-max-height)
7995         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7996         (help-print-return-message): Don't set help-window.
7997         (resize-temp-buffer-window): Rewrite cod eand doc-string.
7998         (help-window-setup-finish): Remove.
7999         (help-window-display-message, help-window-setup)
8000         (with-help-window): Major rewrite based on new
8001         display-buffer-window variable.
8003         * help-mode.el (help-mode-finish): Remove help-window related
8004         code.
8006         * view.el (view-exits-all-viewing-windows): Remove reference to
8007         view-return-to-alist in doc-string.
8008         (view-return-to-alist): Make obsolete.
8009         (view-buffer): Call pop-to-buffer-same-window and remove
8010         undo-window code.
8011         (view-buffer-other-window): Call pop-to-buffer-other-window and
8012         simplify code.  Ignore second argument.
8013         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8014         simplify code.  Ignore second argument.
8015         (view-return-to-alist-update): Make obsolete.
8016         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8017         Rewrite using quit-restore window parameters.
8018         (view-mode-exit): Rename second argument to EXIT-ONLY.
8019         Rewrite using quit-restore-window.
8020         (View-exit, View-exit-and-edit, View-leave, View-quit)
8021         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8022         appropriate arguments.
8023         (view-end-message): Use quit-restore window parameter.
8025         * window.el (display-buffer-function): Rewrite doc-string.
8026         (display-buffer-window, display-buffer-alist): New variables.
8027         (display-buffer-split-specifiers)
8028         (display-buffer-side-specifiers)
8029         (display-buffer-macro-specifiers): New constants.
8030         (display-buffer-even-window-sizes, display-buffer-set-height)
8031         (display-buffer-set-width, display-buffer-select-window)
8032         (display-buffer-in-window, display-buffer-reuse-window)
8033         (display-buffer-split-window-1, display-buffer-split-window)
8034         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8035         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8036         (display-buffer-in-side-window, normalize-buffer-to-display)
8037         (display-buffer-normalize-specifiers-1)
8038         (display-buffer-normalize-specifiers-2)
8039         (display-buffer-normalize-specifiers, display-buffer-frame):
8040         New functions.
8041         (display-buffer): Major rewrite.
8042         (display-buffer-other-window, display-buffer-other-frame)
8043         (pop-to-buffer, switch-to-buffer-other-window)
8044         (switch-to-buffer-other-frame): Rewrite.
8045         (display-buffer-same-window, display-buffer-same-frame)
8046         (display-buffer-same-frame-other-window)
8047         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8048         (pop-to-buffer-other-window)
8049         (pop-to-buffer-same-frame-other-window)
8050         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8051         (switch-to-buffer-other-window-same-frame): New functions.
8052         (same-window-p, special-display-p): Rewrite disabling warnings.
8053         Make obsolete.
8054         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8055         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8056         Make obsolete
8057         (same-window-buffer-names, same-window-regexps)
8058         (special-display-frame-alist, special-display-popup-frame)
8059         (special-display-function, special-display-buffer-names)
8060         (special-display-regexps, pop-up-frame-alist)
8061         (pop-up-frame-function, split-window-preferred-function)
8062         (split-height-threshold, split-width-threshold)
8063         (even-window-heights): Make obsolete.
8065 2011-06-12  Glenn Morris  <rgm@gnu.org>
8067         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8068         Misc simplifications.
8070 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8072         * window.el (window-safely-shrinkable-p): Restore function which
8073         was inadvertently removed in change from 2011-06-11.  Declare as
8074         obsolete.
8076         * calendar/calendar.el (calendar-generate-window):
8077         Use window-iso-combined-p instead of combination of one-window-p and
8078         window-safely-shrinkable-p.
8080 2011-06-12  Glenn Morris  <rgm@gnu.org>
8082         * progmodes/fortran.el (fortran-mode-syntax-table):
8083         * progmodes/f90.el (f90-mode-syntax-table):
8084         Set % to punctuation.  (Bug#8820)
8085         (f90-find-tag-default): Remove, no longer needed.
8087 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8089         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8091 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8093         * image.el (image-animated-p): Return animation delay in seconds.
8094         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8095         (image-animate-timeout): Remove DELAY argument.  Don't assume
8096         every subimage has the same delay; get it from image-animated-p.
8097         (image-animate): Caller changed.
8099 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8101         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8102         to ignored backtrace functions.
8104 2011-06-11  Glenn Morris  <rgm@gnu.org>
8106         * calendar/appt.el (appt-disp-window-function): Doc fix.
8107         (appt-check): Handle overlapping appointments.  (Bug#8337)
8109 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8111         * window.el (window-tree-1, window-tree): New functions, moving
8112         the latter to window.el.
8113         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8114         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8115         (bw-refresh-edges): Remove.
8116         (balance-windows-1, balance-windows-2): New functions.
8117         (balance-windows): Rewrite in terms of window tree functions,
8118         balance-windows-1 and balance-windows-2.
8119         (bw-adjust-window): Remove.
8120         (balance-windows-area-adjust): New function with functionality of
8121         bw-adjust-window but using resize-window.
8122         (set-window-text-height): Rewrite doc-string.
8123         Use normalize-live-window and resize-window.
8124         (enlarge-window-horizontally, shrink-window-horizontally):
8125         Rename argument to DELTA.
8126         (window-buffer-height): New function.
8127         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8128         Rewrite using new window resize routines.
8129         (kill-buffer-and-window, mouse-autoselect-window-select):
8130         Use ignore-errors instead of condition-case.
8131         (quit-window): Call delete-frame instead of delete-windows-on
8132         for the only buffer on frame.
8134 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8136         * loadup.el (top-level): Load window before files for the sake
8137         of replace-buffer-in-windows.
8139         * files.el (read-buffer-to-switch)
8140         (switch-to-buffer-other-window)
8141         (switch-to-buffer-other-frame, display-buffer-other-frame):
8142         Move to window.el.
8144         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8145         (previous-buffer): Move to window.el.
8147         * bindings.el (unbury-buffer): Move to window.el.
8149         * window.el (delete-other-windows-vertically): Move after
8150         definition of delete-other-windows.
8151         (other-window, delete-windows-on, replace-buffer-in-windows):
8152         Move here from window.c.
8153         (record-window-buffer, unrecord-window-buffer)
8154         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8155         (switch-to-next-buffer): New functions.
8156         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8157         from simple.el.  Call switch-to-next-buffer.
8158         (previous-buffer): Move here from simple.el.
8159         Call switch-to-prev-buffer.
8160         (bury-buffer): Move here from buffer.c.  Switch to previous
8161         buffer when window cannot be deleted.
8162         (unbury-buffer): Move here from bindings.el.
8163         (ctl-x-map): Move binding for other-window from window.c to
8164         here.
8165         (read-buffer-to-switch, switch-to-buffer-other-window)
8166         (switch-to-buffer-other-frame): Move here from files.el.
8167         (normalize-buffer-to-switch-to): New functions.
8168         (switch-to-buffer): Move here from buffer.c.
8169         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8171 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8173         * window.el (window-min-height, window-min-width): Move here
8174         from window.c.  Add defcustoms and rewrite doc-strings.
8175         (resize-mini-window, resize-window): New functions.
8176         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8177         Move here from window.c.
8178         (maximize-window, minimize-window): New functions.
8179         (delete-window, delete-other-windows, split-window): Move here
8180         from window.c.
8181         (window-split-min-size): New function.
8182         (split-window-keep-point): Mention split-window-above-each-other
8183         instead of split-window-vertically.
8184         (split-window-above-each-other, split-window-vertically):
8185         Rename split-window-vertically to split-window-above-each-other
8186         and provide defalias for old definition.
8187         (split-window-side-by-side, split-window-horizontally):
8188         Rename split-window-horizontally to split-window-side-by-side
8189         and provide defalias for the old definition.
8190         (ctl-x-map): Move bindings for delete-window,
8191         delete-other-windows and enlarge-window here from window.c.
8192         Replace bindings for split-window-vertically and
8193         split-window-horizontally by bindings for
8194         split-window-above-each-other and split-window-side-by-side.
8196         * cus-start.el (all): Remove entries for window-min-height and
8197         window-min-width.  Add entries for window-splits and
8198         window-nest.
8200 2011-06-09  Glenn Morris  <rgm@gnu.org>
8202         * calendar/appt.el (appt-mode-line): New function.
8203         (appt-check, appt-disp-window): Use it.
8205         * files.el (hack-one-local-variable-eval-safep):
8206         Allow minor-modes with explicit +/-1 arguments.
8208 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8210         * term/xterm.el (xterm): Add defgroup.
8211         (xterm-extra-capabilities): Add defcustom to supply known xterm
8212         capabilities, skip querying them, or query them (default).
8213         (terminal-init-xterm): Use it.
8214         (terminal-init-xterm-modify-other-keys): New function to set up
8215         modifyOtherKeys support to simplify `terminal-init-xterm'.
8217 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8219         * window.el (resize-window-reset, resize-window-reset-1)
8220         (resize-subwindows-skip-p, resize-subwindows-normal)
8221         (resize-subwindows, resize-other-windows, resize-this-window)
8222         (resize-root-window, resize-root-window-vertically)
8223         (window-deletable-p, window-or-subwindow-p)
8224         (frame-root-window-p): New functions.
8226 2011-06-09  Glenn Morris  <rgm@gnu.org>
8228         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8229         (ange-ftp-get-files): Use it.
8231 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8233         * mail/sendmail.el (mail-recover-1, mail-recover):
8234         * files.el (recover-file, recover-session):
8235         Handle dired-listing-switches not being just a single short option.
8237 2011-06-09  Glenn Morris  <rgm@gnu.org>
8239         * calendar/appt.el (appt-display-message, appt-disp-window):
8240         Handle lists of appointments.
8242 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8244         * window.el (one-window-p): Move down in code.
8245         Rewrite doc-string.
8246         (window-current-scroll-bars): Rewrite doc-string.
8247         Normalize live window argument.
8248         (walk-windows, get-window-with-predicate, count-windows):
8249         Rewrite doc-string.  Use window-list-1.
8250         (window-in-direction-2, window-in-direction, get-mru-window):
8251         New functions.
8253 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8255         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8256         Doc fix (Bug#8713).
8258 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8260         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8262 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8264         * loadhist.el (unload-feature-special-hooks):
8265         Add `comint-output-filter-functions'.
8267 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8269         * calendar/appt.el (appt-check): Move some initializations into the let.
8271 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8273         * window.el (window-height): Defalias to window-total-height.
8274         (window-width): Defalias to window-body-width.
8276 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8278         * image-mode.el (image-toggle-animation): New command.
8279         (image-mode-map): Bind it to RET.
8280         (image-mode): Update message.
8281         (image-toggle-display-image): Avoid a spurious cache flush.
8282         (image-transform-rotation): Doc fix.
8283         (image-transform-properties): Return quickly in the normal case.
8284         (image-animate-loop): Rename from image-animate-max-time.
8286         * image.el (image-animate-max-time): Move to image-mode.el.
8287         (create-animated-image): Remove unnecessary function.
8288         (image-animate): Rename from image-animate-start.  New arg.
8289         (image-animate-stop): Remove; just use image-animate-timer.
8290         (image-animate-timer): Use car-safe.
8291         (image-animate-timeout): Rename argument.
8293 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8295         * window.el (get-lru-window, get-largest-window): Move here from
8296         window.c.  Rename first argument to ALL-FRAMES.
8297         Rephrase doc-strings.
8298         (get-buffer-window-list): Rewrite using window-list-1.
8299         Rephrase doc-string.
8300         (window-safe-min-height, window-safe-min-width): New constants.
8301         (window-size-ignore, window-min-size, window-min-size-1)
8302         (window-sizable, window-sizable-p, window-size-fixed-1)
8303         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8304         (window-max-delta-1, window-max-delta, window-resizable)
8305         (window-resizable-p, window-total-height, window-total-width)
8306         (window-body-width): New functions.
8307         (window-full-height-p, window-full-width-p): Rewrite using
8308         window-total-size.
8309         (window-body-height): Rewrite using window-body-size.
8311 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8313         * window.el (window-right, window-left, window-child)
8314         (window-child-count, window-last-child, window-any-p)
8315         (normalize-live-buffer, normalize-live-frame)
8316         (normalize-any-window, normalize-live-window)
8317         (window-iso-combination-p, window-iso-combined-p)
8318         (window-iso-combinations)
8319         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8320         (windows-with-parameter, window-with-parameter)
8321         (window-atom-root, make-window-atom, window-atom-check-1)
8322         (window-atom-check, window-side-check, window-check):
8323         New functions.
8324         (ignore-window-parameters, window-sides, window-sides-vertical)
8325         (window-sides-slots): New variables.
8326         (window-size-fixed): Move down in code.  Minor doc-string fix.
8328 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8330         * comint.el (comint-dynamic-complete-as-filename)
8331         (comint-dynamic-complete-filename): Correctly call
8332         completion-in-region.
8334 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8336         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8337         in last change.
8339 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8341         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8342         (rcirc): Use it to prompt for encryption.
8344 2011-06-05  Roland Winkler  <winkler@gnu.org>
8346         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8347         (bibtex-search-entries): New command bound to C-c C-a.
8348         (bibtex-display-entries): New function.
8350 2011-06-05  Roland Winkler  <winkler@gnu.org>
8352         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8353         (bibtex-insert-kill): After yanking insert newline if necessary.
8354         (bibtex-initialize): Call bibtex-string-files-init only once.
8355         (bibtex-mode): Do not call easy-menu-add.
8356         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8357         (bibtex-yank): Set arg properly if nil.
8359 2011-06-05  Roland Winkler  <winkler@gnu.org>
8361         * textmodes/bibtex.el (bibtex-search-entry-globally):
8362         New variable.
8363         (bibtex-search-entry): Use it.
8365 2011-06-05  Roland Winkler  <winkler@gnu.org>
8367         * textmodes/bibtex.el (bibtex-entry-format): New option
8368         sort-fields.
8369         (bibtex-format-entry, bibtex-reformat): Honor this option.
8370         (bibtex-parse-entry): Return fields in proper order.
8372 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8374         * doc-view.el (doc-view-remove-if): Move computation of result out
8375         of `dolist' to silence misleading lexical-binding warning.
8377 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8379         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8380         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8382 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8384         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8385         "SunOS 5.10".
8387 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8389         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8390         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8391         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8392         (tramp-parse-putty):
8393         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8394         (tramp-completion-function-alist-ssh)
8395         (tramp-completion-function-alist-telnet)
8396         (tramp-completion-function-alist-su)
8397         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8398         cookie.
8400         * net/tramp-ftp.el:
8401         * net/tramp-sh.el:
8402         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8403         load "tramp.el" `tramp-set-completion-function'.
8405 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8407         * shell.el: Require and use pcomplete.
8408         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8409         (shell-completion-vars): Set pcomplete-default-completion-function.
8411 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8413         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8414         `memq' (Bug#8799).
8416 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8418         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8420 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8422         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8423         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8424         * vc/log-view.el (log-view-beginning-of-defun):
8425         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8426         (smerge-refine-forward, smerge-refine-chopup-region):
8427         Silence warning for unused `dotimes' counter variables.
8429 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8431         * net/tramp.el (tramp-with-progress-reporter): Rename from
8432         with-progress-reporter.  Use `declare'.
8433         * net/tramp-smb.el:
8434         * net/tramp-sh.el:
8435         * net/tramp-gvfs.el: Update all uses.
8437 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8439         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8440         buffer isn't killed before making it current.
8442 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8444         Silence various byte-compiler warnings.
8445         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8446         `access-type' and new obsolescence format.
8447         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8448         new format.
8449         (byte-compile-check-variable): New `access-type' argument.
8450         Only warn if the access-type is obsolete.
8451         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8452         (byte-compile-variable-set): Adjust callers.
8453         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8454         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8455         setting it as obsolete.
8456         * simple.el (minibuffer-completing-symbol):
8457         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8458         access as obsolete.
8459         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8460         obsolete yet.
8461         * international/quail.el (quail-mouse-choose-completion): Remove unused
8462         code referring to obsolete var.
8463         (quail-choose-completion-string): Remove.
8464         * server.el (server-clients-with, server-kill-buffer-query-function)
8465         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8466         * proced.el (proced-send-signal):
8467         * emacs-lisp/lisp.el (lisp-complete-symbol):
8468         Replace completion-annotate-function with completion-extra-properties.
8470 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * simple.el (goto-line): Use read-number.
8473         (overriding-map-is-bound): Remove.
8474         (saved-overriding-map): Change default.
8475         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8476         Take the map as argument.
8477         (universal-argument, negative-argument, digit-argument): Use it.
8478         (restore-overriding-map): Adjust.
8479         (do-auto-fill): Use fill-forward-paragraph.
8480         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8482         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8483         (minibuffer-inactive-mode): New major mode.
8484         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8485         the *Messages* buffer" hack.
8486         (mouse-popup-menubar): Don't burp if the event is a normal key.
8488         Miscellaneous tweaks.
8489         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8490         lexical scoping as in subr.el's dolist and dotimes.
8491         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8492         Silence compiler warning.
8493         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8494         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8495         * international/ccl.el (ccl-compile): Trivial simplification.
8496         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8497         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8498         `printflag' argument.
8499         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8500         Purecopy the whole obsolescence data.
8502 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8504         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8505         improve doc-string as suggested by Marco Pessotto
8506         <melmothx@gmail.com>.
8507         (rcirc-print): Fix last change.
8509 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8511         * minibuffer.el (complete-with-action): Return nil for the metadata and
8512         boundaries of non-functional tables.
8513         (completion-table-dynamic): Return nil for the metadata.
8514         (completion-table-with-terminator): Add default case, using
8515         complete-with-action.
8516         (completion--metadata): New function.
8517         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8518         to try and avoid pathological performance problems.
8519         (completion--embedded-envvar-table): Return `category' metadata.
8521 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8523         * subr.el (process-alive-p): New tiny convenience function.
8525 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8527         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8528         content but also its previous major mode.
8530 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8532         * emacs-lisp/debug.el (debug): Restore the previous content of the
8533         *Backtrace* buffer when we exit with C-M-c.
8535 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * minibuffer.el: Add metadata method to completion tables.
8538         (completion-category-overrides): New defcustom.
8539         (completion-metadata, completion--field-metadata)
8540         (completion-metadata-get, completion--styles)
8541         (completion--cycle-threshold): New functions.
8542         (completion-try-completion, completion-all-completions):
8543         Add `metadata' argument to choose completion-styles.
8544         (completion--do-completion): Use metadata to choose cycling.
8545         (completion-all-sorted-completions): Use metadata for sorting.
8546         Remove :completion-cycle-penalty which is not needed any more.
8547         (completion--try-word-completion): Add `metadata' argument.
8548         (minibuffer-completion-help): Check metadata for annotation function
8549         and sorting.
8550         (completion-file-name-table): Return `category' metadata.
8551         (minibuffer-completing-file-name): Make obsolete.
8552         * simple.el (minibuffer-completing-symbol): Make obsolete.
8553         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8554         completion-try-completion.
8556 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8558         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8560 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8562         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8563         (rcirc-print): Decode all incoming messages (bug#8744).
8564         (rcirc-decode-coding-system): Allow value nil for automatic coding
8565         system detection.
8567 2011-06-01  Glenn Morris  <rgm@gnu.org>
8569         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8571 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8573         * image.el (image-animate-max-time): Allow nil and t values.
8574         Default to nil.
8575         (create-animated-image): Doc fix.
8576         (image-animate-start): Remove second arg; just use
8577         image-animate-max-time.
8578         (image-animate-timeout): Doc fix.  Args changed.
8580         * image-mode.el (image-toggle-display-image): Ensure that the
8581         image spec passed to the animate timer is the same object as in
8582         the buffer's display property (Bug#6981).
8583         (image-transform-properties): Doc fix.
8585         * image.el (image-animate-max-time): Default to nil.
8587 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8589         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8590         entire buffer list (Bug#8184).
8592 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8594         * image.el (imagemagick-types-inhibit)
8595         (imagemagick-register-types): Doc fix.
8597 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8599         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8600         default.
8602 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8604         * select.el: Don't perform clipboard-manager saving in hooks;
8605         leave the hooks empty.
8607 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8609         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8610         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8611         (occur-edit-mode): New major mode (Bug#8463).
8612         (occur-after-change-function): New function.
8613         (occur-engine): Give Occur tags a read-only property.
8615 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8617         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8619 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8621         * bindings.el (help-echo): Make the initial non-indicator dash
8622         empty on graphical terminals (Bug#7295).
8624         * files.el (auto-mode-alist): Move config rule after the
8625         in-stripping one (Bug#8547).
8627         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8629         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8630         setting (Bug#8740).
8632 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8634         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8635         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8636         (Bug#8539).
8638 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8640         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8642 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8644         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8645         (hs-hide-block-at-point, hs-find-block-beginning)
8646         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8647         (Bug#8279).
8649 2011-05-28  Glenn Morris  <rgm@gnu.org>
8651         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8653 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8655         * help-fns.el (describe-function-1): If the function is a derived
8656         major mode, print the parent mode.
8658         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8659         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8661 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * minibuffer.el (completion--capf-wrapper): Check applicability before
8664         returning non-nil for non-exclusive completion data.
8665         * progmodes/etags.el (tags-completion-at-point-function):
8666         * info-look.el (info-lookup-completions-at-point): Mark as
8667         non-exclusive.
8668         (info-complete): Adjust accordingly.
8670         * info-look.el: Convert to lexical-binding and completion-at-point.
8671         (info-lookup-completions-at-point): New function.
8672         (info-complete): Use it and completion-in-region.
8674 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8676         * isearch.el: Let M-e start with point at the first mismatched char.
8677         (isearch-fail-pos): New function.
8678         (isearch-edit-string): Use it.
8680 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8682         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8684 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8686         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8687         traversal functions for avl-trees.
8688         (avl-tree--stack): New struct.
8689         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8690         (avl-tree-enter): Add optional `updatefun' arg.
8691         (avl-tree--do-enter): Add optional `updatefun' arg.
8692         Change return value.
8693         (avl-tree-delete): Add optional `test' and `nilflag' args.
8694         (avl-tree--do-delete): Add `test' and `nilflag' args.
8695         Change return value.
8696         (avl-tree-member): Add optional `nilflag'
8697         (avl-tree-member-p): New function.
8698         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8699         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8700         (avl-tree-stack-empty-p): New functions.
8702         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8703         avl-tree--del-balance1 and make it work both ways.
8704         (avl-tree--del-balance2): Remove.
8705         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8706         make it work both ways.
8707         (avl-tree--enter-balance2): Remove.
8708         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8709         New macros.
8710         (avl-tree--mapc, avl-tree-map): Add direction argument.
8712 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
8714         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8716 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
8718         * select.el: Support clipboard managers with built-in function
8719         x-clipboard-manager-save, via delete-frame-functions and
8720         kill-emacs-hook.
8721         (xselect-convert-to-targets): Add MULTIPLE target to list.
8722         (xselect-convert-to-save-targets): New function.
8724 2011-05-27  Kenichi Handa  <handa@m17n.org>
8726         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8727         let-binding rfc2047-encode-encoded-words to nil.
8729 2011-05-27  Glenn Morris  <rgm@gnu.org>
8731         * mail/emacsbug.el: Don't require url-util.
8733         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
8735         * files.el (set-auto-mode):
8736         Also respect mode: entries at the end of the file.  (Bug#8586)
8738 2011-05-26  Glenn Morris  <rgm@gnu.org>
8740         * files.el (hack-local-variables-prop-line, hack-local-variables):
8741         Downcase mode names, as seems to be traditional.
8742         (hack-local-variables, hack-local-variables-apply): Doc fixes.
8744         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8745         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
8747 2011-05-25  Julien Danjou  <julien@danjou.info>
8749         * textmodes/rst.el (rst-define-level-faces): Do not define face
8750         symbol if it is already defined.
8752 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8754         * play/5x5.el (5x5-new-game, 5x5-randomize):
8755         Reset 5x5-solver-output to nil when a new grid is cast.
8756         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8757         these debugging traces, as defmacro breaks the compiled code.
8759 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8761         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8763 2011-05-24  Leo Liu  <sdl.web@gmail.com>
8765         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8766         (vc-bzr-sha1): Adapt.
8768         * sha1.el: Remove.  Function `sha1' is now builtin.
8770         * bindings.el: Provide sha1 feature.
8772 2011-05-24  Kenichi Handa  <handa@m17n.org>
8774         * mail/sendmail.el: Require `rfc2047'.
8775         (mail-insert-from-field): Do not perform RFC2047 encoding.
8776         (mail-encode-header): New function.
8777         (sendmail-send-it): Set buffer-file-coding-system of the work
8778         buffer to the return value of select-message-coding-system.
8779         Call mail-encode-header.
8781         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8783 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
8785         * mail/supercite.el (sc-default-cite-frame):
8786         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8788 2011-05-24  Glenn Morris  <rgm@gnu.org>
8790         * progmodes/python.el (brm-menu): Declare.
8792         * emulation/viper.el (viper-set-hooks): Declare.
8794         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8795         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8796         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8797         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8798         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8799         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8801 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8803         Add an :exit-function for completion-at-point.
8805         * minibuffer.el (completion--done): New fun.
8806         (completion--do-completion): Use it.  New arg `expect-exact'.
8807         (minibuffer-complete, minibuffer-complete-word): Don't output message,
8808         since completion--do-completion does it for us now.
8809         (minibuffer-force-complete): Use completion--done and
8810         completion--replace.  Handle sole-completion case with more care.
8811         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8812         (completion-extra-properties): New var.
8813         (completion-annotate-function): Make obsolete.
8814         (minibuffer-completion-help): Adjust accordingly.
8815         Use completion-list-insert-choice-function.
8816         (completion-at-point, completion-help-at-point):
8817         Bind completion-extra-properties.
8818         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8819         * simple.el (completion-list-insert-choice-function): New var.
8820         (completion-setup-function): Preserve it.
8821         (choose-completion): Pay attention to it, shuffle the code a bit.
8822         (choose-completion-string): New arg `insert-function'.
8824         * textmodes/bibtex.el: Convert to lexical binding.
8825         (bibtex-mode-map): Use completion-at-point.
8826         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8827         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8828         (bibtex-complete): Define as obsolete alias.
8829         (bibtex-complete-internal): Remove.
8830         (bibtex-format-entry): Remove unused sub-group in regexp.
8831         * shell.el (shell--command-completion-data)
8832         (shell-environment-variable-completion):
8833         * pcomplete.el (pcomplete-completions-at-point):
8834         * comint.el (comint--complete-file-name-data): Use :exit-function
8835         instead of completion-table-with-terminator so it also works for
8836         choose-completion.
8838 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8840         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8842         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8843         (bug#8710).
8845         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8847 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
8849         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8850         customization variable and implement: If non-nil, auto-fill will
8851         be inhibited while on topic's header line.
8853 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8855         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8856         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
8857         always have a solution in grid size = 5 cases.
8858         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8859         (5x5-solver-output, 5x5-log-buffer): New vars.
8860         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8861         Make these variables buffer local to achieve 5x5 multi-session-ness.
8862         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8863         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8864         (5x5-solve-suggest): New funs.
8865         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8866         randomize a grid so that we ensure that there is always a solution.
8867         (5x5-make-random-grid): Allow other movement than flipping.
8869 2011-05-23  Kevin Ryde  <user42@zip.com.au>
8871         * emacs-lisp/advice.el (ad-read-advised-function):
8872         Use `function-called-at-point' as the default, if it has
8873         advice and passes PREDICATE.
8875 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8877         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8878         byte-compile-lambda if it's actually a lambda.
8880         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8881         Fix function quoting.  Use backquote better.
8883 2011-05-22  Yuanle Song  <sylecn@gmail.com>
8885         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8886         matching (Bug#8516).
8888 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
8890         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8891         different face (Bug#8178).
8893 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
8895         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8896         defface (Bug#8144).
8898 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8900         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8901         funcall as well (bug#8712).  Warn when performing those conversions.
8902         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8904         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8906 2011-05-22  Glenn Morris  <rgm@gnu.org>
8908         * files.el (hack-local-variables-prop-line): Small simplifications.
8909         (hack-local-variables, hack-local-variables-prop-line):
8910         If MODE-ONLY, return the mode, rather than just `t'.
8912 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8914         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8916 2011-05-21  Glenn Morris  <rgm@gnu.org>
8918         * files.el (hack-local-variables-prop-line, hack-local-variables):
8919         If only interested in the mode, don't bother doing the other stuff.
8921         * image-mode.el (image-after-revert-hook):
8922         Redraw all frames on which the image is visible.  (Bug#8567)
8924         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
8926         * wid-edit.el (widget-checklist-match-inline):
8927         Fix 2011-04-19 change.  (Bug#8649)
8929 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8931         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8932         Also allow singlespace after single-letter capitals followed by a dot.
8934         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8935         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8937 2011-05-20  Nix  <nix@esperi.org.uk>
8939         * files.el (basic-save-buffer-2):
8940         Fix handling of break-hardlink-on-save with non-existent files.
8942 2011-05-19  Deniz Dogan  <deniz@dogan.se>
8944         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8945         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8947 2011-05-19  Glenn Morris  <rgm@gnu.org>
8949         * progmodes/f90.el (f90-type-def-re):
8950         Handle "type, bind(c)".  (Bug#8691)
8952         * emacs-lisp/autoload.el (batch-update-autoloads):
8953         Set autoload-excludes by parsing loadup.el rather than Makefiles.
8955 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
8957         * net/tramp.el (tramp-process-actions): Set "first-password-request"
8958         property for the correct connection in case of multihops.
8960 2011-05-18  Glenn Morris  <rgm@gnu.org>
8962         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
8963         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8965         Rationalize calendar handling of day and month abbrev-arrays.
8966         * calendar/calendar.el (calendar-customized-p): New function.
8967         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8968         (calendar-day-name-array, calendar-month-name-array): Doc fix.
8969         Add :set function.
8970         (calendar-abbrev-length, calendar-day-abbrev-array)
8971         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8972         (calendar-day-abbrev-array, calendar-month-abbrev-array):
8973         Elements may no longer be nil.
8974         (calendar-day-name, calendar-month-name):
8975         Update for changed nature of abbrev arrays.
8976         * calendar/diary-lib.el (diary-name-pattern):
8977         Update for changed nature of abbrev arrays.
8978         (diary-mark-entries-1): Update calendar-make-alist calls.
8979         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8980         * calendar/cal-html.el (cal-html-day-abbrev-array):
8981         Simply inherit from calendar-day-abbrev-array.
8983 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8985         * progmodes/grep.el (grep-mode): Disable default
8986         compilation-directory-matcher setting (bug#8684).
8988 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
8990         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8991         instead of "head" and "tail".  There were problems with SunOS 5.9,
8992         and it performs better.
8994 2011-05-17  Glenn Morris  <rgm@gnu.org>
8996         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8998         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8999         Replace obsolete function.
9001         * shell.el (pcomplete-parse-arguments-function): Declare.
9003         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9004         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9005         (appt-check): Doc fixes.
9006         (appt-disp-window-function, appt-delete-window-function):
9007         Remove needless special case in custom :type.
9008         (appt-display-count): Default to 0, not nil.
9009         (appt-check): Reset appt-display-count to 0, not nil.
9011 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9013         * progmodes/python.el (python-font-lock-keywords):
9014         Add the Python 3.X keyword "nonlocal" (bug#8639).
9016 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9018         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9020 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9022         * info-look.el (makefile-automake-mode): New setups, looking in
9023         automake manual, then makefile-mode.
9024         (makefile-mode): Remove automake manual, have it just in
9025         makefile-automake-mode since there's various things different or
9026         not relevant to plain make.
9027         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9028         believe a hypothetical automake-mode would go to makefile-mode,
9029         not the other way around.
9031 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9033         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9034         hunk-end tags (Bug#8672).
9036         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9037         vc-annotate-show-diff-revision-at-line (Bug#8671).
9039 2011-05-14  Glenn Morris  <rgm@gnu.org>
9041         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9042         in the middle of an existing one with multiple authors.  (Bug#8645)
9043         (change-log-font-lock-keywords): Also handle multiple author lines
9044         with leading tabs.  (Bug#8644)
9046         * calendar/appt.el (appt-check): Rename some local variables.
9047         Some simplification/reordering.
9049         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9050         (feedmail-sendmail-f-doesnt-sell-me-out)
9051         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9052         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9053         (feedmail-queue-runner-message-sender): Set :version.
9054         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9055         (bbdb-dwim-net-address, vm-mail): Declare.
9056         (feedmail-binmail-gnulinuxish-template):
9057         Rename from feedmail-binmail-linuxish-template.
9058         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9059         Use insert-buffer-substring.
9061 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9063         * mail/feedmail.el (feedmail-patch-level): Increase.
9064         (feedmail-debug): New custom group.
9065         (feedmail-confirm-outgoing-timeout)
9066         (feedmail-sendmail-f-doesnt-sell-me-out)
9067         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9068         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9069         (feedmail-sender-line, feedmail-from-line)
9070         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9071         (feedmail-spray-this-address)
9072         (feedmail-spray-address-fiddle-plex-list)
9073         (feedmail-queue-use-send-time-for-date)
9074         (feedmail-queue-use-send-time-for-message-id)
9075         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9076         (feedmail-buffer-eating-function):
9077         Doc fixes.
9078         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9079         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9080         (feedmail-message-action-scroll-down): New functions.
9081         (feedmail-queue-directory, feedmail-queue-draft-directory):
9082         Use expand-file-name.
9083         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9084         Remove C-v help entry.
9085         (feedmail-queue-buffer-file-name): New variable.
9086         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9087         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9088         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9089         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9090         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9091         (feedmail-message-action-toggle-spray)
9092         (feedmail-run-the-queue-no-prompts)
9093         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9094         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9095         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9096         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9097         (feedmail-envelope-deducer, feedmail-fiddle-from)
9098         (feedmail-fiddle-sender, feedmail-default-date-generator)
9099         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9100         (feedmail-fiddle-spray-address)
9101         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9102         (feedmail-fiddle-list-of-fiddle-plexes)
9103         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9104         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9105         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9106         Change default.  Doc fix.
9107         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9108         (feedmail-binmail-linuxish-template): New constant.
9109         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9110         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9111         (feedmail-send-it): Add debug call.
9112         Use feedmail-queue-buffer-file-name, and
9113         feedmail-send-it-immediately-wrapper.
9114         (feedmail-message-action-send): Add debug call.
9115         Use feedmail-send-it-immediately-wrapper.
9116         (feedmail-queue-express-to-queue): Add debug call.
9117         Run feedmail-queue-express-hook.
9118         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9119         (feedmail-message-action-help-blat):
9120         Rename from feedmail-queue-send-edit-prompt-help-first.
9121         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9122         Check line-endings.  Handle errors better.
9123         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9124         Doc fix.  Add debug call.
9125         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9126         Use feedmail-queue-send-edit-prompt-inner.
9127         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9128         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9129         from feedmail-queue-send-edit-prompt.
9130         (feedmail-queue-send-edit-prompt-help)
9131         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9132         (feedmail-tidy-up-slug): Add debug call.
9133         Respect feedmail-queue-slug-suspect-regexp.
9134         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9135         (feedmail-dump-message-to-queue): Add debug call.
9136         Expand queue-directory.
9137         (feedmail-dump-message-to-queue): Change message slightly.
9138         Use feedmail-say-chatter.
9139         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9140         (feedmail-send-it-immediately-wrapper): New function.
9141         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9142         Insert empty string rather than newline.  Handle full-frame case.
9143         Use catch/throw.  Use feedmail-say-chatter.
9144         (feedmail-fiddle-from): Try mail-host-address.
9145         (feedmail-default-message-id-generator): Doc fix.
9146         Bind system-time-locale.  Handle missing end.
9147         (feedmail-fiddle-x-mailer): Add debug call.
9148         Handle feedmail-x-mailer-line being nil.
9149         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9150         Add debug call.  Use buffer-substring-no-properties.
9151         (feedmail-say-debug, feedmail-say-chatter): New functions.
9152         (feedmail-find-eoh): Give an explicit error.
9154 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9156         * net/newst-treeview.el (newsticker-treeview-face): Change default
9157         family from helvetica to sans.
9158         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9159         etc/images/newsticker.
9161         * net/newst-reader.el (newsticker-feed-face): Change default
9162         family from helvetica to sans.
9164         * net/newst-plainview.el (newsticker-new-item-face)
9165         (newsticker-old-item-face, newsticker-immortal-item-face)
9166         (newsticker-obsolete-item-face, newsticker-date-face)
9167         (newsticker-statistics-face): Change default family from
9168         helvetica to sans.
9169         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9170         etc/images/newsticker.
9172         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9173         (newsticker--process-auto-mark-filter-match): : Tell user about
9174         auto-marking.
9176 2011-05-13  Didier Verna  <didier@xemacs.org>
9178         Common Lisp indentation improvements on defmethod and lambda-lists.
9179         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9180         TODO entries.
9181         (lisp-lambda-list-keyword-parameter-indentation)
9182         (lisp-lambda-list-keyword-parameter-alignment)
9183         (lisp-lambda-list-keyword-alignment): New customizable user options.
9184         (lisp-indent-defun-method): Improve docstring.
9185         (extended-loop-p): Fix comment.
9186         (lisp-indent-lambda-list-keywords-regexp): New variable.
9187         (lisp-indent-lambda-list): New function.
9188         (lisp-indent-259): Use it.
9189         (lisp-indent-defmethod): Support for more than one
9190         method qualifier and properly indent methods lambda-lists.
9191         (defgeneric): Provide a missing common-lisp-indent-function property.
9193 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9195         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9196         bounds for the empty string (bug#8667).
9198 2011-05-13  Glenn Morris  <rgm@gnu.org>
9200         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9202         * mail/sendmail.el (sendmail-program): Try executable-find first.
9203         (sendmail-send-it): `sendmail-program' cannot be unbound.
9205         * calendar/appt.el (appt-make-list): Simplify.
9206         (appt-time-msg-list): Doc fix.
9207         (appt-check): Change mode-line message at the time of the appointment.
9209 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9211         * progmodes/ld-script.el (ld-script-keywords)
9212         (ld-script-builtins): Update keywords list.
9214 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9216         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9218         * shell.el (shell-completion-vars): New function.
9219         (shell-mode):
9220         * simple.el (read-shell-command): Use it.
9221         (blink-matching-open): No need for " [...]" in minibuffer-message.
9223 2011-05-12  Glenn Morris  <rgm@gnu.org>
9225         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9226         (appt-check): Simplify.
9228 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9230         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9231         literal "/dev/null".
9233 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9235         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9236         Fix typo.
9238 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9240         * progmodes/which-func.el (which-function):
9241         Use add-log-current-defun instead of add-log-current-defun-function,
9242         which might not be defined (Bug#8260).
9244 2011-05-12  Glenn Morris  <rgm@gnu.org>
9246         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9247         Let byte-compile-initial-macro-environment always take precedence.
9249 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9251         * net/rcirc.el: Add support for SSL/TLS connections.
9252         (rcirc-server-alist): New field `encryption'.
9253         (rcirc): Check `encryption' settings.
9254         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9255         Merge make-local-variable into `set'.
9256         (rcirc--connection-open-p): New function.
9257         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9258         the process is not a network process (e.g. running gnutls-cli).
9259         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9260         Make rcirc-(en|de)code-coding-system local here.
9261         (rcirc-mode): Merge make-local-variable into `set'.
9262         (rcirc-parent-buffer): Make permanent buffer-local.
9263         (rcirc-multiline-minor-mode): Don't do it here.
9264         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9265         there's no server buffer.
9267 2011-05-11  Glenn Morris  <rgm@gnu.org>
9269         * newcomment.el (comment-kill): Prefix "unused" local.
9271         * term/w32console.el (get-screen-color): Declare.
9273         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9274         Handle symbol elements of byte-compile-initial-macro-environment.
9276 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9278         * bookmark.el (bookmark-bmenu-mode-map):
9279         Bind bookmark-bmenu-search to `/'.
9281         * mail/footnote.el: Convert to utf-8 encoding.
9282         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9283         (Footnote-unicode): New function.
9284         (footnote-style-alist): Add unicode style to the list.
9285         (footnote-style): Doc fix.
9287 2011-05-10  Jim Meyering  <meyering@redhat.com>
9289         Fix doubled-word typos.
9290         * international/quail.el (quail-insert-kbd-layout): and and -> and
9291         * kermit.el: and and -> and
9292         * net/ldap.el (ldap-search-internal): to to -> to
9293         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9294         * progmodes/js.el (js-mode): and and -> and
9295         * textmodes/artist.el (artist-move-to-xy): at at -> at
9296         (artist-draw-region-trim-line-endings): if if -> if
9297         And Safetyc -> Safety.
9298         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9300 2011-05-10  Glenn Morris  <rgm@gnu.org>
9301             Stefan Monnier  <monnier@iro.umontreal.ca>
9303         * files.el (hack-one-local-variable-eval-safep):
9304         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9306 2011-05-10  Glenn Morris  <rgm@gnu.org>
9308         * calendar/diary-lib.el (diary-list-entries-hook)
9309         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9310         (diary-nongregorian-marking-hook, diary-list-entries)
9311         (diary-include-other-diary-files, diary-mark-entries)
9312         (diary-mark-included-diary-files): Doc fixes.
9314 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9316         * misc.el: Require tabulated-list.el during compilation.
9318 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9320         * progmodes/compile.el (compilation-start):
9321         Run compilation-filter-hook for the async case too.
9322         (compilation-filter-hook): Doc fix.
9324 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9326         * wdired.el: Remove outdated installation comment.  Fix usage
9327         comment.
9329 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9331         * misc.el: Implement new command `list-dynamic-libraries'.
9332         (list-dynamic-libraries--loaded-only-p): New variable.
9333         (list-dynamic-libraries--refresh): New function.
9334         (list-dynamic-libraries): New command.
9336 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9338         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9339         Fix the ant regexp to handle end-line and end-column info from jikes.
9340         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9341         higher priority to avoid clobbering by gnu.
9343 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9345         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9346         if the face has existing theme settings (Bug#8454).
9348 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9350         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9351         Only match variables declared via `my' or `our' (Bug#8261).
9353         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9354         special file names `.' and `..' (Bug#8259).
9356 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9358         * progmodes/grep.el (grep-mode-font-lock-keywords):
9359         Remove buffer-changing entries.
9360         (grep-filter): New function.
9361         (grep-mode): Add it to compilation-filter-hook.
9363         * progmodes/compile.el (compilation-filter-hook)
9364         (compilation-filter-start): New defvars.
9365         (compilation-filter): Call compilation-filter-hook prior to
9366         updating the process mark.
9368 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9370         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9372 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9374         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9375         mailclient-send-it even if window-system is nil.  (Bug#8595)
9377         * term/w32console.el (terminal-init-w32console):
9378         Call get-screen-color and use its output to set the frame
9379         background-mode.  (Bug#8597)
9381 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9383         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9384         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9385         New functions.
9386         (defgeneric, eieio--defmethod): Use them.
9387         (eieio-defgeneric): Remove.
9388         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9390 2011-05-07  Glenn Morris  <rgm@gnu.org>
9392         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9393         Use let rather than let*.
9394         (timeclock-find-discrep): Remove unused local.
9396         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9398         * calendar/appt.el (appt-time-msg-list): Doc fix.
9400 2011-05-06  Noah Friedman  <friedman@splode.com>
9402         * apropos.el (apropos-print-doc): Only use
9403         emacs-lisp-docstring-fill-column when it is bound to an integer,
9404         per that variable's documentation.
9406 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9408         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9409         and warnings are not silently discarded (e.g. use -d instead of -P).
9411 2011-05-06  Glenn Morris  <rgm@gnu.org>
9413         * calendar/appt.el (appt-message-warning-time): Doc fix.
9414         (appt-warning-time-regexp): New option.
9415         (appt-make-list): Respect appt-message-warning-time.
9417         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9418         New options.
9419         (diary-add-to-list): Strip comments from the displayed string.
9420         (diary-mode): Set comment-start and comment-end.
9422         * vc/diff-mode.el (smerge-refine-subst): Declare.
9423         (diff-refine-hunk): Don't require smerge-mode when compiling.
9425 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9427         * simple.el (list-processes): Return nil as the docstring says.
9429 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9431         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9432         to "".
9433         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9434         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9435         determining of binary transfer.  (Bug#7383)
9437 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9439         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9440         Fix port computation bug.  (Bug#8618)
9442 2011-05-05  Glenn Morris  <rgm@gnu.org>
9444         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9446         * simple.el (shell-dynamic-complete-functions)
9447         (comint-dynamic-complete-functions): Declare.
9449         * net/network-stream.el (gnutls-negotiate):
9450         * simple.el (tabulated-list-print): Fix declarations.
9452         * progmodes/gud.el (syntax-symbol, syntax-point):
9453         Remove unnecessary and incorrect declarations.
9455         * emacs-lisp/check-declare.el (check-declare-scan):
9456         Handle byte-compile-initial-macro-environment in bytecomp.el
9458 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9460         Fix earlier half-done eieio-defmethod change (bug#8338).
9461         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9462         Streamline and change calling convention.
9463         (defmethod): Adjust accordingly and simplify.
9464         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9465         new eieio--defmethod.
9466         (slot-boundp): Minor CSE simplification.
9468 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9470         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9471         (glasses-make-readable): Use glasses-separate-capital-groups.
9473 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9475         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9476         (warning-series): Doc fix.
9477         (display-warning): Don't try to create the buffer if we just found it.
9479 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9481         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9482         (autoload-find-generated-file): New function.
9483         (generate-file-autoloads): Bind generated-autoload-file to
9484         buffer-file-name.
9485         (update-file-autoloads, update-directory-autoloads):
9486         Use autoload-find-generated-file.  If called interactively, prompt for
9487         output file (Bug#7989).
9488         (batch-update-autoloads): Doc fix.
9490 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9492         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9494 2011-05-04  Glenn Morris  <rgm@gnu.org>
9496         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9497         function, so it follows changes in calendar-date-style.
9498         (diary-fancy-date-matcher): New function.
9499         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9500         (diary-fancy-font-lock-fontify-region-function):
9501         Use diary-fancy-date-pattern as a function.
9503         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9504         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9506 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9508         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9509         instead of positional arguments.  Allow :keylist and :crlfiles
9510         arguments.
9511         (open-gnutls-stream): Call it.
9513         * net/network-stream.el (network-stream-open-starttls): Adjust to
9514         call `gnutls-negotiate' with :process and :hostname arguments.
9516 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9518         * minibuffer.el (completion--message): New function.
9519         (completion--do-completion, minibuffer-complete)
9520         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9521         (completion--do-completion): Don't ignore completion-auto-help when in
9522         icomplete-mode.
9524         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9525         internal encoding (e.g. tibetan zero is not whitespace).
9526         (global-whitespace-mode): Prefer save-current-buffer.
9527         (whitespace-trailing-regexp): Remove useless save-match-data.
9528         (whitespace-empty-at-bob-regexp): Minor simplification.
9530 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9532         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9534 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9536         * textmodes/ispell.el (ispell-add-per-file-word-list):
9537         Use `concat' to create string for insertion.
9539 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9541         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9542         Avoid open-line which runs post-self-insert-hook.
9543         (bibtex-fill-entry): Remove unused `end' var.
9545 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9547         * textmodes/ispell.el (ispell-add-per-file-word-list):
9548         Protect against `nil' value of `comment-start' (Bug#8579).
9550 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9552         * isearch.el (isearch-yank-pop): New command.
9553         (isearch-mode-map): Bind it to `M-y'.
9554         (isearch-forward): Mention it.
9556 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9558         * simple.el (minibuffer-complete-shell-command): Remove.
9559         (minibuffer-local-shell-command-map): Use completion-at-point.
9560         (read-shell-command): Setup completion vars here instead.
9561         (read-expression-map): Bind TAB to symbol completion.
9563         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9564         error directly rather via storing it into `results'.
9566 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9568         * vc/diff.el: Fix description.
9570 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9572         * server.el (server-eval-at): New function.
9574 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9576         * net/network-stream.el (open-network-stream): Take a :nowait
9577         parameter and pass it on to `make-network-process'.
9578         (network-stream-open-plain): Ditto.
9580 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9582         * faces.el (face-spec-set-match-display): Don't match toolkit
9583         options on terminal frames.
9585 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9587         * progmodes/pascal.el: Use lexical binding.
9588         (pascal-mode-map): Remove author preferences.
9590         * pcomplete.el (pcomplete-std-complete): Don't abuse
9591         completion-at-point.
9593 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9595         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9596         removing code that has been dead since 1991 or so.
9598         * startup.el (command-line): When warning about "_emacs", use a
9599         delayed warning to allow the user to filter it out.
9601 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9603         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9604         user has not joined.
9606 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9608         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9609         aren't any completions at point.
9611 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9613         * subr.el (display-delayed-warnings): New function.
9614         (delayed-warnings-hook): New variable.
9616 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * minibuffer.el (completion-at-point, completion-help-at-point):
9619         Don't presume that a given completion-at-point-function will always
9620         use the same calling convention.
9622         * pcomplete.el (pcomplete-completions-at-point):
9623         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9624         pcomplete-seen is non-nil.
9625         (pcomplete-comint-setup): Also recognize the new comint/shell
9626         completion functions.
9627         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9628         pcomplete-seen is non-nil.
9630 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9632         * calendar/icalendar.el (diary-lib): Add require statement.
9633         (icalendar--create-uid): Read out a uid from a text-property on
9634         the first character in the entry.  This allows for code to add its
9635         own uid to the entry.
9636         (icalendar--convert-float-to-ical): Add export of
9637         `diary-float'-entries save for those with the optional DAY
9638         argument.
9640 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9642         * subr.el (shell-quote-argument): Use alternate escaping strategy
9643         when we spot a variable reference in a string.
9645 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9647         * cus-start.el (all): Define customization for debug-on-event.
9649 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9651         * subr.el (shell-quote-argument): Escape correctly under Windows.
9653 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9655         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9657 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9659         * net/tramp.el (tramp-process-actions): Add POS argument.
9660         Delete region between POS and (pos).
9662         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9663         Use `nil' position in `tramp-process-actions' call.
9664         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9666         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9667         position in `tramp-process-actions' call.
9669         * net/trampver.el: Update release number.
9671 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * custom.el (defcustom): Obey lexical-binding.
9675         Fix octave-inf completion problems reported by Alexander Klimov.
9676         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9677         Inherit from octave-mode-syntax-table.
9678         (inferior-octave-mode): Set info-lookup-mode.
9679         (inferior-octave-completion-at-point): New function.
9680         (inferior-octave-complete): Use it and completion-in-region.
9681         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9682         comint-filename-completion.
9683         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9684         symbol elements which shouldn't be word elements.
9685         (octave-font-lock-keywords, octave-beginning-of-defun)
9686         (octave-function-header-regexp): Adjust regexps accordingly.
9687         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9689 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9691         * net/gnutls.el (gnutls-errorp): Declare before first use.
9693 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9695         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9696         verify-error, and verify-hostname-error parameters.  Check whether
9697         default trustfile exists before going to use it.  Add missing
9698         argument to gnutls-message-maybe call.  Return value.
9699         Reported by Claudio Bley <claudio.bley@gmail.com>.
9700         (open-gnutls-stream): Add usage example.
9702         * net/network-stream.el (network-stream-open-starttls): Give host
9703         parameter to `gnutls-negotiate'.
9704         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9705         * subr.el (shell-quote-argument): Escape correctly under Windows.
9707 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
9709         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9710         Use correct match group (bug#8438).
9712 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9714         * emacs-lisp/package.el (package-built-in-p): Fix typo.
9715         (package-menu--generate): New arg specifying packages to show.
9716         (package-menu-refresh, package-menu-execute, list-packages):
9717         Callers changed.
9718         (package-show-package-list): New function, replacing deleted
9719         package--list-packages (renamed because it is non-internal).
9721         * finder.el (finder-list-matches): Use package-show-package-list
9722         instead of deleted package--list-packages.
9724         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9725         Based on a previous implementation by Juanma Barranquero (Bug#8366).
9726         (vc-annotate-mode-map): Bind it to RET.
9728 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9730         * progmodes/etags.el (next-file): Don't use set-buffer to change
9731         buffers (Bug#8478).
9733 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9735         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9737         * apropos.el (apropos-label-face): Avoid variable-pitch face.
9738         (apropos-accumulator): Doc fix.
9739         (apropos-function, apropos-macro, apropos-command)
9740         (apropos-variable, apropos-face, apropos-group, apropos-widget)
9741         (apropos-plist): Add face property.
9742         (apropos-symbols-internal): Fix indentation.
9743         (apropos-print): Simplify help, and recognize apropos-multi-type.
9744         (apropos-print-doc): Use button-type-get to extract the button's
9745         face property.  Fill docstring (Bug#8352).
9747 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
9749         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9751         * play/mpuz.el (mpuz-silent): Doc fix.
9752         (mpuz-mode-map): Use mapc.
9753         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9754         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9755         Fix typos in docstrings.
9757         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9758         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9760         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9762 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
9764         * minibuffer.el (completion--do-completion): Avoid the "Next char
9765         not unique" prompt if icomplete-mode is enabled (Bug#5849).
9767         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9768         mouse-2 into unread-command-events, it is interpreted correctly.
9770         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9771         (image-toggle-display): Doc fix.
9773 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
9775         * textmodes/page.el (what-page): Use line-number-at-pos to
9776         calculate line number (Bug#6825).
9778 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9780         * eshell/esh-mode.el (find-tag-interactive): Declare function.
9781         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9782         Pass argument NO-DEFAULT to `find-tag-interactive'.
9784 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9786         Lexical-binding cleanup.
9788         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9789         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9790         * progmodes/ada-prj.el (ada-prj-initialize-values)
9791         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9792         (ada-prj-show-value):
9793         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9794         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9795         (antlr-invalidate-context-cache, antlr-options-menu-filter)
9796         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9797         * progmodes/bug-reference.el (bug-reference-push-button):
9798         * progmodes/fortran.el (fortran-line-length):
9799         * progmodes/glasses.el (glasses-change):
9800         * progmodes/octave-mod.el (octave-fill-paragraph):
9801         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9802         (python-pdbtrack-grub-for-buffer, python-sentinel):
9803         * progmodes/sql.el (sql-save-connection):
9804         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9805         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9806         Mark unused parameters.
9808         * progmodes/compile.el (compilation--flush-directory-cache)
9809         (compilation--flush-parse, compile-internal): Mark unused parameters.
9810         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9811         (compilation-next-error-function): Remove unused variable `timestamp'.
9813         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9814         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9816         * progmodes/dcl-mode.el (dcl-end-of-command):
9817         Remove unused variable `start'.
9818         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9819         (dcl-option-value-basic, dcl-option-value-offset)
9820         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9821         Mark unused parameters.
9822         (dcl-save-local-variable): Remove unused variable `val'.
9823         (mode): Declare.
9825         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9826         Mark unused parameters.
9827         (delphi-ignore-changes): Move before first use.
9828         (delphi-charset-token-at): Remove unused variable `start'.
9829         (delphi-else-start): Remove unused variable `if-count'.
9830         (delphi-comment-block-start, delphi-comment-block-end):
9831         Remove unused variable `kind'.
9832         (delphi-indent-line): Remove unused variable `new-point'.
9834         * progmodes/ebrowse.el (ebrowse-files-list)
9835         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9836         Mark unused parameters.  Don't quote `lambda'.
9837         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9838         Don't quote `lambda'.
9839         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9840         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9841         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9842         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9843         Use `ignore-errors'.
9844         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9845         (ebrowse-view/find-file-and-search-pattern)
9846         (ebrowse-view/find-member-declaration/definition):
9847         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9848         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9849         Rename parameter PREFIX-ARG to PREFIX.
9850         (ebrowse-tags-read-name): Remove unused variables `start' and
9851         `member-info'.
9852         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9853         to `tags-file'.
9855         * progmodes/etags.el (local-find-tag-hook): Declare.
9856         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9857         Mark unused parameters.
9859         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9860         (executable-interpret): Mark unused parameter.
9862         * progmodes/flymake.el (flymake-process-sentinel)
9863         (flymake-after-change-function)
9864         (flymake-create-temp-with-folder-structure)
9865         (flymake-get-include-dirs-dot): Mark unused parameters.
9866         (flymake-safe-delete-directory): Remove unused variable `err'.
9868         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9869         (speedbar-timer-fn, speedbar-line-text)
9870         (speedbar-change-expand-button-char, speedbar-delete-subblock)
9871         (speedbar-center-buffer-smartly): Declare functions.
9872         (gdb-find-watch-expression): Remove unused variable `array'.
9873         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9874         (gdb-starting): Mark unused parameters.
9875         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9876         (gdb-table-string): Remove unused variable `res'.
9877         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9878         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9879         (gdb-display-buffer): Remove unused variable `cur-size'.
9881         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9882         allow lexical-binding compilation.
9883         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9884         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9885         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9886         Mark unused parameters.
9887         (gud-gdb-marker-filter): Remove unused variable `match'.
9888         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9889         lambda expressions and funcall them, instead of using `fset'.
9891         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9892         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9894         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9895         variable `header-beg'; use `let'.
9897         * progmodes/icon.el (indent-icon-exp): Remove unused variables
9898         `restart', `last-sexp' and `at-do'.
9900         * progmodes/js.el (js--debug): Mark unused parameter.
9901         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9902         (js--splice-into-items): Remove unused variable `item'.
9903         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9905         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9906         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9907         (makefile-complete): Remove unused variable `try'.
9908         (makefile-fill-paragraph, makefile-match-function-end):
9909         Mark unused parameters.
9911         * progmodes/octave-inf.el (inferior-octave-complete):
9912         Remove unused variable `proc'.
9913         (inferior-octave-output-digest): Mark unused parameter.
9915         * progmodes/perl-mode.el (perl-calculate-indent):
9916         Remove unused variable `err'.
9918         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9919         (prolog-indent-line): Mark unused parameters.
9920         (prolog-indent-line): Remove unused variable `beg'.
9922         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9923         (reporter-dont-compact-list): Declare.
9925         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9926         Remove unused variable `char'.
9927         (sh-debug): Mark unused parameter.
9928         (sh-get-indent-info): Remove unused variable `start'.
9929         (sh-calculate-indent): Remove unused variable `var'.
9931         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9932         (simula-electric-keyword): Remove unused variable `null'.
9933         (simula-search-backward, simula-search-forward): Remove unused
9934         variables `begin' and `end'.
9936         * progmodes/vera-mode.el (vera-guess-basic-syntax):
9937         Remove unused variable `pos'.
9938         (vera-electric-tab, vera-comment-uncomment-region):
9939         Mark unused parameters.
9940         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9942 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
9944         * emacs-lisp/package.el (package--builtins, package-alist)
9945         (package-load-descriptor, package-built-in-p, package-activate)
9946         (define-package, package-installed-p)
9947         (package-compute-transaction, package-buffer-info)
9948         (package--push): Doc fix.  Distinguish more clearly between
9949         version strings and version lists.
9951 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
9953         Lexical-binding cleanup.
9955         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9956         (5x5-make-mutate-best):
9957         * play/fortune.el (fortune-in-buffer):
9958         * play/gomoku.el (gomoku-init-display):
9959         * play/solitaire.el (solitaire, solitaire-do-check):
9960         * play/tetris.el (tetris-default-update-speed-function):
9961         Mark unused parameters.
9963         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9964         (bubbles--shift): Remove unused variable `char-org'.
9965         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
9966         (bubbles--show-images): Remove unused variable `char'.
9968         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9969         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9970         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9971         (decipher-analyze-buffer): Use ?\s.
9972         (decipher-make-checkpoint): Remove unused variable `mapping'.
9974         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9976         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9977         Remove unused variable `result'; use `let'.
9979         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9980         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9981         (gametree-children-shown-p, gametree-compute-reduced-score):
9982         Use `ignore-errors'.
9984         * play/handwrite.el (ps-lpr-switches): Declare.
9985         (handwrite): Remove unused variables `pmin' and `lastp'.
9987         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9989         * play/landmark.el (landmark-init-display)
9990         (landmark-update-naught-weights): Mark unused parameters.
9991         (landmark-y): Remove unused variable `noise'.  Simplify.
9992         (landmark-human-plays): Remove unused variable `score'.
9994         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9995         (mpuz-try-proposal): Remove unused variable `game'.
9997         * play/zone.el (life-patterns): Declare.
9999 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10001         * vc/vc.el (ediff-vc-internal): Declare function.
10003 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * shell.el: Use lexical-binding and std completion UI.
10006         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10007         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10008         comint-preoutput-filter-functions rather than on
10009         comint-output-filter-functions.
10010         (shell-command-completion, shell--command-completion-data)
10011         (shell-filename-completion, shell-environment-variable-completion)
10012         (shell-c-a-p-replace-by-expanded-directory): New functions.
10013         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10014         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10015         (shell-dynamic-complete-environment-variable): Use them.
10016         (shell-dynamic-complete-as-environment-variable)
10017         (shell-dynamic-complete-as-command): Remove.
10018         (shell-match-partial-variable): Match past point.
10019         * comint.el: Clean up use of completion-at-point-functions.
10020         (comint-completion-at-point): New function.
10021         (comint-mode): Use it completion-at-point-functions.
10022         (comint-dynamic-complete): Make it obsolete.
10023         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10024         (comint-c-a-p-replace-by-expanded-history): New function.
10025         (comint-dynamic-complete-functions)
10026         (comint-replace-by-expanded-history): Use it.
10027         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10028         termination strings.  Try harder to avoid second try-completion.
10029         (completion-in-region-mode-map): Disable bindings that don't work yet.
10031         * comint.el: Use lexical-binding.  Require CL.
10032         (comint-dynamic-complete-functions): Use comint-filename-completion.
10033         (comint-completion-addsuffix): Tweak custom type.
10034         (comint-filename-completion, comint--common-suffix)
10035         (comint--common-quoted-suffix, comint--table-subvert)
10036         (comint--complete-file-name-data): New functions.
10037         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10038         (comint-dynamic-list-filename-completions): Use them.
10039         (comint-dynamic-simple-complete): Make obsolete.
10041         * minibuffer.el (completion-in-region-mode):
10042         Keep completion-in-region-mode--predicate global.
10043         (completion-in-region--postch):
10044         Assume completion-in-region-mode--predicate is not null.
10046         * progmodes/flymake.el (flymake-start-syntax-check-process):
10047         Obey `dir'.  Simplify.
10049         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10050         we're in VC after all.
10052 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10054         * vc/vc.el (vc-diff-build-argument-list-internal)
10055         (vc-version-ediff, vc-ediff): New commands.
10056         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10058 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10060         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10061         add sanity check.
10063         * obsolete/erc-hecomplete.el: Make obsolete.
10064         * obsolete/: Standardize obsolescence info in the header.
10066 2011-04-20  Glenn Morris  <rgm@gnu.org>
10068         * calendar/solar.el (solar-horizontal-coordinates):
10069         Use the longitude argument rather than `calendar-longitude'.
10070         (solar-date-next-longitude): Remove unused locals.
10072 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10074         * whitespace.el: New version 13.2.1.
10076 2011-04-20  felix  <EmacsWiki>  (tiny change)
10078         * whitespace.el (global-whitespace-mode): Keep highlight when
10079         switching between major modes on a file.
10081 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10084         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10085         multi-line comments as well.
10087 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10089         Lexical-binding cleanup.
10091         * arc-mode.el (archive-mode-revert):
10092         * cmuscheme.el (scheme-interactively-start-process):
10093         * custom.el (custom-initialize-delay):
10094         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10095         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10096         * emacs-lock.el (emacs-lock-clear-sentinel):
10097         * ezimage.el (defezimage):
10098         * follow.el (follow-avoid-tail-recenter):
10099         * fringe.el (set-fringe-mode-1):
10100         * generic-x.el (bat-generic-mode-compile):
10101         * help-mode.el (help-info-variable, help-do-xref)
10102         (help-mode-revert-buffer):
10103         * help.el (view-emacs-todo):
10104         * iswitchb.el (iswitchb-completion-help):
10105         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10106         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10107         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10108         * locate.el (locate-update):
10109         * longlines.el (longlines-encode-region)
10110         (longlines-after-change-function):
10111         * outline.el (outline-isearch-open-invisible):
10112         * ps-def.el (declare-function, charset-dimension, char-width)
10113         (encode-char):
10114         * ps-mule.el (ps-mule-plot-string):
10115         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10116         (recentf-edit-list-select, recentf-edit-list-validate)
10117         (recentf-open-files-action):
10118         * rect.el (delete-whitespace-rectangle-line)
10119         (rectangle-number-line-callback):
10120         * register.el (window-configuration-to-register)
10121         (frame-configuration-to-register):
10122         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10123         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10124         (xselect-convert-to-targets, xselect-convert-to-delete)
10125         (xselect-convert-to-filename, xselect-convert-to-charpos)
10126         (xselect-convert-to-lineno, xselect-convert-to-colno)
10127         (xselect-convert-to-os, xselect-convert-to-host)
10128         (xselect-convert-to-user, xselect-convert-to-class)
10129         (xselect-convert-to-name, xselect-convert-to-integer)
10130         (xselect-convert-to-atom, xselect-convert-to-identity):
10131         * subr.el (declare, ignore, process-kill-without-query)
10132         (text-clone-maintain):
10133         * terminal.el (te-get-char, te-tic-sentinel):
10134         * tool-bar.el (tool-bar-make-keymap):
10135         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10136         * type-break.el (type-break-mode, type-break-noninteractive-query):
10137         * view.el (View-back-to-mark):
10138         * wid-browse.el (widget-browse-action, widget-browse-widget)
10139         (widget-browse-widgets, widget-browse-sexp):
10140         * widget.el (define-widget-keywords):
10141         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10142         Mark unused parameters.
10144         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10145         (align-areas): Remove unused variable `look'.
10146         (align-region): Remove unused variables `real-end' and `pos-list'.
10148         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10150         * bindings.el (mode-line-modified, mode-line-remote):
10151         Mark unused parameters.
10152         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10154         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10155         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10157         * comint.el (comint-history-isearch-pop-state)
10158         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10159         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10160         (comint-substitute-in-file-name): Doc fix.
10162         * completion.el (cmpl-statistics-block): Mark unused parameter.
10163         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10164         (save-completions-to-file, load-completions-from-file):
10165         Remove unused local variable `e'.
10167         * composite.el (compose-chars): Remove unused variable `len'.
10168         (lgstring-insert-glyph): Remove unused variable `g'.
10169         (compose-glyph-string): Remove unused variables `ascent',
10170         `descent', `lbearing' and `rbearing'.
10171         (compose-glyph-string-relative): Remove unused variables
10172         `lbearing', `rbearing' and `wadjust'.
10173         (compose-gstring-for-graphic): Remove unused variables `header',
10174         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10175         (compose-gstring-for-terminal): Remove unused variables `header'
10176         and `nchars'.  Use `let', not `let*'.
10178         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10179         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10180         (Custom-buffer-done, custom-buffer-create-internal)
10181         (custom-browse-visibility-action, custom-browse-group-tag-action)
10182         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10183         (widget-magic-mouse-down-action, custom-toggle-parent)
10184         (custom-add-parent-links, custom-toggle-hide-variable)
10185         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10186         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10187         (custom-face-menu-create, custom-variable-menu-create, get)
10188         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10189         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10190         (customize-apropos): Remove unused variable `tests'.
10191         (custom-group-value-create): Remove unused variable `hidden-p'.
10192         (sort-fold-case): Declare.
10194         * cus-theme.el (custom-reset-standard-faces-list)
10195         (custom-reset-standard-variables-list): Declare.
10196         (customize-create-theme, custom-theme-revert, custom-theme-write)
10197         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10198         Mark unused parameters.
10200         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10202         * delim-col.el (delimit-columns-max): Move defvar before first use.
10204         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10205         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10207         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10208         (auto-insert): Declare.
10209         (desktop-restore-file-buffer): Rename desktop-* parameters;
10210         mark unused ones.
10211         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10212         (desktop-buffer): Rename desktop-* parameters.
10214         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10215         (dframe-reposition-frame-xemacs, dframe-help-echo)
10216         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10217         Mark unused parameters.
10219         * dired-aux.el (backup-extract-version-start, overwrite-query)
10220         (overwrite-backup-query, rename-regexp-query)
10221         (rename-non-directory-query): Declare.
10222         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10223         (dired-add-entry): Remove unused variable `orig-file-name'.
10224         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10225         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10226         `dired-copy-preserve-time' directly.
10227         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10228         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10230         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10231         (dired-virtual-revert, dired-make-relative-symlink):
10232         Mark unused parameters.
10233         (manual-program): Declare.
10234         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10235         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10236         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10238         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10240         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10242         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10243         Declare.
10245         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10247         * electric.el (Electric-command-loop): Rename parameter
10248         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10250         * expand.el (expand-in-literal): Remove unused variable `here'.
10252         * facemenu.el (facemenu-add-new-color):
10253         Remove unused variable `docstring'.
10255         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10256         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10257         (face-attr-construct): Mark unused parameter.  Doc fix.
10258         (read-color): Remove unused variable `hex-string'.
10260         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10261         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10262         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10263         (display-buffer-other-frame): Remove unused variable `old-window'.
10264         (kill-buffer-hook): Declare.
10265         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10266         Mark unused parameters.
10267         (after-find-file): Pass 1 to `auto-save-mode', not t.
10269         * files-x.el (auto-insert): Declare.
10270         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10272         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10273         variable `buf'.  Mark unused parameter.
10274         (find-lisp-insert-directory): Mark unused parameter.
10276         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10277         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10278         (format-common-tail): Remove, unused.
10279         (format-deannotate-region): Remove unused variable `loc'.
10280         (format-annotate-region): Remove unused variable `p'.
10281         (format-annotate-single-property-change): Remove unused variables
10282         `default' and `tail'.
10284         * forms.el (read-file-filter): Declare.
10285         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10287         * frame.el (frame-creation-function-alist): Mark unused parameter.
10288         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10290         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10291         Remove unused parameters.
10292         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10293         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10295         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10296         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10297         (hfy-prepare-tag-map): Mark unused parameters.
10298         (htmlfontify-buffer): Use `called-interactively-p'.
10300         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10301         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10302         (ibuffer-do-occur): Mark unused parameters.
10303         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10304         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10306         * ibuffer.el: Don't quote `lambda'.
10307         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10308         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10309         Mark unused parameters.
10311         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10312         (ido-completing-read): Mark unused parameters.
10313         (ido-copy-current-word): Mark unused parameters;
10314         remove unused variable `name'.
10315         (ido-sort-merged-list): Remove unused parameter `dirs'.
10317         * ielm.el (ielm-input-sender): Mark unused parameter.
10318         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10319         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10320         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10321         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10322         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10324         * image-dired.el (image-dired-display-thumbs): Remove unused
10325         variables `curr-file' and `count'.
10326         (image-dired-remove-tag): Remove unused variable `start'.
10327         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10328         variable `curr-file'
10329         (image-dired-rotate-original): Remove unused variable `temp-file'.
10330         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10331         Remove unused variable `file'.
10332         (image-dired-gallery-generate): Remove unused variable `curr'.
10333         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10335         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10337         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10339         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10341         * isearch.el (minibuffer-history-symbol): Declare.
10342         (isearch-edit-string): Remove unused variable `err'.
10343         (isearch-message-prefix, isearch-message-suffix):
10344         Mark unused parameters.
10346         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10348         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10350         * makesum.el (double-column): Remove unused variable `cnt'.
10352         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10353         (ido-ignore-item-temp-list): Declare.
10355         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10356         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10357         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10358         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10359         `mouse-col-delta'.
10361         * mouse-sel.el (mouse-extend-internal):
10362         Remove unused variable `orig-window-frame'.
10364         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10365         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10366         Move declarations before first use.
10367         (pcomplete-opt): Mark unused parameters; doc fix.
10369         * proced.el (proced-revert): Mark unused parameter.
10370         (proced-send-signal): Remove unused variable `err'.
10372         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10373         Rename parameter PREFIX-ARG to ARG.
10374         (ps-basic-plot-string, ps-basic-plot-whitespace):
10375         Mark unused parameters.
10377         * replace.el (replace-count): Define.
10378         (occur-revert-function): Mark unused parameters.
10379         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10380         (isearch-case-fold-search, isearch-string): Declare.
10381         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10382         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10383         and simplify.
10384         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10385         COUNT and bind `replace-count'.
10386         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10387         to COUNT.
10389         * savehist.el (print-readably, print-string-length): Declare.
10391         * shadowfile.el (shadow-expand-cluster-in-file-name):
10392         Remove unused variable `cluster'.
10393         (shadow-copy-file): Remove unused variable `i'.
10394         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10395         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10396         (shadow-define-literal-group, shadow-define-regexp-group)
10397         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10399         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10400         (shell): Use `called-interactively-p'.
10401         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10403         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10404         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10405         (delete-backward-char): Remove unused variable `ocol'.
10406         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10407         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10408         (event-apply-hyper-modifier, event-apply-shift-modifier)
10409         (event-apply-control-modifier, event-apply-meta-modifier):
10410         Mark unused parameters.
10411         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10412         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10414         * speedbar.el (speedbar-ignored-directory-expressions)
10415         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10416         (speedbar-find-file, speedbar-dir-follow)
10417         (speedbar-directory-buttons-follow, speedbar-tag-find)
10418         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10419         (speedbar-buffers-line-directory, speedbar-buffer-click):
10420         Mark unused parameters.
10421         (speedbar-tag-file): Remove unused variable `mode'.
10422         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10424         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10426         * talk.el (talk): Remove unused variable `display'.
10428         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10429         (tar-write-region-annotate): Mark unused parameter.
10431         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10432         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10433         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10434         warning by another.
10436         * time-stamp.el (time-stamp-string-preprocess):
10437         Remove unused variable `require-padding'.
10439         * tree-widget.el (widget-glyph-enable): Declare.
10440         (tree-widget-action): Mark unused parameter.
10442         * w32-fns.el (x-get-selection): Mark unused parameter.
10443         (autoload-make-program, generated-autoload-file): Declare.
10445         * wdired.el (wdired-revert): Mark unused parameters.
10446         (wdired-xcase-word): Remove unused variable `err'.
10448         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10449         (whitespace-help-scroll): Remove unused variable `data-help'.
10451         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10452         (widget-image-insert, widget-after-change, default)
10453         (widget-default-format-handler, widget-default-notify)
10454         (widget-default-prompt-value, widget-info-link-action)
10455         (widget-url-link-action, widget-function-link-action)
10456         (widget-variable-link-action, widget-file-link-action)
10457         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10458         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10459         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10460         (widget-insert-button-action, widget-delete-button-action, visibility)
10461         (widget-documentation-link-action, widget-documentation-string-action)
10462         (widget-const-prompt-value, widget-regexp-match, symbol)
10463         (widget-coding-system-prompt-value)
10464         (widget-key-sequence-value-to-external, sexp)
10465         (widget-sexp-value-to-internal, character, vector, cons)
10466         (widget-choice-prompt-value, widget-boolean-prompt-value)
10467         (widget-color--choose-action): Mark unused parameters.
10468         (widget-item-match-inline, widget-choice-match-inline)
10469         (widget-checklist-match, widget-checklist-match-inline)
10470         (widget-group-match): Rename parameter VALUES to VALS.
10471         (widget-field-value-set): Remove unused variable `size'.
10472         (widget-color-action): Remove unused variables `value' and `start'.
10474         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10475         variable `dir'.  Doc fix.
10476         (windmove-find-other-window): Don't pass it.
10478         * window.el (count-windows): Mark unused parameter.
10479         (bw-adjust-window): Remove unused variable `err'.
10481         * woman.el (woman-file-name): Remove unused variable `default'.
10482         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10483         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10484         (global-font-lock-mode): Declare.
10485         (woman-decode-region): Mark unused parameter.
10486         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10488         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10489         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10490         (x-dnd-handle-moz-url): Remove unused variable `title'.
10491         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10493         * xml.el (xml-parse-tag, xml-parse-attlist):
10494         Remove unused variable `pos'.
10496 2011-04-19  Glenn Morris  <rgm@gnu.org>
10498         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10499         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10500         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10501         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10502         * calendar/cal-html.el (cal-html-insert-minical):
10503         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10504         (calendar-mark-date-pattern):
10505         Prefix "unused" locals.
10507         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10508         optional argument `style'.
10510         * calendar/appt.el (appt-make-list):
10511         * calendar/cal-china.el (calendar-chinese-date-string):
10512         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10513         (diary-hebrew-yahrzeit):
10514         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10515         * calendar/calendar.el (calendar-generate-window):
10516         * calendar/time-date.el (time-to-days):
10517         Remove unused local variables.
10519 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10521         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10522         glyphless-char-display table.
10523         (tabulated-list-glyphless-char-display): New var.
10525 2011-04-18  Sam Steingold  <sds@gnu.org>
10527         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10528         to acknowledgments.
10530 2011-04-17  Glenn Morris  <rgm@gnu.org>
10532         * calendar/diary-lib.el (diary-sexp-entry):
10533         * calendar/holidays.el (holiday-sexp):
10534         Set debug-on-error rather than the removed stack-trace-on-error.
10536 2011-04-16  Glenn Morris  <rgm@gnu.org>
10538         * progmodes/f90.el: Use lexical-binding.
10539         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10541 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10543         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10544         (mail-mode): Setup mailalias completion here instead.
10545         * mail/mailalias.el: Use lexical-binding.
10546         (pattern, mailalias-done): Declare dynamic.
10547         (mail-completion-at-point-function): New function, from mail-complete.
10548         (mail-complete): Use it.
10549         (mail-completion-expand): New function.
10550         (mail-get-names): Use it.
10551         (mail-directory, mail-directory-process, mail-directory-stream):
10552         Don't use `pattern' for lexically bound arg.
10554         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10556         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10557         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10558         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10560         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10561         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10562         (byte-interactive-p): Define them again, for use when inlining
10563         old code.
10565 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10567         * loadup.el: Use `string-to-number', not `string-to-int'.
10569 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10572         gud-gdb-complete-command.
10573         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10574         (gud-gdb-completion-at-point): New function.
10575         (gud-gdb-completions): Remove.
10577 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10579         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10580         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10581         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10582         whether `executable-find' is bound.
10584         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10586 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10588         * minibuffer.el (completion-in-region-mode-predicate)
10589         (completion-in-region-mode--predicate): New vars.
10590         (completion-in-region, completion-in-region--postch)
10591         (completion-in-region-mode): Use them.
10592         (completion--capf-wrapper): Also return the hook function.
10593         (completion-at-point, completion-help-at-point):
10594         Adjust and provide a predicate.
10596         Preserve arg names for advice of subr and lexical functions (bug#8457).
10597         * help-fns.el (help-function-arglist): Consolidate the subr and
10598         new-byte-code cases.  Add argument `preserve-names' to extract names
10599         from the docstring when needed.
10600         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10601         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10602         (ad-arglist): Use help-function-arglist's new arg.
10603         (ad-definition-type): Use cond.
10605 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10607         * autorevert.el (auto-revert-handler):
10608         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10609         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10610         Don't quote lambda.
10612         * image-mode.el (image-transform-set-scale):
10613         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10615 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10617         * net/network-stream.el (network-stream-open-starttls): Only do
10618         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10619         Upgrades via gnutls-cli are too slow to be done opportunistically.
10621 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10623         * dframe.el (dframe-current-frame): Remove spurious quote.
10625 2011-04-12  Glenn Morris  <rgm@gnu.org>
10627         * calendar/cal-tex.el (cal-tex-end-document):
10628         Try to automatically use latin1 input if needed.
10630         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10631         Don't try to cons a mark onto an empty element.
10633 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10635         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10636         buffers.
10637         (ido-kill-buffer-at-head): Support killing virtual buffers.
10639 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10641         * minibuffer.el (completion-show-inline-help): New var.
10642         (completion--do-completion, minibuffer-complete)
10643         (minibuffer-force-complete, minibuffer-complete-word):
10644         Inhibit minibuffer messages if completion-show-inline-help is nil.
10646         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10647         to avoid interference from inline help (Bug#5849).
10649 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10651         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10652         Fix typo.
10654 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10656         * image-mode.el (image-toggle-display-image): Signal an error if
10657         not in Image mode.
10658         (image-transform-mode, image-transform-resize)
10659         (image-transform-set-rotation): Doc fix.
10660         (image-transform-set-resize): Delete.
10661         (image-transform-set-scale, image-transform-fit-to-height)
10662         (image-transform-fit-to-width): Handle image-toggle-display-image
10663         and image-transform-resize directly.
10665 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10667         * doc-view.el (doc-view-fit-width-to-window)
10668         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10669         New functions for fitting the shown image to the Emacs window size.
10670         (doc-view-mode-map): Add bindings for the new functions.
10672 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10674         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10675         Fix typo in docstring.
10677 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10679         * files.el (file-size-human-readable): Produce one digit after
10680         decimal, like "ls -lh" does.
10682         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10683         the file size representation.
10685         * simple.el (list-processes): If async subprocesses are not
10686         available, error out with a clear error message.
10688 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10690         * help.el (help-form-show): New function, to be called from C.
10691         Put help-form output in a buffer named differently than *Help*.
10693 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10695         * files.el (file-size-human-readable): New function.
10697         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10698         computing the representation inline.  Don't require `cl'.
10700 2011-04-08  Glenn Morris  <rgm@gnu.org>
10702         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10704         * net/browse-url.el (browse-url-firefox):
10705         Test system-type, not system-configuration.
10707         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10708         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10709         Use log-edit-empty-buffer-p.  (Bug#7598)
10711         * net/rlogin.el (rlogin-process-connection-type): Simplify.
10712         (rlogin-mode-map): Initialize in the defvar.
10713         (rlogin): Use ignore-errors.
10715         * replace.el (occur-mode-map): Some fixes for menu items.
10717 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10719         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
10721 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10723         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10724         issuing unused warnings.
10726         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10727         macro directly.
10729         * simple.el: Lisp reimplement of list-processes.  Based on an
10730         earlier reimplementation by Leo Liu, but using tabulated-list.el.
10731         (process-menu-mode): New major mode.
10732         (list-processes--refresh, list-processes):
10733         (process-menu-visit-buffer): New functions.
10735         * files.el (save-buffers-kill-emacs): Don't assume any return
10736         value of list-processes, which is undocumented anyway.
10738 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10740         * emacs-lisp/tabulated-list.el: New file.
10742         * emacs-lisp/package.el: Use Tabulated List mode.
10743         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10744         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
10745         table format using Tabulated List mode variables.
10746         (package--push): New macro, replacing package-list-maybe-add.
10747         (package-menu--generate): Use package--push.  Renamed from
10748         package--generate-package-list.
10749         (package-menu-refresh, list-packages): Use it.
10750         (package-menu--print-info): Rename from package-print-package.
10751         Return insertion data instead of inserting it directly.
10752         (package-menu-describe-package, package-menu-execute):
10753         Use tabulated-list-get-id.
10754         (package-menu-mark-delete, package-menu-mark-install)
10755         (package-menu-mark-unmark, package-menu-backup-unmark)
10756         (package-menu-mark-obsolete-for-deletion):
10757         Use tabulated-list-put-tag.
10758         (package--list-packages, package-menu-revert)
10759         (package-menu-get-package, package-menu-get-version)
10760         (package-menu-sort-by-column): Functions deleted.
10761         (package-menu-package-list, package-menu-sort-key): Vars deleted.
10762         (package-menu--status-predicate, package-menu--version-predicate)
10763         (package-menu--name-predicate)
10764         (package-menu--description-predicate): Handle arguments in the
10765         Tabulated List format.
10766         (package-list-packages-no-fetch): Call list-packages.
10768 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
10770         * files.el (after-find-file-from-revert-buffer): Remove variable.
10771         (after-find-file): Don't bind it.
10772         (revert-buffer-in-progress-p): New variable.
10773         (revert-buffer): Bind it.
10774         Pass nil for `after-find-file-from-revert-buffer'.
10776         * saveplace.el (save-place-find-file-hook): Use new variable
10777         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10779 2011-04-06  Glenn Morris  <rgm@gnu.org>
10781         * Makefile.in (AUTOGEN_VCS): New variable.
10782         (autoloads): Use $AUTOGEN_VCS.
10784         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10785         * calendar/calendar.el (calendar-mode-map):
10786         Check for toolkit scroll bars.  (Bug#8305)
10788 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10790         * minibuffer.el (completion-in-region--postch)
10791         (completion-in-region-mode): Remove unnecessary messages.
10793 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
10795         * font-lock.el (font-lock-refresh-defaults):
10796         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10797         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10799         * info.el (Info-directory-list, Info-read-node-name-2)
10800         (Info-split-parameter-string): Doc fixes.
10801         (Info-virtual-nodes): Reflow docstring.
10802         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10803         (Info-apropos-toc-nodes, info-finder, Info-get-token)
10804         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10805         Fix typos in docstrings.
10806         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10807         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10808         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10809         (Info-restore-desktop-buffer): Mark unused parameters.
10810         (Info-directory-find-file, Info-directory-find-node)
10811         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10812         (Info-virtual-index-find-node, Info-apropos-find-file)
10813         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10814         Mark unused parameters; fix typos in docstrings.
10815         (Info-virtual-index): Remove unused local variable `nodename'.
10817 2011-04-05  Deniz Dogan  <deniz@dogan.se>
10819         * net/rcirc.el: Update my e-mail address.
10820         (rcirc-mode-map): Remove M-o binding.
10822 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10824         * startup.el (command-line): Save the cursor's theme-face
10825         directly, instead of using face-override-spec.
10827         * custom.el (load-theme): Minor optimization in assigning faces.
10829 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10831         * help-fns.el (describe-variable): Complete all variables having
10832         documentation, including keywords.
10833         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10835 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10837         Convert to lexical-binding.
10839         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10840         (bs--get-marked-string, bs--get-modified-string)
10841         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10842         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10843         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10845         * ehelp.el (electric-help-execute-extended)
10846         (electric-help-ctrl-x-prefix):
10847         * hexl.el (hexl-revert-buffer-function):
10848         * linum.el (linum-after-change, linum-after-scroll):
10849         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10851         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10853 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
10855         * epa-dired.el:
10856         * epa-mail.el:
10857         * epa-hook.el:
10858         * epa-file.el:
10859         * epa.el:
10860         * epg.el: Use lexical binding.
10862 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
10864         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10866         * textmodes/flyspell.el (flyspell-word): Recognize default
10867         dictionary case for flyspell-mark-duplications-exceptions.
10868         Use regexp matching for languages.
10869         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10870         default dictionary (Bug#7926).
10872 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
10874         * emacs-lisp/package.el (package--with-work-buffer):
10875         Recognize https URLs.
10877         * net/network-stream.el: Move from gnus/proto-stream.el.
10878         Change prefix to network-stream throughout.
10879         (open-protocol-stream): Merge into open-network-stream, leaving
10880         open-protocol-stream as an alias.  Handle nil BUFFER args.
10882         * subr.el (open-network-stream): Move to net/network-stream.el.
10884 2011-04-02  Glenn Morris  <rgm@gnu.org>
10886         * find-dired.el (find-exec-terminator): New option.
10887         (find-ls-option): Test for -ls support.
10888         (find-ls-subdir-switches): Test for -b in find-ls-option.
10889         (find-dired, find-grep-dired): Doc fixes.
10890         (find-dired): Use find-exec-terminator.
10892         * find-dired.el (find-ls-option, find-ls-subdir-switches)
10893         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10894         (find-name-arg): Remove purecopy.
10896         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10897         (grep-compute-defaults): Check for `-exec COMMAND +' support.
10898         Set grep-find-use-xargs, grep-find-command, and grep-find-template
10899         accordingly.  Don't add the null-device if not needed.
10901         * files.el (save-some-buffers): Doc fix.
10903 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
10905         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10907 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
10909         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10910         Use `dolist' rather than `mapcar'.
10912 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10914         Add lexical binding.
10916         * subr.el (apply-partially): Use new closures rather than CL.
10917         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10918         (dolist, dotimes): Use slightly different expansion for lexical code.
10919         (functionp): Move to C.
10920         (letrec): New macro.
10921         (with-wrapper-hook): Use it and apply-partially instead of CL.
10922         (eval-after-load): Preserve lexical-binding.
10923         (save-window-excursion, with-output-to-temp-buffer): Turn them
10924         into macros.
10926         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10928         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10929         than the arglist.
10930         (help-add-fundoc-usage): Don't add `Not documented'.
10931         (help-function-arglist): Handle closures, subroutines, and new
10932         byte-code-functions.
10933         (help-make-usage): Remove leading underscores.
10934         (describe-function-1): Handle closures.
10935         (describe-variable): Use special-variable-p for completion.
10937         * files.el (lexical-binding): Declare safe.
10939         * emacs-lisp/pcase.el: Don't use destructuring-bind.
10940         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
10941         (pcase): Add `let' pattern.
10942         Change memoization so it actually works.
10943         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10944         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10945         <let>: New case.
10947         * emacs-lisp/macroexp.el: Use lexical binding.
10948         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
10949         Don't convert ' to #' without checking that it's indeed quoting
10950         a lambda.
10952         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10953         Use eval-sexp-add-defvars.
10954         (eval-sexp-add-defvars): New fun.
10956         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10958         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10959         Don't autoload.
10960         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10961         than the internal `byte-compile-lambda'.
10962         (defmethod): Don't hide code under quotes.
10963         (eieio-defmethod): New `code' argument.
10965         * emacs-lisp/eieio-comp.el: Remove.
10967         * emacs-lisp/edebug.el (edebug-eval-defun)
10968         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10969         (edebug-toggle): Avoid `eval'.
10971         * emacs-lisp/disass.el (disassemble-internal): Handle new
10972         `closure' objects.
10973         (disassemble-1): Handle new byte codes.
10975         * emacs-lisp/cl.el (pushnew): Silence warning.
10977         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10978         (cl-byte-compile-throw): Remove.
10979         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10981         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10982         closures.
10984         * emacs-lisp/cconv.el: New file.
10986         * emacs-lisp/bytecomp.el: Use lexical binding instead of
10987         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
10988         (byte-compile-initial-macro-environment):
10989         Handle declare-function here.
10990         (byte-compile--lexical-environment): New var.
10991         (byte-stack-ref, byte-stack-set, byte-discardN)
10992         (byte-discardN-preserve-tos): New lap codes.
10993         (byte-interactive-p): Don't use any more.
10994         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10995         New macros.
10996         (byte-compile-lapcode): Use them and handle new lap codes.
10997         (byte-compile-obsolete): Remove.
10998         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10999         (byte-compile-arglist-warn): Check late def of inlinable funs.
11000         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11001         since they should have been expanded by now.
11002         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11003         (byte-compile-from-buffer): Remove unused second arg.
11004         (byte-compile-preprocess): New function.
11005         (byte-compile-toplevel-file-form): New function to distinguish
11006         file-form calls from outside from file-form calls from hunk-handlers.
11007         (byte-compile-file-form): Simplify.
11008         (byte-compile-file-form-defsubst): Remove.
11009         (byte-compile-file-form-defmumble): Simplify now that
11010         byte-compile-lambda always returns a byte-code-function.
11011         (byte-compile): Preprocess.
11012         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11013         Remove, not used any more.
11014         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11015         (byte-compile-make-args-desc): New funs.
11016         (byte-compile-lambda): Handle lexical functions.  Always return
11017         a byte-code-function.
11018         (byte-compile-reserved-constants): New var, to make up room for
11019         closed-over variables.
11020         (byte-compile-constants-vector): Obey it.
11021         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11022         (byte-compile-macroexpand-declare-function): New function.
11023         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11024         byte-code-functions.
11025         (byte-compile-form): Check obsolescence here.
11026         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11027         (byte-compile-variable-ref): Remove.
11028         (byte-compile-dynamic-variable-op): New fun.
11029         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11030         (byte-compile-variable-set): New funs.
11031         (byte-compile-discard): Add 2 args.
11032         (byte-compile-stack-ref, byte-compile-stack-set)
11033         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11034         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11035         macroexpand-all instead.
11036         (byte-compile-quote-form): Remove.
11037         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11038         (byte-compile-bind, byte-compile-unbind): New funs.
11039         (byte-compile-let): Handle let* and lexical binding.
11040         (byte-compile-let*): Remove.
11041         (byte-compile-catch, byte-compile-unwind-protect)
11042         (byte-compile-track-mouse, byte-compile-condition-case):
11043         Handle a new :fun-body form, used for lexical scoping.
11044         (byte-compile-save-window-excursion)
11045         (byte-compile-with-output-to-temp-buffer): Remove.
11046         (byte-compile-defun): Simplify.
11047         (byte-compile-stack-adjustment): New fun.
11048         (byte-compile-out): Use it.
11049         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11051         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11052         handler any more.
11054         * emacs-lisp/byte-opt.el: Use lexical binding.
11055         (byte-inline-lapcode): Remove (to bytecomp).
11056         (byte-compile-inline-expand): Pay attention to inlining to/from
11057         lexically bound code.
11058         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11059         any more.
11060         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11061         any more and don't call compiler-macros.
11062         (byte-compile-splice-in-already-compiled-code): Remove.
11063         (byte-code): Don't inline any more.
11064         (disassemble-offset): Receive `bytes' as argument rather than via
11065         dynamic scoping.
11066         (byte-compile-tag-number): Declare before first use.
11067         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11068         `return' even if make-spliceable.
11069         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11070         obsolete interactive-p.
11071         (byte-optimize-lapcode): Optimize new lap-codes.
11072         Don't trip up on new form of `byte-constant' lap code.
11074         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11076         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11078         * custom.el (custom-initialize-default, custom-declare-variable):
11079         Use `defvar'.
11081         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11082         New variables.
11083         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11084         (COMPILE_FIRST): Add macroexp and cconv.
11085         * makefile.w32-in: Mirror changes in Makefile.in.
11087         * vc/cvs-status.el:
11088         * vc/diff-mode.el:
11089         * vc/log-edit.el:
11090         * vc/log-view.el:
11091         * vc/smerge-mode.el:
11092         * textmodes/bibtex-style.el:
11093         * textmodes/css.el:
11094         * startup.el:
11095         * uniquify.el:
11096         * minibuffer.el:
11097         * newcomment.el:
11098         * reveal.el:
11099         * server.el:
11100         * mpc.el:
11101         * emacs-lisp/smie.el:
11102         * doc-view.el:
11103         * dired.el:
11104         * abbrev.el: Use lexical binding.
11106 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11108         * info.el (info-display-manual): New function.
11110 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11112         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11114 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11116         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11117         an entry for that server in rcirc-authinfo.  (Bug#8385)
11119 2011-03-31  Glenn Morris  <rgm@gnu.org>
11121         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11123         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11125 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11127         * progmodes/python.el (python-default-interpreter)
11128         (python-python-command-args, python-jython-command-args)
11129         (python-which-shell, python-which-args, python-which-bufname)
11130         (python-file-queue, python-comint-output-filter-function)
11131         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11132         variables and functions.
11134 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11136         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11137         (completion-in-region-mode): New minor mode.
11138         (completion-in-region): Use it.
11139         (completion-in-region--data, completion-in-region-mode-map): New vars.
11140         (completion-in-region--postch): New function.
11141         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11142         New vars.
11143         (completion--capf-wrapper): New function.
11144         (completion-at-point): Use it to track well-behavedness of
11145         hook functions.
11146         (completion-help-at-point): New command.
11148 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11150         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11151         syntax class to search for whitespace on a single line
11152         (Message-ID: <4D938140.4030905@redhat.com>).
11154 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11156         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11157         New commands.
11158         (edit-abbrevs-map): Bind them here.
11159         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11161 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11163         * allout.el (allout-hide-by-annotation, allout-flag-region):
11164         Reduce possibility of overlay leakage by making them volatile.
11166         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11167         hash is not shared between buffers.  Mode initialization is
11168         responsible for giving it a useful starting value.
11169         (allout-item-span): Reduce possibility of overlay leakage by
11170         making them volatile.
11171         (allout-widgets-count-buttons-in-region): Add diagnostic function
11172         for tracking down button overlay leaks.
11174 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11176         * ido.el (ido-read-internal): Use the default history var
11177         minibuffer-history if no HISTORY is specified.
11179 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11181         * net/imap.el (imap-shell-open, imap-process-connection-type):
11182         Use imap-process-connection-type for 'shell' streams as well as
11183         Kerberos, SSL, other subprocesses.
11185 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11187         * abbrev.el (abbrev-table-empty-p): New function.
11188         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11189         nonempty ones.  (Bug#5937)
11191 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11193         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11195 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11197         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11198         for foreground and background colors.
11199         (ansi-color-make-color-map): Adapt.
11201 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11203         * midnight.el (midnight-time-float): Remove.  Note it calculates
11204         the microsecond component incorrectly and seconds-to-time does the
11205         same job.
11206         Remove redundant (require 'timer).
11208         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11209         (ido-completions): Remove unused arguments.  (Bug#8329)
11211 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11213         * minibuffer.el (completion--flush-all-sorted-completions):
11214         Remove itself from hook.
11215         (completion-at-point): Let the functions perform the completion
11216         immediately and return nil or t.
11217         * comint.el (comint-dynamic-complete-functions): Now identical to
11218         completion-at-point-functions.
11219         (comint-dynamic-list-input-ring): Remove unused var `index'.
11220         (comint--match-partial-filename, comint--unquote&expand-filename):
11221         New funs, split from comint-match-partial-filename.
11222         (comint-dynamic-complete): Use completion-at-point.
11223         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11225 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11227         * thingatpt.el: Support `defun'.
11229 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11231         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11233         * help-mode.el (help-mode-finish): Tweak regexp.
11235 2011-03-23  Glenn Morris  <rgm@gnu.org>
11237         * eshell/esh-opt.el (eshell-eval-using-options):
11238         Do not bind unused local variable `eshell-option-stub'.
11240         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11242 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11244         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11245         keymap variable in `with-no-warnings' to avoid a warning when the
11246         keymap has been already `defconst'ed.
11248 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11250         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11251         encode all chars in abbrevs; otherwise use emacs-mule or
11252         utf-8-emacs.  (Bug#8308)
11254 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11256         * simple.el (backward-delete-char-untabify):
11257         Avoid warning about using `delete-backward-char'.
11259         * image.el (image-type-file-name-regexps): Make it variable.
11260         `imagemagick-register-types' modifies it, and the user may want
11261         to add new extensions for known image types.
11262         (imagemagick-register-types): Throw error if not using ImageMagick.
11264 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11266         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11267         located before rcirc-prompt-end-marker.
11268         (rcirc-complete): Error if point is not after rcirc prompt.
11269         Handle the case when table is nil.
11270         (rcirc-user-authenticated): Define to fix compiler warning.
11272 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11274         * custom.el (custom--inhibit-theme-enable): Make it affect only
11275         custom-theme-set-variables and custom-theme-set-faces.
11276         (provide-theme): Ignore custom--inhibit-theme-enable.
11277         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11278         (custom-enabling-themes): Delete variable.
11279         (enable-theme): Accept only loaded themes as arguments.
11280         Ignore the special custom-enabled-themes variable.
11281         (custom-enabled-themes): Forbid themes from setting this.
11282         Eliminate use of custom-enabling-themes.
11283         (custom-push-theme): Quote "changed" custom var entry.
11285 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11287         * ido.el (ido-read-internal): Add ido-selected to history instead
11288         of user input.
11290 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11292         * subr.el (deferred-action-list, deferred-action-function):
11293         Mark obsolete.
11295 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11297         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11298         change on 2011-02-13 (bug#8309).
11300         * minibuffer.el (read-file-name-function): Change default value.
11301         (read-file-name--defaults): Rename from read-file-name-defaults.
11302         (read-file-name-default): Rename from read-file-name.
11303         (read-file-name): Call read-file-name-function.
11305 2011-03-21  Glenn Morris  <rgm@gnu.org>
11307         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11308         Doc fixes.
11310 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11312         * cus-theme.el: Add missing provide statement.
11313         (customize-create-theme): Extract theme value correctly.
11314         (custom-theme-visit-theme): Autoload.
11315         (customize-create-theme): Prompt before inserting default faces.
11317 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11319         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11320         units and musical notes.
11322 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11324         * ido.el (ido-read-internal): Use completing-read-default.
11325         (ido-completing-read): Fix compatibility with completing-read.
11327 2011-03-20  Christian Ohler  <ohler@gnu.org>
11329         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11330         (ert-delete-all-tests): Use `called-interactively-p' rather than
11331         `interactive-p'.
11332         (ert--make-xrefs-region): Respect END.
11334 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11336         * dired-aux.el (dired-create-directory): Signal an error if the
11337         directory already exists (Bug#8246).
11339         * facemenu.el (list-colors-display): Call list-faces-display
11340         inside with-help-window.
11341         (list-colors-print): Use display property to align the final
11342         column, instead of checking window-width.
11344 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11346         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11347         windows-nt systems.
11348         (emerge-protect-metachars): Quote correctly for ms-dos and
11349         windows-nt systems.
11351 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11353         * info.el (info-initialize): Replace all uses of `:' with
11354         path-separator for compatibility with non-Unix systems.
11355         Cache quoting of path-separator.  (Bug#8258)
11357 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11359         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11360         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11361         (mouse-avoidance-mode): Fix typos in docstrings.
11363 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11365         * startup.el (package-subdirectory-regexp): Move from package.el.
11366         Omit \\` and \\', and let callers add them.
11368         * emacs-lisp/package.el (package-strip-version)
11369         (package-load-all-descriptors): Add \\` and \\' to
11370         package-subdirectory-regexp before using it.
11371         (package-untar-buffer): New arg DIR; ensure that file untars only
11372         into this expected directory.  Remove superfluous delete-region.
11373         (package-unpack): Caller changed.
11374         (package-tar-file-info): Use package-subdirectory-regexp.
11376 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11378         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11379         diff-mode-shared-map (bug#8284).
11380         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11382 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11384         * calendar/time-date.el (format-seconds): Use assoc instead of
11385         assoc-string, since assoc-string doesn't exist in XEmacs.
11387 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11389         * custom.el (custom-known-themes): Reflow docstring.
11390         (custom-theme-load-path): Fix typo in docstring.
11391         (load-theme): Fix typo in error message.
11392         (custom-available-themes, custom-variable-theme-value):
11393         Use `let', not `let*'.
11395 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11397         * calc/README: Mention inclusion of musical notes.
11399         * calc/calc-units.el (calc-lu-quant): Rename from
11400         `calc-logunits-quantity'.
11401         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11402         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11403         (calc-db): Rename from `calc-dblevel'.
11404         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11405         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11406         (calc-np): Rename from `calc-nplevel'.
11407         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11408         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11409         (calc-lu-plus): Rename from `calc-logunits-add'.
11410         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11411         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11412         (calc-lu-minus): Rename from `calc-logunits-sub'.
11413         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11414         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11415         (calc-lu-times): Rename from `calc-logunits-mul'.
11416         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11417         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11418         (calc-lu-divide): Rename from `calc-logunits-div'.
11419         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11420         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11422         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11423         functions being autoloaded.
11425         * calc/calc.el (calc-lu-power-reference): Rename from
11426         `calc-logunits-power-reference'.
11427         (calc-lu-field-reference): Rename from
11428         `calc-logunits-field-reference'.
11430         * calc/calc-help.el (calc-l-prefix-help):
11431         Mention musical note functions.
11433 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11435         * minibuffer.el (completion-all-sorted-completions):
11436         Use :completion-cycle-penalty text property if present.
11438 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11440         * allout.el (allout-yank-processing): Adjust for new rebulleting
11441         regime so bullet being yanked is used without prompting the user
11442         for a choice.
11444 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11446         * startup.el (command-line): Warn the user that _emacs is deprecated.
11448 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11450         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11451         (delphi-verbose, delphi-comment-face, delphi-string-face)
11452         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11453         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11454         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11455         (delphi-new-comment-line, delphi-font-lock-defaults)
11456         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11457         Fix typos in docstrings.
11459 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11461         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11462         Invert the roles of character and string values for INSTEAD, so a
11463         string is used for the more common case of a defaulting prompt.
11465 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11467         * progmodes/ruby-mode.el (ruby-backward-sexp):
11468         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11469         * play/gamegrid.el (gamegrid-make-face):
11470         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11471         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11472         * notifications.el (notifications-notify):
11473         * net/xesam.el (xesam-search-engines):
11474         * net/quickurl.el (quickurl-list-insert):
11475         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11477 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11479         * startup.el (command-line): Update package subdirectory regexp.
11481 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11483         * allout.el (allout-abbreviate-flattened-numbering)
11484         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11486         * subr.el (read-char-choice): Only show the cursor after the prompt,
11487         not after the answer.
11489 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11491         * help-fns.el (variable-at-point): Skip leading quotes, if any
11492         (bug#8253).
11494 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11496         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11497         warning message.
11499 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11501         * shell.el (shell): When called interactively, offer to change the
11502         shell file name on remote hosts.
11504 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11506         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11507         integration for LDAP parameters.  The host, base, user or binddn,
11508         and secret tokens can be specified in a netrc file, for instance.
11509         This is optional because an `auth-source' parameter must be
11510         specified in the search attributes.
11512 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11514         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11516 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11518         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11519         into declaration.  Remove redundant and harmful binding.
11521 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11523         * files.el (file-ownership-preserved-p): Pass `integer' as an
11524         explicit 2nd argument to `file-attributes'.  If the file's owner
11525         is the Administrators group on Windows, and the current user is
11526         Administrator, consider that a match.
11528         * server.el (server-ensure-safe-dir): Consider server directory
11529         safe on MS-Windows if its owner is the Administrators group while
11530         the current Emacs user is Administrator.  Use `=' to compare
11531         numerical UIDs, since they could be integers or floats.
11533 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11535         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11537 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11539         Sync with Tramp 2.2.1.
11541         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11543         * net/trampver.el: Update release number.
11545 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11547         * progmodes/compile.el (compilation--previous-directory): Fix up
11548         various nil/dead-marker mismatches (bug#8014).
11549         (compilation-directory-properties, compilation-error-properties):
11550         Don't call it at a position past the one we're about to change.
11552         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11553         Disable obsolescence warnings in the file that declares it.
11555 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11557         * allout-widgets.el (allout-widgets-tally):
11558         Initialize allout-widgets-tally as a hash table rather than nil to
11559         prevent mode-line redisplay warnings.  Also, clarify the module
11560         description and fix a comment typo.
11562 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11564         * help-fns.el (describe-variable): Don't complete keywords.
11565         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11567 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11569         * emacs-lisp/package.el (package-version-join): Impose a standard
11570         string representation for pre/alpha/beta version lists.
11571         (package-unpack-single): Standardize the directory name by passing
11572         it through package-version-join.
11573         (package-strip-rcs-id): Accept any version string that does not
11574         signal an error in version-to-list.
11576 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11578         * simple.el (delete-trailing-whitespace): Return nil for the
11579         benefit of `write-file-functions'.
11581 2011-03-10  Glenn Morris  <rgm@gnu.org>
11583         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11585         * vc/vc-git.el (vc-git-program): New option.
11586         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11587         (vc-git--call): Use it.
11589         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11591         * cus-edit.el (Custom-newline): If no button at point, look
11592         for a subgroup button at start-of-line.  (Bug#2298)
11594         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11596 2011-03-10  Julien Danjou  <julien@danjou.info>
11598         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11599         `cursor-type' is nil.
11601 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11603         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11605 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11607         * allout.el: Change so yank of distinctive-bullet items
11608         preserves the existing header prefix, rebulleting it if necessary,
11609         rather than replacing it.  This is necessary for proper operation
11610         of cooperative addons like allout-widgets.
11611         (allout-make-topic-prefix, allout-rebullet-heading):
11612         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11613         value as alternate bullet to be used, instead of prompting the user
11614         for a bullet character.
11616 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11618         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11619         Do not use `tramp-file-name-port', because this returns also
11620         `tramp-default-port'.
11622 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11624         * net/rcirc.el (rcirc-handler-001): Remove useless
11625         with-rcirc-process-buffer.
11626         (rcirc-check-auth-status): Swap arguments to string-match.
11628 2011-03-09  Glenn Morris  <rgm@gnu.org>
11630         * shell.el (shell-mode):
11631         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11633         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11634         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11636 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11638         * emacs-lisp/package.el (package-refresh-contents)
11639         (package-menu-execute): Use condition-case-no-debug.
11641 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11643         * simple.el (shell-command-to-string): Use `process-file'.
11645         * emacs-lisp/package.el (package-tar-file-info): Handle also
11646         remote files.
11648         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11649         Use `equal' for upload base check.
11651 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11653         * textmodes/texinfo.el (texinfo-environments):
11654         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11656 2011-03-08  Glenn Morris  <rgm@gnu.org>
11658         * cus-start.el (cursor-in-non-selected-windows):
11659         Fix :set quoting oddness.  (Bug#8192)
11661         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11662         in some setf expressions.  (Bug#2159)
11664 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11666         * custom.el (custom-available-themes): Return themes in
11667         alphabetical order.
11669 See ChangeLog.15 for earlier changes.
11671 ;; Local Variables:
11672 ;; coding: utf-8
11673 ;; End:
11675   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11677   This file is part of GNU Emacs.
11679   GNU Emacs is free software: you can redistribute it and/or modify
11680   it under the terms of the GNU General Public License as published by
11681   the Free Software Foundation, either version 3 of the License, or
11682   (at your option) any later version.
11684   GNU Emacs is distributed in the hope that it will be useful,
11685   but WITHOUT ANY WARRANTY; without even the implied warranty of
11686   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11687   GNU General Public License for more details.
11689   You should have received a copy of the GNU General Public License
11690   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.