Adapt nXML mode to Emacs 24 completion scheme.
[emacs.git] / lisp / ChangeLog
blobee92720d71728b9c973e5684ab9057ef19a6e31a
1 2012-03-12  Chong Yidong  <cyd@gnu.org>
3         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4         (nxml-completion-at-point-function): New function.
5         (nxml-mode): Use it.
6         (nxml-bind-meta-tab-to-complete-flag): Default to t.
8         * emacs-lisp/package.el (package-unpack, package-unpack-single):
9         Load generated autoloads file before byte compiling (Bug#10970).
10         (package--make-autoloads-and-compile): New helper fun.
12 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
14         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
18         * autorevert.el (auto-revert-handler): Ensure, that
19         file-readable-p is applied only for local files or in
20         auto-revert-tail-mode.
22 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
24         * server.el (server-eval-at): Handle non-tcp connections.  Decode
25         result string.
27         * server.el (server-msg-size): New constant.
28         (server-reply-print): New function.
29         (server-eval-and-print): Use it.
30         (server-eval-at): Use server-quote-arg and server-unquote-arg.
31         Handle -print-nonl.
33 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
35         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
36         (Bug#10987).
38 2012-03-11  Chong Yidong  <cyd@gnu.org>
40         * simple.el (goto-line): Doc fix (Bug#9938).
42         * subr.el (save-window-excursion): Doc fix (Bug#9979).
44         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
45         when finished (Bug#10963).
47 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
49         * window.el (split-window-below): Fix bug in case where
50         split-window-keep-point is nil (Bug#10971).
52 2012-03-11  Juri Linkov  <juri@jurta.org>
54         * replace.el (replace-highlight): Set isearch-word to nil
55         unconditionally.  (Bug#10887)
57 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
59         * net/mairix.el (mairix-replace-invalid-chars): Rename from
60         mairix-replace-illegal-chars; all callers changed.  Don't remove
61         ^, ~, and = characters: they are meaningful in mairix search
62         specs.
63         (mairix-widget-create-query): Add usage information about mairix
64         search forms: negating words, searching for substrings, etc.
66 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
68         * international/fontset.el (font-encoding-alist): Add an entry for
69         ksx1001 (Bug#5667).
71 2012-03-10  Richard Stallman  <rms@gnu.org>
73         * mail/sendmail.el (mail-encode-header):
74         Set rfc2047-encode-encoded-words.
76         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
78         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
79         view buffer means not swapped.
80         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
81         (rmail-write-region-annotate): Error if real text has disappeared.
83         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
85 2012-03-10  Chong Yidong  <cyd@gnu.org>
87         * emulation/cua-rect.el (cua--init-rectangles):
88         * emulation/cua-base.el (cua--init-keymaps): Add
89         delete-forward-char to remappings (Bug#9666).
91 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
93         * speedbar.el (speedbar-unhighlight-one-tag-line): Avoid
94         unhighlighting due to frame switching (Bug#10275).
96 2012-03-10  Chong Yidong  <cyd@gnu.org>
98         * minibuffer.el (completion-in-region, completion-help-at-point):
99         Give the completion field overlay a high priority (Bug#6830).
101         * dired.el (dired-goto-file): Recognize absolute file name
102         listings (Bug#7126).
103         (dired-goto-file-1): New helper function.
104         (dired-toggle-read-only): Inhibit warnings.
106 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
108         * net/dbus.el: (dbus-property-handler): Return empty array if
109         there are no properties.
111 2012-03-09  Leo Liu  <sdl.web@gmail.com>
113         * savehist.el (savehist-printable): Stricter check for string
114         value (Bug#10937).
116 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
118         * mail/smtpmail.el (smtpmail-send-it): Bind
119         coding-system-for-write to *-unix, so that FCC files are kept in
120         valid mbox format.
122 2012-03-09  Glenn Morris  <rgm@gnu.org>
124         * files.el (dir-locals-find-file):
125         Don't check result is regular, readable.
126         (dir-locals-read-from-file): Demote errors.
128 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
130         * international/quail.el (quail-insert-kbd-layout): Insert
131         invisible LRM characters before each character in a keyboard
132         layout cell, to prevent their reordering by bidi display engine.
133         For details, see the discussion in
134         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
136 2012-03-08  Alan Mackenzie  <acm@muc.de>
138         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
139         the starting position; make it extend the marked region when
140         invoked repeatedly - all under appropriate circumstances.
141         Fixes bugs #5525, #10906.
143 2012-03-08  Glenn Morris  <rgm@gnu.org>
145         * files.el (locate-dominating-file, dir-locals-find-file):
146         Undo 2012-03-06 change.
148 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
150         * international/quail.el (quail-help): Force
151         bidi-paragraph-direction be left-to-right.  See discussion in
152         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
153         for the reason.
155 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
157         Avoid superfluous registering of signals.  (Bug#10807)
159         * notifications.el (notifications-on-action-object)
160         (notifications-on-close-object): New defvars.
161         (notifications-on-action-signal, notifications-on-closed-signal):
162         Unregister the signal if not needed any longer.
163         (notifications-notify): Register `notifications-action-signal' or
164         `notifications-closed-signal', if :on-action or :on-close has been
165         passed as argument.
167 2012-03-07  Chong Yidong  <cyd@gnu.org>
169         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
170         non-X platforms.
172 2012-03-06  Glenn Morris  <rgm@gnu.org>
174         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
175         (x-disown-selection-internal, x-get-selection-internal):
176         Doc fix (add arglist signatures).  (Bug#10783)
178 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
180         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
181         Handle breakpoints with no "type".
183 2012-03-06  Glenn Morris  <rgm@gnu.org>
185         * files.el (locate-dominating-file): Add optional predicate argument.
186         (dir-locals-find-file): Make use of above change.
188 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
190         * info.el (Info-insert-dir): Also try "dir.gz".
192 2012-03-06  Glenn Morris  <rgm@gnu.org>
194         * files.el (dir-locals-find-file):
195         Ignore non-readable or non-regular files.  (Bug#10928)
197         * files.el (locate-dominating-file): Doc fix.
199 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
201         * calendar/calendar.el (calendar-set-mode-line):
202         `getenv' returns a string.  (Bug#10951)
204 2012-03-05  Leo Liu  <sdl.web@gmail.com>
206         * simple.el (backward-delete-char-untabify): Constrain point to
207         field (Bug#10939).
209         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
211 2012-03-05  Chong Yidong  <cyd@gnu.org>
213         * simple.el (count-words): If called from Lisp, return the word
214         count, for symmetry with `count-lines'.  Arglist changed.
215         (count-words--message): Args changed.  Consolidate counting code
216         from count-words and count-words-region.
217         (count-words-region): Caller changed.
218         (count-lines-region): Make it an obsolete alias.
220 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
222         * saveplace.el (save-place-to-alist)
223         (save-place-ignore-files-regexp): Allow value nil to disable this
224         feature.
226 2012-03-04  Chong Yidong  <cyd@gnu.org>
228         * faces.el (face-spec-reset-face): For the default face, reset the
229         attributes to default values (Bug#10748).
231 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
233         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
234         previous patch: Check `message-send-mail-function', and not the
235         default function (bug#10897).
237 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
239         * notifications.el (notifications-on-action-signal)
240         (notifications-on-closed-signal): Check for unique service name of
241         incoming event.  Fix error in removing entry.
242         (top): Register for signals with wildcard service name.
243         (notifications-notify): Use daemon unique service name for map entries.
245 2012-03-04  Chong Yidong  <cyd@gnu.org>
247         * cus-start.el: Make x-select-enable-clipboard-manager
248         customizable.
250 2012-03-04  Glenn Morris  <rgm@gnu.org>
252         * abbrev.el (copy-abbrev-table, abbrev-table-p)
253         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
254         (expand-abbrev, define-abbrev-table): Doc fixes.
256 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
258         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
259         `message-default-send-mail-function' and not `send-mail-function'
260         when doing the prompting for `sendmail-query-once' before sending
261         in Message buffers (bug#10897).
263         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
264         This is inconsistent with all the other stream functions, which leave
265         the setting up to the higher levels (if so wanted) (bug#10931).
267 2012-03-02  Alan Mackenzie  <acm@muc.de>
269         Depessimize the handling of very large macros.
271         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
272         (c-macro-cache-syntactic): New variables to implement a one
273         element macro cache.
274         (c-invalidate-macro-cache): New function.
275         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
276         Adapt to use the new cache.
277         (c-state-safe-place): Use better the cache of safe positions.
278         (c-state-semi-nonlit-pos-cache)
279         (c-state-semi-nonlit-pos-cache-limit):
280         New variables for...
281         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
282         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
283         (c-in-literal, c-literal-limits, c-determine-limit-get-base): Use
284         c-state-semi-safe-place.
286         * progmodes/cc-langs.el (c-get-state-before-change-functions): Add
287         c-invalidate-macro-cache to the C, C++, Obj entries.
289 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
291         * jka-compr.el (jka-compr-call-process): Apply
292         `file-accessible-directory-p' only when the default directory is
293         not remote.
295 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
297         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
298         access of FILE2, if FILE1 does not exist.
300         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
301         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
303         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
304         Add "PAGER=" to `process-environment'.
306 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
308         * progmodes/sql.el: Bug fix
309         (sql-get-login-ext): Save login values in globals.
310         (sql-get-login): Use new version of `sql-get-login-ext'.
311         (sql-interactive-mode): Set global `sql-connection' to nil.
312         (sql-connect): Set global values for connection.
313         (sql-product-interactive): Save global values as buffer local.
315 2012-02-29  Leo Liu  <sdl.web@gmail.com>
317         * abbrev.el (define-abbrevs): Reset sys to nil.
319 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
321         * files.el (file-equal-p): Rename from `files-equal-p'.
322         Return nil when one or both files don't exist.
323         (file-subdir-of-p): Now only top directory must exists,
324         return nil if it doesn't.
325         (copy-directory): No need to test with `file-subdir-of-p' after
326         creating dir.
327         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
328         to `file-equal-p'.
330 2012-02-28  Glenn Morris  <rgm@gnu.org>
332         * shell.el (shell-mode):
333         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
334         * play/landmark.el (landmark-font-lock-face-O):
335         * play/handwrite.el (handwrite):
336         * play/gomoku.el (gomoku-O):
337         * net/browse-url.el (browse-url-browser-display):
338         * international/mule.el (define-charset):
339         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
340         * filesets.el (filesets-find-file-delay):
341         * eshell/em-xtra.el (eshell-xtra):
342         * eshell/em-unix.el (eshell-grep):
343         * emulation/viper.el (viper-mode):
344         * emacs-lisp/regexp-opt.el (regexp-opt-group):
345         * emacs-lisp/easymenu.el (easy-menu-define):
346         * calendar/timeclock.el (timeclock-use-display-time):
347         * bs.el (bs-mode):
348         * bookmark.el (bookmark-save-flag):
349         Doc fix (standardize possessive apostrophe usage).
351 2012-02-27  Chong Yidong  <cyd@gnu.org>
353         * emulation/viper-cmd.el (viper-intercept-ESC-key):
354         Fix key-binding lookup for ESC key (Bug#9146).
356         * font-lock.el (font-lock-specified-p): Rename from
357         font-lock-spec-present.  Callers changed.
359 2012-02-27  Daniel Hackney  <dan@haxney.org>
361         * emacs-lisp/package.el (package-compute-transaction):
362         Handle holding a package version to t in package-load-list.
364 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
366         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
367         (tramp-get-inode, tramp-get-device): Use cached values.
369 2012-02-26  Alan Mackenzie  <acm@muc.de>
371         Check there is a font-lock specification before doing initial
372         fontification.
374         * font-core.el (font-lock-mode): Move the conditional from
375         :after-hook to font-lock-initial-fontify.
376         (font-lock-default-function): Move the check for a specification
377         to font-lock-spec-present.
379         * font-lock.el (font-lock-initial-fontify): call ...
380         (font-lock-spec-present): New function.
382 2012-02-26  Jim Blandy  <jimb@red-bean.com>
384         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
385         (gdb-send): Apply it to the operand of the '-interpreter-exec
386         console' command, so that we can pass arguments with (say) quotes
387         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
389 2012-02-26  Chong Yidong  <cyd@gnu.org>
391         * help-fns.el (describe-function-1): Clarify description of
392         remapping (Bug#10844).
394         * files.el (files-equal-p): Doc fix.
395         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
396         and quit the loop once a mismatch is found.
398 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
400         * bs.el (bs--show-with-configuration): Don't throw an error
401         if the window cannot be split; otherwise, subsequent calls to
402         bs-show fail, restoring a stale window config.  (Bug#10882)
404 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
406         * term/ns-win.el (global-map): Bind ns-drag-file to
407         ns-find-file (Bug#5855, Bug#10050).
409 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
411         * calendar/parse-time.el (parse-time-string): Allow extractor to
412         return nil.
414 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
416         * net/tramp.el (tramp-file-name-for-operation):
417         Add `files-equal-p' and `file-subdir-of-p'.
419         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
420         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
421         Add COPY-CONTENTS argument.
423 2012-02-25  Chong Yidong  <cyd@gnu.org>
425         Add custom groups for VC backends, for consistency with vc-bzr.
427         * vc/vc-arch.el (vc-arch):
428         * vc/vc-cvs.el (vc-cvs):
429         * vc/vc-git.el (vc-git):
430         * vc/vc-hg.el (vc-hg):
431         * vc/vc-mtn.el (vc-mtn):
432         * vc/vc-rcs.el (vc-rcs):
433         * vc/vc-sccs.el (vc-sccs):
434         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
435         All relevant defcustoms reassigned.
437 2012-02-25  Chong Yidong  <cyd@gnu.org>
439         * newcomment.el (comment-styles): Add autoload (Bug#10868).
441         * term/x-win.el (x-initialize-window-system): Reduce default for
442         x-selection-timeout to 5 seconds (Bug#8869).
444 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
446         * files.el (file-subdir-of-p): Fix typo.
448 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
450         * files.el (files-equal-p, file-subdir-of-p): New functions.
451         (copy-directory): Error when trying to copy a directory on itself.
452         Add missing copy-contents arg to tramp handler.
453         * dired-aux.el (dired-copy-file-recursive): Same.
454         (dired-create-files): Modify destination when source is equal to
455         dest when copying files.
456         Return also when dest is a subdir of source.  (Bug#10489)
458 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
460         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
461         (Bug#10874)
463 2012-02-23  Alan Mackenzie  <acm@muc.de>
465         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
466         parameter "after-hook:" to allow the expansion to run code after
467         the execution of the mode hooks.
469         * font-lock.el (font-lock-initial-fontify): New function extracted
470         from font-lock-mode-internal.
472         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
473         :after-hook.
475 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
477         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
478         (completion--cache-all-sorted-completions): New function.
479         (completion-all-sorted-completions): Use it.
480         (completion--do-completion, minibuffer-force-complete):
481         Use it to re-instate the flush hook.
483         * icomplete.el (icomplete-completions): Replace last fix with a better
484         one (bug#10850).
486 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
488         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
489         when it might call us back infinitely (bug#10797).
491 2012-02-23  Glenn Morris  <rgm@gnu.org>
493         * minibuffer.el (completion-category-overrides): Doc fix.
495 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
497         * minibuffer.el (completion-table-with-context): Fix inf-loop.
498         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
500 2012-02-23  Glenn Morris  <rgm@gnu.org>
502         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
503         (authors-obsolete-files-regexps, authors-ignored-files)
504         (authors-ambiguous-files, authors-renamed-files-alist):
505         Add more entries.
507 2012-02-23  Juri Linkov  <juri@jurta.org>
509         * isearch.el (isearch-occur): Sync interactive spec with occur's
510         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
512         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
514 2012-02-22  Juri Linkov  <juri@jurta.org>
516         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
517         (ucs-insert): Doc fix.  Check for hex digits in the string.
518         Don't display `nil' in the error message.  (Bug#10857)
520 2012-02-22  Alan Mackenzie  <acm@muc.de>
522         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
524 2012-02-22  Glenn Morris  <rgm@gnu.org>
526         * ffap.el (ffap-c-path):
527         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
529 2012-02-22  Chong Yidong  <cyd@gnu.org>
531         * custom.el (load-theme): Doc fix.
533 2012-02-22  Glenn Morris  <rgm@gnu.org>
535         * dired-x.el (dired-guess-shell-alist-default):
536         Remove escape sequences from nroff output.  (Bug#172)
538 2012-02-21  Glenn Morris  <rgm@gnu.org>
540         * vc/emerge.el (emerge-defvar-local):
541         Set `permanent-local' property rather than unused `preserved'.
543         * textmodes/picture.el (picture-delete-char): New alias.
544         (picture-mode-map): Use it.  (Bug#10860)
545         (picture-mode): Doc fix.
547 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
549         * newcomment.el (uncomment-region-default): Remove unused binding.
551 2012-02-21  Glenn Morris  <rgm@gnu.org>
553         * textmodes/picture.el (picture-motion, picture-motion-reverse)
554         (picture-self-insert, picture-tab-chars): Doc fix.
555         (picture-mode-map): Fix C-a, C-e.
557 2012-02-20  Glenn Morris  <rgm@gnu.org>
559         * emacs-lisp/authors.el (authors-aliases): Add another entry.
561 2012-02-20  Leo Liu  <sdl.web@gmail.com>
563         * icomplete.el (icomplete-completions): Check FROM arg before
564         passing to substring (Bug#10850).
566 2012-02-19  Chong Yidong  <cyd@gnu.org>
568         * comint.el: Require ansi-color.
569         (comint-output-filter-functions): Add ansi-color-process-output.
571         * ansi-color.el: Don't set comint-output-filter-functions; it is
572         now in the initial value defined in comint.el.
573         (ansi-color-apply-face-function): New variable.
574         (ansi-color-apply-on-region): Use it.
575         (ansi-color-apply-overlay-face): New function.
577         * shell.el (shell): No need to require ansi-color.
578         (shell-mode): Use ansi-color-apply-face-function to highlight
579         color escapes using font-lock-face property (Bug#10835).
581 2012-02-19  Chong Yidong  <cyd@gnu.org>
583         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
584         mode-line formats (Bug#10839).
586 2012-02-18  Glenn Morris  <rgm@gnu.org>
588         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
590         * mail/undigest.el (unforward-rmail-message): Doc fix.
592         * saveplace.el (save-place-ignore-files-regexp): Add :version.
594 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
596         * international/characters.el (script-list): Sync with the latest
597         Unicode Character Database.
599 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
601         * international/titdic-cnv.el: Remove duplicate coding tag.
602         * language/cham.el: Likewise.
603         * language/tai-viet.el: Likewise.
605 2012-02-18  Glenn Morris  <rgm@gnu.org>
607         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
608         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
609         (calendar-bahai-all-holidays-flag, calendar-other-dates):
610         * calendar/diary-lib.el (diary-abbreviated-year-flag):
611         * calendar/holidays.el (holiday-bahai-holidays)
612         (calendar-holidays, list-holidays):
613         Use utf-8 Bahá'í in doc-strings, menus, etc.
615 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
617         * saveplace.el (save-place-ignore-files-regexp): New variable
618         allowing for excluding files from saving their location of point.
619         The default value matches the temporary commit message editing
620         files from Git, SVN, Bazaar, and Mercurial.
621         (save-place-to-alist): Use it.
623 2012-02-17  Lawrence Mitchell <wence@gmx.li>
624             Stefan Monnier  <monnier@iro.umontreal.ca>
626         * newcomment.el (uncomment-region-default): Don't leave extra space
627         when an arg is provided (bug#8150).
629 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
631         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
633 2012-02-17  Glenn Morris  <rgm@gnu.org>
635         * net/socks.el: Require network-stream.  (Bug#10599)
637 2012-02-17  Kenichi Handa  <handa@m17n.org>
639         * international/charprop.el:
640         * international/uni-name.el:
641         * international/uni-old-name.el:
642         * international/uni-comment.el: Regenerate.
644 2012-02-16  Glenn Morris  <rgm@gnu.org>
646         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
647         Interactively in calendar buffer, give an error if not on a date.
649 2012-02-15  Glenn Morris  <rgm@gnu.org>
651         * shell.el (shell-delimiter-argument-list):
652         Revert 2011-02-17 change.  (Bug#8027)
654 2012-02-15  Chong Yidong  <cyd@gnu.org>
656         * minibuffer.el (completion-at-point-functions): Doc fix.
658         * custom.el (defcustom): Doc fix; note use of defvar.
660 2012-02-15  Glenn Morris  <rgm@gnu.org>
662         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
663         Doc fixes.
665 2012-02-14  Glenn Morris  <rgm@gnu.org>
667         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
669 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
671         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
672         way the ports list is computed.
673         (smtpmail-query-smtp-server): Prompt the user for a port number if
674         we can't connect to any of the standard ports (bug#10810).
676 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
678         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
680 2012-02-13  Glenn Morris  <rgm@gnu.org>
682         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
684 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
686         * net/gnutls.el (gnutls-trustfiles): New variable.
687         (gnutls-negotiate): Use it.
689 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
691         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
692         does its stuff if Gnus is running.
694 2012-02-13  Alan Mackenzie  <acm@muc.de>
696         Fix a loop in c-set-fl-decl-start.
698         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
699         c-backward-syntactic-ws actually moves backwards.
701 2012-02-13  Leo Liu  <sdl.web@gmail.com>
703         * net/rcirc.el (rcirc-markup-attributes): Move point to the
704         beginning so that all \C-o chars are removed.
706 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
708         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
709         tag.
711 2012-02-12  Alan Mackenzie  <acm@muc.de>
713         Fix infinite loop with long macros.
714         * cc-engine.el (c-state-safe-place): Handle macros properly.
716 2012-02-12  Chong Yidong  <cyd@gnu.org>
718         * window.el (display-buffer): Doc fix (Bug#10785).
720 2012-02-12  Glenn Morris  <rgm@gnu.org>
722         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
723         (x-disown-selection-internal, x-get-selection-internal):
724         Sync docs with the xselect.c versions.
726         * allout-widgets.el: Add missing license notice.
728 2012-02-11  Glenn Morris  <rgm@gnu.org>
730         * select.el (x-get-selection-internal, x-own-selection-internal)
731         (x-disown-selection-internal):
732         * x-dnd.el (x-get-selection-internal): Update declarations.
734         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
736         * window.el (window-sides-slots):
737         * tool-bar.el (tool-bar-position):
738         * term/xterm.el (xterm-extra-capabilities):
739         * ses.el (ses-self-reference-early-detection):
740         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
741         (verilog-auto-wire-type)
742         (verilog-auto-delete-trailing-whitespace)
743         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
744         (verilog-auto-tieoff-declaration):
745         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
746         (sql-oracle-statement-starters, sql-oracle-scan-on):
747         * progmodes/prolog.el (prolog-align-comments-flag)
748         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
749         (prolog-left-indent-regexp, prolog-paren-indent-p)
750         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
751         (prolog-types, prolog-mode-specificators)
752         (prolog-determinism-specificators, prolog-directives)
753         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
754         (prolog-electric-dot-flag)
755         (prolog-electric-dot-full-predicate-template)
756         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
757         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
758         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
759         (prolog-program-switches, prolog-prompt-regexp)
760         (prolog-debug-on-string, prolog-debug-off-string)
761         (prolog-trace-on-string, prolog-trace-off-string)
762         (prolog-zip-on-string, prolog-zip-off-string)
763         (prolog-use-standard-consult-compile-method-flag)
764         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
765         (prolog-imenu-max-lines, prolog-info-predicate-index)
766         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
767         (prolog-char-quote-workaround):
768         * progmodes/cc-vars.el (c-defun-tactic):
769         * net/tramp.el (tramp-encoding-command-interactive)
770         (tramp-local-end-of-line):
771         * net/soap-client.el (soap-client):
772         * net/netrc.el (netrc-file):
773         * net/gnutls.el (gnutls):
774         * minibuffer.el (completion-category-overrides)
775         (completion-cycle-threshold)
776         (completion-pcm-complete-word-inserts-delimiters):
777         * man.el (Man-name-local-regexp):
778         * mail/feedmail.el (feedmail-display-full-frame):
779         * international/characters.el (glyphless-char-display-control):
780         * eshell/em-ls.el (eshell-ls-date-format):
781         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
782         (lisp-lambda-list-keyword-parameter-indentation)
783         (lisp-lambda-list-keyword-parameter-alignment):
784         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
785         * dired-x.el (dired-omit-verbose):
786         * cus-theme.el (custom-theme-allow-multiple-selections):
787         * calc/calc.el (calc-highlight-selections-with-faces)
788         (calc-lu-field-reference, calc-lu-power-reference)
789         (calc-note-threshold):
790         * battery.el (battery-mode-line-limit):
791         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
792         (archive-7z-update):
793         * allout.el (allout-prefixed-keybindings)
794         (allout-unprefixed-keybindings)
795         (allout-inhibit-auto-fill-on-headline)
796         (allout-flattened-numbering-abbreviation):
797         * allout-widgets.el (allout-widgets-auto-activation)
798         (allout-widgets-icons-dark-subdir)
799         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
800         (allout-widgets-theme-dark-background)
801         (allout-widgets-theme-light-background)
802         (allout-widgets-item-image-properties-emacs)
803         (allout-widgets-item-image-properties-xemacs)
804         (allout-widgets-run-unit-tests-on-load)
805         (allout-widgets-time-decoration-activity)
806         (allout-widgets-hook-error-post-time)
807         (allout-widgets-track-decoration):
808         Add missing :version tags to new defcustoms and defgroups.
810         * progmodes/sql.el (sql-ansi-statement-starters)
811         (sql-oracle-statement-starters): Add custom type.
813         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
814         (prolog-system-version): Give it a type.
816 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
818         * term/pc-win.el (x-select-text, x-selection-owner-p)
819         (x-own-selection-internal, x-disown-selection-internal)
820         (x-get-selection-internal): Sync doc strings and argument lists
821         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
823 2012-02-11  Leo Liu  <sdl.web@gmail.com>
825         * progmodes/python.el (python-end-of-statement): Fix infinite
826         loop.  (Bug#10788)
828 2012-02-10  Glenn Morris  <rgm@gnu.org>
830         * international/mule-cmds.el (unify-8859-on-encoding-mode)
831         (unify-8859-on-decoding-mode): Properly mark as obsolete.
833 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
835         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
836         about SMTP before checking the From header.
838         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
839         into own function for reuse by emacsbug.el.
841 2012-02-10  Leo Liu  <sdl.web@gmail.com>
843         * subr.el (condition-case-unless-debug): Rename from
844         condition-case-no-debug.  All callers changed.
845         (with-demoted-errors): Fix caller.
847         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
848         * nxml/rng-valid.el (rng-do-some-validation):
849         * emacs-lisp/package.el (package-refresh-contents)
850         (package-menu-execute):
851         * desktop.el (desktop-create-buffer):
852         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
854 2012-02-10  Glenn Morris  <rgm@gnu.org>
856         * textmodes/bibtex.el:
857         Add missing :version tags for new/changed defcustoms.
859         * files.el (remote-file-name-inhibit-cache): Doc fixes.
861 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
863         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
864         (smtpmail-via-smtp): Use it, or fall back on the From address.
865         (smtpmail-send-it): Ditto.
867 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
869         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
870         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
871         (byte-compile-tmp-var): New const.
872         (byte-compile-defvar): Use it to minimize .elc size.
873         Just use `defvar' rather than simulate it (bug#10761).
875 2012-02-09  Glenn Morris  <rgm@gnu.org>
877         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
879         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
880         Add :version tags.
882         * progmodes/compile.el (compilation-first-column)
883         (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
885         * vc/log-view.el (log-view-toggle-entry-display):
886         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
888         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
889         (report-emacs-bug-can-use-xdg-email):
890         (report-emacs-bug-insert-to-mailer): Doc fixes.
891         (report-emacs-bug): Message fix.
893         * net/browse-url.el (browse-url-can-use-xdg-open)
894         (browse-url-xdg-open): Doc fixes.
896         * electric.el (electric-indent-mode, electric-pair-mode)
897         (electric-layout-rules, electric-layout-mode): Doc fixes.
898         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
900 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
902         * server.el (server-unselect-display): Don't inadvertently kill
903         the current buffer.  (Bug#10729)
905 2012-02-08  Glenn Morris  <rgm@gnu.org>
907         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
908         (sql-list-table): Doc fixes.
910         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
911         Comment out (does nothing).
913         * completion.el (dynamic-completion-mode):
914         * dirtrack.el (dirtrack-debug-mode):
915         * electric.el (electric-layout-mode):
916         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
917         * face-remap.el (text-scale-mode, buffer-face-mode):
918         * iimage.el (iimage-mode):
919         * image-mode.el (image-transform-mode):
920         * minibuffer.el (completion-in-region-mode):
921         * scroll-lock.el (scroll-lock-mode):
922         * simple.el (next-error-follow-minor-mode):
923         * tar-mode.el (tar-subfile-mode):
924         * tooltip.el (tooltip-mode):
925         * vcursor.el (vcursor-use-vcursor-map):
926         * wid-browse.el (widget-minor-mode):
927         * emulation/tpu-edt.el (tpu-edt-mode):
928         * emulation/tpu-extras.el (tpu-cursor-free-mode):
929         * international/iso-ascii.el (iso-ascii-mode):
930         * language/thai-util.el (thai-word-mode):
931         * mail/supercite.el (sc-minor-mode):
932         * net/goto-addr.el (goto-address-mode):
933         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
934         * progmodes/cwarn.el (cwarn-mode):
935         * progmodes/flymake.el (flymake-mode):
936         * progmodes/glasses.el (glasses-mode):
937         * progmodes/hideshow.el (hs-minor-mode):
938         * progmodes/pascal.el (pascal-outline-mode):
939         * textmodes/enriched.el (enriched-mode):
940         * vc/smerge-mode.el (smerge-mode):
941         Doc fixes (minor mode argument).
943 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
945         * ls-lisp.el (ls-lisp-sanitize): New function.
946         (ls-lisp-insert-directory): Use it to fix or remove any elements
947         in file-alist with missing attributes.  (Bug#4673)
949 2012-02-07  Alan Mackenzie  <acm@muc.de>
951         Fix spurious recognition of c-in-knr-argdecl.
953         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
954         putative K&R region.
956 2012-02-07  Alan Mackenzie  <acm@muc.de>
958         * progmodes/cc-engine.el (c-forward-objc-directive):
959         Prevent looping in "#pragma mark @implementation".
961 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
963         * notifications.el (notifications-on-closed-signal): Make `reason'
964         optional.  (Bug#10744)
966 2012-02-07  Glenn Morris  <rgm@gnu.org>
968         * emacs-lisp/easy-mmode.el (define-minor-mode):
969         Doc fixes for the macro and the mode it defines.
971         * image.el (imagemagick-types-inhibit): Doc fix.
973         * cus-start.el (imagemagick-render-type): Add it.
975 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
977         * progmodes/cc-mode.el
978         (c-standard-font-lock-fontify-region-function): Set the default at
979         load time, too, so that `font-lock-fontify-buffer' can be called
980         without setting up the entire mode first.  This fixes a bug in
981         `mm-inline-text' with C MIME parts.
983 2012-02-06  Chong Yidong  <cyd@gnu.org>
985         * simple.el (list-processes--refresh): Delete exited processes
986         (Bug#8094).
988         * comint.el (comint-next-prompt): next-single-char-property-change
989         and prev-single-char-property-change never return nil (Bug#8657).
991         * custom.el (defcustom): Doc fix (Bug#9711).
993 2012-02-05  Chong Yidong  <cyd@gnu.org>
995         * cus-edit.el (custom-variable-reset-backup): Quote the value
996         before storing it in the customized-value property (Bug#6712).
997         (custom-display): Add a customization type tag.
998         (custom-buffer-create-internal): Improve tooltip message.
1000         * wid-edit.el (widget-field-value-get): New optional arg to
1001         suppress trailing whitespace truncation.
1002         (character): Use it (Bug#2689).
1004 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1006         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1007         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1009 2012-02-05  Chong Yidong  <cyd@gnu.org>
1011         * cus-edit.el (custom-variable-value-create): For mismatched
1012         types, show the current value (Bug#7600).
1014         * custom.el (defcustom): Doc fix.
1016 2012-02-05  Glenn Morris  <rgm@gnu.org>
1018         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1020 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1022         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1023         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1024         (pp-last-sexp): Use `looking-at-p'.
1026 2012-02-04  Glenn Morris  <rgm@gnu.org>
1028         * files.el (revert-buffer):
1029         Doc fix (mention revert-buffer-in-progress-p).
1031         * emacs-lisp/ert-x.el (ert-simulate-command):
1032         Check deferred-action-list (which is obsolete) is bound.
1034         * subr.el (with-wrapper-hook): Doc fixes.
1036         * simple.el (filter-buffer-substring-functions)
1037         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1039 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1041         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1042         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1044 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1046         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1048 2012-02-04  Glenn Morris  <rgm@gnu.org>
1050         * image.el (image-extension-data): Add obsolete alias.
1052         * isearch.el (isearch-update): Doc fix.
1054         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1056         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1058 2012-02-03  Glenn Morris  <rgm@gnu.org>
1060         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1061         (image-animate-timeout): Doc fix.
1063         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1065 2012-02-02  Glenn Morris  <rgm@gnu.org>
1067         * server.el (server-auth-dir): Doc fix.
1068         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1070         * subr.el (run-mode-hooks): Doc fix.
1072 2012-02-02  Juri Linkov  <juri@jurta.org>
1074         * image-mode.el (image-toggle-display-image): Remove tautological
1075         `major-mode' from the `derived-mode-p' test.
1077 2012-02-02  Kenichi Handa  <handa@m17n.org>
1079         * composite.el (compose-region): Cancel previous change.
1081 2012-02-02  Kenichi Handa  <handa@m17n.org>
1083         * composite.el (compose-region, compose-string): Signal error for
1084         a null string component (Bug#6988).
1086 2012-02-01  Chong Yidong  <cyd@gnu.org>
1088         * view.el (view-buffer-other-window, view-buffer-other-frame):
1089         Handle special modes like view-buffer (Bug#10650).
1090         (view-buffer): Simplify.
1092         * frame.el (set-frame-font): Tweak meaning of third argument.
1094         * dynamic-setting.el (font-setting-change-default-font):
1095         Use set-frame-font (Bug#9982).
1097 2012-02-01  Glenn Morris  <rgm@gnu.org>
1099         * progmodes/compile.el (compilation-internal-error-properties):
1100         Respect compilation-first-column in the "*compilation*" buffer.
1102         * emacs-lisp/easy-mmode.el (define-minor-mode):
1103         Relax :variable's test for a named function.
1105 2012-01-31  Alan Mackenzie  <acm@muc.de>
1107         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1108         off by one error.
1110 2012-01-31  Chong Yidong  <cyd@gnu.org>
1112         * frame.el (set-frame-font): New arg ALL-FRAMES.
1114         * menu-bar.el (menu-set-font): Use set-frame-font.
1116         * faces.el (face-spec-reset-face): Don't apply unspecified
1117         attribute values to the default face.
1119 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1121         * progmodes/cwarn.el (cwarn): Remove dead link.
1122         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1123         Remove * from defcustom docstrings.
1124         (turn-on-cwarn-mode): Make obsolete.
1125         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1126         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1128 2012-01-31  Glenn Morris  <rgm@gnu.org>
1130         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1131         Fix :variable handling of mode a symbol not equal to modefun.
1132         Allow named functions to be used as the cdr of :variable.
1134 2012-01-30  Glenn Morris  <rgm@gnu.org>
1136         * emacs-lisp/authors.el (authors-fixed-entries):
1137         Remove reference to deleted file rnewspost.el.
1139 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1141         * window.el (window-with-parameter): Remove unused variable `windows'.
1142         (window--side-check): Remove unused variable `code'.
1143         (window--resize-siblings): Remove unused variable `first'.
1144         (adjust-window-trailing-edge): Remove unused variable `failed'.
1145         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1146         Use `let', not `let*'.
1147         (balance-windows-2): Remove unused variable `found'.
1148         (window--state-put-2): Remove unused variable `splits'.
1149         (window-state-put): Remove unused variable `selected'.
1150         (same-window-p): Use `string-match-p'.
1151         (display-buffer-assq-regexp): Remove unused variable `value'.
1152         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1153         Mark argument ALIST as ignored.
1154         (pop-to-buffer): Remove unused variable `old-window'.
1156 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1158         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1159         and .lzma compressed files.
1161 2012-01-29  Chong Yidong  <cyd@gnu.org>
1163         * frame.el (window-system-default-frame-alist): Doc fix.
1165         * dynamic-setting.el (font-setting-change-default-font): Don't
1166         change the default face if SET-FONT argument is non-nil (Bug#9982).
1168 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1170         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1172 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1174         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1175         breakpoints in files outside current directory (Bug#6098).
1177 2012-01-29  Chong Yidong  <cyd@gnu.org>
1179         * progmodes/python.el: Require ansi-color at top-level.
1181         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1182         Define and use in Emacs Lisp mode (Bug#9360).
1183         (lisp-mode-abbrev-table): Add doc.
1184         (lisp-mode-variables): Don't set local-abbrev-table.
1185         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1187 2012-01-28  Roland Winkler  <winkler@gnu.org>
1189         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1191 2012-01-28  Roland Winkler  <winkler@gnu.org>
1193         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1194         (bibtex-set-dialect): Use it.  Either set global values of
1195         dialect-dependent variables or bind these variables buffer-locally
1196         (Bug#10254).
1197         (bibtex-mode): Call bibtex-set-dialect via
1198         hack-local-variables-hook.
1199         (bibtex-dialect): Update docstring.
1200         Add safe-local-variable predicate.
1201         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1202         bibtex-set-dialect.
1203         (bibtex-mode-map): Define menu for each dialect.
1204         (bibtex-entry): Fix docstring.
1206 2012-01-28  Chong Yidong  <cyd@gnu.org>
1208         * eshell/esh-arg.el (eshell-quote-argument): New function.
1210         * eshell/esh-ext.el (eshell-invoke-batch-file):
1211         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1212         first arg to eshell-parse-command (Bug#10523).
1214 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1216         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1217         `default-directory' is non-nil.
1219 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1221         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1222         line that displays system-configuration-options.  (Bug#9924)
1224 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1226         * descr-text.el (describe-char): Show information about POS, in
1227         addition to information about the character at POS.  Improve and
1228         update the doc string.  Change "code point" to "code point in
1229         charset", to avoid confusion with the character's Unicode code
1230         point shown above that.  (Bug#10129)
1232 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1234         * descr-text.el (describe-char): Show the raw character, not only
1235         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1236         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1237         for the reasons.
1239 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1241         * emacs-lisp/package.el (package-install):
1242         Run package-refresh-contents if there is no archive yet (Bug#9798).
1244 2012-01-28  Chong Yidong  <cyd@gnu.org>
1246         * emacs-lisp/package.el (package-maybe-load-descriptor):
1247         New function, split from package-maybe-load-descriptor.
1248         (package-maybe-load-descriptor): Use it.
1249         (package-download-transaction): Fully load required packages
1250         inside the loop, so that `require' calls work (Bug#10593).
1251         (package-install): No need to call package-initialize now.
1253 2012-01-28  Chong Yidong  <cyd@gnu.org>
1255         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1257         * tooltip.el (tooltip-mode): Doc fix.
1258         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1260         * frame.el (set-cursor-color): Doc fix (Bug#352).
1262         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1263         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1265         * cus-edit.el (custom-buffer-create-internal): Fix search button
1266         action (Bug#10542).
1267         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1269 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1271         * dired.el (dired-mark-files-regexp):
1272         Include any subdirectory components.  (Bug#10445)
1274 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1276         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1277         Handle [host]:port syntax.  (Bug#10533)
1279 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1281         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1283 2012-01-26  Glenn Morris  <rgm@gnu.org>
1285         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1286         * term.el (term-raw-escape-map): Use Control-X-prefix.
1287         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1289 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1291         * window.el (window-state-get, window--state-get-1): Don't deal
1292         with fixed-sizeness of windows.  Simplify code.
1294 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1296         * window.el (window--state-get-1, window--state-put-2):
1297         Don't save and restore the mark.
1299 2012-01-25  Chong Yidong  <cyd@gnu.org>
1301         * custom.el (custom-variable-p): Doc fix.
1303 2012-01-25  Glenn Morris  <rgm@gnu.org>
1305         * dired.el (dired-goto-file): Handle some of the more common
1306         characters that `ls -b' escapes.  (Bug#10596)
1308         * progmodes/compile.el (compilation-next-error-function):
1309         Respect compilation-first-column in the "*compilation*" buffer.
1310         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1312         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1314 2012-01-24  Glenn Morris  <rgm@gnu.org>
1316         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1318 2012-01-24  Julien Danjou  <julien@danjou.info>
1320         * color.el (color-rgb-to-hsl): Fix value computing.
1321         (color-hue-to-rgb): New function.
1322         (color-hsl-to-rgb): New function.
1323         (color-clamp, color-saturate-hsl, color-saturate-name)
1324         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1325         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1327 2012-01-24  Glenn Morris  <rgm@gnu.org>
1329         * vc/vc-rcs.el (vc-rcs-create-tag):
1330         * vc/vc-sccs.el (vc-sccs-create-tag):
1331         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1333 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1335         * eshell/esh-util.el (eshell-read-hosts-file):
1336         Skip comment lines.  (Bug#10549)
1338         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1340 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1342         * subr.el (display-delayed-warnings): Doc fix.
1343         (collapse-delayed-warnings): New function to collapse identical
1344         adjacent warnings.
1345         (delayed-warnings-hook): Add it.
1347 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1349         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1351         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1352         properties, when "login-as" is set.
1354         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1355         (tramp-default-user-alist): Don't add "pscp".
1356         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1357         property "login-as", if set.  (Bug#10530)
1359 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1361         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1362         "plink1" and "psftp".  (Bug#10530)
1364 2012-01-21  Kenichi Handa  <handa@m17n.org>
1366         * international/mule-cmds.el (prefer-coding-system): Show a
1367         warning message if the default value of file-name-coding-system
1368         was not changed.
1370 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1372         * windmove.el (windmove-reference-loc):
1373         Fix windmove-reference-loc miscalculation.
1375 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1377         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1378         default unit.
1380 2012-01-21  Glenn Morris  <rgm@gnu.org>
1382         * international/mule.el (auto-coding-alist): Add .tbz.
1384         * files.el (local-enable-local-variables): Doc fix.
1385         (inhibit-local-variables-regexps): Rename from
1386         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1387         Doc fix.  Add some extensions from auto-coding-alist.
1388         (inhibit-local-variables-suffixes):
1389         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1390         (inhibit-local-variables-p):
1391         New function, extracted from set-auto-mode-1.
1392         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1393         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1394         (hack-local-variables): Doc fix.  Make the mode-only case
1395         respect enable-local-variables and friends.
1396         Respect inhibit-local-variables-regexps for file-locals, but
1397         not for directory-locals.
1398         (set-visited-file-name):
1399         Take account of inhibit-local-variables-regexps.
1400         Whether it applies may change as the file name is changed.
1401         * jka-cmpr-hook.el (jka-compr-install):
1402         * jka-compr.el (jka-compr-uninstall):
1403         Update for inhibit-first-line-modes-suffixes name change.
1405 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1407         * help-macro.el (make-help-screen): Temporarily restore original
1408         binding for minor-mode-map-alist (Bug#10454).
1410 2012-01-19  Julien Danjou  <julien@danjou.info>
1412         * color.el (color-name-to-rgb): Use the white color to find the max
1413         color component value and return correctly computed values.
1414         (color-name-to-rgb): Add missing float conversion for max value.
1416 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1418         * window.el (window--state-get-1, window-state-get): Do not use
1419         special state value for window-persistent-parameters.
1420         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1421         (window--state-put-2): Reset all window parameters to nil before
1422         assigning values of persistent parameters.
1424 2012-01-18  Alan Mackenzie  <acm@muc.de>
1426         Eliminate sluggishness and hangs in fontification of "semicolon
1427         deserts".
1429         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1430         Change value 10000 -> 3000.
1431         (c-state-safe-place): Reformulate so it doesn't stack up an
1432         infinite number of wrong entries in c-state-nonlit-pos-cache.
1433         (c-determine-limit-get-base, c-determine-limit): New functions to
1434         determine backward search limits disregarding literals.
1435         (c-find-decl-spots): Amend commenting.
1436         (c-cheap-inside-bracelist-p): New function which detects "={".
1438         * progmodes/cc-fonts.el
1439         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1440         backward search.
1441         (c-font-lock-declarations): Fix an occurrence of point being
1442         undefined.  Check additionally for point being in a bracelist or
1443         near a macro invocation without a semicolon so as to avoid a
1444         fruitless time consuming search for a declarator.  Give a more
1445         precise search limit for declarators using the new
1446         c-determine-limit.
1448 2012-01-18  Glenn Morris  <rgm@gnu.org>
1450         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1451         (set-auto-mode): Doc fixes.
1453 2012-01-17  Glenn Morris  <rgm@gnu.org>
1455         * isearch.el (search-nonincremental-instead): Fix doc typo.
1457         * dired.el (dired-insert-directory): Handle newlines in directory name.
1458         (dired-build-subdir-alist): Unescape newlines in directory name.
1460 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1462         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1463         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1464         (tramp-action-terminal): Use it.  (Bug#10530)
1466 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1468         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1470 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1472         * window.el (window-state-ignored-parameters): Remove variable.
1473         (window--state-get-1): Rename argument MARKERS to IGNORE.
1474         Handle persistent window parameters.  Make copy of clone-of
1475         parameter only if requested.  (Bug#10348)
1476         (window--state-put-2): Install a window parameter only if it has
1477         a non-nil value or an existing parameter shall be overwritten.
1479 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1481         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1483 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1485         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1486         don't pass the (nil) value of `upnode' to string-match.
1488 2012-01-14  Chong Yidong  <cyd@gnu.org>
1490         * startup.el (command-line): Fix X resource class for cursorColor.
1491         Fix values recognized by the cursorBlink resource.
1493 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
1495         * epg.el (epg--make-temp-file): Avoid permission race condition
1496         when running on old Emacs versions (bug#10403).
1498 2012-01-14  Glenn Morris  <rgm@gnu.org>
1500         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1502 2012-01-13  Alan Mackenzie  <acm@muc.de>
1504         Fix filling for when filladapt mode is enabled.
1506         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1507         c-mask-paragraph, pass in `fill-paragraph' rather than
1508         `fill-region-as-paragraph'.  (This is a reversion of a previous
1509         change.)
1510         * progmodes/cc-mode.el (c-basic-common-init):
1511         Make fill-paragraph-handle-comment buffer local and set it to nil.
1513 2012-01-13  Glenn Morris  <rgm@gnu.org>
1515         * dired.el (dired-switches-escape-p): New function.
1516         (dired-insert-directory): Use dired-switches-escape-p.
1517         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
1519         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
1521 2012-01-12  Glenn Morris  <rgm@gnu.org>
1523         * mail/sendmail.el (mail-mode): Update paragraph-separate for
1524         changes in adaptive-fill-regexp.  (Bug#10276)
1526 2012-01-11  Alan Mackenzie  <acm@muc.de>
1528         Fix Emacs bug #10463 - put `widen's around the critical spots.
1530         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1531         widen around each invocation of c-state-pp-to-literal.  Remove an
1532         unused let variable.
1534 2012-01-11  Glenn Morris  <rgm@gnu.org>
1536         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
1537         Doc fix.
1539 2012-01-10  Chong Yidong  <cyd@gnu.org>
1541         * net/network-stream.el (network-stream-open-starttls):
1542         Avoid emitting a confusing error message when the server gives a bad
1543         response to the capability command.
1545 2012-01-10  Glenn Morris  <rgm@gnu.org>
1547         * mail/unrmail.el (unrmail): Tweak previous change.
1549 2012-01-09  Chong Yidong  <cyd@gnu.org>
1551         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1553 2012-01-08  Alan Mackenzie  <acm@muc.de>
1555         Optimise font locking in long enum definitions.
1557         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1558         arm to a cond form to handle enums.
1559         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1560         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1562 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1564         * files.el (move-file-to-trash): Preserve default file modes on error.
1565         (Bug#10401)
1567 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1569         * faces.el (set-face-attribute): Clarify the meaning of the nil
1570         frame (bug#10294).
1572         * subr.el (with-selected-frame): Mention that the selected frame
1573         is restored (bug#9980).
1575         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1576         (bug#9759).
1578         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1579         (password-read): Don't autoload unused function.
1581 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
1583         * progmodes/which-func.el (which-func-mode): Turn into a
1584         non-interactive function and mark as obsolete (bug#10428).
1586 2012-01-06  Chong Yidong  <cyd@gnu.org>
1588         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1589         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1590         functions, along with 1 and -1.
1592 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
1594         * time.el (display-time-load-average)
1595         (display-time-default-load-average): Doc fixes.  See the thread
1596         starting at
1597         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1598         for the details.
1600 2012-01-06  Glenn Morris  <rgm@gnu.org>
1602         * mail/unrmail.el (unrmail): Give an explicit error if the input file
1603         has no messages.  (Bug#10377)
1605         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1606         than Info-edit.  (Bug#10385)
1608         * time.el (display-time-load-average, display-time-next-load-average):
1609         Doc fixes.
1611         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1612         local setting of buffer-read-only to the input buffer.  (Bug#10419)
1614         * calendar/calendar.el (calendar-mode):
1615         Locally set scroll-margin to 0.  (Bug#10379)
1617 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
1619         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
1621 2012-01-05  Glenn Morris  <rgm@gnu.org>
1623         * eshell/em-unix.el (diff-no-select): Autoload it.
1624         (eshell/diff): Use diff-no-select.  (Bug#10420)
1626 2012-01-05  Chong Yidong  <cyd@gnu.org>
1628         * shell.el (shell-dynamic-complete-functions): Revert last change.
1629         (shell-command-completion-function): New function.
1630         (shell-completion-vars): Use it to implement
1631         shell-completion-execonly (Bug#10417).
1633         * custom.el (enable-theme): Don't set custom-safe-themes.
1635         * cus-theme.el (custom-theme-merge-theme):
1636         Ignore custom-enabled-themes and custom-safe-themes.
1638 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
1640         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1641         first prompt in `sql-interacive-mode'.
1642         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1643         keywords.
1644         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1645         (sql-product-interactive): Bug fix: Set `sql-buffer' in
1646         context of original buffer.  Invoke `sql-login-hook'.
1648 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
1650         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1651         letters in cite-prefix.
1653 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1655         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1657 2012-01-03  Chong Yidong  <cyd@gnu.org>
1659         * shell.el (shell-dynamic-complete-functions):
1660         Put pcomplete-completions-at-point, so as to try
1661         comint-filename-completion first (Bug#10417).
1663 2012-01-02  Richard Stallman  <rms@gnu.org>
1665         * battery.el (battery-status-function):
1666         Detect when to use battery-yeeloong-sysfs.
1667         (battery-echo-area-format): Add string for Yeeloong.
1668         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1669         (battery-yeeloong-sysfs): New function.
1671 2012-01-02  Chong Yidong  <cyd@gnu.org>
1673         * dirtrack.el (dirtrack-list): Eliminate unused third element.
1674         (dirtrack): Merge code for handling relative filenames in prompt
1675         from shell-dir-cookie-watcher.
1676         (dirtrack-debug-message): New arg to avoid excess format calls.
1678         * shell.el (shell-dir-cookie-re): Variable deleted.
1679         (shell-dir-cookie-watcher): Function deleted.
1680         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1681         with dirtrack-mode.
1683 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
1685         * term/w32-win.el (dynamic-library-alist) <gnutls>:
1686         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1687         libgnutls-26.dll.
1689 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
1691         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1693 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
1695         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1696         headers of non-MIME messages, when rmail-enable-mime is non-nil.
1698 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
1700         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1701         also for alternative shells.
1702         (tramp-open-connection-setup-interactive-shell): Check, whether
1703         the shell is a busybox.
1704         (tramp-send-command): Don't suppress multiple prompts for
1705         busyboxes, it hurts.
1707 2011-12-28  Chong Yidong  <cyd@gnu.org>
1709         * progmodes/gdb-mi.el (gdb-get-source-file-list)
1710         (gdb-get-source-file): Move mode line update to
1711         gdb-get-source-file (Bug#10087).
1713 2011-12-25  Chong Yidong  <cyd@gnu.org>
1715         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1716         gud-gdb-marker-filter without taking it as an argument.
1717         (gud-gdb-run-command-fetch-lines): Caller changed.
1718         (gud-gdb-completion-function): New variable.
1719         (gud-gdb-completion-at-point): Use it.
1720         (gud-gdb-completions-1): Split from gud-gdb-completions.
1722         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1723         function as separate arguments.
1724         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1725         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1726         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1727         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1728         (gdb-stopped, def-gdb-auto-update-trigger)
1729         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1730         (gdb-get-changed-registers, gdb-get-main-selected-frame):
1731         Callers changed.
1732         (gud-gdbmi-completions): New function.
1733         (gdb): Use it for generating the completion table.
1735 2011-12-24  Alan Mackenzie  <acm@muc.de>
1737         Introduce a mechanism to widen the region used in context font
1738         locking.  Use this to protect declarations from losing their contexts.
1740         * progmodes/cc-langs.el (c-before-font-lock-functions):
1741         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1742         (c-before-context-fontification-functions): New defvar, a list of
1743         functions to be run just before context (etc.) font locking.
1745         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
1746         New, functionality extracted from
1747         c-neutralize-syntax-in-and-mark-CPP.
1748         (c-in-after-change-fontification): New variable.
1749         (c-after-change): Set c-in-after-change-fontification.
1750         (c-set-fl-decl-start): Rejig its interface, so it can be called
1751         from both after-change and context fontifying.
1752         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1753         New functions.
1754         (c-standard-font-lock-fontify-region-function): New variable.
1755         (c-font-lock-fontify-region): New function.
1757 2011-12-24  Juri Linkov  <juri@jurta.org>
1759         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1760         (Bug#10348)
1762 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
1764         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1765         existence of source file.  (Bug#10325)
1767 2011-12-23  Alan Mackenzie  <acm@muc.de>
1769         Fix unstable fontification inside templates.
1771         * progmodes/cc-langs.el (c-before-font-lock-functions):
1772         Newly created from the singular version.  The (c c++ objc) entry now
1773         additionally has c-set-fl-decl-start.  The other languages (apart
1774         from AWK) have that as a single entry.
1776         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1777         The functionality for "local" declarations has been extracted to
1778         c-set-fl-decl-start.
1780         * progmodes/cc-mode.el (c-common-init, c-after-change):
1781         Changes due to pluralisation of c-before-font-lock-functions.
1782         (c-set-fl-decl-start): New function, extracted from
1783         c-font-lock-enclosing-decls and enhanced.
1785 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
1787         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1789 2011-12-22  Juri Linkov  <juri@jurta.org>
1791         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
1793 2011-12-22  Chong Yidong  <cyd@gnu.org>
1795         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1797 2011-12-21  Drew Adams  <drew.adams@oracle.com>
1799         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
1801 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1803         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1805 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
1807         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
1808         highlighting and support.  Fix up comments for capitalization.
1809         (cfengine-mode-debug): New var.
1810         (cfengine3-mode): Change the modeline indicator to "CFE3".
1811         (cfengine3-font-lock-keywords): Improve defun highlighting.
1812         (cfengine2-actions): Rename from `cfengine-actions'.
1813         (cfengine2-font-lock-keywords): Rename from
1814         `cfengine-font-lock-keywords'.
1815         (cfengine2-imenu-expression): Rename from
1816         `cfengine-imenu-expression'.
1817         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1818         (cfengine2-beginning-of-defun): Rename from
1819         `cfengine-beginning-of-defun'.
1820         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1821         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1822         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
1823         modeline indicator to "CFE2".
1824         (cfengine-mode): Defalias to `cfengine-auto-mode'.
1825         (cfengine-mode-abbrevs): Mark obsolete.
1827 2011-12-21  Chong Yidong  <cyd@gnu.org>
1829         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1830         filename argument.
1832 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
1834         * window.el (window-normalize-buffer-to-display): Remove.
1835         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1837 2011-12-19  Chong Yidong  <cyd@gnu.org>
1839         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1840         Don't signal an error in a predicate function; return non-nil.
1841         (vc-dir-mark-file): Move the error here.
1842         (vc-dir-mark-unmark): If acting on the region, keep going if one
1843         of the entries cannot be marked/unmarked.
1844         (vc-dir-mark-all-files): If current entry is a directory, mark
1845         only child files, as documented.
1847 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1849         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1850         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1851         addition.
1853 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
1855         * term/ns-win.el (ns-get-selection-internal)
1856         (ns-store-selection-internal): Declare.
1857         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1858         Declare as obsolete.
1859         (ns-get-pasteboard, ns-paste-secondary):
1860         Use ns-get-selection-internal.
1861         (ns-set-pasteboard,  ns-copy-including-secondary):
1862         Use ns-store-selection-internal.
1864 2011-12-17  Chong Yidong  <cyd@gnu.org>
1866         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
1867         (vc-deduce-fileset): Doc fix.
1869 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
1871         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1873 2011-12-13  Sam Steingold  <sds@gnu.org>
1875         * man.el (Man-getpage-in-background): When running under a
1876         window-system, ignore $MANWIDTH and $COLUMNS.
1878 2011-12-15  Kenichi Handa  <handa@m17n.org>
1880         * language/ethio-util.el: Change coding tag to utf-8-emacs.
1881         (setup-ethiopic-environment-internal): Comment out key-binding for
1882         ethio-toggle-punctuation.
1884 2011-12-13  Alan Mackenzie  <acm@muc.de>
1886         Add the switch statement to AWK Mode.
1888         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
1889         "default" to the keywords regexp.
1891         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
1892         expression as the rest.
1893         (c-nonlabel-token-key): Allow string literals for AWK.
1894         Refactor for the other modes.
1896         Large brace-block initialisation makes CC Mode slow: Fix.
1897         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
1898         routines.  Limit backward searching in c-font-lock-enclosing.decl.
1900         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1901         pp-state and literal type in addition to the limits.
1902         (c-state-safe-place): New defun, extracted from c-state-literal-at.
1903         (c-state-literal-at): Use the above new defun.
1904         (c-slow-in-literal, c-fast-in-literal): Remove.
1905         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
1907         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1908         being in a literal.  Add a limit for backward searching.
1910         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1911         c-slow-in-literal.
1913 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1915         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1917 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
1919         * window.el (delete-other-windows): Use correct frame in call to
1920         window-with-parameter.
1922 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
1924         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1925         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1926         (makefile-gmake-statements, makefile-makepp-statements):
1927         Use it and add new makepp keywords.
1928         (makefile-makepp-font-lock-keywords): Add new patterns.
1929         (makefile-match-function-end): Match new [...] and [[...]].
1931 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
1933         * ses.el (ses-call-printer-return, ses-cell-property-get)
1934         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1935         (ses-create-cell-variable, ses-reset-header-string)
1936         (ses-cell-set-formula, ses-repair-cell-reference-all)
1937         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1938         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1939         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1940         (ses-aset-with-undo, ses-load, ses-truncate-cell)
1941         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1942         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1943         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1944         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1945         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1946         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1947         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1948         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1950 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1952         * ses.el: The overall change is to add cell renaming, that is
1953         setting fancy names for cell symbols other than name matching
1954         "\\`[A-Z]+[0-9]+\\'" regexp .
1955         (ses-create-cell-variable): New defun.
1956         (ses-relocate-formula): Relocate formulas only for cells the
1957         symbols of which are not renamed, i.e. symbols whose names do not
1958         match regexp "\\`[A-Z]+[0-9]+\\'".
1959         (ses-relocate-all): Relocate values only for cells the symbols of
1960         which are not renamed.
1961         (ses-load): Create cells variables as the (ses-cell ...) are read,
1962         in order to check row col consistency with cell symbol name only
1963         for cells that are not renamed.
1964         (ses-replace-name-in-formula): New defun.
1965         (ses-rename-cell): New defun.
1967 2011-12-11  Chong Yidong  <cyd@gnu.org>
1969         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1970         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1972 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
1974         * window.el (other-window): Fix docstring.
1976 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
1978         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1979         `from' or `to' address before taking its substring.
1980         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
1981         encoded name is chopped in the middle of the encoded string, and
1982         thus displayed encoded.
1984 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
1986         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1988 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
1990         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
1991         to use texinfo-update-node and commands that call it if the
1992         Texinfo file uses @node lines without next/prev/up pointers.
1993         Correct outdated description about texinfo-master-menu.
1994         (texinfo-all-menus-update, texinfo-master-menu)
1995         (texinfo-update-node, texinfo-every-node-update)
1996         (texinfo-multiple-files-update): Doc fix.  Warn against updating
1997         all the @node lines.
1998         (texinfo-master-menu): Only call texinfo-update-node if the prefix
1999         argument is numeric.  Explain better in the doc string what the
2000         function really does.
2001         (texinfo-insert-master-menu-list): Improve the error message
2002         displayed if there's no menu in the Top node.
2003         (Bug#2975)  See also this thread:
2004         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2006 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2008         * speedbar.el (speedbar-supported-extension-expressions):
2009         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2011 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2013         * printing.el (pr-mode-alist):
2014         * simple.el (filter-buffer-substring-functions)
2015         (completion-list-insert-choice-function):
2016         * window.el (window-with-parameter, window-atom-root)
2017         (window-sides-slots, window-size-fixed, window-min-delta)
2018         (window-max-delta, window--resize-mini-window)
2019         (window--resize-child-windows-normal, window-tree)
2020         (delete-other-windows, quit-window, split-window)
2021         (display-buffer-record-window, special-display-buffer-names)
2022         (special-display-regexps, special-display-popup-frame)
2023         (same-window-p, split-window-sensibly)
2024         (display-buffer-overriding-action, display-buffer-alist)
2025         (display-buffer-base-action, display-buffer, switch-to-buffer)
2026         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2027         (fit-window-to-buffer, recenter-positions)
2028         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2029         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2030         and remove unneeded backslashes in docstrings.
2032 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2034         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2036         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2037         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2038         end in ".mk".
2039         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2040         when reading the makefile (bug#10116).
2042 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2044         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2045         (bug#10116).
2047 2011-12-06  Glenn Morris  <rgm@gnu.org>
2049         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2051 2011-12-06  Chong Yidong  <cyd@gnu.org>
2053         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2055 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2057         * textmodes/table.el (table-shorten-cell): Fix typo.
2059 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2061         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2063 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2065         * descr-text.el (describe-char): Fix display of strong
2066         right-to-left characters and directional embeddings and overrides.
2068         * simple.el (what-cursor-position): Fix display of codepoints of
2069         strong right-to-left characters.
2071 2011-12-05  Chong Yidong  <cyd@gnu.org>
2073         * faces.el (read-color): Doc fix.
2075 2011-12-05  Glenn Morris  <rgm@gnu.org>
2077         * align.el (align--set-marker): Add doc-string.
2078         Don't try to move something that is not a marker.  (Bug#10216)
2080 2011-12-04  Glenn Morris  <rgm@gnu.org>
2082         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2083         overly zealous deletion of trailing whitespace.
2085 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2087         * server.el (server-delete-client): On Windows, do not try to delete
2088         the only terminal.
2089         (server-process-filter): On Windows, treat requests for a tty frame as
2090         if they were for a GUI frame if the running server is in GUI mode.
2092 2011-12-03  Glenn Morris  <rgm@gnu.org>
2094         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2096 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2098         * electric.el: Streamline electric-indent's hook.
2099         (electric-indent-chars): Revert to simple list.
2100         (electric-indent-functions): New var.
2101         (electric-indent-post-self-insert-function): Use it.
2103         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2104         there's no inferior buffer (bug#10196).
2105         (prolog-consult-compile): Don't use toggle-read-only.
2107 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2109         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2110         interrupt.  (Bug#10187)
2112 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2114         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2115         (bug#9160).
2117         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2118         (bug#10191).
2120 2011-12-02  Juri Linkov  <juri@jurta.org>
2122         * info.el (Info-search): Display "end of manual" when Isearch
2123         reaches the end of single-file Info manual.  (Bug#9918)
2125 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2127         * isearch.el (isearch-message-prefix): Run the input method part
2128         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2130 2011-12-02  Juri Linkov  <juri@jurta.org>
2132         * isearch.el (isearch-occur): Use `word-search-regexp' for
2133         `isearch-word'.
2134         (isearch-search-and-update): Add condition for `isearch-word' and
2135         call `word-search-regexp'.  (Bug#10145)
2137 2011-12-01  Glenn Morris  <rgm@gnu.org>
2139         * eshell/em-hist.el (eshell-hist-initialize):
2140         Handle eshell-history-size nil and HISTSIZE set or unset.
2141         (eshell-history-file-name, eshell-history-size): Fix custom type.
2143 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2145         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2147 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2149         * progmodes/verilog-mode.el (verilog-pretty-expr):
2150         Rework verilog-pretty-expr to handle new assignment operators in system
2151         verilog, such as += *= and the like.
2152         (verilog-assignment-operator-re): Regular expression to find the
2153         assigment operator in a verilog assignment.
2154         (verilog-assignment-operation-re): Regular expression to find an
2155         assignment statement for pretty-expr.
2156         (verilog-in-attribute-p): Query returns true if point is in an
2157         attribute context; used to skip these for expression line up from
2158         pretty-expr.
2159         (verilog-in-parameter-p): Query returns true if point is in an
2160         parameter definition context; used to skip these for expression
2161         line up from pretty-expr.
2162         (verilog-in-parenthesis-p): Query returns true if point is in a
2163         parenthetical expression, specifically ( ) but not [ ] or { };
2164         used by pretty-expr.
2165         (verilog-just-one-space): If there is no space, don't add one.
2166         (verilog-get-lineup-indent-2): Specifically skip just attribute
2167         contexts for expression lineup, rather than skipping all
2168         parenthetical expressions.
2169         (verilog-calculate-indent): Fix comment, and fix indent.
2170         (verilog-do-indent): Indent declarations in lists (suggested by
2171         Joachim Lechner).
2172         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2173         skeleton items.
2174         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2175         by Alain Mellan).
2177 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2179         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2180         parameters with embedded comments.  Reported by Ray Stevens.
2181         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2182         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2183         Reported by Tim Holt.
2184         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2185         instantiated by upper module causing wrong expansion until AUTOed a
2186         second time.  Reported by K C Buckenmaier.
2187         (verilog-diff-auto): Fix showing .* as a difference when
2188         `verilog-auto-star-save' off.  Reported by Dan Dever.
2189         (verilog-auto-reset, verilog-read-always-signals)
2190         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2191         temporary signals in reset list if
2192         verilog-auto-reset-blocking-in-non is nil, and match assignment
2193         style to each signal's assignment type, bug381.
2194         Reported by Thomas Esposito.
2195         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2196         (verilog-uvm-statement-re): Support UVM indentation and
2197         highlighting, with old OVM keywords only.
2198         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2199         Support AUTOTIEOFF creating non-wire data types.
2200         Suggested by Jonathan Greenlaw.
2201         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2202         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2203         (verilog-inject-sense, verilog-read-inst-pins)
2204         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2205         Fix mismatching parenthesis inside commented out code when deleting
2206         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2207         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2208         non-numeric vector width.  Reported by Alex Reed.
2209         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2210         detecting signals with parameter widths.  Reported by Alex Reed.
2211         (verilog-auto-delete-trailing-whitespace):
2212         With `verilog-auto-delete-trailing-whitespace' remove trailing
2213         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2214         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2215         Fix verilog-scan-cache corruption when running user AUTO expansion
2216         hooks that call indentation routines.
2217         (verilog-simplify-range-expression): Fix typo ignoring lower case
2218         identifiers.
2219         (verilog-delete-auto): Fix delete-autos to also remove user created
2220         automatics, as long as they start with AUTO.
2221         (verilog-batch-diff-auto, verilog-diff-auto)
2222         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2223         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2224         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2225         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2226         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2227         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2228         is disabled and its cache will get corrupt, causing AUTOS not to
2229         expand.  Instead use only -quick functions.
2230         (verilog-scan-region): Fix scanning over escaped quotes.
2231         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2232         (verilog-re-search-backward-quick)
2233         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2234         related functions now ignore strings, to fix misparsing of strings
2235         with magic comments embedded in them.
2236         (verilog-read-auto-template):
2237         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2238         Reported by Brad Dobbie.
2239         (verilog-read-auto-template):
2240         Fix 'verilog-auto-inst-template-numbers' with comments.
2241         Reported by Brad Dobbie.
2242         (verilog-auto-inst, verilog-auto-inst-param)
2243         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2244         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2245         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2246         debugging templates without merge conflicts, bug357.
2247         Reported by Brad Dobbie.
2248         (verilog-read-auto-template):
2249         Fix verilog-auto-inst-template-numbers with multiple templates.
2250         Reported by Brad Dobbie.
2251         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2252         abbrevs so user won't be asked to save.
2253         (verilog-read-auto-lisp-present): Fix to start at beginning of
2254         buffer in case called outside of verilog-auto.
2255         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2256         to "X-2".  Reported by Matthew Myers.
2257         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2258         all inputs from module templates.  Reported by Leith Johnson.
2259         (verilog-module-inside-filename-p): Fix locating programs as with
2260         modules.
2261         (verilog-auto-inst-port): Fix vl-width expressions when using
2262         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2263         (verilog-decls-get-regs, verilog-decls-get-signals,
2264         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2265         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2266         verilog-read-decls): Combine reg and wire structures into one var
2267         structure to represent SystemVerilog concepts.
2268         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2269         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2270         (verilog-auto-wire-type, verilog-insert-definition):
2271         Add verilog-auto-wire-type and AUTOLOGIC to support using
2272         SystemVerilog "logic" keyword instead of "wire"/"reg".
2273         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2274         to declares outputs that also have assignments (presumably in an
2275         ifdef or generate if so there's not a driver conflict).
2276         Reported by Matthew Myers.
2277         (verilog-auto-declare-nettype, verilog-insert-definition):
2278         Add verilog-auto-declare-nettype to fix declarations using
2279         `default_nettype none.  Reported by Julian Gorfajn.
2280         (verilog-read-always-signals-recurse, verilog-read-decls)
2281         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2282         malformed end statement, bug325.  Reported by Joshua Wise and
2283         Andrew Drake.
2284         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2285         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2286         when expanding .* in interfaces, bug320.
2287         Reported by Pierre-David Pfister.
2288         (verilog-read-module-name): Fix import statements between module
2289         name and open parenthesis, bug317.
2290         Reported by Pierre-David Pfister.
2291         (verilog-simplify-range-expression): Fix simplification of
2292         multiplications inside AUTOWIRE connections, bug303.
2293         (verilog-auto-inst-port): Support parameter expansion in
2294         multidimensional arrays.
2295         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2296         after "assert property".  Reported by Julian Gorfajn.
2297         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2298         with multiplication, bug303.
2299         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2300         Reported by Jan Frode Lonnum.
2302 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2304         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2305         (hfy-shell-file-name, hfy-shell):
2306         * international/fontset.el (x-decompose-font-name): Fix typos.
2308 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2310         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2311         (gdb-version): Remove defvar.
2312         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2313         (gdb-gud-context-command, gdb-non-stop-handler)
2314         (gdb-current-context-command, gdb-stopped): Use it.
2315         (gdb-init-1): Enable pretty printing here.
2316         (gdb-non-stop-handler): Don't enable pretty-printing here.
2317         Check to see if the target supports non-stop mode; if not, turn off
2318         non-stop mode.  Use the following.
2319         (gdb-check-target-async): New defun.
2320         (gud-watch, gdb-stopped): Fix whitespace.
2321         (gdb-get-source-file): Don't try to display the source file if
2322         `gdb-main-file' is nil.
2324 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2326         * align.el: Try to generate fewer markers (bug#10047).
2327         (align--set-marker): New macro.
2328         (align-region): Use it.
2330 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2334 2011-11-29  Chong Yidong  <cyd@gnu.org>
2336         * indent.el (indent-for-tab-command, indent-according-to-mode):
2337         Doc fix.
2338         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2340 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2342         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2343         aware of remote file names.  (Bug#10124)
2345 2011-11-29  Chong Yidong  <cyd@gnu.org>
2347         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2349 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         * files.el (find-file): Don't use force-same-window (bug#10144).
2352         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2353         use pop-to-buffer if the selected window can't be used.
2354         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2356 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2358         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2359         special-mode-map.
2361 2011-11-28  Chong Yidong  <cyd@gnu.org>
2363         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2365 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2367         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2368           gdb-get-source-file-list on gdb-create-source-file-list.
2370 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2372         * whitespace.el (whitespace-newline): Use a different foreground
2373         color for 16-color light-background displays.
2375 2011-11-24  Chong Yidong  <cyd@gnu.org>
2377         * window.el (display-buffer--special-action): Doc fix.
2379 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2381         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2382         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2383         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2384         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2385         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2386         (avl-tree-stack-first):
2387         * emacs-lisp/cconv.el (cconv--analyse-use):
2388         * net/gnutls.el (gnutls-negotiate): Fix typos.
2390 2011-11-24  Glenn Morris  <rgm@gnu.org>
2392         * lpr.el (lpr-windows-system, lpr-lp-system):
2393         * mail/binhex.el (binhex-begin-line):
2394         * progmodes/grep.el (grep-history, grep-find-history):
2395         * textmodes/flyspell.el:
2396         * vc/pcvs-defs.el (cvs-global-menu):
2397         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2398         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2399         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2401         * net/tls.el: Fix case of "GnuTLS".
2403         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2405         * version.el (emacs-build-system): Give it a doc-string.
2407 2011-11-24  Juri Linkov  <juri@jurta.org>
2409         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2411 2011-11-24  Glenn Morris  <rgm@gnu.org>
2413         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2414         if called on a non-mime message just toggle the headers.  (Bug#8006)
2416 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2418         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2419         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2420         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2421         (allout-rebullet-heading, allout-open-sibtopic)
2422         (allout-toggle-current-subtree-encryption)
2423         (allout-toggle-subtree-encryption, allout-encrypt-string)
2424         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2425         (allout-distinctive-bullets-string, allout-auto-activation):
2426         * window.el (window-normalize-buffer-to-display):
2427         * progmodes/verilog-mode.el (verilog-batch-indent):
2428         * textmodes/bibtex.el (bibtex-field-braces-opt)
2429         (bibtex-field-strings-opt):
2430         * vc/cvs-status.el (cvs-tree-merge):
2431         Fix typos.
2433 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2435         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2436         `non-essential' to t, in order to avoid remote connections.
2438 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2440         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2441         On MS-DOS and MS-Windows, compare with loaddefs.el
2442         case-insensitively.
2444 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2446         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2448 2011-11-23  Glenn Morris  <rgm@gnu.org>
2450         * paths.el (rmail-file-name): Reformat the doc-string so that it
2451         is picked up.
2453         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2454         (rmail-auto-file): Ignore case in the "special" field names,
2455         as mail-fetch-field does for all others.
2457         * mail/rmail.el (rmail-forward):
2458         * mail/rmailkwd.el (rmail-set-label):
2459         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2460         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2462         * mail/rmail.el (rmail-current-message): Doc fix.
2464         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2466 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2468         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2470 2011-11-22  Glenn Morris  <rgm@gnu.org>
2472         * mail/rmailmm.el (test-rmail-mime-handler)
2473         (test-rmail-mime-bulk-handler)
2474         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2476 2011-11-21  Juri Linkov  <juri@jurta.org>
2478         * calc/calc.el (calc-read-key-sequence):
2479         Let-bind `input-method-function' to nil.  (Bug#10018)
2481 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2483         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2484         Tell the caller that the next line needs recomputation, even
2485         though it doesn't start a sexp (bug#10094).
2487 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2489         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2491 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2493         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2494         Use force-same-window.
2496 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2498         * descr-text.el (describe-char-unicode-data):
2499         * json.el (json-string-escape):
2500         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2501         (Footnote-unicode, Footnote-style-p):
2502         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2504 2011-11-20  Chong Yidong  <cyd@gnu.org>
2506         * window.el (replace-buffer-in-windows): Restore interactive spec.
2508 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2510         * electric.el (electric-indent-mode): Fix last change (too optimistic).
2512         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2513         (byte-compile-global-not-obsolete-vars): New var.
2514         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2515         Use it.
2516         (byte-compile-warn-obsolete): Align text with the one in *Help*.
2518 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2520         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2521         * progmodes/pascal.el (electric-pascal-equal):
2522         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2523         * xml.el (xml-substitute-special): Fix typos.
2525 2011-11-20  Glenn Morris  <rgm@gnu.org>
2527         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2528         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2529         Doc fixes.
2530         (rmail-decode-mime-charset): Mark as obsolete.
2532         * mail/rmailsum.el (rmail-message-regexp-p-1):
2533         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2534         Before using mime functions, check they are set.  (Bug#10077)
2536 2011-11-19  Juri Linkov  <juri@jurta.org>
2538         * info.el (Info-finder-find-node): Use `package--builtins' instead
2539         of `package-alist'.  Use node names formed by the pattern "Keyword "
2540         and the keyword name.
2542 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2544         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2546 2011-11-19  Juri Linkov  <juri@jurta.org>
2548         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2549         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
2550         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2551         `old-history', `old-history-forward'.  Add let-binding
2552         `window-selected'.  Remove calls to `kill-buffer',
2553         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
2554         before calling `Info-find-node', so `Info-find-node-2' will reread
2555         the Info file.  Restore window positions only when `window-selected'
2556         is non-nil.
2558 2011-11-19  Juri Linkov  <juri@jurta.org>
2560         * isearch.el (isearch-lazy-highlight-new-loop):
2561         Remove condition `(not isearch-error)'.  (Bug#9918)
2563         * misearch.el (multi-isearch-search-fun): Add condition
2564         `(not bound)' to ignore lazy-highlighting search.
2565         Add the search-failed message "end of multi" when the end of
2566         multi-sequence is reached.  Uncapitalize the search-failed
2567         message "Repeat for next buffer".
2569         * info.el (Info-search): Add the search-failed message
2570         "end of the manual" when the end of the manual is reached
2571         in Isearch mode.
2573 2011-11-19  Juri Linkov  <juri@jurta.org>
2575         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2576         Use non-destructive `remove' instead of `delete' because
2577         `Info-history-list' stored to `Info-isearch-initial-history-list' in
2578         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2580 2011-11-19  Juri Linkov  <juri@jurta.org>
2582         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2583         to nil instead of binding `search-ring' and `regexp-search-ring'.
2584         (Bug#9185)
2586 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2588         * simple.el (line-move): Force movement by logical lines for any
2589         hscrolled window, not only when auto-hscroll-mode is on.
2590         (line-move-visual): Update doc string to that effect.  (Bug#10076)
2592 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2594         * language/european.el (macintosh): Define as alias for mac-roman.
2596 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2598         * mail/rmailmm.el (rmail-mime-display-header)
2599         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2600         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2601         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2602         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2603         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2604         of a raw aref.
2605         (rmail-mime-entity-segment): To get past the tagline, move forward
2606         2 more lines, to account for the 2 empty lines that precede and
2607         follow the line with the buttons.
2608         (rmail-mime-update-tagline): Move one more line, to get past the
2609         empty line that follows the buttons in the tagline.  (Bug#9520)
2611 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
2613         * window.el (window-max-delta-1, window-min-delta-1)
2614         (window-min-size-1, window-state-get-1, window-state-put-1)
2615         (window-state-put-2): Use "window--" prefix.
2617 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2619         * emacs-lisp/smie.el: Improve warnings and conflict detection.
2620         (smie-warning-count): New var.
2621         (smie-set-prec2tab): Use it.
2622         (smie-bnf->prec2): Improve warnings.  Add docstring.
2623         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2624         (smie-bnf--set-class): New function.
2625         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
2626         corner case.
2628         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2629         (compilation-error-properties, compilation-move-to-column):
2630         Handle compilation-first-column while in the target buffer.
2632         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2633         Don't hardcode point-min==1.
2635         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2636         (eshell-rewrite-for-command): Remove workaround.
2637         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2638         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2639         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2641         * files-x.el (modify-file-local-variable): Obey commenting conventions.
2643 2011-11-17  Glenn Morris  <rgm@gnu.org>
2645         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2646         Ignore buffer-local generated-autoload-file if it is the same
2647         as the global value.  (Bug#10049)
2649 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
2651         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2652         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2653         (reftex-toc-previous-heading, reftex-toc-max-level)
2654         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2655         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2656         (reftex-toc-do-promote, reftex-toc-promote-prepare)
2657         (reftex-toc-promote-action, reftex-toc-extract-section-number)
2658         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2659         (reftex-toc-rename-label, reftex-toc-visit-location)
2660         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2661         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2662         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2663         leaving "*toc*" only for references to the buffer.
2665 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
2667         * window.el (window-resize, delete-window, split-window):
2668         Replace window-splits by window-combination-resize.
2669         * cus-start.el (window-splits): Replace by window-combination-resize.
2671 2011-11-17  Glenn Morris  <rgm@gnu.org>
2673         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2674         Make bash entry derive from sh entry, not shell entry.
2676 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
2678         * net/tramp-cache.el (tramp-flush-file-property): Flush also
2679         properties of linked files.  (Bug#9879)
2681         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2682         local file name.
2684 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2686         * menu-bar.el (menu-bar-file-menu):
2687         * printing.el (pr-ps-utility):
2688         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2689         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2690         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2691         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2692         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2693         (icalendar--convert-cyclic-to-ical)
2694         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2695         (icalendar--convert-ical-to-diary)
2696         (icalendar--convert-recurring-to-diary)
2697         (icalendar--convert-non-recurring-all-day-to-diary)
2698         (icalendar-import-format-sample):
2699         * progmodes/idlw-shell.el (idlwave-shell-mode):
2700         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2701         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2702         (vhdl-ps-print-init): Fix typos.
2704 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
2706         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2707         FSF and collapse date sequence, obscure author/maintainer email address
2708         better, remove extra version line, track relocation of author's webpage.
2710         * progmodes/python.el (python-pdbtrack-input-prompt)
2711         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2712         regular python pdb prompts.  Adjustments shamelessly taken exactly as
2713         suggested in EmacsWiki page (tiny change):
2714         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2716 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2718         * expand.el (expand-pos, expand-index, expand-point):
2719         Remove redundant info from docstring.
2720         (expand-add-abbrevs): Doc fix.
2721         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2722         (expand-sample-perl-mode-expand-list): Fix typos.
2724         * net/dbus.el (dbus-event-member-name):
2725         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2726         * term/pc-win.el (msdos-create-frame-with-faces):
2727         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2729 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
2731         * window.el (split-window, window-state-get-1)
2732         (window-state-put-1, window-state-put-2): Rename occurrences of
2733         window-nest to window-combination-limit.
2734         * cus-start.el (window-nest): Rename to window-combination-limit.
2736 2011-11-16  Chong Yidong  <cyd@gnu.org>
2738         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2739         regexp (Bug#10033).
2741 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2744         `completing-read' will remove *Completions* and will preserve
2745         current-buffer for us.
2746         (tmm-add-prompt): Users of *Completions* will always (re)set its
2747         major mode.
2748         (tmm-old-comp-map): Remove.
2750 2011-11-16  Glenn Morris  <rgm@gnu.org>
2752         * mail/rmailedit.el: Require rmailmm when compiling.
2753         (rmail-old-mime-state): New declaration.
2754         (rmail-edit-current-message): If editing a mime message,
2755         edit the "raw" message from the mbox buffer.
2756         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
2758 2011-11-15  Glenn Morris  <rgm@gnu.org>
2760         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2761         which wasn't being used.  Add optional arg to force given state.
2762         (rmail-mime): Add optional arg to force given state.
2764 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
2766         * allout.el (allout-encryption-plaintext-sanitization-regexps):
2767         * frame.el (display-mm-dimensions-alist):
2768         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2769         (outline-move-subtree-down):
2770         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2771         (newsticker--treeview-do-get-node):
2772         * net/quickurl.el (quickurl-list-buffer-name):
2773         * progmodes/dcl-mode.el (dcl-mode):
2774         * progmodes/gdb-mi.el (gdb-mapcar*):
2775         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2777 2011-11-15  Glenn Morris  <rgm@gnu.org>
2779         * mail/rmail.el (rmail-file-coding-system): It's only ever used
2780         in a boolean sense, so just make it a boolean, and fix the doc.
2781         (rmail-show-mime-function, rmail-mime-feature)
2782         (rmail-require-mime-maybe): Doc fixes.
2783         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2785         * mail/rmailmm.el (rmail-show-mime): Doc fix.
2787 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
2789         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2790         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2791         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2792         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2794 2011-11-15  Glenn Morris  <rgm@gnu.org>
2796         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2797         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2798         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2799         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2800         (rmail-mime, rmail-show-mime): Doc fixes.
2802         * term/ns-win.el (mode-line-frame-identification):
2803         Leave it alone.  (Bug#10051)
2805         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
2807         * mail/rmailout.el (rmail-output-to-rmail-buffer):
2808         Handle empty buffers.  (Bug#9978)
2810 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
2812         * international/mule.el (define-charset):
2813         * mail/rmailmm.el (rmail-mime-find-header-encoding):
2814         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2815         * progmodes/verilog-mode.el (verilog-backward-token):
2816         * textmodes/ispell.el (lookup-words):
2817         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2819 2011-11-14  Glenn Morris  <rgm@gnu.org>
2821         * progmodes/executable.el
2822         (executable-make-buffer-file-executable-if-script-p):
2823         Handle file-modes returning nil.
2825         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2826         message - not necessary, and causes problems.  (Bug#9831)
2828         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2830         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2832         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2833         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
2834         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2836 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
2838         * window.el (window-resize, delete-window): Use window-splits
2839         variable instead of function.
2840         (window-state-get-1, window-state-put-2, window-state-put):
2841         Don't deal with windows' splits status.
2843 2011-11-12  Glenn Morris  <rgm@gnu.org>
2845         * apropos.el (apropos-do-all, apropos-library, apropos-value)
2846         (apropos-documentation): Doc fixes.
2848 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
2850         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2851         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2853 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2855         * electric.el (electric-indent-post-self-insert-function): Make it
2856         possible for a char to only indent in some circumstances.
2857         (electric-indent-mode): Simplify.
2859 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
2861         * window.el (windows-with-parameter): Remove unused function.
2862         (windows-at-side): Rename to window-at-side-list.
2863         (window-check, window-atom-check, window-atom-check-1)
2864         (window-side-check, window-size-ignore, window-size-fixed-1)
2865         (window-in-direction-2): Prefix with "window--".
2866         (window-tree-1): Rename to window--subtree, fix doc-string.
2868 2011-11-11  Glenn Morris  <rgm@gnu.org>
2870         * subr.el (eval-after-load): If FILE is already loaded,
2871         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
2873 2011-11-10  Glenn Morris  <rgm@gnu.org>
2875         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2876         Call svn via vc-svn-command rather than vc-do-command.
2877         (vc-svn-command): Add --non-interactive.  (Bug#9993)
2878         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2880         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2881         Add toggle-read-only.  (Bug#7292)
2882         * files.el (toggle-read-only): Mention that it should only
2883         be used interactively.  (Bug#10006)
2885 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2887         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2888         Adjust regexp for OCaml warnings.
2890         * electric.el (electric-pair-post-self-insert-function): Let user
2891         turn it off buffer-locally (bug#9932).
2893         * progmodes/python.el (python-beginning-of-statement):
2894         Rewrite (bug#2703).
2896         * progmodes/compile.el: Better handle TABs (bug#9749).
2897         (compilation-internal-error-properties)
2898         (compilation-next-error-function): Obey the target buffer's
2899         compilation-error-screen-columns.
2901 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
2903         * progmodes/meta-mode.el: Remove obsolete comments.
2904         (meta-right-comment-regexp, meta-ignore-comment-regexp):
2905         Fix typos in docstrings.
2907 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
2909         * window.el (window-size-fixed-p): Rewrite doc-string.
2910         (window-resizable-p): Rename to window--resizable-p.  Update callers.
2911         (window--resizable): New function.  Make all callers of
2912         window-resizable call window--resizable instead.
2913         (window-resizable): Rewrite in terms of window--resizable.
2915 2011-11-08  Glenn Morris  <rgm@gnu.org>
2917         * progmodes/delphi.el (delphi-mode-syntax-table):
2918         Let define-derived-mode define a proper syntax table.  (Bug#9994)
2920 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * window.el: Stay away from defsubst.
2923         (window-list-no-nils): Remove.
2924         (window-state-get-1, window-state-get): Use backquote instead.
2926 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2928         * emacs-lisp/find-func.el (find-function-read):
2929         Fix incorrect use of default argument in `completing-read'.
2931 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
2933         * window.el (display-buffer-function, special-display-function):
2934         Mention display-buffer-record-window but do not mention
2935         help-setup parameter in doc-strings.
2936         (window-min-delta): Fix doc-string typo.
2938 2011-11-08  Chong Yidong  <cyd@gnu.org>
2940         * window.el (window-total-height, window-total-width): Doc fix.
2941         (window-body-size): Move from C.
2942         (window-body-height, window-body-width): Move to C.
2944 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2946         * window.el: Make special-display like display-buffer-alist (bug#9532).
2947         (display-buffer--special-action): New function, morphed
2948         from display-buffer--special.
2949         (display-buffer): Use it to handle special-display-buffers at higher
2950         priority (just after display-buffer-alist).
2951         (display-buffer-fallback-action, display-buffer--other-frame-action)
2952         (pop-to-buffer-same-window): Remove display-buffer--special.
2954 2011-11-07  Glenn Morris  <rgm@gnu.org>
2956         * calendar/cal-menu.el (cal-menu-set-date-title):
2957         Do nothing if not in a calendar.  (Bug#9976)
2959 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2961         * files.el (find-file): Always use selected-window.
2963 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
2965         * window.el (window-combinations): Make WINDOW argument
2966         mandatory.  Rewrite doc-string.
2967         (walk-window-subtree, window-atom-check, window-min-delta)
2968         (window-max-delta, window--resize-this-window)
2969         (window--resize-root-window-vertically, window-tree)
2970         (balance-windows, window-state-put): Rewrite doc-strings as to
2971         not mention the term "subwindow".
2972         (window--resize-subwindows-skip-p): Rename to
2973         window--resize-child-windows-skip-p.
2974         (window--resize-subwindows-normal): Rename to
2975         window--resize-child-windows-normal.
2976         (window--resize-subwindows): Rename to
2977         window--resize-child-windows.
2978         (window-or-subwindow-p): Rename to window--in-subtree-p.
2980 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2982         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2983         Ensure that mbox format messages end in two newlines (Bug#9974).
2985 2011-11-06  Chong Yidong  <cyd@gnu.org>
2987         * window.el (window-combination-p): Function deleted; its
2988         side-effect is not used in any existing code.
2989         (window-combinations, window-combined-p): Call window-*-child
2990         directly.
2992 2011-11-05  Chong Yidong  <cyd@gnu.org>
2994         * window.el (window-valid-p): Rename from window-any-p.
2995         (window-size-ignore, window-state-get): Callers changed.
2996         (window-normalize-window): Rename from window-normalize-any-window.
2997         New arg LIVE-ONLY, replacing window-normalize-live-window.
2998         (window-normalize-live-window): Delete.
2999         (window-combination-p, window-combined-p, window-combinations)
3000         (walk-window-subtree, window-atom-root, window-min-size)
3001         (window-sizable, window-sizable-p, window-size-fixed-p)
3002         (window-min-delta, window-max-delta, window-resizable)
3003         (window-resizable-p, window-full-height-p, window-full-width-p)
3004         (window-current-scroll-bars, window-point-1, set-window-point-1)
3005         (window-at-side-p, window-in-direction, window-resize)
3006         (adjust-window-trailing-edge, maximize-window, minimize-window)
3007         (window-deletable-p, delete-window, delete-other-windows)
3008         (record-window-buffer, unrecord-window-buffer)
3009         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3010         (quit-window, split-window, window-state-put)
3011         (set-window-text-height, fit-window-to-buffer)
3012         (shrink-window-if-larger-than-buffer): Callers changed.
3014 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3016         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3017         rfc2047-decode-string.
3018         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3019         warnings.
3021         * window.el (window-body-height, window-body-width): Mention in
3022         the doc string that the return values are in frame's canonical
3023         units.  (Bug#9949)
3025 2011-11-03  Alan Mackenzie  <acm@muc.de>
3027         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3028         change in cc-engine.el.
3030 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3032         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3034 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3036         * window.el (quit-window): Call unrecord-window-buffer after
3037         showing another buffer in the window.  (Bug#9937)
3038         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3040 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3042         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3043         Accept status with more than 9 shelves.  (Bug#9935)
3044         Reported by Colin D Bennett <colin@gibibit.com>.
3046 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3048         * help.el (with-help-window): Don't reference
3049         temp-buffer-show-specifiers in doc-string.
3051 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3053         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3054         menu-item.
3056 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3058         * whitespace.el: New version 13.2.2.
3059         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3060         <EmacsWiki>.
3062 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3064         * net/newst-treeview.el: Remove "Time-stamp".
3065         (newsticker--group-manage-orphan-feeds): Do not call
3066         newsticker--treeview-tree-update.
3067         (newsticker-treeview-update, newsticker-treeview):
3068         Call newsticker--treeview-tree-update if necessary.
3070 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3072         * window.el (window-iso-combination-p, window-iso-combined-p)
3073         (window-iso-combinations): Remove "iso-" infix.
3074         Suggested by Chong Yidong.
3075         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3076         (window-max-delta-1, window-resize, window--resize-siblings)
3077         (window--resize-this-window, adjust-window-trailing-edge)
3078         (split-window, balance-windows-1)
3079         (shrink-window-if-larger-than-buffer):
3080         * calendar/calendar.el (calendar-generate-window):
3081         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3083 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3085         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3086         in place (bug#9907).
3087         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3088         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3089         (eshell-structure-basic-command, eshell-rewrite-while-command)
3090         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3091         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3092         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3093         (eshell-do-pipelines-synchronously, eshell-eval-command):
3094         Use backquotes and prefer setq to set.
3095         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3096         (eshell-macrop): Use functionp.
3097         (eshell-do-eval): Handle multiple expressions in `while' body.
3099 2011-10-30  Chong Yidong  <cyd@gnu.org>
3101         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3102         instead of set-mark (Bug#9810).
3104 2011-10-30  Chong Yidong  <cyd@gnu.org>
3106         * window.el (split-window-below, split-window-right): Rename from
3107         split-window-above-each-other and split-window-side-by-side
3108         respectively.  All callers changed.
3109         (split-window-sensibly, split-window-sensibly): Use them.
3110         (split-window-keep-point): Doc fix.
3112         * isearch.el: Add isearch-scroll property to split-window-below
3113         and split-window-right.
3115         * follow.el (follow-mode):
3116         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3117         * progmodes/ada-xref.el (ada-gdb-application):
3118         * emulation/vip.el (vip-buffer-in-two-windows):
3119         * image-dired.el (image-dired-dired-with-window-configuration):
3120         * dired-x.el (dired-do-find-marked-files):
3121         * dired.el (dired-pop-to-buffer):
3122         * bs.el (bs--show-with-configuration):
3123         * vc/emerge.el (emerge-setup-windows):
3124         * textmodes/two-column.el (2C-two-columns):
3125         * textmodes/reftex-toc.el (reftex-toc):
3126         * progmodes/gdb-mi.el (gdb-setup-windows):
3127         * progmodes/fortran.el (fortran-window-create):
3128         * net/newst-treeview.el (newsticker--treeview-window-init):
3129         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3130         * emulation/tpu-edt.el (tpu-gold-map):
3131         * emulation/crisp.el (crisp-mode-map):
3132         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3134 2011-10-29  Chong Yidong  <cyd@gnu.org>
3136         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3138         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3140         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3141         forged Ispell output (Bug#7904).
3143         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3145 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         * doc-view.el: Avoid ugly errors about not finding nil.
3148         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3149         (doc-view-dvipdf-program, doc-view-unoconv-program)
3150         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3151         Avoid nil or absolute file name as default value.
3152         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3154 2011-10-28  Alan Mackenzie  <acm@muc.de>
3156         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3158 2011-10-28  Alan Mackenzie  <acm@muc.de>
3160         Amend the handling of c-beginning/end-of-defun in nested declaration
3161         scopes.
3163         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3164         cc-langs.el.  Change it to a defcustom.
3166         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3167         cc-vars.el.
3169         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3170         Prevent "class foo : bar" being spuriously recognized as a label.
3172         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3173         Add parameter `inclusive' (to include enclosing braces in the region).
3174         (c-widen-to-enclosing-decl-scope): New function.
3175         (c-while-widening-to-decl-block): New macro.
3176         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3177         outward for defun boundaries, and correspondingly change symbol
3178         `respect-enclosure' to `go-outward'.
3179         (c-declaration-limits): Change algorithm to report only the "innermost"
3180         defun's boundaries.
3182 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3184         * net/rcirc.el (rcirc-mode): Use hard newlines.
3186 2011-10-28  Alan Mackenzie  <acm@muc.de>
3188         Amend to indent and fontify macros "which include their own semicolon"
3189         correctly, using the "virtual semicolon" mechanism.
3191         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3193         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3194         Recode to scan one line at a time rather than having \n and \r
3195         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3196         (c-forward-label): Amend for virtual semicolons.
3197         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3199         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3200         of the new C macros.
3202         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3203         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3204         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3205         (c-opt-cpp-macro-define): Make into a full language variable.
3206         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3207         AWK Mode (including \n, \r) removed, no longer needed.
3209         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3210         Invoke c-make-macro-with-semi-re.
3212         * progmodes/cc-vars.el (c-macro-with-semi-re):
3213         (c-macro-names-with-semicolon): New variables.
3214         (c-make-macro-with-semi-re): New function.
3216 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3218         * vc/log-edit.el: Fill empty field rather than adding new one.
3219         (log-edit-add-field): New function.
3220         (log-edit-insert-changelog): Use it.
3222 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3224         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3226 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3228         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3229         (gdb--check-interpreter): New function.
3230         (gdb): Use it.
3232 2011-10-27  Glenn Morris  <rgm@gnu.org>
3234         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3235         (least-positive-float, least-negative-float)
3236         (least-positive-normalized-float, least-negative-normalized-float)
3237         (float-epsilon, float-negative-epsilon):
3238         Remove unnecessary declarations.
3240         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3241         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3242         (least-positive-float, least-negative-float)
3243         (least-positive-normalized-float, least-negative-normalized-float)
3244         (float-epsilon, float-negative-epsilon): Add doc-strings,
3245         based on those in cl.texi.
3247         * files.el (set-visited-file-name): If the major-mode changed,
3248         reload the local variables.  (Bug#9796)
3250 2011-10-27  Chong Yidong  <cyd@gnu.org>
3252         * subr.el (change-major-mode-after-body-hook): New hook.
3253         (run-mode-hooks): Run it.
3255         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3256         Use change-major-mode-before-body-hook.
3258         * simple.el (fundamental-mode):
3259         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3260         change introducing fundamental-mode-hook.
3262 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3264         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3266 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3268         * ido.el (ido-file-name-all-completions-1): Do not require
3269         tramp.el explicitly.  (Bug#7583)
3271 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3273         * progmodes/octave-mod.el:
3274         * progmodes/octave-inf.el: Update maintainer.
3276 2011-10-26  Chong Yidong  <cyd@gnu.org>
3278         * subr.el (with-wrapper-hook): Rewrite doc.
3280 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3282         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3283         filenames "/method:foo:".  (Bug#9793)
3285 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3287         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3288         (bug#9865).
3290 2011-10-24  Glenn Morris  <rgm@gnu.org>
3292         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3294 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3296         * notifications.el: Add the requirement of a running D-Bus session
3297         bus to the Commentary.
3299 2011-10-24  Juri Linkov  <juri@jurta.org>
3301         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3302         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3303         (Bug#9364)
3305 2011-10-24  Juri Linkov  <juri@jurta.org>
3307         * info.el (Info-following-node-name-re): Add newline to the list
3308         of allowed characters for leading space.  (Bug#9824)
3310 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3312         * progmodes/octave-inf.el (inferior-octave-mode-map):
3313         Fix C-c C-h binding.
3314         * progmodes/octave-mod.el (octave-help): Remove.
3316 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3318         Sync with Tramp 2.2.3.
3320         * net/tramp-cache.el (top): Pacify byte-compiler using
3321         `init-file-user' and `site-run-file'.
3323         * net/trampver.el: Update release number.
3325 2011-10-23  Chong Yidong  <cyd@gnu.org>
3327         * files.el (toggle-read-only): Remove obsolete comment about
3328         version control.
3330         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3331         for toggle-read-only.  Note that this hasn't called vc-next-action
3332         since 2008-05-02, though it wasn't documented at the time.
3334         * vc/ediff-init.el (ediff-toggle-read-only-function):
3335         Use toggle-read-only.
3337 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3339         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3340         of c-parse-state.
3342         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3343         correct faulty logical expression.
3344         (c-parse-state-state, c-record-parse-state-state):
3345         (c-replay-parse-state-state): New defvar/defuns.
3346         (c-debug-parse-state): Use new functions.
3348 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3350         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3351         last fix.  Use window-in-direction correctly.
3353 2011-10-21  Chong Yidong  <cyd@gnu.org>
3355         * progmodes/idlwave.el (idlwave-mode):
3356         * progmodes/vera-mode.el (vera-mode): No need to set
3357         require-final-newline; that's done in prog-mode.
3358         Suggested by Stefan Monnier.
3360 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3362         * mouse.el (mouse-drag-window-above)
3363         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3364         (mouse-drag-mode-line-1, mouse-drag-header-line)
3365         (mouse-drag-vertical-line-rightward-window): Remove.
3366         (mouse-drag-line): New function.
3367         (mouse-drag-mode-line, mouse-drag-header-line)
3368         (mouse-drag-vertical-line): Call mouse-drag-line.
3369         * window.el (window-at-side-p, windows-at-side): New functions.
3371 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3373         * tar-mode.el (tar-grind-file-mode):
3374         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3376 2011-10-21  Chong Yidong  <cyd@gnu.org>
3378         * progmodes/idlwave.el (idlwave-mode):
3379         * progmodes/vera-mode.el (vera-mode):
3380         Use mode-require-final-newline.
3382 2011-10-20  Glenn Morris  <rgm@gnu.org>
3384         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3386 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3388         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3390 2011-10-20  Chong Yidong  <cyd@gnu.org>
3392         * emulation/cua-base.el (cua-mode):
3393         * mail/footnote.el (footnote-mode):
3394         * mail/mailabbrev.el (mail-abbrevs-mode):
3395         * net/xesam.el (xesam-minor-mode):
3396         * progmodes/bug-reference.el (bug-reference-mode):
3397         * progmodes/cap-words.el (capitalized-words-mode):
3398         * progmodes/compile.el (compilation-minor-mode)
3399         (compilation-shell-minor-mode):
3400         * progmodes/gud.el (gud-tooltip-mode):
3401         * progmodes/hideif.el (hide-ifdef-mode):
3402         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3403         * progmodes/subword.el (subword-mode):
3404         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3405         * progmodes/which-func.el (which-function-mode):
3406         * term/tvi970.el (tvi970-set-keypad-mode):
3407         * term/vt100.el (vt100-wide-mode):
3408         * textmodes/flyspell.el (flyspell-mode):
3409         * textmodes/ispell.el (ispell-minor-mode):
3410         * textmodes/nroff-mode.el (nroff-electric-mode):
3411         * textmodes/paragraphs.el (use-hard-newlines):
3412         * textmodes/refill.el (refill-mode):
3413         * textmodes/reftex.el (reftex-mode):
3414         * textmodes/rst.el (rst-minor-mode):
3415         * textmodes/sgml-mode.el (html-autoview-mode)
3416         (sgml-electric-tag-pair-mode):
3417         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3418         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3419         * emulation/crisp.el (crisp-mode):
3420         * emacs-lisp/eldoc.el (eldoc-mode):
3421         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3422         minor mode behavior.
3424 2011-10-19  Juri Linkov  <juri@jurta.org>
3426         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3427         the list of hard-coded chars with escape-glyph face.
3429 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3431         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3433 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3435         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3436         running process.
3438 2011-10-19  Glenn Morris  <rgm@gnu.org>
3440         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3441         Ignore ignored files.  (Bug#9726)
3443 2011-10-19  Chong Yidong  <cyd@gnu.org>
3445         Doc fix for minor modes, stating that an omitted argument enables
3446         the mode unconditionally when called from Lisp.
3448         * abbrev.el (abbrev-mode):
3449         * allout.el (allout-mode):
3450         * autoinsert.el (auto-insert-mode):
3451         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3452         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3453         (global-auto-revert-mode):
3454         * battery.el (display-battery-mode):
3455         * composite.el (global-auto-composition-mode)
3456         (auto-composition-mode):
3457         * delsel.el (delete-selection-mode):
3458         * desktop.el (desktop-save-mode):
3459         * dired-x.el (dired-omit-mode):
3460         * dirtrack.el (dirtrack-mode):
3461         * doc-view.el (doc-view-minor-mode):
3462         * double.el (double-mode):
3463         * electric.el (electric-indent-mode, electric-pair-mode):
3464         * emacs-lock.el (emacs-lock-mode):
3465         * epa-hook.el (auto-encryption-mode):
3466         * follow.el (follow-mode):
3467         * font-core.el (font-lock-mode):
3468         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3469         * help.el (temp-buffer-resize-mode):
3470         * hilit-chg.el (highlight-changes-mode)
3471         (highlight-changes-visible-mode):
3472         * hi-lock.el (hi-lock-mode):
3473         * hl-line.el (hl-line-mode, global-hl-line-mode):
3474         * icomplete.el (icomplete-mode):
3475         * ido.el (ido-everywhere):
3476         * image-file.el (auto-image-file-mode):
3477         * image-mode.el (image-minor-mode):
3478         * iswitchb.el (iswitchb-mode):
3479         * jka-cmpr-hook.el (auto-compression-mode):
3480         * linum.el (linum-mode):
3481         * longlines.el (longlines-mode):
3482         * master.el (master-mode):
3483         * mb-depth.el (minibuffer-depth-indicate-mode):
3484         * menu-bar.el (menu-bar-mode):
3485         * minibuf-eldef.el (minibuffer-electric-default-mode):
3486         * mouse-sel.el (mouse-sel-mode):
3487         * msb.el (msb-mode):
3488         * mwheel.el (mouse-wheel-mode):
3489         * outline.el (outline-minor-mode):
3490         * paren.el (show-paren-mode):
3491         * recentf.el (recentf-mode):
3492         * reveal.el (reveal-mode, global-reveal-mode):
3493         * rfn-eshadow.el (file-name-shadow-mode):
3494         * ruler-mode.el (ruler-mode):
3495         * savehist.el (savehist-mode):
3496         * scroll-all.el (scroll-all-mode):
3497         * scroll-bar.el (scroll-bar-mode):
3498         * server.el (server-mode):
3499         * shell.el (shell-dirtrack-mode):
3500         * simple.el (auto-fill-mode, transient-mark-mode)
3501         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3502         (line-number-mode, column-number-mode, size-indication-mode)
3503         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3504         * strokes.el (strokes-mode):
3505         * time.el (display-time-mode):
3506         * t-mouse.el (gpm-mouse-mode):
3507         * tool-bar.el (tool-bar-mode):
3508         * tooltip.el (tooltip-mode):
3509         * type-break.el (type-break-mode-line-message-mode)
3510         (type-break-query-mode):
3511         * view.el (view-mode):
3512         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3513         (global-whitespace-mode, global-whitespace-newline-mode):
3514         * xt-mouse.el (xterm-mouse-mode): Doc fix.
3516         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3517         Fix autogenerated docstring.
3519 2011-10-19  Juri Linkov  <juri@jurta.org>
3521         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3522         by checking environment variables "DESKTOP_SESSION" and
3523         "XDG_CURRENT_DESKTOP".  (Bug#9779)
3525 2011-10-19  Juri Linkov  <juri@jurta.org>
3527         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3528         (browse-url-chromium-program, browse-url-chromium-arguments):
3529         New defcustoms.
3530         (browse-url-default-browser): Check for `browse-url-chromium' and
3531         call `browse-url-chromium-program'.
3532         (browse-url-chromium): New command.  (Bug#9779)
3534 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
3536         * facemenu.el (list-colors-duplicates): On Windows, detect more
3537         duplicates by assuming that only colors matching "^System" are
3538         special "system colors".  (Bug#9722)
3540 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3542         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3543         to distinguish the author from the committer.
3545 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
3547         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3549 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
3551         * international/mule.el (sgml-html-meta-auto-coding-function):
3552         Add support for detecting encoding in HTML5 specified only as
3553         <meta charset="UTF-8">.  Implementation just makes http-equiv and
3554         content-type parts from HTML4 encoding string optional.  (Bug#9716)
3556 2011-10-18  Glenn Morris  <rgm@gnu.org>
3558         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
3560 2011-10-18  Chong Yidong  <cyd@gnu.org>
3562         * faces.el (cursor): Doc fix.
3564 2011-10-17  Chong Yidong  <cyd@gnu.org>
3566         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3568 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
3570         * dirtrack.el (dirtrack): Support shell buffers with path
3571         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
3573 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
3575         * json.el: Bump version to 1.3 and note change in History.
3576         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3578 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3580         * comint.el (comint-insert-input, comint-send-input)
3581         (comint-get-old-input-default, comint-backward-matching-input)
3582         (comint-next-prompt): Use nil instead of `input' for field property of
3583         past user input (bug#114).
3585         * minibuffer.el (completion--replace): Inherit surrounding properties
3586         (bug#114).
3587         (minibuffer-complete-and-exit): Use it.
3589         * comint.el (comint--table-subvert): Quote the all-completions output
3590         (bug#9160).
3592 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
3594         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3596         * menu-bar.el (menu-bar-file-menu): Add entry for making new
3597         window on right of selected.  (Bug#9350) Reword other window
3598         entries and separate them from frame entries.
3600 2011-10-15  Glenn Morris  <rgm@gnu.org>
3602         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3603         Doc fixes.
3605 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
3607         * net/network-stream.el (network-stream-open-starttls):
3608         Improve detection of failure due to lack of TLS support.
3610         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3611         putting the input text in front and in bold.
3613 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3615         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3617         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3618         empty buffer.
3620         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3621         unread-command-events rather than pushing yet-another event.
3623 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
3625         * mail/sendmail.el (sendmail-query-once): Improve the wording of
3626         the explanation of the possible choices.  Make the options passed
3627         to completing-read shorter.
3629 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3631         * textmodes/flyspell.el (flyspell-large-region): Make sure
3632         extended character mode is used if defined (Bug#1339).
3634 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
3636         * simple.el (what-cursor-position): Fix the display of the
3637         character info for LRE, LRO, RLE, and RLO characters by appending
3638         an invisible PDF.
3640 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3643         even in case of error; add debug spec; simplify data flow.
3644         (with-timeout-handler): Remove.
3646 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3648         Fix Bug#6019, Bug#9315.
3650         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3651         complete `buffer-file-name', the local file name part could look
3652         remotely (for example on VMS).
3654         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3655         `tramp-run-real-handler'.
3656         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3657         already quoted by '"'.
3659         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3660         Let `file-name-handler-alist' be nil, the local file name part
3661         could look remotely (for example on VMS).
3663 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3665         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3666         from here...
3667         (flyspell-post-command-hook): ...to here.
3669 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3671         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3672         if not needed.
3673         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
3674         using completion.  Protect against "slow" callers.
3675         Remove the "message hack".
3677 2011-10-11  Juri Linkov  <juri@jurta.org>
3679         * isearch.el (isearch-lazy-highlight-word): New variable.
3680         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3681         Use it.  (Bug#9727)
3683 2011-10-11  Glenn Morris  <rgm@gnu.org>
3685         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3686         like f90-previous-statement does.
3688 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3690         * eshell/eshell.el (eshell-command): History should be saved
3691         only in interactive use, to avoid error.
3693 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3695         * minibuffer.el (completion-file-name-table): Fix last change,
3696         i.e. ignore normal errors but not the other ones.
3698 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
3700         * window.el (special-display-buffer-names)
3701         (special-display-regexps): Remove some remnants of earlier
3702         changes from doc-strings.
3703         (quit-windows-on): New function.
3705         * vc/vc.el (vc-revert, vc-rollback):
3706         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3707         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
3708         (Bug#6183) (Bug#7074) (Bug#7447)
3710 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
3712         * window.el (frame-auto-hide-function): Add version tag.
3713         (Bug#9699)
3715 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
3717         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3718         condition.
3720 2011-10-09  Leo Liu  <sdl.web@gmail.com>
3722         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3723         (Bug#9701)
3725 2011-10-08  Glenn Morris  <rgm@gnu.org>
3727         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3728         before the first code statement zero indent.  (Bug#9690)
3730 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
3732         * simple.el (count-words-region): Always count in the region.
3733         Report the number of lines and characters too.
3734         (count-words): New command, which counts in the buffer if the
3735         region is inactive, as count-words-region used to.
3736         (count-words--message): New function.  Handle plurals.
3737         (count-lines-region): Make it an alias for count-words-region.
3739         * bindings.el (esc-map): Replace count-lines-region with
3740         count-words-region.
3742 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
3744         * window.el (window--delete): Delete dedicated frame
3745         unconditionally when argument KILL is non-nil.  (Bug#9699)
3746         (switch-to-buffer): Fix doc-string typo.
3748 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3750         * eshell/eshell.el (eshell-command): Avoid using hooks.
3752 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
3754         * bindings.el ([M-left],[M-right]): Bind to left-word and
3755         right-word respectively.
3757 2011-10-07  Glenn Morris  <rgm@gnu.org>
3759         * cus-start.el (debug-on-quit): Fix custom type.
3761 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3763         * subr.el (define-key-after): Clarify that the function is not
3764         useful for non-menu keymaps.
3766         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3768 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3770         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
3771         in current minibuffer (Fix bug with recursive minibuffers).
3773 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
3775         * progmodes/gdb-mi.el (gdb): Doc fix.
3777 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
3779         * window.el (frame-auto-hide-function): New option replacing
3780         frame-auto-delete.  Suggested by Stefan Monnier.
3781         (window--delete): Call frame-auto-hide-function instead of
3782         investigating frame-auto-delete.
3783         (window-point-1, set-window-point-1): New functions.
3784         (window-in-direction, record-window-buffer, window-state-get-1)
3785         (display-buffer-record-window): Use window-point-1 instead of
3786         window-point.
3787         (set-window-buffer-start-and-point): Use set-window-point-1.
3789 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3791         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3793 2011-10-05  Glenn Morris  <rgm@gnu.org>
3795         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3796         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
3798 2011-10-05  Leo Liu  <sdl.web@gmail.com>
3800         * subr.el (read-char-choice): Fix argument to buffer-live-p which
3801         works with buffer object.
3803 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3805         * mpc.el (mpc-tool-bar-map): Add labels.
3807 2011-10-04  Glenn Morris  <rgm@gnu.org>
3809         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3811 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
3813         * window.el (window--delete): New function.
3814         (frame-auto-delete): Resuscitate option.
3815         (bury-buffer, replace-buffer-in-windows)
3816         (quit-window): Rewrite using window--delete.
3817         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3818         Pass display-buffer-mark-dedicated to window--display-buffer-2
3819         (Bug#9639).
3821 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3823         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3824         returns a list (bug#9554).  Add remote file name completion.
3825         * comint.el (comint--table-subvert): Curry and get quote&unquote
3826         functions as arguments.
3827         (comint--complete-file-name-data): Adjust call accordingly.
3828         * pcomplete.el (pcomplete--table-subvert): Remove.
3829         (pcomplete-completions-at-point): Use comint--table-subvert instead.
3831         * minibuffer.el (completion-table-case-fold): Use currying.
3832         (completion--styles-type, completion--cycling-threshold-type):
3833         New constants.
3834         (completion-styles, completion-category-overrides)
3835         (completion-cycle-threshold): Use them.
3836         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3837         completion-table-case-fold.
3839 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
3841         * minibuffer.el (completion-category-overrides): Fix type of styles
3842         and add more user friendly tags (bug#9660).
3844 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3846         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3847         (mule-input-method-string): New widget.
3848         (default-input-method, language-info-custom-alist): Use it.
3850 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3852         * pcomplete.el: Require comint.
3853         (pcomplete--common-suffix): Remove.
3854         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3855         (pcomplete--table-subvert): Sync with comint--table-subvert.
3856         (pcomplete--entries): Use comint-completion-file-name-table.
3857         * comint.el (comint-unquote-filename): Simplify.
3858         (comint-completion-file-name-table): New function (bug#9616).
3859         (comint--complete-file-name-data): Use it.
3861         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3862         (pcmpl-gnu-tar-buffer): Remove.
3863         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
3864         around.  Make sure pcomplete-suffix-list is only changed temporarily.
3865         Don't look inside the tar's file if it's too large.
3867 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
3869         * cus-edit.el (custom-mode-map):
3870         * epa.el (epa-key-list-mode-map):
3871         * man.el (Man-mode-map):
3872         * startup.el (splash-screen-keymap):
3873         * simple.el (special-mode-map): Use scroll-up-command and
3874         scroll-down-command.
3876         * progmodes/idlw-help.el (idlwave-help-mode-map):
3877         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3878         * net/newst-plainview.el (newsticker-mode-map):
3879         * emulation/ws-mode.el (wordstar-mode-map):
3880         * emulation/vi.el (vi-com-map):
3881         * calc/calc-graph.el (calc-graph-show-dumb):
3882         * term/sun.el (terminal-init-sun):
3883         * term/ns-win.el (global-map):
3884         * progmodes/grep.el (grep-mode-map):
3885         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3886         * mail/rmail.el (rmail-mode-map):
3887         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3889         * custom.el (custom-safe-themes, load-theme): Treat value of t for
3890         custom-safe-themes as special.
3892 2011-10-01  Julien Danjou  <julien@danjou.info>
3894         * notifications.el (notifications-notify): Fix docstring.
3896 2011-10-01  Per Starbäck  <per@starback.se>
3898         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
3900 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
3902         * startup.el (command-line-1): Fix last fix by inserting
3903         initial-scratch-message into *scratch* before displaying it.
3904         (Bug#9605) and (Bug#9636)
3906 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
3908         * simple.el (line-move): If auto-hscroll-mode is disabled and the
3909         window is hscrolled, move by logical lines.  (Bug#9607)
3910         (line-move-visual): Update the doc string to the above effect.
3912 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
3914         * window.el (display-buffer-record-window): When WINDOW is the
3915         selected window use `point' instead of `window-point'.  (Bug#9626)
3917         * startup.el (command-line-1): Use insert-before-markers when
3918         inserting initial-scratch-message.  (Bug#9605)
3920         * help.el (help-window): Remove variable.
3922 2011-09-29  Glenn Morris  <rgm@gnu.org>
3924         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3926 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
3928         * descr-text.el (describe-char-categories): Accept category
3929         descriptions more than one line long.
3931 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3933         * simple.el (delete-trailing-whitespace): Fix last change.
3935         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3936         Don't confuse "y => 3" as the beginning of a `y' operation.
3938         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3939         object has more than 4 slots (bug#9613).
3941 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
3943         * subr.el (with-output-to-temp-buffer):
3944         * net/quickurl.el (quickurl, quickurl-browse-url):
3945         Fix typos in docstrings.
3947 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
3949         * minibuffer.el (completion-styles)
3950         (completion-category-overrides): Cross reference each other in doc
3951         strings.
3953 2011-09-27  Glenn Morris  <rgm@gnu.org>
3955         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3956         to split-string.  (Bug#9606)
3958 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3960         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3961         (bug#9615).
3963 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
3965         * emacs-lisp/package.el (list-packages): Fix echo area message.
3967 2011-09-27  Leo Liu  <sdl.web@gmail.com>
3969         * ido.el (ido-read-internal): Accept cons cell HIST arg.
3971 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
3973         * net/dbus.el (dbus-unregister-object): Don't release services for
3974         registered signals.  (Bug#9581)
3976 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
3978         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3979         function that picks between cfengine 2 and 3 support
3980         automatically.  Update docs accordingly.
3982 2011-09-22  Kenichi Handa  <handa@m17n.org>
3984         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3985         ZERO.
3986         (indian-itrans-v5-table-for-tamil): New variable.
3987         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3989 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
3991         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3992         that's true if the current command involved collapsing of text.
3993         It's reset to false at the beginning of the next command.
3994         (allout-post-command-business): Move the cursor to the beginning
3995         of entry if the cursor is hidden and collapsing activity just
3996         happened.
3998 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4000         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4001         tracking (Bug#9541).
4003 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4005         * net/newst-reader.el (newsticker-html-renderer)
4006         (newsticker-show-news): Automatically load html rendering package
4007         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4008         because w3m-fill-column is let-bound" and the error "Symbol's value
4009         as variable is void: w3m-fill-column".
4011 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4013         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4014         Release services only if they are defined.  (Bug#9581)
4016 2011-09-23  Richard Stallman  <rms@gnu.org>
4018         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4019         distinguish start of paragraph from start of its text.
4021         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4023         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4024         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4025         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4027 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4029         * international/mule-diag.el (mule-diag): Insert a newline after
4030         each fontset description.
4032 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4034         * simple.el (delete-trailing-whitespace):
4035         Document last change; simplify.
4037 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4039         * simple.el (delete-trailing-whitespace): Also delete
4040         extra newlines at the end of the buffer.
4042         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4043         (picture-newline): Use forward-line so as to ignore fields.
4045 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * subr.el (with-wrapper-hook): Fix edebug spec.
4049 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4051         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4052         (bug#4538).
4054 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4056         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4057         Fix nasty bug using wrong cached values.
4059 2011-09-23  Alan Mackenzie  <acm@muc.de>
4061         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4063 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4065         * window.el (pop-to-buffer): Ensure right window is selected if we
4066         chose another frame.
4068 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4070         * simple.el (what-cursor-position): Use get-char-property-change
4071         and next-single-char-property-change, to be able to show display
4072         properties that come from overlays as well as text properties.
4074 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4076         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4078         * cmuscheme.el (run-scheme, switch-to-scheme):
4079         * cus-edit.el (customize-group, custom-buffer-create)
4080         (customize-browse):
4081         * info.el (info):
4082         * shell.el (shell):
4083         * mail/sendmail.el (mail):
4084         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4086 2011-09-22  Richard Stallman  <rms@gnu.org>
4088         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4089         move back only to line beg, don't move back over blank lines.
4091 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4093         * files.el (copy-directory): Set directory attributes only in case
4094         they could be retrieved from the source directory.  (Bug#9565)
4096 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4098         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4099         (hs-find-block-beginning, hs-hide-level-recursive):
4100         Ignore strings as well as comments.  (Bug#9502)
4102 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4104         * progmodes/sql.el (sql-comint-postgres):
4105         Convert port number to a string.  (Bug#9566)
4107 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4109         * window.el (quit-window): Undedicate window when switching to
4110         previous buffer.  Reported by Thierry Volpiatto
4111         <thierry.volpiatto@gmail.com>.
4112         (special-display-popup-frame): When popping up a new frame reset
4113         its previous buffers to nil.  Simplify code.
4115 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4117         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4118         and process filter, as done also in `shell-command'.
4120 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4122         * window.el (set-window-buffer-start-and-point):
4123         Call set-window-start with NOFORCE argument t.
4124         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4125         (quit-window): Reword doc-string.  Handle new format of
4126         quit-restore parameter.  Don't delete window if it has a
4127         previous buffer we can show instead of the present one.
4128         (display-buffer-record-window): Rewrite using a new format for
4129         the quit-restore window parameter
4130         (special-display-popup-frame, display-buffer-same-window)
4131         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4132         (display-buffer-pop-up-window, display-buffer-use-some-window):
4133         Adapt symbol passed to display-buffer-record-window.
4134         * help.el (help-window-setup): Handle new format of quit-restore
4135         parameter.
4137 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4139         * faces.el (face-list): Fix docstring (bug#9564).
4141         * window.el (display-buffer--action-function-custom-type):
4142         Don't include internal functions in the Custom interface.
4144 2011-09-20  Juri Linkov  <juri@jurta.org>
4146         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4147         (Info-forward-node, Info-backward-node, Info-next-preorder)
4148         (Info-last-preorder): Use it.  (Bug#9528)
4150 2011-09-20  Juri Linkov  <juri@jurta.org>
4152         * info.el (Info-last-preorder): Visit last menu item only when
4153         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4155 2011-09-20  Julien Danjou  <julien@danjou.info>
4157         * password-cache.el (password-cache-remove): Remove entries even if the
4158         value is nil, so that password with a nil value (negative caching) is
4159         possible to invalidate.
4161 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4163         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4164         all whitespace around breakpoint.  (Bug#9553)
4165         (f90-find-breakpoint): Only break at whitespace inside a comment.
4167 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4169         * minibuffer.el (completion-file-name-table): Keep track of errors.
4170         (completion-table-with-predicate): Handle the case where pred1 is nil.
4171         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4173 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4175         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4176         (debugger-return-value): Signal an error if the debugging context does
4177         not await any return value.
4179         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4180         * image-mode.el (image-toggle-display-text)
4181         (image-toggle-display-image): Stay away from evil `intangible'.
4183 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4185         * replace.el (occur-revert-arguments): Make it permanent-local.
4186         (occur-mode): Don't call font-lock-defontify.
4188 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4190         * net/ldap.el (ldap-search-internal): Don't push empty search
4191         result (Bug#9508).
4193 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4197 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4199         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4200         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4202 2011-09-18  Juri Linkov  <juri@jurta.org>
4204         * buff-menu.el (Buffer-menu-mode-map):
4205         * dired.el (dired-mode-map):
4206         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4207         (lisp-interaction-mode-map):
4208         * emacs-lisp/package.el (package-menu-mode-map):
4209         * epa.el (epa-key-list-mode-map):
4210         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4211         (menu-bar-options-menu):
4212         * outline.el (outline-mode-menu-bar-map):
4213         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4214         * vc/vc-dir.el (vc-dir-menu-map):
4215         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4216         Capitalize non-function content words in menu item strings.
4218         * dired.el (dired-mode-map): Add menu item for
4219         `image-dired-dired-toggle-marked-thumbs'.
4221 2011-09-18  Juri Linkov  <juri@jurta.org>
4223         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4224         to `isearch-case-fold-search' and restore its original value
4225         after the `isearch-mode' call.
4227 2011-09-18  Juri Linkov  <juri@jurta.org>
4229         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4230         because `zgrep' returns 1 for successful matches (bug#9226).
4232 2011-09-18  Juri Linkov  <juri@jurta.org>
4234         * info.el (Info-extract-menu-node-name): Check the second match
4235         for empty string (second test-case of bug#9528).
4236         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4237         intermediate nodes to the history (first test-case of bug#9528).
4239 2011-09-18  Juri Linkov  <juri@jurta.org>
4241         * info.el (Info-mode-syntax-table): New variable.
4242         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4244 2011-09-18  Juri Linkov  <juri@jurta.org>
4246         * info.el (Info-file-supports-index-cookies):
4247         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4248         outputs one more line for long file names (bug#4142).
4250 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4252         * newcomment.el (comment-normalize-vars): If prompting for
4253         comment-start, set comment-start-skip too (Bug#8424).
4255 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
4257         * icomplete.el: Fix previous fix of Bug#5849.
4258         (icomplete-mode): Don't set completion-show-inline-help.
4259         (icomplete-minibuffer-setup): Set completion-show-inline-help
4260         locally during icompletion.
4262 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4264         * woman.el (woman2-process-escapes): Don't delete unrecognized
4265         escapes (Bug#7843).
4267         * files.el (inhibit-first-line-modes-regexps): Add image files.
4268         (hack-local-variables-prop-line): Return nil for malformed
4269         prop-lines (Bug#9044).
4271 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4273         * net/tramp.el (top): Don't require 'shell.
4274         (tramp-methods): Fix docstring.
4275         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4276         Return complete remote file name.  Handle "smb" case.
4277         Use `tramp-tmpdir', if defined for the respective method.
4278         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4280         * net/tramp-compat.el (top): Require 'shell.
4282         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4283         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4284         `tramp-current-host'.
4285         (tramp-get-remote-tmpdir): Remove.
4287         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4288         `tramp-tmpdir' entries.
4289         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4290         (tramp-smb-handle-file-attributes): Ignore errors.
4291         (tramp-smb-wait-for-output): Check also for process end.
4293 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4295         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4296         when sending QUIT (bug#9312).
4298 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4300         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4301         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4302         occur-mode-display-occurrence.
4303         (occur-edit-mode): Add usage message.
4304         (occur-cease-edit): New command.
4305         (occur-after-change-function): Use text properties to find the
4306         position of the prefix text.
4307         (occur-engine): Set stickiness of prefix text properties.
4309 2011-09-17  Glenn Morris  <rgm@gnu.org>
4311         * progmodes/etags.el (complete-tag):
4312         Fix call to completion-in-region.  (Bug#9526)
4314 2011-09-17  Juri Linkov  <juri@jurta.org>
4316         * textmodes/ispell.el (ispell-word): Add to the error message
4317         the word, ispell program name and current dictionary (bug#9121).
4318         (ispell-tex-arg-end): Capitalize "error" in the error message.
4320 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4322         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4323         check.  (Bug#4251)
4325 2011-09-17  Juri Linkov  <juri@jurta.org>
4327         * window.el (window-safe-min-height, window-safe-min-width):
4328         Fix typos (followup to bug#9522).
4330 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4332         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4334 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4336         * simple.el (line-move): If goal-column is set, move by logical
4337         lines, not by display lines.  (Bug#971)
4338         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4339         to reflect the above change.
4341 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4343         * image.el (imagemagick-register-types): Use regexp-opt.
4345 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4347         * window.el (display-buffer-base-action): Rename from
4348         display-buffer-default-action.  Make default value empty.
4349         (display-buffer-overriding-action): Convert to defvar.
4350         (display-buffer-fallback-action): New var.
4352 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4354         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4355         declaration.
4356         (package--add-to-archive-contents): If there is a duplicate entry
4357         with an older version, remove it.
4358         (package-menu-mark-delete, package-menu-mark-install)
4359         (package-menu-mark-unmark): Make unused args optional.
4360         (package-menu-mark-obsolete-for-deletion):
4361         Use package-menu-get-status instead of a regexp search.
4362         (package-menu-get-status): Use tabulated-list-entry.
4363         (package-menu-mark-upgrades): New command.
4364         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4365         (package-menu-execute): Do installation before deletion.
4366         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4367         instead of checking major-mode.
4368         (package-menu--find-upgrades): New function.
4370 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4372         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4373         passwords in the log buffer.
4374         (smtpmail-process-filter): Update the process marker so that the
4375         "broken by peer" status message is inserted in the right place.
4377 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4379         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4380         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4381         bibtex-completion-at-point-function.
4382         (bibtex-completion-at-point-function): Use them.
4384         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4386         * mpc.el (mpc-constraints-tag-lookup): New function.
4387         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4388         also to browser "album|playlist".
4390 2011-09-14  Juri Linkov  <juri@jurta.org>
4392         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4393         (isearch-edit-string): Use length of `isearch-string' when
4394         `isearch-fail-pos' returns nil.
4395         (isearch-message): Remove duplicate code and call
4396         `isearch-fail-pos' with arg `t'.
4398 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4400         * replace.el (occur-mode-goto-occurrence): Don't force using other
4401         window (Bug#9499).
4403         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4405 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4407         * window.el (display-buffer-window): Remove.
4408         (display-buffer-record-window): Use help-setup window parameter
4409         instead of variable display-buffer-window.
4410         (display-buffer-function, special-display-buffer-names)
4411         (special-display-function): Mention help-setup parameter instead
4412         of display-buffer-window in doc-string.
4413         * help.el (help-window-setup): New argument help-window.
4414         Use help-window-setup parameter instead of display-buffer-window.
4415         Reword some messages.
4416         (with-help-window): Pass window used for displaying the buffer
4417         to help-window-setup.  Don't set display-buffer-window.
4419 2011-09-13  Glenn Morris  <rgm@gnu.org>
4421         * emacs-lisp/debug.el (debugger-make-xrefs):
4422         Preserve point.  (Bug#9462)
4424 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4426         * window.el (window-deletable-p): Use next-frame.
4428 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4430         * window.el (window-auto-delete): Remove.
4431         (window-deletable-p): Remove argument FORCE.  Don't deal with
4432         dedication and previous buffers.
4433         (switch-to-prev-buffer): Don't delete window.
4434         (delete-windows-on): Delete a window's frame if and only if the
4435         window is dedicated.
4436         (replace-buffer-in-windows): Delete buffer's window or frame if
4437         and only if window is dedicated.
4438         (quit-window): Handle quit-restore as before last change.
4439         (bury-buffer): Delete window only if window-deletable-p returns t.
4441 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4443         * window.el (window-deletable-p): Never delete the last frame on a
4444         given terminal.
4446 2011-09-13  Glenn Morris  <rgm@gnu.org>
4448         * help.el (describe-key-briefly): Copy previous standard-output change.
4450 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4452         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4454 2011-09-13  Glenn Morris  <rgm@gnu.org>
4456         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4457         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4459 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4461         * dired-aux.el (dired-mark-read-string): Don't return default
4462         value on empty input (Bug#9361).
4463         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4464         Omit initial minibuffer contents.
4465         (dired-do-chmod): Signal an error on empty input.
4466         (dired-mark-read-string): Don't return default on empty input.
4468         * files.el (file-modes-symbolic-to-number): Doc fix.
4470 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * international/mule-cmds.el (ucs-completions): Remove.
4473         (read-char-by-name): Use complete-with-action instead; add metadata.
4475 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4477         * window.el (display-buffer--action-function-custom-type)
4478         (display-buffer--action-custom-type): New vars.
4479         (display-buffer-alist, display-buffer-default-action)
4480         (display-buffer-overriding-action): Add defcustom types.
4482         * frame.el (delete-other-frames): Doc fix (Bug#276).
4484 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4486         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4488 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4490         Change modes that used same-window-* vars to use switch-to-buffer.
4492         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4493         Use switch-to-buffer.
4495         * cus-edit.el (customize-group, custom-buffer-create)
4496         (customize-browse, custom-buffer-create-other-window):
4497         Use switch-to-buffer or switch-to-buffer-other-window.
4499         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4500         (Info-prev, Info-up, Info-speedbar-goto-node)
4501         (info-display-manual): Use switch-to-buffer.
4502         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4504         * mail/sendmail.el (mail): Use switch-to-buffer.
4505         (mail-recover): Use switch-to-buffer-other-window.
4507         * cmuscheme.el (run-scheme, switch-to-scheme):
4508         * ielm.el (ielm):
4509         * shell.el (shell):
4510         * net/rlogin.el (rlogin):
4511         * net/telnet.el (telnet, rsh):
4512         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4514 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
4516         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4518 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4520         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4521         so don't mention it (bug#9301).
4522         (dired-sort-toggle-or-edit): Clarify string further.
4524         * faces.el (face-spec-set-match-display): Make `(type graphic)'
4525         match `x', `w32' and `ns', like the manual says (bug#9029).
4527         * subr.el (eval-after-load): Doc string clarification (bug#9125).
4528         (process-kill-buffer-query-function): Mention the buffer name in
4529         the query.
4531         * image-mode.el (image-next-line): The line parameter is mandatory
4532         (bug#9258).
4534         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4535         which can be useful (bug#9301).
4537         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4539         * subr.el (match-string): Mention that the current buffer should
4540         be the same as the search was done in (bug#9282).
4542         * facemenu.el: Disable the remove-* commands if the mark isn't
4543         active (bug#9162).
4545 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4547         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4548         of display-buffer.
4549         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4551         * replace.el (occur-mode-goto-occurrence)
4552         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4553         and display-buffer.
4555         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4556         display-buffer.
4558         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4559         special-display and same-window variables.
4560         (mail-other-window): Use switch-to-buffer-other-window.
4561         (mail-other-frame): USe switch-to-buffer-other-frame.
4563         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4564         Use display-buffer-other-frame.
4565         (gdb-display-gdb-buffer): Use pop-to-buffer.
4567         * progmodes/gud.el (gud-goto-info): Use info-other-window.
4569         * progmodes/python.el: Don't set same-window-buffer-names.
4571         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4573         * window.el (display-buffer-alist): Add *Python*.
4575 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4577         * window.el (display-buffer-alist): Add entry for buffers
4578         previously handled same-window-*.
4579         (display-buffer-alist, display-buffer-default-action)
4580         (display-buffer-overriding-action): Mark as risky.
4581         (display-buffer-alist): Document action function changes.
4582         (display-buffer--same-window-action)
4583         (display-buffer--other-frame-action): New variables.
4584         (switch-to-buffer, display-buffer-other-frame): Use them.
4585         (display-buffer): Rename reuse-frame entry to reusable-frames.
4586         (display-buffer-reuse-selected-window): Function deleted.
4587         (display-buffer-reuse-window): Handle reusable-frames alist entry.
4588         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4589         (display-buffer-special): New function.
4590         (display-buffer--maybe-pop-up-frame-or-window): Rename from
4591         display-buffer-reuse-or-pop-window.  Split off special-display
4592         part into display-buffer-special.
4593         (display-buffer-use-some-window): Don't perform any special
4594         pop-up-frames handling.
4595         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4596         (display-buffer--maybe-same-window): Rename from
4597         display-buffer-maybe-same-window.
4599         * info.el: Don't set same-window-regexps.
4600         (info-setup): New function.
4601         (info-other-window, info): Call it.
4603         * cus-edit.el: Don't set same-window-regexps.
4604         (customize-group): New argument.
4605         (customize-group-other-window): Use it.
4606         (customize-face, customize-face-other-window): Likewise.
4607         (custom-buffer-create-other-window): Use pop-to-buffer directly.
4609         * net/rlogin.el:
4610         * net/telnet.el:
4611         * progmodes/gud.el: Don't set same-window-regexps.
4613         * cmuscheme.el:
4614         * ielm.el:
4615         * shell.el:
4616         * mail/sendmail.el:
4617         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4619 2011-09-10  Juri Linkov  <juri@jurta.org>
4621         * isearch.el (isearch-edit-string): Remove obsolete mention of
4622         `C-w' (`isearch-yank-word-or-char') from docstring.
4623         (isearch-query-replace): Fix typo in docstring (bug#9466).
4625 2011-09-10  Juri Linkov  <juri@jurta.org>
4627         * paren.el (show-paren-function): Don't show escaped parens.
4628         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
4630 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
4632         * mail/sendmail.el (mml-to-mime, mml-attach-file)
4633         (mm-default-file-encoding): Remove autoload forms, they are
4634         replaced with autoload cookies in mml.el and mm-encode.el.
4635         (mail-add-attachment): New command.
4636         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4637         (mail-mode): Mention mail-insert-file and mail-add-attachment in
4638         the doc string.
4639         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4641 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
4643         * simple.el (count-words-region): Use buffer if there's no region
4644         (bug#9429).
4646 2011-09-09  Juri Linkov  <juri@jurta.org>
4648         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4649         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4650         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
4652 2011-09-09  Alan Mackenzie  <acm@muc.de>
4654         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4655         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
4657 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
4659         Fix for Savannah bug#9392.
4660         * simple.el (mail-encode-mml): New defvar.
4662         * mail/rmail.el (mail-encode-mml): Add a defvar.
4663         (rmail-enable-mime-composing): Default to t.
4664         (rmail-forward): Use MIME method of forwarding only if both
4665         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4666         Set mail-encode-mml non-nil if the MIME method was used.
4668         * mail/sendmail.el (mml-to-mime): Add autoload form.
4669         (mail-encode-mml): Add a defvar.
4670         (mail-mode): Make mail-encode-mml buffer-local and initialize it
4671         to nil.
4672         (mail-send): If mail-encode-mml is non-nil, run the outgoing
4673         message through mml-to-mime, and reset mail-encode-mml to nil.
4675 2011-09-09  Glenn Morris  <rgm@gnu.org>
4677         * woman.el (woman-if-body): When processing an .el block,
4678         do not delete the next .el block as well.  (Bug#9447)
4679         (woman-special-characters): Add oq, cq, and hy characters.
4681 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4683         * window.el (window-deletable-p): Make sure window is live before
4684         invoking window-prev-buffers.
4686 2011-09-08  Leo Liu  <sdl.web@gmail.com>
4688         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
4690 2011-09-08  Juri Linkov  <juri@jurta.org>
4692         * progmodes/compile.el (compilation-environment): Make it
4693         a defcustom (bug#8340).
4695 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4697         * window.el (frame-auto-delete): Rename to window-auto-delete.
4698         Make it control auto-deletion of windows and/or frames.
4699         (window-deletable-p): New argument FORCE.  Rewrite conditions
4700         for deleting window/frame.  (Bug#9419)
4701         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4702         Rewrite handling of case when window/frame can be deleted.
4703         (delete-windows-on): Call window-deletable-p with new FORCE
4704         argument t.  (Bug#9456)
4706 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
4708         * help-mode.el (help-mode): Restore autoload.
4710 2011-09-07  Juri Linkov  <juri@jurta.org>
4712         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4713         `compilation-environment'.  Set buffer-local
4714         `compilation-environment' to `thisenv' later after (funcall mode).
4715         (Bug#8340)
4717         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
4718         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4719         instead of replacing its value.  (Bug#8340)
4721 2011-09-07  Juri Linkov  <juri@jurta.org>
4723         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4724         based on text properties put by `grep-filter' instead of matching
4725         escape sequences.
4726         (grep-mode): Set buffer-local `compilation-error-screen-columns'
4727         to the value of `grep-error-screen-columns' (bug#9438).
4729 2011-09-07  Juri Linkov  <juri@jurta.org>
4731         * simple.el (next-error-highlight, next-error-highlight-no-select):
4732         Doc fix (bug#9432).
4734 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
4736         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4737         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
4739 2011-09-07  Leo Liu  <sdl.web@gmail.com>
4741         * net/rcirc.el (rcirc-mode): Conditionally initialize
4742         rcirc-input-ring.
4744 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4746         * emacs-lisp/find-func.el (find-function-C-source): Only set
4747         find-function-C-source-directory after checking that we found a source
4748         file there (bug#9440).
4750 2011-09-06  Alan Mackenzie  <acm@muc.de>
4752         * isearch.el (isearch-other-meta-char): Wherever a key list is
4753         unread, "unread" the prefix arg, too.  This fixes bug #8901.
4755 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4757         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4759 2011-09-05  Juri Linkov  <juri@jurta.org>
4761         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4763 2011-09-05  Juri Linkov  <juri@jurta.org>
4765         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4766         keeping point where processing of grep matches begins, and
4767         continue to delete remaining escape sequences from the same point.
4768         (grep-filter): Make leading zero optional in "0?1;31m" because
4769         git-grep emits "\033[1;31m" escape sequences unlike expected
4770         "\033[01;31m" as GNU Grep does (bug#9408).
4771         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4773 2011-09-05  Juri Linkov  <juri@jurta.org>
4775         * subr.el (y-or-n-p): Capitalize "yes".
4777 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
4779         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
4780         `tramp-cache-unload-hook' where appropriate.
4781         (tramp-methods): Rename `tramp-remote-sh' to
4782         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
4783         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4785         * net/tramp-sh.el (top): Don't require 'shell.
4786         (tramp-methods): Add `tramp-remote-shell' and
4787         `tramp-remote-shell-args' entries.
4788         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4789         (tramp-sh-handle-shell-command): Remove.
4790         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4791         Use `tramp-remote-shell'.
4793 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
4795         * mail/sendmail.el (sendmail-query-once-function): Delete.
4796         (sendmail-query-once): Save directly to send-mail-function.
4797         Update message-send-mail-function too.
4799         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4801 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
4803         * progmodes/python.el (python-mode-map): Use correct function to
4804         start python interpreter from menu-bar (as reported by Geert
4805         Kloosterman).
4806         (inferior-python-mode-map): Fix typo.
4807         (python-shell-map): Remove.
4809 2011-09-03  Deniz Dogan  <deniz@dogan.se>
4811         * net/rcirc.el (rcirc-print): Simplify code for
4812         rcirc-scroll-show-maximum-output.  There is no need to walk
4813         through all windows to find the right one.
4815 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
4817         * help.el (help-return-method): Doc fix.
4819 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
4821         * window.el (window-deletable-p): Don't return a non-nil value
4822         when there's a buffer that was shown in the window before.
4823         (Bug#9419)
4824         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4825         Set window's previous buffers to nil.
4827 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
4829         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4830         newline before and after the tag line, so it doesn't interfere
4831         with determining the paragraph direction of bidirectional text.
4833 2011-09-03  Leo Liu  <sdl.web@gmail.com>
4835         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
4837 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
4839         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
4840         (pop-to-buffer): Change interactive spec.  Pass second argument
4841         directly to display-buffer.
4842         (display-buffer): Fix interactive spec.  Use functionp to
4843         distinguish between a function and a list of functions.
4845         * abbrev.el (edit-abbrevs):
4846         * arc-mode.el (archive-extract):
4847         * autoinsert.el (auto-insert):
4848         * bookmark.el (bookmark-bmenu-list):
4849         * files.el (find-file):
4850         * view.el (view-buffer):
4851         * progmodes/compile.el (compilation-goto-locus):
4852         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4854 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
4856         * window.el (display-buffer-alist): Doc fix.
4857         (display-buffer): Add docstring.  Don't treat
4858         display-buffer-default specially.
4859         (display-buffer-reuse-selected-window)
4860         (display-buffer-same-window, display-buffer-maybe-same-window)
4861         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4862         (display-buffer-pop-up-window)
4863         (display-buffer-reuse-or-pop-window)
4864         (display-buffer-use-some-window): New functions.
4865         (display-buffer-default-action): Use them.
4866         (display-buffer-default): Delete.
4867         (pop-to-buffer-1): Fix choice of actions.
4869 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4871         * minibuffer.el (completion--insert-strings): Don't get confused by
4872         completion entries that end with an LF char.
4874 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
4876         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4878 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
4880         * window.el (display-buffer): Restore interactive spec.
4881         (display-buffer-same-window, display-buffer-other-window):
4882         New functions.
4883         (pop-to-buffer-1): New function.  Use the above.
4884         (pop-to-buffer, pop-to-buffer-same-window): Use it.
4885         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
4887         * view.el (view-buffer-other-window, view-buffer-other-frame):
4888         Just use pop-to-buffer.
4890 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4892         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
4894 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
4896         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
4898 2011-08-31  Richard Stallman  <rms@gnu.org>
4900         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4901         of the separation of rmail-view-buffer from rmail-buffer.
4902         If you say no to "replace original", the decrypt is in the
4903         view buffer.  If you say yes, the decrypt goes into the
4904         rmail buffer also.
4906 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
4908         * window.el (display-buffer-window): Rewrite doc-string.
4909         (display-buffer-record-window): New function.
4910         (display-buffer-macro-specifiers)
4911         (display-buffer-even-window-sizes, display-buffer-set-height)
4912         (display-buffer-set-width, display-buffer-in-window)
4913         (display-buffer-reuse-window, display-buffer-split-specifiers)
4914         (display-buffer-side-specifiers, display-buffer-split-window-1)
4915         (display-buffer-split-window, display-buffer-split-atom-window)
4916         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4917         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4918         (display-buffer-other-window-means-other-frame)
4919         (display-buffer-normalize-special)
4920         (display-buffer-normalize-default)
4921         (display-buffer-normalize-argument)
4922         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4923         (display-buffer-normalize-specifiers, display-buffer-frame)
4924         (display-buffer-same-window, display-buffer-same-frame)
4925         (display-buffer-other-window)
4926         (display-buffer-same-frame-other-window)
4927         (display-buffer-other-frame, pop-to-buffer-same-window)
4928         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4929         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4930         (switch-to-buffer-same-frame)
4931         (switch-to-buffer-other-window-same-frame)
4932         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4933         (display-buffer-alist-set-1, display-buffer-alist-set-2)
4934         (display-buffer-alist-set): Remove.
4935         (display-buffer-function, special-display-buffer-names)
4936         (special-display-regexps, special-display-function):
4937         In doc-string refer to display-buffer-window and quit-restore
4938         parameter.
4939         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4940         (special-display-frame-alist, special-display-popup-frame)
4941         (same-window-buffer-names, same-window-regexps, same-window-p)
4942         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4943         (split-window-preferred-function, split-height-threshold)
4944         (split-width-threshold, window-splittable-p)
4945         (split-window-sensibly, window--try-to-split-window)
4946         (window--frame-usable-p, even-window-heights)
4947         (window--even-window-heights, window--display-buffer-1)
4948         (window--display-buffer-2, display-buffer-other-frame):
4949         Restore old Emacs 23 code, order and doc-strings where applicable.
4950         (display-buffer-default, display-buffer-assq-regexp): New functions.
4951         (display-buffer-alist): Rewrite doc-string.
4952         (display-buffer-default-action)
4953         (display-buffer-overriding-action): New variables.
4954         (display-buffer, switch-to-buffer): Rewrite.
4955         (pop-to-buffer): Restore Emacs 23 behavior but use
4956         window-normalize-buffer-to-display.
4957         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4958         Restore Emacs 23 behavior but use
4959         window-normalize-buffer-to-switch-to.
4960         (pop-to-buffer-same-window): Rewrite.
4961         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4962         Rewrite using Emacs 23 options.
4964 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
4966         * net/tramp.el (tramp-root-regexp): Remove.
4967         (tramp-completion-file-name-regexp-unified)
4968         (tramp-completion-file-name-regexp-separate)
4969         (tramp-completion-file-name-regexp-url): Don't use leading volume
4970         letter on win32 systems.  (Bug#5303, Bug#9311)
4971         (tramp-drop-volume-letter): Simplify definition.
4972         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4974 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4976         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4977         (bug#9356).
4979 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
4981         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
4983 2011-08-29  Juri Linkov  <juri@jurta.org>
4985         * isearch.el (isearch-done): Don't display message "Mark saved"
4986         when arg `edit' is non-nil to prevent its flicker in the echo area.
4988 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
4990         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4991         obsolete packages for deletion.
4993 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
4995         * help-mode.el (help-mode-map): Add special-mode-map to parent.
4996         (help-mode): Derive help-mode from special-mode.  Don't invoke
4997         view-mode from help-mode.
4998         (help-xref-override-view-map): Remove.
4999         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5000         view-mode is not used anymore.
5002 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5004         * server.el (server-port): Doc fix.
5006         * cus-theme.el (custom-theme-choose-mode): Inherit from
5007         special-mode (Bug#9124).
5008         (custom-theme-choose-mode-map): Add special-mode to parent.
5010 2011-08-28  Alan Mackenzie  <acm@muc.de>
5012         * progmodes/cc-fonts.el
5013         (c-make-font-lock-BO-decl-search-function): New function.
5014         (c-basic-matchers-after - "Fontify the clauses after various
5015         keywords"): Extract the three keyword lists for the 3 erroneous
5016         constructs from the list of four, and use the new function above
5017         in place of an old one.
5019 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5021         * net/rcirc.el (rcirc-insert-prev-input)
5022         (rcirc-insert-next-input): Remove unused argument.
5024 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5026         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5028 2011-08-27  Alan Mackenzie  <acm@muc.de>
5030         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5031         handle function pointer parameters properly.
5033 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5035         * window.el (display-buffer-reuse-window): Fix case where
5036         selected window was reused with non-nil OTHER-WINDOW argument.
5037         (Bug#9381)
5039 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5041         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5042         oftc's NickServ messages.
5044 2011-08-27  Glenn Morris  <rgm@gnu.org>
5046         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5048 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5050         * emacs-lisp/package.el (package-install): Call package-initialize
5051         if called interactively.
5053 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5055         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5057 2011-08-25  Juri Linkov  <juri@jurta.org>
5059         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5060         `search-whitespace-regexp' (bug#9364).
5062 2011-08-25  Juri Linkov  <juri@jurta.org>
5064         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5065         `regexp-search-ring' to their global values to protect from
5066         updating by `read-from-minibuffer' (bug#9185).
5068 2011-08-25  Juri Linkov  <juri@jurta.org>
5070         * textmodes/ispell.el (ispell-command-loop): Add newline
5071         at the end of the "Use option `i'..." line.
5073 2011-08-25  Juri Linkov  <juri@jurta.org>
5075         * battery.el (display-battery-mode): If `battery-status-function'
5076         or `battery-mode-line-format' is nil, display the message and set
5077         `display-battery-mode' to nil (bug#9363).
5079 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5081         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5082         bidi-string-mark-left-to-right; they are unnecessary now.
5084 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5086         * net/quickurl.el: Documentation typo fixes.
5088 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5090         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5092 2011-08-25  Glenn Morris  <rgm@gnu.org>
5094         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5096         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5097         (smtpmail-via-smtp): Handle nil response from smtp.
5099 2011-08-24  Juri Linkov  <juri@jurta.org>
5101         * proced.el (proced-marked): Inherit from `error' instead of
5102         `font-lock-warning-face'.
5104         * ibuffer.el (ibuffer-marked-face): Change default face from
5105         `font-lock-warning-face' to `warning'.
5106         (ibuffer-deletion-face): Change default face from
5107         `font-lock-type-face' to `error'.
5109         * battery.el (battery-update): Use the face `error' instead of
5110         `font-lock-warning-face' (bug#6117).
5112 2011-08-24  Juri Linkov  <juri@jurta.org>
5114         * faces.el (success): Change face color from "Green3" to
5115         "ForestGreen" on light background (bug#9353).
5117 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5119         * window.el (quit-window): Rename from quit-restore-window.
5120         Use same arglist as old quit-window.
5121         (frame-auto-delete): Doc fix.
5123         * view.el (view-mode-exit): Use quit-window.
5125 2011-08-24  Juri Linkov  <juri@jurta.org>
5127         * isearch.el (isearch-ring-adjust1): Start visiting previous
5128         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5129         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5130         for empty search string (when the last search string is reused
5131         automatically) to adjust the isearch ring to the last element and
5132         prepare the correct index for further M-p commands (bug#9185).
5134 2011-08-24  Kenichi Handa  <handa@m17n.org>
5136         * international/ucs-normalize.el: If decomposition property of
5137         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5138         nil.
5139         (nfd, nfkd): Likewise.
5141 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5143         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5144         from process filters aren't reliably transmitted to the surrounding
5145         accept-process-output.
5146         (mpc-proc-check): New function.
5147         (mpc-proc-sync): Use it (bug#8293)
5149 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5152         Add compatibility functions (bug#9313).
5154 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5156         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5158         * international/uni-bidi.el: Regenerate.
5160 2011-08-23  Kenichi Handa  <handa@m17n.org>
5162         * international/charprop.el:
5163         * international/uni-bidi.el:
5164         * international/uni-category.el:
5165         * international/uni-combining.el:
5166         * international/uni-comment.el:
5167         * international/uni-decimal.el:
5168         * international/uni-decomposition.el:
5169         * international/uni-digit.el:
5170         * international/uni-lowercase.el:
5171         * international/uni-mirrored.el:
5172         * international/uni-name.el:
5173         * international/uni-numeric.el:
5174         * international/uni-old-name.el:
5175         * international/uni-titlecase.el:
5176         * international/uni-uppercase.el: Regenerate.
5178 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5180         * help.el (help-window-setup): Fix message displayed when other
5181         window is reused.  (Bug#9341)
5183 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5185         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5186         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5188         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5189         Mark obsolete.
5190         * shell.el (shell-parse-pcomplete-arguments): New function.
5191         (shell-completion-vars): Use it instead (bug#9160).
5193 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5195         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5196         strings and comments (bug#9333).
5198         * emacs-lisp/debug.el (debug-arglist): New function.
5199         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5200         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5202 2011-08-22  Juri Linkov  <juri@jurta.org>
5204         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5205         Revert regexp that highlights output switches to its old
5206         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5208         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5209         to check for empty output (bug#9226).
5211 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5213         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5214         symbol-constituent as the default, as that stops font-lock from
5215         working properly (Bug#8843).
5217 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5219         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5220         `coding-system-for-*' around the process open call to avoid
5221         auth-source side effects.
5222         (smtpmail-try-auth-methods): Expand the secret password.
5223         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5224         probe hangs.
5226 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5228         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5230         * emacs-lisp/find-func.el (find-function-noselect): New arg
5231         lisp-only.
5233         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5234         signal an error for built-in functions (Bug#6664).
5236 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5238         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5239         (smtpmail-try-auth-methods): Use it.
5241 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5243         * font-lock.el (font-lock-fontify-region)
5244         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5245         (font-lock-default-unfontify-buffer)
5246         (font-lock-default-fontify-region)
5247         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5249         * progmodes/compile.el (compilation-error-properties):
5250         Fix confusion between file struct and message struct (Bug#9319).
5251         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5252         `ant' regexp.
5254         * net/browse-url.el (browse-url-firefox): Don't call
5255         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5257 2011-08-20  Glenn Morris  <rgm@gnu.org>
5259         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5261         * tutorial.el (tutorial--default-keys): Update some default bindings.
5263         * files.el (hack-local-variables): Fully ignore case for "mode:".
5265 2011-08-20  Alan Mackenzie  <acm@muc.de>
5267         Resolve invalid use of a regexp in regexp-opt.
5269         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5270         detection for a java annotation.
5272         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5273         detection for a java annotation.
5275         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5276         handling for java.
5277         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5279 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5281         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5282         (Bug#9274).
5284 2011-08-20  Alan Mackenzie  <acm@muc.de>
5286         Fontify CPP expressions correctly when starting in the middle of
5287         such a construct.  Mainly for when jit-lock etc. starts a chunk
5288         here.
5290         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5291         variable.
5292         (c-make-font-lock-search-form): New function, extracted from
5293         c-make-font-lock-search-function.
5294         (c-make-font-lock-search-function): Use the above function.
5295         (c-make-font-lock-context-search-function): New function.
5296         (c-cpp-matchers): Enhance the preprocessor expression case with
5297         the above function
5298         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5299         which takes an expression.
5301         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5303 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5305         * window.el (display-buffer-reuse-window)
5306         (display-buffer-pop-up-window): Don't reuse or split a side
5307         window.
5309 2011-08-19  Glenn Morris  <rgm@gnu.org>
5311         * files.el (hack-local-variables-prop-line, hack-local-variables):
5312         Downcase "Mode:".  (Bug#9331)
5314 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5316         * international/characters.el: Add L and R categories.
5318         * subr.el (bidi-string-mark-left-to-right): Rename from
5319         string-mark-left-to-right.  Use category search.
5321         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5323 2011-08-18  Juri Linkov  <juri@jurta.org>
5325         * faces.el (error, warning, success): New faces with definitions
5326         copied from old default values of `font-lock-warning-face',
5327         `compilation-warning', `compilation-info' (bug#6117).
5329         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5331         * progmodes/compile.el (compilation-error): Inherit from `error'.
5332         (compilation-warning): Inherit from `warning'.
5333         (compilation-info): Inherit from `success'.
5335         * dired.el (dired-marked): Inherit from `warning'.
5336         (dired-flagged): Inherit from `error'.
5338 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5340         * mail/smtpmail.el (auth-source): Require to avoid problems with
5341         binding variables (bug#9298).  Also clean up some unused
5342         autoloads.
5344         * net/network-stream.el (network-stream-open-starttls):
5345         Support using starttls.el without using gnutls-cli.
5347 2011-08-17  Juri Linkov  <juri@jurta.org>
5349         * progmodes/grep.el (rgrep): Handle the case when
5350         `grep-find-command' is a cons cell (bug#9278).
5352 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5354         * window.el (display-buffer-pop-up-frame): Run frame creation
5355         function with BUFFER current (as special-display-popup-frame
5356         does).  Reported by Drew Adams.
5358 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5360         * epa-mail.el: Simplify GnuPG group expansion using
5361         epg-expand-group.
5362         (epa-mail-group-alist, epa-mail-group-modtime)
5363         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5364         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5365         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5366         Remove.
5368 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5370         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5372 2011-08-16  Alan Mackenzie  <acm@muc.de>
5374         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5375         Correct, to avoid the inside of macros.
5377 2011-08-16  Richard Stallman  <rms@gnu.org>
5379         * epa-mail.el: Handle GnuPG group definitions.
5380         (epa-mail-group-alist, epa-mail-group-modtime)
5381         (epa-mail-gnupg-conf-file): New variables.
5382         (epa-mail-parse-groups, epa-mail-sync-groups)
5383         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5384         (epa-mail-expand-recipients): New functions.
5385         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5387         * mail/rmail.el (rmail-epa-decrypt): New command.
5389         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5390         Don't bind buffer-read-only, just inhibit-read-only.
5391         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5392         (epa-decrypt-armor-in-region): Make error message clearer.
5394 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5397         and "a2b" to "ab" for `prefix'.
5399 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5401         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5402         filter groups.
5403         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5404         Fourquet (Bug#8804).
5406 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5408         * startup.el (argi): Declare as global variable (bug#9275).
5410 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5412         * subr.el (string-mark-left-to-right): Search the entire string
5413         for RTL script, not just the terminating character.  Doc fix.
5415 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5417         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5418         New function.
5419         (js--regexp-literal, js-syntax-propertize-function): Remove.
5420         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5421         (js-mode-map): Don't rebind electric keys.
5422         (js-insert-and-indent): Remove.
5423         (js-mode): Setup electric-layout and electric-indent instead.
5425         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5427 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5429         * epa.el (epa-progress-callback-function): Fix the logic of
5430         displaying progress.
5431         * epa-file.el (epa-file-insert-file-contents): Make progress
5432         display more user-friendly.
5433         (epa-file-write-region): Ditto.
5435 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5437         * subr.el (string-mark-left-to-right): New function.
5439         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5440         Use string-mark-left-to-right.
5441         (list-buffers-noselect): Caller changed.
5443         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5444         Use string-mark-left-to-right.
5445         (tabulated-list-print): Recenter after moving point.
5447 2011-08-10  Juri Linkov  <juri@jurta.org>
5449         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5450         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5451         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5453 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5455         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5456         (Bug#7554).
5458 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5460         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5461         character.  (Bug#6594)
5463 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5465         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5466         (image-dired--with-db-file): New macro.
5467         (image-dired-write-tags, image-dired-remove-tag)
5468         (image-dired-create-gallery-lists, image-dired-write-comments)
5469         (image-dired-get-comment, image-dired-mark-tagged-files)
5470         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5471         (image-dired-gallery-generate): Use insert-file-contents.
5473         * time.el (display-time-world-list, display-time-world-display):
5474         * time-stamp.el (time-stamp-string):
5475         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5476         set-time-zone-rule (Bug#7337).
5478 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5480         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5481         (epg-error-to-string, epg-errors-to-string): New function.
5482         (epg-wait-for-completion): Reverse errors list.
5483         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5484         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5485         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5486         (epg-sign-keys, epg-generate-key-from-file)
5487         (epg-generate-key-from-string): Format errors by using
5488         epg-errors-to-string (bug#9255).
5489         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5491 2011-08-07  Juri Linkov  <juri@jurta.org>
5493         * faces.el (list-faces-display): Remove extra angle bracket
5494         from `help-mode-map'.
5496         * info.el (Info-history-toc-nodes): Doc fix.
5498         * longlines.el (longlines-mode): Doc fix.
5500 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5502         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5503         of statements and in a few more cases (bug#9183).
5505         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5506         New functions.
5507         (cl-transform-lambda): Use them (bug#9239).
5509 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
5511         * window.el (display-buffer-same-window)
5512         (display-buffer-same-frame, display-buffer-other-window)
5513         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5514         (pop-to-buffer-other-window)
5515         (pop-to-buffer-same-frame-other-window)
5516         (pop-to-buffer-other-frame): Make them defuns.
5517         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5519 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5521         * subr.el (make-composed-keymap): Move from C.  Change calling
5522         convention, and improve docstring to bring attention to a subtle point.
5523         * minibuffer.el (completing-read-default): Adjust accordingly.
5525 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
5527         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5528         (tramp-open-shell): Use `tramp-shell-quote-argument'.
5530         * net/trampver.el: Update release number.
5532 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5534         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5535         "in" (bug#9190).
5537 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5539         * mail/sendmail.el (sendmail-query-once): Restore the current
5540         buffer after querying (bug#9074).
5542         * dired.el (dired-flagged): Use different faces for marked and
5543         flagged files (bug#6117).
5545         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5546         (bug#4433).
5548         * ido.el (ido-mode): Switch off the message if called
5549         non-interactively.
5551         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5552         before 587, since it appears that that's more likely to work for
5553         more people.
5555         * cus-edit.el (custom-file): When running under emacs -q, always
5556         refuse to save the customizations, even if the .emacs file doesn't
5557         exist.
5559         * info.el: Remove the `Info-beginning-of-buffer' function
5560         (bug#8325).
5562         * net/network-stream.el (network-stream-open-starttls):
5563         Use `starttls-available-p' to see whether starttls.el can be used.
5565 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
5567         * window.el (display-buffer-in-window): Don't set dedicated status
5568         of window here (Bug#9215).
5569         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5570         (display-buffer-pop-up-side-window)
5571         (display-buffer-in-side-window): Set dedicated status of window here.
5573 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5575         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5576         before binding generated-autoload-file.
5578 2011-08-01  Deniz Dogan  <deniz@dogan.se>
5580         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5582 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
5584         Sync with Tramp 2.2.2.
5586         * net/trampver.el: Update release number.
5588 2011-07-30  Juri Linkov  <juri@jurta.org>
5590         * dired-aux.el (dired-touch-initial): Remove function.
5591         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5592         current time, and `default' to the last modification time of the
5593         current marked file (bug#6887).
5595 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
5597         * simple.el (goto-line): Use string-to-number to provide a
5598         numeric argument to read-number (bug#9163).
5600 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
5602         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5603         connection process, it could be nil.
5605 2011-07-27  Leo Liu  <sdl.web@gmail.com>
5607         Simplify url handling in rcirc-mode.
5609         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5610         (rcirc-browse-url-at-mouse): Remove.
5611         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5613 2011-07-26  Alan Mackenzie  <acm@muc.de>
5615         Fontify bitfield declarations properly.
5617         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5618         (c-symbol-chars): Now exported as a lang variable.
5619         (c-not-primitive-type-keywords): New lang variable.
5621         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5622         QT keyword "more" to prevent "more slots: ...." being spuriously
5623         parsed as a bitfield declaration.
5625         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5626         Refactor and enhance to handle bitfield declarations.
5627         (c-punctuation-in): New function.
5628         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5629         declarations properly.
5631 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
5633         * calendar/icalendar.el (icalendar--all-events): Take care of
5634         multiple vcalendars in a single file.
5635         (icalendar--convert-float-to-ical): Checkdoc fixes.
5637 2011-07-25  Deniz Dogan  <deniz@dogan.se>
5639         * image.el (insert-image): Clarifying docstring.
5641 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
5643         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5644         `tramp-send-command-and-check' if there is no error.
5645         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5647 2011-07-22  Alan Mackenzie  <acm@muc.de>
5649         Prevent cc-langs.elc being loaded at run time.
5651         * progmodes/cc-mode.el: Remove two autoload forms which loaded
5652         cc-langs.
5654         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5655         "(require 'cc-langs)".  Quote a form so it will evaluate at
5656         (cc-mode's) compilation time.
5658 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
5660         * net/tramp.el (tramp-file-name-handler): Avoid recursive
5661         loading.  (Bug#9114)
5663 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
5665         * window.el (display-buffer-pop-up-window)
5666         (display-buffer-pop-up-side-window)
5667         (display-buffer-in-side-window): Call display-buffer-set-height
5668         and display-buffer-set-width after setting the new window's
5669         buffer so `fit-window-to-buffer' and friends work on the right buffer.
5671 2011-07-20  Sam Steingold  <sds@gnu.org>
5673         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5674         (etags-tags-included-tables): Call `convert-standard-filename' on
5675         the file names contained in TAGS so that windows Emacs can handle
5676         TAGS files created by cygwin ctags.
5678 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5680         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5681         which apparently didn't work.
5683 2011-07-19  Roland Winkler  <winkler@gnu.org>
5685         * proced.el (proced-send-signal): For *Marked Processes* buffer
5686         put point at beginning of buffer.
5688 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
5690         * proced.el (proced-format): Make header lines align with the text
5691         (bug#1779).
5693 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5695         * view.el (view-buffer): Allow running in `special' modes if we're
5696         visiting a file (bug#8615).
5698 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
5700         * window.el (display-buffer-alist-of-strings-p)
5701         (display-buffer-alist-set-1, display-buffer-alist-set-2):
5702         New functions.
5703         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5704         more accurately.
5706 2011-07-18  Alan Mackenzie  <acm@muc.de>
5708         Fontify declarators properly when, e.g., a jit-lock chunk begins
5709         inside a declaration.
5711         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5713         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5714         New function.
5715         (c-complex-decl-matchers): Insert reference to
5716         c-font-lock-enclosing-decls.
5718         * progmodes/cc-engine.el (c-backward-single-comment):
5719         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5720         to nil around calls to (forward-comment -1).
5722 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5724         * image.el (put-image): Doc typo fix.
5726         * progmodes/etags.el (tags-search): Doc typo fix.
5728         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5729         password if we get errors 550 to 554.
5731 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5733         * net/gnutls.el (gnutls-log-level): Remove.
5735         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5736         indentation character (bug#6380).
5738         * files.el (buffer-offer-save): Made permanently local (bug#6241).
5740         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5741         to clarify what the problem is (bug#4291).
5743         * simple.el (current-kill): Clarify what
5744         `interprogram-paste-function' does (bug#7500).
5745         (auto-fill-mode): Document `auto-fill-function' in relation to
5746         `auto-fill-mode' (bug#2470).
5748 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
5750         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5751         method if slot is read-only (bug#9035).
5753 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
5755         * frame.el (select-frame-set-input-focus): New argument NORECORD.
5756         * window.el (pop-to-buffer): Select window used even if it was
5757         selected before, see discussion of (Bug#8615), (Bug#6954).
5758         Pass argument NORECORD on to select-frame-set-input-focus.
5760 2011-07-15  Glenn Morris  <rgm@gnu.org>
5762         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
5763         Respect help-form.
5765 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
5767         * net/gnutls.el (gnutls-min-prime-bits): New variable.
5768         (gnutls-negotiate): Use it.
5770 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5772         * net/gnutls.el (gnutls-negotiate):
5773         Upcase `gnutls-algorithm-priority'.
5775 2011-07-15  Glenn Morris  <rgm@gnu.org>
5777         * jka-compr.el (jka-compr-verbose): Move from here...
5778         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
5779         Add missing :version tag.
5780         * info.el: No need to require jka-compr when compiling.
5782 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5784         * net/gnutls.el (gnutls-algorithm-priority): New variable.
5785         (gnutls-negotiate): Use it.
5787         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5789         * info.el (Info-beginning-of-buffer): New command.
5790         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5791         announcing `b' as the key (bug#8325).
5792         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
5794         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5796         * international/mule-cmds.el
5797         (describe-specified-language-support): Make the error message
5798         clearer (bug#8905).
5800         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5802         * isearch.el (isearch-barrier): Add a doc string, since it's
5803         mentioned in a function doc string (bug#8678).
5805 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
5807         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5808         buffer argument (Bug#9083) and self-identifying label argument.
5810 2011-07-15  Glenn Morris  <rgm@gnu.org>
5812         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
5814 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5816         * man.el (Man-fontify-manpage): Fix message when formatting the
5817         man page (bug#7929).
5819 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
5821         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5822         argument LRM; if non-nil, append an invisible LRM character to the
5823         buffer name.
5824         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5825         last argument non-nil, when formatting buffer names.
5826         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5827         paragraph direction.
5829 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5831         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5832         the man page name (bug#7929).
5834         * image.el (put-image): Mention the `put-image' overlay property
5835         (bug#7834).
5837         * scroll-bar.el (set-scroll-bar-mode): Mention that
5838         `scroll-bar-mode' lists the values (bug#7772).
5840         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5841         command (bug#7729).
5843         * rect.el (apply-on-rectangle): Return the point after the last
5844         operation.
5845         (string-rectangle): Go to the point after the last operation
5846         (bug#7522).
5848         * printing.el (pr-toggle-region): Clarify the documentation
5849         slightly (bug#7493).
5851         * time.el (display-time-update):
5852         Allow `display-time-mail-function' to return nil (bug#7158).
5853         Fix suggested by Detlev Zundel.
5855         * vc/diff.el (diff): Clarify the order the file names are read
5856         (bug#7111).
5858         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5859         the doc string (bug#7015).
5861         * font-lock.el (font-lock-maximum-decoration): Mention what
5862         numeric levels mean (bug#6935).
5864         * startup.el (initial-buffer-choice): Don't mention the `none'
5865         selection, which is against policy.
5867 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
5869         * window.el (display-buffer-normalize-special):
5870         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
5872 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
5874         * subr.el (version<, version<=, version=): Mention "-CVS" and
5875         "-12345" alpha version numbers.
5877 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
5879         * bindings.el: Add advertised binding for set-mark-command
5880         (Bug#5772).
5882 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
5884         * bindings.el (mode-line-other-buffer):
5885         * bookmark.el (bookmark-bmenu-2-window):
5886         * bs.el (bs-cycle-next, bs-cycle-previous):
5887         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5888         switch-to-buffer.
5890         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5891         Delete.
5893 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
5895         * follow.el (follow-debug-message, follow-redisplay):
5896         * jka-cmpr-hook.el (with-auto-compression-mode):
5897         Fix typos in docstrings.
5899 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5901         * subr.el (with-silent-modifications): Clarify somewhat what the
5902         macro inhibits (bug#6525).
5904         * simple.el (eval-expression): Note what it does if called
5905         interactively (bug#6495).
5907 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
5909         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5910         Use pop-to-buffer buffer-or-name if it is nil.
5912         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5913         Remove switch-to-buffer.
5915 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5917         * files.el (make-directory): Clarify that an error will be raised
5918         if there's an error (bug#6397).
5920         * startup.el (initial-buffer-choice): Add `none' as a choice
5921         (bug#6234).
5923         * subr.el (add-hook): Clarify section about buffer-local hooks
5924         (bug#6218).
5926         * dired.el (dired-flagged): Clarify doc string (bug#6117).
5928 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
5930         * tabify.el (untabify): Preserve the current column so that point
5931         doesn't move (bug#6032).
5933 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5935         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5936         Rewrite to avoid awkward possessive "s" (bug#5986).
5938 2011-07-13  Glenn Morris  <rgm@gnu.org>
5940         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
5941         (dired-insert-directory): Give a message the first time
5942         if ls is found not to support --dired.
5944 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5946         * simple.el (toggle-truncate-lines): Clarify what is toggled
5947         (bug#5580).  Text by Drew Adams.
5949 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
5951         * simple.el (blink-matching-open): Make the error message from the
5952         last change less verbose.
5954 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
5956         * font-lock.el (font-lock-comment-face): Use the high contrast
5957         "yellow" color for font-lock-comment-face on low color terminals
5958         using a dark background color (bug#4221).
5960 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5962         * dired.el (dired-insert-set-properties): Make the doc string
5963         reflect what it does now (bug#5325).
5965         * simple.el (blink-matching-open): Say that we were unable to find
5966         the match within the limit, if we're limited (bug#5122).
5968         * international/mule-cmds.el (prefer-coding-system): Add an
5969         example (bug#4869).
5971         * progmodes/etags.el (tags-search): Document `file-list-form'
5972         (bug#4731).
5974 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
5976         * net/browse-url.el (browse-url-default-browser)
5977         (browse-url-browser-function): Make the default browser choice a
5978         bit more logical (bug#4300).  Also clean up the doc string.
5980 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
5982         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5983         binary endings (bug#4440).
5985 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5987         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5988         which can be pretty annoying (bug#8971).
5990         * jka-compr.el (jka-compr-verbose): New variable, and use
5991         throughout (bug#8971).
5993         * info.el (Info-find-file): Fall back on the installation
5994         directory if we can't find the info node anywhere else.
5996 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
5998         * vc/vc.el (vc-revert-file):
5999         Don't set file time-stamp in the past.  (Bug#5181)
6001 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6003         * files.el (after-find-file): Give a better error message when
6004         trying to find a symlink that points to a file that doesn't exist
6005         (bug#4398).
6007         * progmodes/cc-vars.el: Remove (probably) misleading comment
6008         (bug#4396).
6010 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6012         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6014 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6016         * mouse-sel.el: Hack restoring functionality, while keeping
6017         compatibility with 2010-07-03 changes to mouse selection.
6018         (mouse-sel-primary-overlay): New var.
6019         (mouse-sel-selection-alist): Use it.
6020         (mouse-sel-mode): Doc fix; remove points that are default features
6021         of mouse.el.
6023 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6025         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6026         Fix previous fix (bug#2490).
6028 2011-07-12  Roland Winkler  <winkler@gnu.org>
6030         * textmodes/bibtex.el (bibtex-initialize):
6031         Use pop-to-buffer-same-window.
6032         (bibtex-search-entries): Fix interactive call.
6034 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6036         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6037         Fontise bytecomp Error lines more correctly (bug#2490).
6038         Fix suggested by Johan BockgÃ¥rd.
6040         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6042         * dired-x.el (dired-guess-default): Use `delete-dups'.
6044 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6046         * dired.el (dired-mark-prompt):
6047         * dired-aux.el (dired-read-shell-command): Doc fix.
6049 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6051         * mail/sendmail.el (sendmail-query-once):
6052         Use `customize-save-variable' unconditionally, now that it works under
6053         emacs -Q.
6055         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6057         * cus-edit.el (custom-file): Take an optional no-error variable.
6058         (customize-save-variable): Set the variable, and give a warning if
6059         running under "emacs -q".
6061 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6063         * loadhist.el (unload-feature-special-hooks):
6064         Add `auto-coding-functions', `fill-nobreak-predicate' and
6065         `find-directory-functions' (bug#5327).
6067 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6069         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6071         * cus-edit.el (custom-guess-name-alist): -alist variables should
6072         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6074         * printing.el: Add documentation to all the `pr-toggle-' commands.
6076 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6078         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6079         backends where it makes sense (bug#2623).
6081 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6083         * dired-x.el (dired-guess-default): Remove duplicate shell command
6084         entries (bug#2028).
6085         (dired-guess-default): Fix grammar in doc string (bug#2028).
6086         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6088         * subr.el (remove-duplicates): New conveniency function.
6090 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6092         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6093         (bug#1526).
6095 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6097         * window.el (display-buffer-normalize-default): Don't invert
6098         meaning of even-window-heights.  Reported by Eli Zaretskii
6099         <eliz@gnu.org>.
6101 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6103         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6105 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6107         * window.el (display-buffer): Fix arguments to
6108         display-buffer-reuse-window in last change.
6110         * faces.el (link): Use a less saturated blue on light backgrounds.
6112         * startup.el (fancy-startup-text, fancy-about-text)
6113         (fancy-startup-tail): Use font-lock faces, for background safety.
6115 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6117         * emulation/viper-cmd.el (viper-change-state-to-vi):
6118         Limit triggering of abbrev expansion (Bug#9038).
6120 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6122         * window.el (display-buffer-default-specifiers): Remove.
6123         (display-buffer-macro-specifiers): Remove default specifiers.
6124         (display-buffer-alist): Default to nil.
6125         (display-buffer-reuse-window): New optional argument other-window.
6126         (display-buffer-pop-up-window): Allow splitting internal
6127         windows.  Check whether a live window was created.
6128         (display-buffer-other-window-means-other-frame)
6129         (display-buffer-normalize-arguments): Rename to
6130         display-buffer-normalize-argument and rewrite.  Set the
6131         other-window specifier.
6132         (display-buffer-normalize-special): New function.
6133         (display-buffer-normalize-options): Rename to
6134         display-buffer-normalize-default and rewrite.
6135         (display-buffer-normalize-options-inhibit): Remove.
6136         (display-buffer-normalize-specifiers): Rewrite.
6137         (display-buffer): Process other-window specifier and call
6138         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6139         more faithfully.
6140         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6141         (display-buffer-alist-set): Don't handle 'unset default values.
6142         (display-buffer-in-window, display-buffer-alist-set):
6143         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6144         <tassilo@member.fsf.org>.
6146 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6148         * register.el (insert-register): Restore accidental change on
6149         2011-06-26.  (Bug#9028)
6151 2011-07-09  Glenn Morris  <rgm@gnu.org>
6153         * subr.el (remq): Handle the empty list.  (Bug#9024)
6155 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6157         * mail/sendmail.el (send-mail-function): No longer delay custom
6158         initialization.
6159         * custom.el (custom-initialize-delay): Doc fix.
6161 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6163         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6165 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6167         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6168         human-friendly prompt.
6170 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6172         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6173         provided by a particular plugin.
6175 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6177         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6178         save customizations (with "emacs -Q"), just set the variable
6179         instead of erroring out.
6181         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6183 2011-07-08  Juri Linkov  <juri@jurta.org>
6185         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6186         (archive-zip-update-case): Use 7z if found by `executable-find'.
6187         The order of searching the available programs is the same as in
6188         `archive-zip-extract' (bug#8968).
6190 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6192         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6193         (menu-bar-options-menu): Tweak descriptions.
6195 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6197         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6198         menu items into verb phrases (bug#1421).  Also refill to fit under
6199         80 columns.
6201 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6203         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6204         (Info-read-node-name): Doc fix (Bug#1084).
6206         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6207         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6208         (end-of-sexp, beginning-of-sexp)
6209         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6210         (forward-symbol, forward-same-syntax, word-at-point)
6211         (sentence-at-point): Doc fix (Bug#1144).
6213 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6215         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6216         should cover it (bug#1281).
6218         * cus-edit.el (custom-show): Mark as obsolete.
6220         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6221         negotiation fails, then possibly try again with a non-encrypted
6222         connection (bug#9017).
6224         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6225         be used.
6227 2011-07-07  Richard Stallman  <rms@gnu.org>
6229         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6230         property, and handle its changed format.
6231         Look for the correct line number.
6232         Use file's line contents (but not past first =) to find
6233         correct line in message.
6235 2011-07-07  Kenichi Handa  <handa@m17n.org>
6237         * international/characters.el (build-unicode-category-table):
6238         Delete it.
6239         (unicode-category-table): Set it by unicode-property-table-internal.
6241         * international/mule-cmds.el (char-code-property-alist): Move to
6242         to src/chartab.c.
6243         (get-char-code-property): Call unicode-property-table-internal to
6244         load a file.  Call get-unicode-property-internal where necessary.
6245         (put-char-code-property): Call unicode-property-table-internal to
6246         load a file.  Call put-unicode-property-internal where necessary.
6247         put-unicode-property-internal where necessary.
6248         (char-code-property-description):
6249         Call unicode-property-table-internal to load a file.
6251         * international/charprop.el:
6252         * international/uni-bidi.el:
6253         * international/uni-category.el:
6254         * international/uni-combining.el:
6255         * international/uni-comment.el:
6256         * international/uni-decimal.el:
6257         * international/uni-decomposition.el:
6258         * international/uni-digit.el:
6259         * international/uni-lowercase.el:
6260         * international/uni-mirrored.el:
6261         * international/uni-name.el:
6262         * international/uni-numeric.el:
6263         * international/uni-old-name.el:
6264         * international/uni-titlecase.el:
6265         * international/uni-uppercase.el: Regenerate.
6267         * loadup.el: Load international/charprop.el before
6268         international/characters.
6270 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6272         * window.el (next-buffer, previous-buffer): Signal an error if
6273         called from a minibuffer window.
6275         * bindings.el: Revert 2011-07-04 change.
6277 2011-07-06  Richard Stallman  <rms@gnu.org>
6279         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6280         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6281         Treat markers like ints.
6282         (rmail-mime-entity): Doc fix.
6284 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6286         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6287         defcustom again for backwards compatibility.
6289         * simple.el (shell-command-on-region): Fill.
6291         * dired-aux.el (dired-kill-line): Add a doc string.
6293         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6294         to "\\sw\\|\\s_" (bug#358).
6296         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6297         (dired-unmark-backward): Ditto.
6298         (dired-flag-backup-files): Ditto.
6300         * dired-x.el (dired-mark-sexp): Ditto.
6302 2011-07-06  Richard Stallman  <rms@gnu.org>
6304         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6305         (rmail-mime-entity): New arg TRUNCATED.
6306         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6307         New functions.
6308         (rmail-mime-save): Warn if entity is truncated.
6309         (rmail-mime-toggle-hidden): Likewise, for showing.
6310         (rmail-mime-process-multipart): Record when an entity is truncated.
6312         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6313         if ENTITY is a string.
6315 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6317         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6318         of faces when `M-C-x'-ing their definitions (bug#8378).
6319         Also clean up the code slightly.
6321         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6322         because that makes the colors go away.
6324         * mail/sendmail.el (send-mail-function): Change the default to
6325         `sendmail-query-once'.
6326         (sendmail-query-once): Add an autoload cookie.
6328         * net/network-stream.el (network-stream-open-starttls): Try using
6329         a plain connection even if the server offered STARTTLS, and we
6330         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6331         capability.  This should make smtpmail.el work in slightly more
6332         configurations.
6334 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6336         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6337         New defun.
6338         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6340 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6342         * progmodes/sql.el: Version 3.0
6343         (sql-product-alist): Add product :completion-object,
6344         :completion-column, and :statement attributes.
6345         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6346         (sql-mode-syntax-table): Mark all punctuation.
6347         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6348         ansi keywords.
6349         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6350         (sql-mode-oracle-font-lock-keywords): Improve.
6351         (sql-oracle-show-reserved-words): New function for development.
6352         (sql-product-font-lock): Simplify for source code buffers.
6353         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6354         New functions.
6355         (sql-highlight-product): Set product specific syntax table.
6356         (sql-mode-map): Add statement movement functions.
6357         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6358         New variable.
6359         (sql-statement-regexp, sql-beginning-of-statement)
6360         (sql-end-of-statement, sql-signum): New functions.
6361         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6362         (sql-show-sqli-buffer): Bug fix.
6363         (sql-interactive-mode): Store connection data as buffer local.
6364         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6365         with sql-interactive-mode.
6366         (sql-save-connection): Save buffer local settings.
6367         (sql-connection-menu-filter): Change menu entry name.
6368         (sql-product-interactive): Bug fix.
6369         (sql-preoutput-hold): New variable.
6370         (sql-interactive-remove-continuation-prompt): Bug fixes.
6371         (sql-debug-redirect): New variable.
6372         (sql-str-literal): New function.
6373         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6374         Redesign.
6375         (sql-oracle-save-settings, sql-oracle-restore-settings)
6376         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6377         (sql-completion-object, sql-completion-column)
6378         (sql-completion-sqlbuf): New variables.
6379         (sql-build-completions-1, sql-build-completions)
6380         (sql-try-completion): New functions.
6381         (sql-read-table-name): Use them.
6382         (sql-contains-names): New buffer local variable.
6383         (sql-list-all, sql-list-table): Use it.
6384         (sql-oracle-completion-types): New variable.
6385         (sql-oracle-completion-object, sql-sqlite-completion-object)
6386         (sql-postgres-completion-object): New functions.
6388 2011-07-06  Glenn Morris  <rgm@gnu.org>
6390         * window.el (pop-to-buffer): Doc fix.
6392 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6394         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6396 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6398         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6400         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6402 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6404         * button.el (button): Inherit from link face.  Suggested by Dan
6405         Nicolaescu.
6407 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6409         * progmodes/gdb-mi.el: Fit in 80 columns.
6410         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6411         switch-to-buffer.
6413         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6414         if imenu is simply not configured (bug#8941).
6416 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6418         * allout.el (allout-post-undo-hook): New allout outline-change
6419         event hook to signal undo activity.
6420         (allout-post-command-business): Run allout-post-undo-hook if an
6421         undo just occurred.
6422         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6423         * allout-widgets.el (allout-widgets-after-undo-function):
6424         Ensure the integrity of the current item's decoration after it has been
6425         in the vicinity of an undo.
6426         (allout-widgets-mode): Include allout-widgets-after-undo-function
6427         on the new allout-post-undo-hook.
6429 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6431         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6432         Let define-derived-mode define it.
6433         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6434         cycles of abbrev-table inheritance (bug#8998).
6436 2011-07-05  Roland Winkler  <winkler@gnu.org>
6438         * textmodes/bibtex.el: Add support for biblatex.
6439         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6440         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6441         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6442         (bibtex-entry-alist, bibtex-field-alist): New variables.
6443         (bibtex-entry-field-alist): Obsolete alias for
6444         bibtex-BibTeX-entry-alist.
6445         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6446         (bibtex-set-dialect): New command.
6447         (bibtex-entry-type, bibtex-entry-head)
6448         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6449         Bind via bibtex-set-dialect.
6450         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6451         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6452         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6453         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6454         Define via bibtex-set-dialect.
6455         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6456         Obey bibtex-no-opt-remove-re.
6457         (bibtex-vec-push, bibtex-vec-incr): New functions.
6458         (bibtex-format-entry, bibtex-field-list)
6459         (bibtex-print-help-message, bibtex-validate)
6460         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6462 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6464         * progmodes/compile.el (compilation-goto-locus):
6465         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6466         * bs.el (bs-cycle-next, bs-cycle-previous):
6467         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6468         * bindings.el (mode-line-other-buffer):
6469         * autoinsert.el (auto-insert):
6470         * arc-mode.el (archive-extract):
6471         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6473 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6475         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6476         Fix check of `emacs-lock-unlockable-modes'.
6477         Coerce true values of `emacs-lock--try-unlocking' to t.
6479 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6481         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6482         * emacs-lock.el: New file.
6484 2011-07-05  Julien Danjou  <julien@danjou.info>
6486         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6487         than `boundp' to check if face is set.
6489 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6491         * register.el (registerv-make):
6492         * window.el (window-min-height): Fix typos in docstrings.
6494 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
6496         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6497         Update doc string.
6499 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6501         * server.el (server-execute): Catch quit and call
6502         `server-return-error' to pass the error back to emacsclient and
6503         close the connection (bug#8942).
6505 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
6507         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6508         insecure exception for current topic.  Also note that auto-saves
6509         are handled differently.
6511         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6512         State variables for tracking auto-save inhibition situation.
6514         (allout-write-contents-hook-handler): Rename from
6515         'allout-write-file-hook-handler', and describe how it depends on
6516         write-contents-functions sensitivity to non-nil value to prevent
6517         file write.
6519         (allout-auto-save-hook-handler): Remove.  auto-save does not check
6520         this in individual buffers, only in the starting buffer, so this
6521         is not the right way for us to inhibit auto-save in a buffer
6522         according to its condition.
6524         (allout-mode): Use new allout-write-contents-hook-handler, and
6525         only with write-contents-functions.  Remove auto-save provisions -
6526         they're implemented elsewhere.
6528         (allout-before-change-handler): If undo is in progress, note that
6529         for attention of allout-post-command-business.
6531         (allout-post-command-business): If the command we're following was
6532         an undo, check for change in the status of encrypted items and
6533         adjust auto-save inhibitions accordingly.
6535         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6536         according to whether there are or aren't any plain-text topics
6537         pending encryption.
6539         (allout-inhibit-auto-save-info-for-decryption):
6540         Adjust buffer-saved-size and some allout state to inhibit auto-saves
6541         if there are plain-text topics pending encryption.
6543         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6544         buffer-saved-size and some allout state to not inhibit auto-saves
6545         if there are no longer any plain-text topics pending encryption.
6547         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6548         No longer provide for exemption of the current topic.
6550 2011-07-04  Juri Linkov  <juri@jurta.org>
6552         Add 7z operations to delete and save changed members (bug#8968).
6553         * arc-mode.el (archive-7z-expunge, archive-7z-update):
6554         New defcustoms.
6555         (archive-7z-write-file-member): New function.
6556         (archive-7z-summarize): Fix the number of dashes in the
6557         listing output.
6559 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6562         (bug#8958).
6564 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
6566         * bindings.el: Ignore next-buffer and previous-buffer in
6567         minibuffer-local-map.
6569         * font-lock.el (font-lock-builtin-face): Change light background
6570         color to dark slate blue (Bug#6693).
6572 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
6574         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6576 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6578         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6579         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6580         Add switch-to-buffer.
6582 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6584         * isearch.el (isearch-search-fun-function): Clarify further the
6585         meaning of the function returned.
6587 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
6589         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6591         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6592         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6593         Use it.
6594         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
6595         `tramp-default-remote-path' does not exist.
6596         (tramp-send-command-and-read): New optional argument NOERROR.
6597         (tramp-open-connection-setup-interactive-shell)
6598         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6599         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6600         (tramp-process-sentinel): Flush also process' connection property.
6601         (tramp-sh-handle-start-file-process): Do not set process
6602         sentinel.  It is done now ...
6603         (tramp-maybe-open-connection): ... here.  (Bug#8929)
6605 2011-07-04  MON KEY  <monkey@sandpframing.com>
6607         * play/animate.el (animate-string): Doc fixes and allow changing
6608         the buffer name (bug#5417).
6610 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6612         * play/animate.el (animation-buffer-name): Rename from *animate*.
6614 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6616         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6617         This is simpler and helps future-proof the code.
6618         (timer-until): Use time-subtract and float-time.
6619         (timer--time-less-p): Use time-less-p.
6621 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6623         * type-break.el (timep): Use the value of `float-time' to avoid a
6624         byte-compiler warning.
6626         * server.el (server-eval-and-print): Return any result, even nil.
6628 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6630         * type-break.el: Accept time formats that the builtins accept.
6631         (timep, type-break-time-difference): Accept any format that
6632         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6633         This is simpler and helps future-proof the code.
6634         (type-break-time-difference): Round rather than ignoring
6635         subseconds components.
6637 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6639         * info.el (Info-apropos-matches): Make non-interactive, since it
6640         doesn't seem to do anything useful as a command (bug#8829).
6642 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
6644         * frame.el (frame-background-mode, frame-set-background-mode):
6645         Move from faces.el.
6646         (frame-default-terminal-background): New function.
6648         * custom.el (custom-push-theme): Don't record faces in `changed'
6649         theme; this doesn't work correctly for per-frame face settings.
6650         (disable-theme): Use face-set-after-frame-default to reset faces.
6651         (custom--frame-color-default): New function.
6653 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6655         * dired.el (dired-flagging-regexp): Remove unused variable
6656         (bug#8769).
6658 2011-03-29  Kevin Ryde  <user42@zip.com.au>
6660         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6661         `perl-Test2' extend to match possible "fail #N" rep count
6662         (bug#8377).
6664 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6666         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6667         `smtpmail-via-smtp' now returns the error instead of nil.
6669         * isearch.el (isearch-search-fun-function): Clarify the doc string
6670         (bug#8101).
6672 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
6674         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6675         unnecessary spaces (bug#8987).
6677 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6679         * net/network-stream.el (open-network-stream): Use the
6680         :end-of-capability command thoughout.
6682 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6684         * net/network-stream.el (open-network-stream): Add the
6685         :end-of-capability command parameter, used by pop3.el.
6687 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6689         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6691         * fringe.el (fringe-query-style): Remove redundant text " (type ?
6692         for list)" (bug#6475).
6694         * files.el (file-expand-wildcards): Ignore non-readable
6695         sub-directories while trying to find matches instead of signaling
6696         an error (bug#6297).
6698         * man.el (Man-reference-regexp): Allow matching possible
6699         word-wrapped references (bug#6289).
6701         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6702         for consistency with the other vc buffers (bug#6197).
6703         (vc-checkin): Ditto.
6705         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6707         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6709 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6711         * custom.el (defcustom): Clarify that :set is only used in the
6712         Customize user interface (bug#6089).
6714         * progmodes/flymake.el (flymake-mode): If the buffer isn't
6715         associated with a file, refuse to run instead of erroring out
6716         (bug#6084).
6718         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6719         the doc string, since it appears that using `fill-column' always
6720         controls the width (bug#7845).
6722         * simple.el (shell-command-on-region): Say where the error output
6723         went if `shell-command-default-error-buffer' is set (bug#6857).
6725 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
6727         * allout.el (allout-yank-processing): Adjust cursor position for
6728         backwards-deleted space.
6730         (allout-rebullet-heading): Register changes with
6731         allout-exposure-changed-hook, so the modified topic is properly
6732         decorated.
6734 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6736         * minibuffer.el (completion-in-region): Document PREDICATE
6737         (bug#7136).
6739         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6740         of keyword/argument pairs (bug#6904).
6742         * replace.el (multi-occur):
6743         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
6745 2011-07-02  Drew Adams  <drew.adams@oracle.com>
6747         * dired.el (dired-mark-if): Make the message about whether it's
6748         marking or unmarking clearer (bug#8523).
6750 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6752         * disp-table.el (display-table-print-array): New function.
6753         (describe-display-table): Use it to print the vectors more pretty
6754         (Bug#8859).
6756 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
6758         * window.el (window-state-get-1): Don't assign clone numbers.
6759         Add clone-of item to list of window parameters.
6760         (window-state-put-2): Don't process clone numbers.
6761         (display-buffer-alist): Fix doc-string.
6763 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         * subr.el (remq): Don't allocate if it's not needed.
6766         (keymap--menu-item-binding, keymap--menu-item-with-binding)
6767         (keymap--merge-bindings): New functions.
6768         (keymap-canonicalize): Use them to refine the canonicalization.
6769         * minibuffer.el (minibuffer-local-completion-map)
6770         (minibuffer-local-must-match-map): Move initialization from C.
6771         (minibuffer-local-filename-completion-map): Move initialization from C;
6772         don't inherit from anything here.
6773         (minibuffer-local-filename-must-match-map): Make obsolete.
6774         (completing-read-default): Use make-composed-keymap to combine
6775         minibuffer-local-filename-completion-map with either
6776         minibuffer-local-must-match-map or
6777         minibuffer-local-filename-completion-map.
6779 2011-07-01  Glenn Morris  <rgm@gnu.org>
6781         * type-break.el (type-break-time-sum): Use dolist.
6783         * textmodes/flyspell.el (flyspell-word-search-backward):
6784         Replace CL function.
6786 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6788         * mouse.el (mouse--strip-first-event): New function.
6789         (function-key-map): Use it to map fringe clicks to normal clicks
6790         by default.
6792         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6793         (vc-bzr-revision-completion-table): Add support for annotate and date.
6795         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6796         inherit from parent.
6798 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6800         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
6801         (dired-show-file-type): Doc fixup (bug#8818).
6803         * dired.el (dired-mode): Fix up the doc string as suggested by
6804         Drew Adams (bug#8817).
6806         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6807         cookie, since the manual says that it should be possible to add
6808         this function to `find-file-hook' (bug#8709).
6810 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
6812         * progmodes/cfengine.el: Moved all cfengine3.el functionality
6813         here.  Noted Ted Zlatanov as the maintainer.
6814         (cfengine-common-settings, cfengine-common-syntax): New functions
6815         to set up common things between `cfengine-mode' and
6816         `cfengine3-mode'.
6817         (cfengine3-mode): New mode.
6818         (cfengine3-defuns cfengine3-defuns-regex
6819         (cfengine3-class-selector-regex cfengine3-category-regex)
6820         (cfengine3-vartypes cfengine3-font-lock-keywords)
6821         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
6822         (cfengine3-indent-line): Add from cfengine3.el.
6824 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
6826         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6828         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6830 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
6832         * window.el (same-window-buffer-names, same-window-regexps)
6833         (same-window-p, special-display-frame-alist)
6834         (special-display-popup-frame, special-display-function)
6835         (special-display-buffer-names, special-display-regexps)
6836         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6837         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6838         (split-window-preferred-function, split-height-threshold)
6839         (split-width-threshold, even-window-heights)
6840         (display-buffer-mark-dedicated, window-splittable-p)
6841         (split-window-sensibly, window-safely-shrinkable-p):
6842         Un-obsolete.
6843         (display-buffer): Don't spread args with function specifier
6844         because special-display-popup-frame won't like it.
6846 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
6848         Time-stamp simplifications and fixes.
6849         These improve accuracy slightly, and future-proof the code
6850         against some potential changes to current-time format.
6852         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6853         by using time-since and float-time.
6855         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6856         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
6857         + NNN microseconds".
6859         * type-break.el (type-break-time-sum): Rewrite using time-add.
6861         * play/hanoi.el (hanoi-current-time-float): Remove.
6862         All uses replaced by float-time.
6864         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6865         This yields a more-accurate answer.
6866         (rng-time-to-float): Remove; no longer needed.
6868         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6870         * calendar/timeclock.el (timeclock-seconds-to-time):
6871         Defalias to seconds-to-time, since they're the same thing.
6873         * emacs-lisp/elp.el (elp-elapsed-time):
6874         * emacs-lisp/benchmark.el (benchmark-elapse):
6875         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6877 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6879         * window.el (bury-buffer): Don't iconify the only frame.
6880         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6881         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
6883 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
6885         * eshell/em-smart.el (eshell-smart-display-navigate-list):
6886         Add mouse-yank-primary.
6888 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
6890         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6892 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6894         * emacs-lisp/find-func.el (find-library--load-name): New fun.
6895         (find-library-name): Use it to find relative load names when provided
6896         absolute file name (bug#8803).
6898 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6900         * textmodes/flyspell.el (flyspell-word): Consider words that
6901         differ only in case as potential doublons (bug#5687).
6903         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6904         Remove two rather uninteresting debugging-like messages to make
6905         debbugs.el more silent.
6907         * comint.el (comint-password-prompt-regexp): Accept "Response" as
6908         a password-like phrase.
6910 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
6912         * progmodes/cc-guess.el: New file.
6914         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
6916         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6917         derived from `c-basic-common-init'.
6919         * progmodes/cc-mode.el (top-level): Require cc-guess.
6920         (c-basic-common-init): Use `cc-choose-style-for-mode'.
6922 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
6924         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6926 2011-06-30  Alan Mackenzie  <acm@muc.de>
6928         * progmodes/cc-engine.el (c-guess-continued-construct):
6929         Correct the handling of template-args-cont, particularly for when font
6930         lock is disabled.  Name this case as "CASE G".
6932 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
6934         * allout.el (allout-yank-processing): Fix injection of extra space
6935         between bullet and non-whitespace character in first topic when
6936         pasting, ensuring that the actual spacing in the pasted topic
6937         following the bullet char is preserved.  This extra space was
6938         causing pasted encrypted topics to get a decrypted status even
6939         when the content was actually still encrypted.  Now the decryption
6940         status from before the paste is preserved.
6942         (allout-flag-region): Set all allout overlays so they evaporate
6943         when reduced to zero length (evanescent), to prevent overlay
6944         leakage.
6946 2011-06-30  Glenn Morris  <rgm@gnu.org>
6948         * w32-fns.el (w32-charset-info-alist): Declare.
6950         * find-dired.el (find-grep-options): Simplify.
6952         * term/ns-win.el (ns-set-resource): Declare.
6954         * ses.el (row, col): Declare dynamic variables honestly.
6956         * textmodes/reftex-parse.el (index-tags): Declare.
6958 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
6960         * cus-edit.el (customize-push-and-save): New function.
6962         * files.el (hack-local-variables-confirm): Use it.
6964         * custom.el (load-theme): New arg NO-CONFIRM.
6965         Use customize-push-and-save (Bug#8720).
6966         (custom-enabled-themes): Doc fix.
6968         * cus-theme.el (customize-create-theme)
6969         (custom-theme-merge-theme): Callers to load-theme changed.
6971 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6973         * thingatpt.el (thing-at-point-short-url-regexp): Require that
6974         short URLs have at least one dot in them (bug #7614).
6976         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6977         nil, because using a pty is apparently too slow (bug #895).
6979 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6981         * mail/sendmail.el (sendmail-query-once): New function.
6982         (sendmail-query-once-function): New variable.
6984 2011-06-29  Glenn Morris  <rgm@gnu.org>
6986         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6988         * ses.el (top-level): Require cl when compiling.
6989         (ses-set-localvars): Fix error statement.
6990         Call it at compile time to silence a storm of warnings.
6992 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
6994         * window.el (normalize-live-buffer): Rename to
6995         window-normalize-buffer.
6996         (normalize-live-frame): Rename to window-normalize-frame.
6997         (normalize-any-window): Rename to window-normalize-any-window.
6998         (normalize-live-window): Rename to window-normalize-live-window.
6999         (make-window-atom): Rename to window-make-atom.
7000         (window-resize-reset): Rename to window--resize-reset.
7001         (window-resize-reset-1): Rename to window--resize-reset-1.
7002         (resize-mini-window): Rename to window--resize-mini-window.
7003         (resize-subwindows-skip-p): Rename to
7004         window--resize-subwindows-skip-p.
7005         (resize-subwindows-normal): Rename to
7006         window--resize-subwindows-normal.
7007         (resize-subwindows): Rename to window--resize-subwindows.
7008         (resize-other-windows): Rename to window--resize-siblings.
7009         (resize-this-window): Rename to window--resize-this-window.
7010         (resize-root-window): Rename to window--resize-root-window.
7011         (resize-root-window-vertically): Rename to
7012         window--resize-root-window-vertically.
7013         (normalize-buffer-to-display): Rename to
7014         window-normalize-buffer-to-display.
7015         (normalize-buffer-to-switch-to): Rename to
7016         window-normalize-buffer-to-switch-to.
7017         Correspondingly update all callers of the functions listed
7018         above.
7019         (display-buffer-alist, display-buffer-normalize-arguments)
7020         (display-buffer-normalize-options, display-buffer)
7021         (display-buffer-alist-set): Use "function" instead of
7022         "fun-with-args".
7024 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7026         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7027         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7028         debbugs.gnu.org.  Mention acknowledgment email.
7030 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7032         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7033         buffer multibyteness, since it shouldn't matter.
7035 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7037         * window.el (display-buffer-in-side-window): Handle dedicated
7038         windows as in display-buffer-reuse-window.
7039         (display-buffer-normalize-alist): Use value of override
7040         specifier.
7041         (display-buffer-normalize-specifiers): Use value of
7042         other-window-means-other-frame specifier.
7043         (display-buffer-alist): Rewrite some texts in widgets.
7044         (display-buffer): Spread arguments when calling function
7045         specified by fun-with-args.
7047 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7049         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7050         Unnest `let'.
7052         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7053         selectors (Bug#5732).
7054         (css-proprietary-nmstart-re): Use `regexp-opt'.
7056 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7058         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7059         (eshell-ls-date-format): New defcustom.
7060         (eshell-ls-file): Use it.
7062 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7064         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7066 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7068         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7069         (ange-ftp-make-tmp-name): New arg.
7070         (ange-ftp-file-local-copy): Use it.
7072 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7074         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7075         no-conversion (Bug#8870).
7077 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7079         * window.el (window-right, window-left, window-child)
7080         (window-child-count, window-last-child)
7081         (window-iso-combination-p, walk-window-tree-1)
7082         (window-atom-check-1, window-tree-1, delete-window)
7083         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7084         new naming conventions - window-vchild, window-hchild,
7085         window-next and window-prev are now called window-top-child,
7086         window-left-child, window-next-sibling and window-prev-sibling
7087         respectively.
7088         (resize-window-reset): Rename to window-resize-reset.
7089         (resize-window-reset-1): Rename to window-resize-reset-1.
7090         (resize-window): Rename to window-resize.
7091         (window-min-height, window-min-width)
7092         (resize-mini-window, resize-this-window, resize-root-window)
7093         (resize-root-window-vertically, adjust-window-trailing-edge)
7094         (enlarge-window, shrink-window, maximize-window)
7095         (minimize-window, delete-window, quit-restore-window)
7096         (split-window, balance-windows, balance-windows-area-adjust)
7097         (balance-windows-area, window-state-put-2)
7098         (display-buffer-even-window-sizes, display-buffer-set-height)
7099         (display-buffer-set-width, set-window-text-height)
7100         (fit-window-to-buffer): Rename all "resize-window" prefixed
7101         calls to use the "window-resize" prefix convention.
7102         (display-buffer-alist): Fix symbol for label specifier.
7103         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7104         corresponding specifier.
7105         Reported by Juanma Barranquero <lekktu@gmail.com>.
7107 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7109         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7110         convention.
7111         (ses-call-printer): Does not pass an empty string to formatter when the
7112         cell is empty to keep from barking printer Calc math-format-value.
7114 2011-06-27  Richard Stallman  <rms@gnu.org>
7116         * battery.el (battery-mode-line-limit): New variable.
7117         (battery-update): Handle it.
7119         * mail/rmailmm.el (rmail-mime-process-multipart):
7120         Handle truncated messages.
7122 2011-06-27  Glenn Morris  <rgm@gnu.org>
7124         * progmodes/flymake.el (flymake-err-line-patterns):
7125         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7127 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7129         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7130         (ses--clean-!, ses--clean-_): New functions.
7131         (ses-range): Add configurability of readout order, and conversion
7132         to Calc vector.
7134         * ses.el (ses-repair-cell-reference-all): New function.
7135         (ses-cell-symbol): Set macro as safe, so that it can be used in
7136         formulas.
7138         * ses.el: Update cycle detection algorithm.
7139         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7140         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7141         (ses-set-localvars): New function.
7142         (ses-make-cell): Add property-list as a cell element.
7143         (ses-cell-property-get-fun, ses-cell-property-get)
7144         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7145         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7146         New functions.
7147         (ses-cell-property-set, ses-cell-property-pop)
7148         (ses-cell-property-get-handle): New macro.
7149         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7150         New aliases, used for code readability.
7151         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7152         cycle detection.
7153         (ses-self-reference-early-detection): New defcustom.
7154         (ses-formula-references): Robustify against self-referring cells.
7155         (ses-mode): Use ses-set-localvars.
7156         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7157         before lauching the update processing.
7158         (ses-initialize-Dijkstra-attempt): New function.
7159         (ses-recalculate-cell): Update for cycle detection based on
7160         Dijkstra algorithm.
7162         * ses.el: Fix commenting and indenting convention.
7164 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7166         * bs.el (bs-cycle-next): Complete last change.
7168 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7170         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7172 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7174         * net/network-stream.el (network-stream-open-starttls):
7175         Don't re-get capabilities unless we've reestablished connection.
7176         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7178         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7179         to binary to possibly avoid line encoding issues on Windows (among
7180         other things).
7182 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7184         * net/network-stream.el (open-network-stream): Return an :error
7185         saying what the problem was, if possible.
7187         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7188         server.
7190         * net/network-stream.el (network-stream-open-starttls): If we
7191         wanted to use STARTTLS, and the server offered it, but we weren't
7192         able to because we had no STARTTLS support, then close the connection.
7193         (open-network-stream): Return an :error element, if present.
7195 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7197         * hl-line.el (hl-line-sticky-flag): Doc fix.
7198         (global-hl-line-sticky-flag): New option (Bug#8323).
7199         (global-hl-line-highlight): Obey it.
7201         * vc/vc.el (vc-revert-show-diff): Default to t.
7203 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7205         * allout-widgets.el (allout-widgets-post-command-business):
7206         Stop decorating intermediate isearch matches.  They're not being
7207         undecorated when an isearch is continued past, and isearch
7208         automatically collapses them.  This leads to "widget leaks", where
7209         decorated items accumulate in collapsed areas.  Lines with lots of
7210         hidden widgets can slow down cursor travel, substantially.
7211         Too much complicated machinery would be needed to ensure undecoration,
7212         so we're doing without this nicety.
7214         (allout-widgets-tally-string): Don't try to do a hash-table-count
7215         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7216         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7217         *Messages* when allout-widgets-maintain-tally is t.
7219 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7221         * window.el (display-buffer-normalize-argument): Rename to
7222         display-buffer-normalize-arguments.  Handle special meaning of
7223         LABEL argument.  Respect special-display-function when popping up
7224         a new frame.  Fix code searching for a window showing the buffer
7225         on another frame.
7226         (display-buffer-normalize-specifiers):
7227         Call display-buffer-normalize-arguments.
7228         (display-buffer-in-window): Don't undedicate the window if its
7229         buffer remains the same.
7230         Reported by Drew Adams <drew.adams@oracle.com>.
7231         (display-buffer-alist): Add choice for same-window macro
7232         specfier.
7233         (display-buffer): Mention special meaning of LABEL argument in
7234         doc-string.  Fix quoting.  Don't pop up a new frame even as
7235         fallback.
7237 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7239         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7240         avoid deleting the current window in some cases (bug#8911).
7242 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7244         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7245         (Bug#8934)
7247 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7249         * net/network-stream.el (network-stream-open-starttls):
7250         Use built-in TLS support if `gnutls-available-p' is true.
7251         (network-stream-open-tls): Ditto.
7253 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7255         * register.el (registerv): New struct.
7256         (registerv-make): New function.
7257         (jump-to-register, describe-register-1, insert-register):
7258         Support the jump-func, print-func and insert-func slot of a registerv
7259         struct.  (Bug#8415)
7261 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7263         * vc/vc.el (vc-revert-show-diff): New defcustom.
7264         (vc-diff-internal): New arg specifying diff buffer.
7265         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7266         reuse an existing *vc-diff* buffer (Bug#8927).
7268         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7270 2011-06-26  Glenn Morris  <rgm@gnu.org>
7272         * progmodes/f90.el (f90-critical-indent): New option.
7273         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7274         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7275         (f90-mode): Doc fix.
7276         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7277         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7278         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7279         (f90-match-end): Handle block, critical.
7281 2011-06-25  Glenn Morris  <rgm@gnu.org>
7283         * calendar/diary-lib.el (diary-included-files): Doc fix.
7284         (diary-include-files): New function, extracted from
7285         diary-include-other-diary-files and diary-mark-included-diary-files.
7286         (diary-include-other-diary-files, diary-mark-included-diary-files):
7287         Just call diary-include-files.
7288         (diary-mark-entries): Reset diary-included-files on first call.
7290         * calendar/diary-lib.el (diary-mark-entries)
7291         (diary-mark-included-diary-files):
7292         Visit included diary-files in temp buffers.
7294         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7295         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7296         (f90-start-block-re, f90-imenu-generic-expression)
7297         (f90-looking-at-program-block-start, f90-no-block-limit):
7298         Add support for submodules.
7300         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7301         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7303 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7305         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7306         buffer-file-type before setting its value, to avoid disastrous
7307         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7309 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7311         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7313         * ses.el (ses-unload-function):
7314         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7316         * proced.el (proced-unload-function):
7317         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7319 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7321         * server.el (server-create-window-system-frame): Add parameters arg.
7322         (server-process-filter): Doc fix.  Handle frame-parameters.
7324 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7326         Fix bug#8730, bug#8781.
7328         * loadhist.el (unload--set-major-mode): New function.
7329         (unload-feature): Use it.
7331         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7332         (python-unload-function): New function.
7334 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7336         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7338 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7340         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7341         the candidates list.
7343 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7345         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7347 2011-06-23  Richard Stallman  <rms@gnu.org>
7349         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7350         (rmail-variables): Set next-error-move-function.
7351         (rmail-what-message): Take argument POS.
7352         (rmail-next-error-move): New function.
7354 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7356         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7357         messages for adjacent non-terminals.
7359 2011-06-23  Richard Stallman  <rms@gnu.org>
7361         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7362         (rmail-show-message-1): Preserve buffer modified flag.
7363         (rmail-start-mail): Don't specify use of rmail-mail-return;
7364         that's done by mail-bury now.
7365         (rmail-mail-return): Handle arg NEWBUF.
7367 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7369         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7370         SIZE is a number.
7372 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7374         * window.el (get-lru-window, get-mru-window)
7375         (get-largest-window): Never return a minibuffer window.
7376         (display-buffer-pop-up-window): Fix a bug that could lead to
7377         reusing the minibuffer window.
7378         (display-buffer): Pass original specifier argument to
7379         display-buffer-function instead of the normalized one.
7380         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7382 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7384         * minibuffer.el (completing-read-function)
7385         (completing-read-default): Move from minibuf.c
7387 2011-06-22  Richard Stallman  <rms@gnu.org>
7389         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7390         to Rmail even if not started by a special Rmail command.
7392         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7393         Copy the buffer currently showing just one message.
7395 2011-06-22  Roland Winkler  <winkler@gnu.org>
7397         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7398         (bibtex-clean-entry): First delete the old key so that a
7399         customized algorithm for generating the new key does not get
7400         confused by the old key.
7401         (bibtex-url): Obey regexp of first step.
7402         (bibtex-search-entries): Do not use add-to-list with local
7403         list-var.
7405 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7407         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7408         stored a user name, then query for the password first, instead of
7409         waiting for SMTP to give an error message and the trying again.
7411 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7413         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7414         BUFFER in call-process.
7416 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7418         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7419         QUIT twice.
7420         (smtpmail-try-auth-methods): Require user name and password from
7421         auth-source.
7423 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7425         * window.el (display-buffer-default-specifiers)
7426         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7427         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7428         (split-window): Normalize SIDE argument (Bug#8916).
7430         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7431         (special-display-frame-alist, special-display-popup-frame):
7432         Remove duplicate declarations.  These are now in window.el.
7434 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7436         * mail/smtpmail.el (smtpmail-via-smtp):
7437         Set :use-starttls-if-possible so that we always use STARTTLS if the
7438         server supports it.  SMTP servers that support STARTTLS commonly
7439         require it.
7441         * net/network-stream.el (network-stream-open-starttls): Support
7442         upgrading to STARTTLS always, even if we don't have built-in support.
7443         (open-network-stream): Add the :always-query-capabilities keyword.
7445         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7446         upgrades with `open-network-stream', and rely solely on
7447         auth-source for all credentials.  Big changes throughout the file,
7448         but in particular:
7449         (smtpmail-auth-credentials): Remove.
7450         (smtpmail-starttls-credentials): Remove.
7451         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7452         MAIL FROM, too.
7454         * net/network-stream.el (network-stream-open-starttls):
7455         Provide support for client certificates both for external and built-in
7456         STARTTLS.
7457         (auth-source): Require.
7458         (open-network-stream): Document the :client-certificate keyword.
7459         (network-stream-certificate): Change cert-cert to cert and
7460         cert-key to key.
7462 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7464         * net/tramp-cache.el (top): Don't load the persistency file when
7465         "emacs -Q" has been called.
7467 2011-06-21  Tim Harper  <timcharper@gmail.com>
7469         * term/ns-win.el (ns-initialize-window-system):
7470         Set application-specific `ApplePressAndHoldEnabled' system
7471         resource to NO as it is not yet supported by the NS port.
7473 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7475         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7476         (list-dynamic-libraries): ...not here.
7478 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7480         * subr.el (sha1): Implement sha1 using secure-hash.
7482 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7484         * window.el (display-buffer-alist): In default value do not
7485         enforce searching a window on any but the selected frame.
7486         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7487         (display-buffer-select-window): Remove function.
7488         (display-buffer-in-window): When a window on another frame gets
7489         reused, do not select it any more but just raise its frame if
7490         necessary (Bug#8851) and (Bug#8856).
7491         (display-buffer-normalize-options): Handle pop-up-frames related
7492         options more faithfully.
7493         (pop-to-buffer): Don't rely on `display-buffer' selecting the
7494         window if it is on another frame.
7495         (display-buffer-alist, display-buffer-default-specifiers):
7496         Don't make new frame unsplittable by default.
7497         (display-buffer-normalize-argument): Fix doc-string typo and use
7498         'same-frame-other-window instead of 'other-window when associating
7499         with display-buffer-macro-specifiers.
7501 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
7503         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7504         New functions.
7505         (5x5-mode-map, 5x5-mode-menu): Bind them.
7506         (5x5-draw-grid): Tweak the solver's rendering.
7508 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7510         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7511         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7513 2011-06-21  Drew Adams  <drew.adams@oracle.com>
7515         * menu-bar.el: Use function variable instead of switch-to-buffer.
7516         (menu-bar-select-buffer-function): New variable.
7517         (menu-bar-update-buffers): Use it (bug#8876).
7519 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7521         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7522         variable's status.
7524 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
7526         * x-dnd.el (x-dnd-version-from-flags)
7527         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7528         and long as number (Bug#8899).
7529         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7531 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7533         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7534         (completion-try-completion, completion-all-completions): Compute the
7535         metadata argument if it's missing; make it optional (bug#8795).
7537         * wid-edit.el: Use lex-bind and move towards completion-at-point.
7538         (widget-complete): Use new :completion-function property.
7539         (widget-completions-at-point): New function.
7540         (default): Use :completion-function instead of :complete.
7541         (widget-default-completions): Rename from widget-default-complete;
7542         Rewrite.
7543         (widget-string-complete, widget-file-complete, widget-color-complete):
7544         Remove functions.
7545         (file, symbol, function, variable, coding-system, color):
7546         * international/mule-cmds.el (default-input-method, charset)
7547         (language-info-custom-alist):
7548         * cus-edit.el (face): Use new property :completions.
7550         * progmodes/pascal.el (pascal-completions-at-point): New function.
7551         (pascal-mode): Use it.
7552         (pascal-mode-map): Use completion-at-point.
7553         (pascal-toggle-completions): Make obsolete.
7554         (pascal-complete-word, pascal-show-completions):
7555         * progmodes/octave-mod.el (octave-complete-symbol):
7556         Redefine as obsolete alias.
7557         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7558         Signal absence of completion info for old Octave,
7559         (inferior-octave-complete): Redefine as obsolete alias.
7560         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7561         (meta-completions-at-point): Rename from meta-complete-symbol and
7562         adapt it for use on completion-at-point-functions.
7563         (meta-common-mode): Use it.
7564         (meta-looking-at-backward, meta-match-buffer): Remove.
7565         (meta-complete-symbol): Redefine as obsolete alias.
7566         (meta-common-mode-map): Use completion-at-point.
7567         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7568         (makefile-mode-map): Use completion-at-point.
7569         (makefile-completions-at-point): Rename from makefile-complete and
7570         adapt it for use on completion-at-point-functions.
7571         (makefile-mode): Use it.
7572         (makefile-complete): Redefine as obsolete alias.
7574 2011-06-20  Deniz Dogan  <deniz@dogan.se>
7576         * net/rcirc.el: Delete trailing whitespaces once and for all.
7578 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
7580         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7582 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
7584         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7586         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7588 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
7590         * window.el (display-buffer-other-window-means-other-frame):
7591         Call display-buffer-normalize-alist.
7592         (display-buffer-normalize-specifiers-1): Rename to
7593         display-buffer-normalize-argument.  New argument other-frame.
7594         Rewrite.
7595         (display-buffer-normalize-specifiers-2): Rename to
7596         display-buffer-normalize-options.
7597         (display-buffer-normalize-alist-1): New function.
7598         (display-buffer-normalize-specifiers-3): Rename to
7599         display-buffer-normalize-alist.
7600         Call display-buffer-normalize-alist-1.
7601         (display-buffer-normalize-options-inhibit): New variable.
7602         (display-buffer-normalize-specifiers): Rewrite calling
7603         display-buffer-normalize-alist,
7604         display-buffer-normalize-argument, and
7605         display-buffer-normalize-options.  Don't call the latter if
7606         display-buffer-normalize-options-inhibit is non-nil.
7607         (frame-auto-delete): New option.
7608         (window-deletable-p): Use frame-auto-delete.
7609         (window-list-no-nils, window-state-ignored-parameters)
7610         (window-state-get-1, window-state-get, window-state-put-list)
7611         (window-state-put-1, window-state-put-2, window-state-put):
7612         New functions.
7613         (display-buffer-normalize-options): Move special-display-p group
7614         after pop-up-frame group (Bug#8851) and (Bug#8856).
7616 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
7618         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7619         groups (Bug#8776).
7620         (rx-submatch-n): New function.
7621         (rx): Document it.
7623         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7624         (Bug#8768).
7626         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7628         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7630         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7631         anytime existing face settings are present (Bug#8889).
7633         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7634         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7635         Remove unused argument.
7637 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
7639         * window.el (display-buffer-default-specifiers):
7640         Remove pop-up-frame.  Add pop-up-window-min-height,
7641         pop-up-window-min-width, and another reuse-window specifier
7642         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
7643         (display-buffer-normalize-specifiers-2):
7644         Handle split-height-threshold and split-width-threshold also when
7645         pop-up-windows is unset.  Add a reuse-window specifier for the
7646         case popping up a new window fails.
7647         (special-display-popup-frame): Remove double quoting.
7648         (display-buffer-normalize-specifiers-1): Fix thinko.
7650 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7652         * shell.el (shell-completion-vars): Set pcomplete-termination-string
7653         according to comint-completion-addsuffix.
7655         * pcomplete.el: Convert to lexical binding and fix bug#8819.
7656         (pcomplete-suffix-list): Mark as obsolete.
7657         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7658         pcomplete-seen in the closure.
7659         (pcomplete-comint-setup): Setup completion-at-point as well.
7660         (pcomplete--entries): New function.
7661         (pcomplete--env-regexp): New var.
7662         (pcomplete-entries): Rewrite to work with partial-completion and
7663         without relying on pcomplete-suffix-list.
7664         (pcomplete-pare-list): Remove, unused.
7666 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7668         * window.el (display-buffer-alist): Set pop-up-window-min-height
7669         and pop-up-window-min-width in default value.  Reported by
7670         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
7671         other-window-means-other-frame.
7672         (display-buffer-macro-specifiers): Comment out entry for
7673         other-window specifier.
7674         (display-buffer-other-window-means-other-frame): New function.
7675         (display-buffer-normalize-specifiers-1): New arguments
7676         buffer-name and label.  Treat other-window case specially.
7677         (display-buffer-normalize-specifiers-2): Treat other-window case
7678         specially.
7679         (display-buffer-normalize-specifiers-3): New function.
7680         (display-buffer-normalize-specifiers):
7681         Call display-buffer-normalize-specifiers-3.
7683 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7685         * window.el (same-window-p): Fix two typos introduced when
7686         adding with-no-warnings.
7687         (display-buffer-normalize-specifiers-1): Don't check
7688         pop-up-frames for 'unset initialization.
7689         (display-buffer-normalize-specifiers-2): Major rewrite using
7690         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7691         (pop-up-frames, display-buffer-reuse-frames)
7692         (display-buffer-mark-dedicated): Don't initialize to 'unset.
7693         Suggested by David Engster <deng@randomsample.de>.
7694         (even-window-heights): Initialize to 'unset.
7695         (display-buffer-alist-set): Handle new 'unset initializations.
7696         (display-buffer-macro-specifiers): Don't pop up a new frame in the
7697         other window case.
7699 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
7701         * window.el (display-buffer-normalize-specifiers-1):
7702         Respect current value of pop-up-frames for most reasonable values of
7703         second argument of display-buffer (Bug#8865).
7704         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7705         (switch-to-buffer-other-window-same-frame)
7706         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
7707         Adams (Bug#8875).
7708         (display-buffer): Don't check noninteractive when calling
7709         display-buffer-pop-up-frame.
7710         (display-buffer-pop-up-frame): Never pop up a frame in
7711         noninteractive mode (Bug#8857).
7712         (enlarge-window, shrink-window): Don't report an error when the
7713         window can't be resized as requested (Bug#8862).
7715 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7717         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7719         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7721         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7723 2011-06-15  Alan Mackenzie  <acm@muc.de>
7725         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7726         for declarators, disable knr checking to speed up for normal files.
7727         2: Refactor, replacing a sequence of nested if forms by a cond form.
7729 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7731         * net/network-stream.el (open-network-stream): Add the keyword
7732         :always-query-capabilities for the case where you want to force a
7733         `plain' network connection, but the protocol still requires the
7734         capabilitiy command (i.e., SMTP and EHLO).
7736         * subr.el (process-live-p): Rename from `process-alive-p' for
7737         consistency with other `-live-p' functions.
7739 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7741         * window.el (same-window-buffer-names, same-window-regexps)
7742         (special-display-frame-alist, special-display-popup-frame)
7743         (special-display-function, special-display-buffer-names)
7744         (special-display-regexps, pop-up-frame-alist)
7745         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7746         (pop-up-windows, split-window-preferred-function)
7747         (split-height-threshold, split-width-threshold, even-window-heights)
7748         (display-buffer-mark-dedicated): Don't encourage the use of
7749         display-buffer-alist from Elisp code.
7751 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
7753         * progmodes/python.el (python-mode): Derive from prog-mode.
7754         * progmodes/ps-mode.el (ps-mode):
7755         * progmodes/mixal-mode.el (mixal-mode):
7756         * progmodes/cfengine.el (cfengine-mode):
7757         * progmodes/ld-script.el (ld-script-mode): Likewise.
7759 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
7761         * window.el (display-buffer-alist): Trim default value to avoid
7762         popping up a new frame (Bug#8857) or reusing an arbitrary window
7763         on another frame.
7764         (display-buffer): Do not fall back on popping up a new frame in
7765         batch mode (Bug#8857).
7767 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
7769         * cus-theme.el (describe-theme-1): Use custom-theme-p.
7770         (custom-theme-summary): New function.
7771         (customize-themes): Use it.
7773 2011-06-13  Glenn Morris  <rgm@gnu.org>
7775         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7777 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
7779         * help.el (help-window): Remove variable.
7780         (help-window-point-marker, temp-buffer-max-height)
7781         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7782         (help-print-return-message): Don't set help-window.
7783         (resize-temp-buffer-window): Rewrite cod eand doc-string.
7784         (help-window-setup-finish): Remove.
7785         (help-window-display-message, help-window-setup)
7786         (with-help-window): Major rewrite based on new
7787         display-buffer-window variable.
7789         * help-mode.el (help-mode-finish): Remove help-window related
7790         code.
7792         * view.el (view-exits-all-viewing-windows): Remove reference to
7793         view-return-to-alist in doc-string.
7794         (view-return-to-alist): Make obsolete.
7795         (view-buffer): Call pop-to-buffer-same-window and remove
7796         undo-window code.
7797         (view-buffer-other-window): Call pop-to-buffer-other-window and
7798         simplify code.  Ignore second argument.
7799         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7800         simplify code.  Ignore second argument.
7801         (view-return-to-alist-update): Make obsolete.
7802         (view-mode-enter): Rename second argument to QUIT-RESTORE.
7803         Rewrite using quit-restore window parameters.
7804         (view-mode-exit): Rename second argument to EXIT-ONLY.
7805         Rewrite using quit-restore-window.
7806         (View-exit, View-exit-and-edit, View-leave, View-quit)
7807         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7808         appropriate arguments.
7809         (view-end-message): Use quit-restore window parameter.
7811         * window.el (display-buffer-function): Rewrite doc-string.
7812         (display-buffer-window, display-buffer-alist): New variables.
7813         (display-buffer-split-specifiers)
7814         (display-buffer-side-specifiers)
7815         (display-buffer-macro-specifiers): New constants.
7816         (display-buffer-even-window-sizes, display-buffer-set-height)
7817         (display-buffer-set-width, display-buffer-select-window)
7818         (display-buffer-in-window, display-buffer-reuse-window)
7819         (display-buffer-split-window-1, display-buffer-split-window)
7820         (display-buffer-split-atom-window, display-buffer-pop-up-window)
7821         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7822         (display-buffer-in-side-window, normalize-buffer-to-display)
7823         (display-buffer-normalize-specifiers-1)
7824         (display-buffer-normalize-specifiers-2)
7825         (display-buffer-normalize-specifiers, display-buffer-frame):
7826         New functions.
7827         (display-buffer): Major rewrite.
7828         (display-buffer-other-window, display-buffer-other-frame)
7829         (pop-to-buffer, switch-to-buffer-other-window)
7830         (switch-to-buffer-other-frame): Rewrite.
7831         (display-buffer-same-window, display-buffer-same-frame)
7832         (display-buffer-same-frame-other-window)
7833         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7834         (pop-to-buffer-other-window)
7835         (pop-to-buffer-same-frame-other-window)
7836         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7837         (switch-to-buffer-other-window-same-frame): New functions.
7838         (same-window-p, special-display-p): Rewrite disabling warnings.
7839         Make obsolete.
7840         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7841         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7842         Make obsolete
7843         (same-window-buffer-names, same-window-regexps)
7844         (special-display-frame-alist, special-display-popup-frame)
7845         (special-display-function, special-display-buffer-names)
7846         (special-display-regexps, pop-up-frame-alist)
7847         (pop-up-frame-function, split-window-preferred-function)
7848         (split-height-threshold, split-width-threshold)
7849         (even-window-heights): Make obsolete.
7851 2011-06-12  Glenn Morris  <rgm@gnu.org>
7853         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
7854         Misc simplifications.
7856 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
7858         * window.el (window-safely-shrinkable-p): Restore function which
7859         was inadvertently removed in change from 2011-06-11.  Declare as
7860         obsolete.
7862         * calendar/calendar.el (calendar-generate-window):
7863         Use window-iso-combined-p instead of combination of one-window-p and
7864         window-safely-shrinkable-p.
7866 2011-06-12  Glenn Morris  <rgm@gnu.org>
7868         * progmodes/fortran.el (fortran-mode-syntax-table):
7869         * progmodes/f90.el (f90-mode-syntax-table):
7870         Set % to punctuation.  (Bug#8820)
7871         (f90-find-tag-default): Remove, no longer needed.
7873 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
7875         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7877 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
7879         * image.el (image-animated-p): Return animation delay in seconds.
7880         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7881         (image-animate-timeout): Remove DELAY argument.  Don't assume
7882         every subimage has the same delay; get it from image-animated-p.
7883         (image-animate): Caller changed.
7885 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
7887         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7888         to ignored backtrace functions.
7890 2011-06-11  Glenn Morris  <rgm@gnu.org>
7892         * calendar/appt.el (appt-disp-window-function): Doc fix.
7893         (appt-check): Handle overlapping appointments.  (Bug#8337)
7895 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
7897         * window.el (window-tree-1, window-tree): New functions, moving
7898         the latter to window.el.
7899         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7900         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7901         (bw-refresh-edges): Remove.
7902         (balance-windows-1, balance-windows-2): New functions.
7903         (balance-windows): Rewrite in terms of window tree functions,
7904         balance-windows-1 and balance-windows-2.
7905         (bw-adjust-window): Remove.
7906         (balance-windows-area-adjust): New function with functionality of
7907         bw-adjust-window but using resize-window.
7908         (set-window-text-height): Rewrite doc-string.
7909         Use normalize-live-window and resize-window.
7910         (enlarge-window-horizontally, shrink-window-horizontally):
7911         Rename argument to DELTA.
7912         (window-buffer-height): New function.
7913         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7914         Rewrite using new window resize routines.
7915         (kill-buffer-and-window, mouse-autoselect-window-select):
7916         Use ignore-errors instead of condition-case.
7917         (quit-window): Call delete-frame instead of delete-windows-on
7918         for the only buffer on frame.
7920 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
7922         * loadup.el (top-level): Load window before files for the sake
7923         of replace-buffer-in-windows.
7925         * files.el (read-buffer-to-switch)
7926         (switch-to-buffer-other-window)
7927         (switch-to-buffer-other-frame, display-buffer-other-frame):
7928         Move to window.el.
7930         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7931         (previous-buffer): Move to window.el.
7933         * bindings.el (unbury-buffer): Move to window.el.
7935         * window.el (delete-other-windows-vertically): Move after
7936         definition of delete-other-windows.
7937         (other-window, delete-windows-on, replace-buffer-in-windows):
7938         Move here from window.c.
7939         (record-window-buffer, unrecord-window-buffer)
7940         (set-window-buffer-start-and-point, switch-to-prev-buffer)
7941         (switch-to-next-buffer): New functions.
7942         (get-next-valid-buffer, last-buffer, next-buffer): Move here
7943         from simple.el.  Call switch-to-next-buffer.
7944         (previous-buffer): Move here from simple.el.
7945         Call switch-to-prev-buffer.
7946         (bury-buffer): Move here from buffer.c.  Switch to previous
7947         buffer when window cannot be deleted.
7948         (unbury-buffer): Move here from bindings.el.
7949         (ctl-x-map): Move binding for other-window from window.c to
7950         here.
7951         (read-buffer-to-switch, switch-to-buffer-other-window)
7952         (switch-to-buffer-other-frame): Move here from files.el.
7953         (normalize-buffer-to-switch-to): New functions.
7954         (switch-to-buffer): Move here from buffer.c.
7955         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
7957 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
7959         * window.el (window-min-height, window-min-width): Move here
7960         from window.c.  Add defcustoms and rewrite doc-strings.
7961         (resize-mini-window, resize-window): New functions.
7962         (adjust-window-trailing-edge, enlarge-window, shrink-window):
7963         Move here from window.c.
7964         (maximize-window, minimize-window): New functions.
7965         (delete-window, delete-other-windows, split-window): Move here
7966         from window.c.
7967         (window-split-min-size): New function.
7968         (split-window-keep-point): Mention split-window-above-each-other
7969         instead of split-window-vertically.
7970         (split-window-above-each-other, split-window-vertically):
7971         Rename split-window-vertically to split-window-above-each-other
7972         and provide defalias for old definition.
7973         (split-window-side-by-side, split-window-horizontally):
7974         Rename split-window-horizontally to split-window-side-by-side
7975         and provide defalias for the old definition.
7976         (ctl-x-map): Move bindings for delete-window,
7977         delete-other-windows and enlarge-window here from window.c.
7978         Replace bindings for split-window-vertically and
7979         split-window-horizontally by bindings for
7980         split-window-above-each-other and split-window-side-by-side.
7982         * cus-start.el (all): Remove entries for window-min-height and
7983         window-min-width.  Add entries for window-splits and
7984         window-nest.
7986 2011-06-09  Glenn Morris  <rgm@gnu.org>
7988         * calendar/appt.el (appt-mode-line): New function.
7989         (appt-check, appt-disp-window): Use it.
7991         * files.el (hack-one-local-variable-eval-safep):
7992         Allow minor-modes with explicit +/-1 arguments.
7994 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
7996         * term/xterm.el (xterm): Add defgroup.
7997         (xterm-extra-capabilities): Add defcustom to supply known xterm
7998         capabilities, skip querying them, or query them (default).
7999         (terminal-init-xterm): Use it.
8000         (terminal-init-xterm-modify-other-keys): New function to set up
8001         modifyOtherKeys support to simplify `terminal-init-xterm'.
8003 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8005         * window.el (resize-window-reset, resize-window-reset-1)
8006         (resize-subwindows-skip-p, resize-subwindows-normal)
8007         (resize-subwindows, resize-other-windows, resize-this-window)
8008         (resize-root-window, resize-root-window-vertically)
8009         (window-deletable-p, window-or-subwindow-p)
8010         (frame-root-window-p): New functions.
8012 2011-06-09  Glenn Morris  <rgm@gnu.org>
8014         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8015         (ange-ftp-get-files): Use it.
8017 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8019         * mail/sendmail.el (mail-recover-1, mail-recover):
8020         * files.el (recover-file, recover-session):
8021         Handle dired-listing-switches not being just a single short option.
8023 2011-06-09  Glenn Morris  <rgm@gnu.org>
8025         * calendar/appt.el (appt-display-message, appt-disp-window):
8026         Handle lists of appointments.
8028 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8030         * window.el (one-window-p): Move down in code.
8031         Rewrite doc-string.
8032         (window-current-scroll-bars): Rewrite doc-string.
8033         Normalize live window argument.
8034         (walk-windows, get-window-with-predicate, count-windows):
8035         Rewrite doc-string.  Use window-list-1.
8036         (window-in-direction-2, window-in-direction, get-mru-window):
8037         New functions.
8039 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8041         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8042         Doc fix (Bug#8713).
8044 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8046         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8048 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8050         * loadhist.el (unload-feature-special-hooks):
8051         Add `comint-output-filter-functions'.
8053 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8055         * calendar/appt.el (appt-check): Move some initializations into the let.
8057 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8059         * window.el (window-height): Defalias to window-total-height.
8060         (window-width): Defalias to window-body-width.
8062 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8064         * image-mode.el (image-toggle-animation): New command.
8065         (image-mode-map): Bind it to RET.
8066         (image-mode): Update message.
8067         (image-toggle-display-image): Avoid a spurious cache flush.
8068         (image-transform-rotation): Doc fix.
8069         (image-transform-properties): Return quickly in the normal case.
8070         (image-animate-loop): Rename from image-animate-max-time.
8072         * image.el (image-animate-max-time): Move to image-mode.el.
8073         (create-animated-image): Remove unnecessary function.
8074         (image-animate): Rename from image-animate-start.  New arg.
8075         (image-animate-stop): Remove; just use image-animate-timer.
8076         (image-animate-timer): Use car-safe.
8077         (image-animate-timeout): Rename argument.
8079 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8081         * window.el (get-lru-window, get-largest-window): Move here from
8082         window.c.  Rename first argument to ALL-FRAMES.
8083         Rephrase doc-strings.
8084         (get-buffer-window-list): Rewrite using window-list-1.
8085         Rephrase doc-string.
8086         (window-safe-min-height, window-safe-min-width): New constants.
8087         (window-size-ignore, window-min-size, window-min-size-1)
8088         (window-sizable, window-sizable-p, window-size-fixed-1)
8089         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8090         (window-max-delta-1, window-max-delta, window-resizable)
8091         (window-resizable-p, window-total-height, window-total-width)
8092         (window-body-width): New functions.
8093         (window-full-height-p, window-full-width-p): Rewrite using
8094         window-total-size.
8095         (window-body-height): Rewrite using window-body-size.
8097 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8099         * window.el (window-right, window-left, window-child)
8100         (window-child-count, window-last-child, window-any-p)
8101         (normalize-live-buffer, normalize-live-frame)
8102         (normalize-any-window, normalize-live-window)
8103         (window-iso-combination-p, window-iso-combined-p)
8104         (window-iso-combinations)
8105         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8106         (windows-with-parameter, window-with-parameter)
8107         (window-atom-root, make-window-atom, window-atom-check-1)
8108         (window-atom-check, window-side-check, window-check):
8109         New functions.
8110         (ignore-window-parameters, window-sides, window-sides-vertical)
8111         (window-sides-slots): New variables.
8112         (window-size-fixed): Move down in code.  Minor doc-string fix.
8114 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8116         * comint.el (comint-dynamic-complete-as-filename)
8117         (comint-dynamic-complete-filename): Correctly call
8118         completion-in-region.
8120 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8122         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8123         in last change.
8125 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8127         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8128         (rcirc): Use it to prompt for encryption.
8130 2011-06-05  Roland Winkler  <winkler@gnu.org>
8132         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8133         (bibtex-search-entries): New command bound to C-c C-a.
8134         (bibtex-display-entries): New function.
8136 2011-06-05  Roland Winkler  <winkler@gnu.org>
8138         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8139         (bibtex-insert-kill): After yanking insert newline if necessary.
8140         (bibtex-initialize): Call bibtex-string-files-init only once.
8141         (bibtex-mode): Do not call easy-menu-add.
8142         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8143         (bibtex-yank): Set arg properly if nil.
8145 2011-06-05  Roland Winkler  <winkler@gnu.org>
8147         * textmodes/bibtex.el (bibtex-search-entry-globally):
8148         New variable.
8149         (bibtex-search-entry): Use it.
8151 2011-06-05  Roland Winkler  <winkler@gnu.org>
8153         * textmodes/bibtex.el (bibtex-entry-format): New option
8154         sort-fields.
8155         (bibtex-format-entry, bibtex-reformat): Honor this option.
8156         (bibtex-parse-entry): Return fields in proper order.
8158 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8160         * doc-view.el (doc-view-remove-if): Move computation of result out
8161         of `dolist' to silence misleading lexical-binding warning.
8163 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8165         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8166         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8168 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8170         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8171         "SunOS 5.10".
8173 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8175         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8176         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8177         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8178         (tramp-parse-putty):
8179         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8180         (tramp-completion-function-alist-ssh)
8181         (tramp-completion-function-alist-telnet)
8182         (tramp-completion-function-alist-su)
8183         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8184         cookie.
8186         * net/tramp-ftp.el:
8187         * net/tramp-sh.el:
8188         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8189         load "tramp.el" `tramp-set-completion-function'.
8191 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8193         * shell.el: Require and use pcomplete.
8194         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8195         (shell-completion-vars): Set pcomplete-default-completion-function.
8197 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8199         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8200         `memq' (Bug#8799).
8202 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8204         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8206 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8208         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8209         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8210         * vc/log-view.el (log-view-beginning-of-defun):
8211         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8212         (smerge-refine-forward, smerge-refine-chopup-region):
8213         Silence warning for unused `dotimes' counter variables.
8215 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8217         * net/tramp.el (tramp-with-progress-reporter): Rename from
8218         with-progress-reporter.  Use `declare'.
8219         * net/tramp-smb.el:
8220         * net/tramp-sh.el:
8221         * net/tramp-gvfs.el: Update all uses.
8223 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8225         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8226         buffer isn't killed before making it current.
8228 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         Silence various byte-compiler warnings.
8231         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8232         `access-type' and new obsolescence format.
8233         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8234         new format.
8235         (byte-compile-check-variable): New `access-type' argument.
8236         Only warn if the access-type is obsolete.
8237         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8238         (byte-compile-variable-set): Adjust callers.
8239         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8240         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8241         setting it as obsolete.
8242         * simple.el (minibuffer-completing-symbol):
8243         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8244         access as obsolete.
8245         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8246         obsolete yet.
8247         * international/quail.el (quail-mouse-choose-completion): Remove unused
8248         code referring to obsolete var.
8249         (quail-choose-completion-string): Remove.
8250         * server.el (server-clients-with, server-kill-buffer-query-function)
8251         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8252         * proced.el (proced-send-signal):
8253         * emacs-lisp/lisp.el (lisp-complete-symbol):
8254         Replace completion-annotate-function with completion-extra-properties.
8256 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8258         * simple.el (goto-line): Use read-number.
8259         (overriding-map-is-bound): Remove.
8260         (saved-overriding-map): Change default.
8261         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8262         Take the map as argument.
8263         (universal-argument, negative-argument, digit-argument): Use it.
8264         (restore-overriding-map): Adjust.
8265         (do-auto-fill): Use fill-forward-paragraph.
8266         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8268         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8269         (minibuffer-inactive-mode): New major mode.
8270         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8271         the *Messages* buffer" hack.
8272         (mouse-popup-menubar): Don't burp if the event is a normal key.
8274         Miscellaneous tweaks.
8275         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8276         lexical scoping as in subr.el's dolist and dotimes.
8277         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8278         Silence compiler warning.
8279         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8280         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8281         * international/ccl.el (ccl-compile): Trivial simplification.
8282         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8283         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8284         `printflag' argument.
8285         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8286         Purecopy the whole obsolescence data.
8288 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8290         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8291         improve doc-string as suggested by Marco Pessotto
8292         <melmothx@gmail.com>.
8293         (rcirc-print): Fix last change.
8295 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8297         * minibuffer.el (complete-with-action): Return nil for the metadata and
8298         boundaries of non-functional tables.
8299         (completion-table-dynamic): Return nil for the metadata.
8300         (completion-table-with-terminator): Add default case, using
8301         complete-with-action.
8302         (completion--metadata): New function.
8303         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8304         to try and avoid pathological performance problems.
8305         (completion--embedded-envvar-table): Return `category' metadata.
8307 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8309         * subr.el (process-alive-p): New tiny convenience function.
8311 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8313         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8314         content but also its previous major mode.
8316 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8318         * emacs-lisp/debug.el (debug): Restore the previous content of the
8319         *Backtrace* buffer when we exit with C-M-c.
8321 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8323         * minibuffer.el: Add metadata method to completion tables.
8324         (completion-category-overrides): New defcustom.
8325         (completion-metadata, completion--field-metadata)
8326         (completion-metadata-get, completion--styles)
8327         (completion--cycle-threshold): New functions.
8328         (completion-try-completion, completion-all-completions):
8329         Add `metadata' argument to choose completion-styles.
8330         (completion--do-completion): Use metadata to choose cycling.
8331         (completion-all-sorted-completions): Use metadata for sorting.
8332         Remove :completion-cycle-penalty which is not needed any more.
8333         (completion--try-word-completion): Add `metadata' argument.
8334         (minibuffer-completion-help): Check metadata for annotation function
8335         and sorting.
8336         (completion-file-name-table): Return `category' metadata.
8337         (minibuffer-completing-file-name): Make obsolete.
8338         * simple.el (minibuffer-completing-symbol): Make obsolete.
8339         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8340         completion-try-completion.
8342 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8346 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8348         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8349         (rcirc-print): Decode all incoming messages (bug#8744).
8350         (rcirc-decode-coding-system): Allow value nil for automatic coding
8351         system detection.
8353 2011-06-01  Glenn Morris  <rgm@gnu.org>
8355         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8357 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8359         * image.el (image-animate-max-time): Allow nil and t values.
8360         Default to nil.
8361         (create-animated-image): Doc fix.
8362         (image-animate-start): Remove second arg; just use
8363         image-animate-max-time.
8364         (image-animate-timeout): Doc fix.  Args changed.
8366         * image-mode.el (image-toggle-display-image): Ensure that the
8367         image spec passed to the animate timer is the same object as in
8368         the buffer's display property (Bug#6981).
8369         (image-transform-properties): Doc fix.
8371         * image.el (image-animate-max-time): Default to nil.
8373 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8375         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8376         entire buffer list (Bug#8184).
8378 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8380         * image.el (imagemagick-types-inhibit)
8381         (imagemagick-register-types): Doc fix.
8383 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8385         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8386         default.
8388 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8390         * select.el: Don't perform clipboard-manager saving in hooks;
8391         leave the hooks empty.
8393 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8395         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8396         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8397         (occur-edit-mode): New major mode (Bug#8463).
8398         (occur-after-change-function): New function.
8399         (occur-engine): Give Occur tags a read-only property.
8401 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8403         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8405 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8407         * bindings.el (help-echo): Make the initial non-indicator dash
8408         empty on graphical terminals (Bug#7295).
8410         * files.el (auto-mode-alist): Move config rule after the
8411         in-stripping one (Bug#8547).
8413         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8415         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8416         setting (Bug#8740).
8418 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8420         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8421         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8422         (Bug#8539).
8424 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8426         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8428 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8430         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8431         (hs-hide-block-at-point, hs-find-block-beginning)
8432         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8433         (Bug#8279).
8435 2011-05-28  Glenn Morris  <rgm@gnu.org>
8437         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8439 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8441         * help-fns.el (describe-function-1): If the function is a derived
8442         major mode, print the parent mode.
8444         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8445         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8447 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         * minibuffer.el (completion--capf-wrapper): Check applicability before
8450         returning non-nil for non-exclusive completion data.
8451         * progmodes/etags.el (tags-completion-at-point-function):
8452         * info-look.el (info-lookup-completions-at-point): Mark as
8453         non-exclusive.
8454         (info-complete): Adjust accordingly.
8456         * info-look.el: Convert to lexical-binding and completion-at-point.
8457         (info-lookup-completions-at-point): New function.
8458         (info-complete): Use it and completion-in-region.
8460 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8462         * isearch.el: Let M-e start with point at the first mismatched char.
8463         (isearch-fail-pos): New function.
8464         (isearch-edit-string): Use it.
8466 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8468         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8470 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8472         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8473         traversal functions for avl-trees.
8474         (avl-tree--stack): New struct.
8475         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8476         (avl-tree-enter): Add optional `updatefun' arg.
8477         (avl-tree--do-enter): Add optional `updatefun' arg.
8478         Change return value.
8479         (avl-tree-delete): Add optional `test' and `nilflag' args.
8480         (avl-tree--do-delete): Add `test' and `nilflag' args.
8481         Change return value.
8482         (avl-tree-member): Add optional `nilflag'
8483         (avl-tree-member-p): New function.
8484         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8485         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8486         (avl-tree-stack-empty-p): New functions.
8488         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8489         avl-tree--del-balance1 and make it work both ways.
8490         (avl-tree--del-balance2): Remove.
8491         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8492         make it work both ways.
8493         (avl-tree--enter-balance2): Remove.
8494         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8495         New macros.
8496         (avl-tree--mapc, avl-tree-map): Add direction argument.
8498 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
8500         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8502 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
8504         * select.el: Support clipboard managers with built-in function
8505         x-clipboard-manager-save, via delete-frame-functions and
8506         kill-emacs-hook.
8507         (xselect-convert-to-targets): Add MULTIPLE target to list.
8508         (xselect-convert-to-save-targets): New function.
8510 2011-05-27  Kenichi Handa  <handa@m17n.org>
8512         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8513         let-binding rfc2047-encode-encoded-words to nil.
8515 2011-05-27  Glenn Morris  <rgm@gnu.org>
8517         * mail/emacsbug.el: Don't require url-util.
8519         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
8521         * files.el (set-auto-mode):
8522         Also respect mode: entries at the end of the file.  (Bug#8586)
8524 2011-05-26  Glenn Morris  <rgm@gnu.org>
8526         * files.el (hack-local-variables-prop-line, hack-local-variables):
8527         Downcase mode names, as seems to be traditional.
8528         (hack-local-variables, hack-local-variables-apply): Doc fixes.
8530         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8531         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
8533 2011-05-25  Julien Danjou  <julien@danjou.info>
8535         * textmodes/rst.el (rst-define-level-faces): Do not define face
8536         symbol if it is already defined.
8538 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8540         * play/5x5.el (5x5-new-game, 5x5-randomize):
8541         Reset 5x5-solver-output to nil when a new grid is cast.
8542         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8543         these debugging traces, as defmacro breaks the compiled code.
8545 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8547         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8549 2011-05-24  Leo Liu  <sdl.web@gmail.com>
8551         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8552         (vc-bzr-sha1): Adapt.
8554         * sha1.el: Remove.  Function `sha1' is now builtin.
8556         * bindings.el: Provide sha1 feature.
8558 2011-05-24  Kenichi Handa  <handa@m17n.org>
8560         * mail/sendmail.el: Require `rfc2047'.
8561         (mail-insert-from-field): Do not perform RFC2047 encoding.
8562         (mail-encode-header): New function.
8563         (sendmail-send-it): Set buffer-file-coding-system of the work
8564         buffer to the return value of select-message-coding-system.
8565         Call mail-encode-header.
8567         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8569 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
8571         * mail/supercite.el (sc-default-cite-frame):
8572         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8574 2011-05-24  Glenn Morris  <rgm@gnu.org>
8576         * progmodes/python.el (brm-menu): Declare.
8578         * emulation/viper.el (viper-set-hooks): Declare.
8580         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8581         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8582         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8583         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8584         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8585         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8587 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8589         Add an :exit-function for completion-at-point.
8591         * minibuffer.el (completion--done): New fun.
8592         (completion--do-completion): Use it.  New arg `expect-exact'.
8593         (minibuffer-complete, minibuffer-complete-word): Don't output message,
8594         since completion--do-completion does it for us now.
8595         (minibuffer-force-complete): Use completion--done and
8596         completion--replace.  Handle sole-completion case with more care.
8597         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8598         (completion-extra-properties): New var.
8599         (completion-annotate-function): Make obsolete.
8600         (minibuffer-completion-help): Adjust accordingly.
8601         Use completion-list-insert-choice-function.
8602         (completion-at-point, completion-help-at-point):
8603         Bind completion-extra-properties.
8604         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8605         * simple.el (completion-list-insert-choice-function): New var.
8606         (completion-setup-function): Preserve it.
8607         (choose-completion): Pay attention to it, shuffle the code a bit.
8608         (choose-completion-string): New arg `insert-function'.
8610         * textmodes/bibtex.el: Convert to lexical binding.
8611         (bibtex-mode-map): Use completion-at-point.
8612         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8613         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8614         (bibtex-complete): Define as obsolete alias.
8615         (bibtex-complete-internal): Remove.
8616         (bibtex-format-entry): Remove unused sub-group in regexp.
8617         * shell.el (shell--command-completion-data)
8618         (shell-environment-variable-completion):
8619         * pcomplete.el (pcomplete-completions-at-point):
8620         * comint.el (comint--complete-file-name-data): Use :exit-function
8621         instead of completion-table-with-terminator so it also works for
8622         choose-completion.
8624 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8626         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8628         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8629         (bug#8710).
8631         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8633 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
8635         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8636         customization variable and implement: If non-nil, auto-fill will
8637         be inhibited while on topic's header line.
8639 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8641         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8642         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
8643         always have a solution in grid size = 5 cases.
8644         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8645         (5x5-solver-output, 5x5-log-buffer): New vars.
8646         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8647         Make these variables buffer local to achieve 5x5 multi-session-ness.
8648         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8649         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8650         (5x5-solve-suggest): New funs.
8651         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8652         randomize a grid so that we ensure that there is always a solution.
8653         (5x5-make-random-grid): Allow other movement than flipping.
8655 2011-05-23  Kevin Ryde  <user42@zip.com.au>
8657         * emacs-lisp/advice.el (ad-read-advised-function):
8658         Use `function-called-at-point' as the default, if it has
8659         advice and passes PREDICATE.
8661 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8664         byte-compile-lambda if it's actually a lambda.
8666         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8667         Fix function quoting.  Use backquote better.
8669 2011-05-22  Yuanle Song  <sylecn@gmail.com>
8671         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8672         matching (Bug#8516).
8674 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
8676         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8677         different face (Bug#8178).
8679 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
8681         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8682         defface (Bug#8144).
8684 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8686         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8687         funcall as well (bug#8712).  Warn when performing those conversions.
8688         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8690         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8692 2011-05-22  Glenn Morris  <rgm@gnu.org>
8694         * files.el (hack-local-variables-prop-line): Small simplifications.
8695         (hack-local-variables, hack-local-variables-prop-line):
8696         If MODE-ONLY, return the mode, rather than just `t'.
8698 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8700         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8702 2011-05-21  Glenn Morris  <rgm@gnu.org>
8704         * files.el (hack-local-variables-prop-line, hack-local-variables):
8705         If only interested in the mode, don't bother doing the other stuff.
8707         * image-mode.el (image-after-revert-hook):
8708         Redraw all frames on which the image is visible.  (Bug#8567)
8710         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
8712         * wid-edit.el (widget-checklist-match-inline):
8713         Fix 2011-04-19 change.  (Bug#8649)
8715 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8717         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8718         Also allow singlespace after single-letter capitals followed by a dot.
8720         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8721         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8723 2011-05-20  Nix  <nix@esperi.org.uk>
8725         * files.el (basic-save-buffer-2):
8726         Fix handling of break-hardlink-on-save with non-existent files.
8728 2011-05-19  Deniz Dogan  <deniz@dogan.se>
8730         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8731         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8733 2011-05-19  Glenn Morris  <rgm@gnu.org>
8735         * progmodes/f90.el (f90-type-def-re):
8736         Handle "type, bind(c)".  (Bug#8691)
8738         * emacs-lisp/autoload.el (batch-update-autoloads):
8739         Set autoload-excludes by parsing loadup.el rather than Makefiles.
8741 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
8743         * net/tramp.el (tramp-process-actions): Set "first-password-request"
8744         property for the correct connection in case of multihops.
8746 2011-05-18  Glenn Morris  <rgm@gnu.org>
8748         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
8749         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8751         Rationalize calendar handling of day and month abbrev-arrays.
8752         * calendar/calendar.el (calendar-customized-p): New function.
8753         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8754         (calendar-day-name-array, calendar-month-name-array): Doc fix.
8755         Add :set function.
8756         (calendar-abbrev-length, calendar-day-abbrev-array)
8757         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8758         (calendar-day-abbrev-array, calendar-month-abbrev-array):
8759         Elements may no longer be nil.
8760         (calendar-day-name, calendar-month-name):
8761         Update for changed nature of abbrev arrays.
8762         * calendar/diary-lib.el (diary-name-pattern):
8763         Update for changed nature of abbrev arrays.
8764         (diary-mark-entries-1): Update calendar-make-alist calls.
8765         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8766         * calendar/cal-html.el (cal-html-day-abbrev-array):
8767         Simply inherit from calendar-day-abbrev-array.
8769 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8771         * progmodes/grep.el (grep-mode): Disable default
8772         compilation-directory-matcher setting (bug#8684).
8774 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
8776         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8777         instead of "head" and "tail".  There were problems with SunOS 5.9,
8778         and it performs better.
8780 2011-05-17  Glenn Morris  <rgm@gnu.org>
8782         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8784         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8785         Replace obsolete function.
8787         * shell.el (pcomplete-parse-arguments-function): Declare.
8789         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8790         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8791         (appt-check): Doc fixes.
8792         (appt-disp-window-function, appt-delete-window-function):
8793         Remove needless special case in custom :type.
8794         (appt-display-count): Default to 0, not nil.
8795         (appt-check): Reset appt-display-count to 0, not nil.
8797 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
8799         * progmodes/python.el (python-font-lock-keywords):
8800         Add the Python 3.X keyword "nonlocal" (bug#8639).
8802 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8804         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8806 2011-05-16  Kevin Ryde  <user42@zip.com.au>
8808         * info-look.el (makefile-automake-mode): New setups, looking in
8809         automake manual, then makefile-mode.
8810         (makefile-mode): Remove automake manual, have it just in
8811         makefile-automake-mode since there's various things different or
8812         not relevant to plain make.
8813         (makefile-mode): Remove "other-modes" non-existent automake-mode,
8814         believe a hypothetical automake-mode would go to makefile-mode,
8815         not the other way around.
8817 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
8819         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8820         hunk-end tags (Bug#8672).
8822         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8823         vc-annotate-show-diff-revision-at-line (Bug#8671).
8825 2011-05-14  Glenn Morris  <rgm@gnu.org>
8827         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8828         in the middle of an existing one with multiple authors.  (Bug#8645)
8829         (change-log-font-lock-keywords): Also handle multiple author lines
8830         with leading tabs.  (Bug#8644)
8832         * calendar/appt.el (appt-check): Rename some local variables.
8833         Some simplification/reordering.
8835         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8836         (feedmail-sendmail-f-doesnt-sell-me-out)
8837         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8838         (feedmail-debug-sit-for, feedmail-queue-express-hook)
8839         (feedmail-queue-runner-message-sender): Set :version.
8840         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8841         (bbdb-dwim-net-address, vm-mail): Declare.
8842         (feedmail-binmail-gnulinuxish-template):
8843         Rename from feedmail-binmail-linuxish-template.
8844         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8845         Use insert-buffer-substring.
8847 2011-05-14  Bill Carpenter  <bill@carpenter.org>
8849         * mail/feedmail.el (feedmail-patch-level): Increase.
8850         (feedmail-debug): New custom group.
8851         (feedmail-confirm-outgoing-timeout)
8852         (feedmail-sendmail-f-doesnt-sell-me-out)
8853         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8854         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8855         (feedmail-sender-line, feedmail-from-line)
8856         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
8857         (feedmail-spray-this-address)
8858         (feedmail-spray-address-fiddle-plex-list)
8859         (feedmail-queue-use-send-time-for-date)
8860         (feedmail-queue-use-send-time-for-message-id)
8861         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8862         (feedmail-buffer-eating-function):
8863         Doc fixes.
8864         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8865         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8866         (feedmail-message-action-scroll-down): New functions.
8867         (feedmail-queue-directory, feedmail-queue-draft-directory):
8868         Use expand-file-name.
8869         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8870         Remove C-v help entry.
8871         (feedmail-queue-buffer-file-name): New variable.
8872         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8873         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8874         (feedmail-message-action-send-strong, feedmail-message-action-edit)
8875         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8876         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8877         (feedmail-message-action-toggle-spray)
8878         (feedmail-run-the-queue-no-prompts)
8879         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8880         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8881         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8882         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8883         (feedmail-envelope-deducer, feedmail-fiddle-from)
8884         (feedmail-fiddle-sender, feedmail-default-date-generator)
8885         (feedmail-fiddle-date, feedmail-fiddle-message-id)
8886         (feedmail-fiddle-spray-address)
8887         (feedmail-fiddle-list-of-spray-fiddle-plexes)
8888         (feedmail-fiddle-list-of-fiddle-plexes)
8889         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8890         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8891         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8892         Change default.  Doc fix.
8893         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8894         (feedmail-binmail-linuxish-template): New constant.
8895         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
8896         Respect feedmail-sendmail-f-doesnt-sell-me-out.
8897         (feedmail-send-it): Add debug call.
8898         Use feedmail-queue-buffer-file-name, and
8899         feedmail-send-it-immediately-wrapper.
8900         (feedmail-message-action-send): Add debug call.
8901         Use feedmail-send-it-immediately-wrapper.
8902         (feedmail-queue-express-to-queue): Add debug call.
8903         Run feedmail-queue-express-hook.
8904         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
8905         (feedmail-message-action-help-blat):
8906         Rename from feedmail-queue-send-edit-prompt-help-first.
8907         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
8908         Check line-endings.  Handle errors better.
8909         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8910         Doc fix.  Add debug call.
8911         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
8912         Use feedmail-queue-send-edit-prompt-inner.
8913         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8914         (feedmail-queue-send-edit-prompt-inner): New function, extracted
8915         from feedmail-queue-send-edit-prompt.
8916         (feedmail-queue-send-edit-prompt-help)
8917         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8918         (feedmail-tidy-up-slug): Add debug call.
8919         Respect feedmail-queue-slug-suspect-regexp.
8920         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8921         (feedmail-dump-message-to-queue): Add debug call.
8922         Expand queue-directory.
8923         (feedmail-dump-message-to-queue): Change message slightly.
8924         Use feedmail-say-chatter.
8925         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
8926         (feedmail-send-it-immediately-wrapper): New function.
8927         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
8928         Insert empty string rather than newline.  Handle full-frame case.
8929         Use catch/throw.  Use feedmail-say-chatter.
8930         (feedmail-fiddle-from): Try mail-host-address.
8931         (feedmail-default-message-id-generator): Doc fix.
8932         Bind system-time-locale.  Handle missing end.
8933         (feedmail-fiddle-x-mailer): Add debug call.
8934         Handle feedmail-x-mailer-line being nil.
8935         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8936         Add debug call.  Use buffer-substring-no-properties.
8937         (feedmail-say-debug, feedmail-say-chatter): New functions.
8938         (feedmail-find-eoh): Give an explicit error.
8940 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
8942         * net/newst-treeview.el (newsticker-treeview-face): Change default
8943         family from helvetica to sans.
8944         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
8945         etc/images/newsticker.
8947         * net/newst-reader.el (newsticker-feed-face): Change default
8948         family from helvetica to sans.
8950         * net/newst-plainview.el (newsticker-new-item-face)
8951         (newsticker-old-item-face, newsticker-immortal-item-face)
8952         (newsticker-obsolete-item-face, newsticker-date-face)
8953         (newsticker-statistics-face): Change default family from
8954         helvetica to sans.
8955         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
8956         etc/images/newsticker.
8958         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8959         (newsticker--process-auto-mark-filter-match): : Tell user about
8960         auto-marking.
8962 2011-05-13  Didier Verna  <didier@xemacs.org>
8964         Common Lisp indentation improvements on defmethod and lambda-lists.
8965         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8966         TODO entries.
8967         (lisp-lambda-list-keyword-parameter-indentation)
8968         (lisp-lambda-list-keyword-parameter-alignment)
8969         (lisp-lambda-list-keyword-alignment): New customizable user options.
8970         (lisp-indent-defun-method): Improve docstring.
8971         (extended-loop-p): Fix comment.
8972         (lisp-indent-lambda-list-keywords-regexp): New variable.
8973         (lisp-indent-lambda-list): New function.
8974         (lisp-indent-259): Use it.
8975         (lisp-indent-defmethod): Support for more than one
8976         method qualifier and properly indent methods lambda-lists.
8977         (defgeneric): Provide a missing common-lisp-indent-function property.
8979 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8981         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8982         bounds for the empty string (bug#8667).
8984 2011-05-13  Glenn Morris  <rgm@gnu.org>
8986         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8988         * mail/sendmail.el (sendmail-program): Try executable-find first.
8989         (sendmail-send-it): `sendmail-program' cannot be unbound.
8991         * calendar/appt.el (appt-make-list): Simplify.
8992         (appt-time-msg-list): Doc fix.
8993         (appt-check): Change mode-line message at the time of the appointment.
8995 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
8997         * progmodes/ld-script.el (ld-script-keywords)
8998         (ld-script-builtins): Update keywords list.
9000 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9002         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9004         * shell.el (shell-completion-vars): New function.
9005         (shell-mode):
9006         * simple.el (read-shell-command): Use it.
9007         (blink-matching-open): No need for " [...]" in minibuffer-message.
9009 2011-05-12  Glenn Morris  <rgm@gnu.org>
9011         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9012         (appt-check): Simplify.
9014 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9016         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9017         literal "/dev/null".
9019 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9021         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9022         Fix typo.
9024 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9026         * progmodes/which-func.el (which-function):
9027         Use add-log-current-defun instead of add-log-current-defun-function,
9028         which might not be defined (Bug#8260).
9030 2011-05-12  Glenn Morris  <rgm@gnu.org>
9032         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9033         Let byte-compile-initial-macro-environment always take precedence.
9035 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9037         * net/rcirc.el: Add support for SSL/TLS connections.
9038         (rcirc-server-alist): New field `encryption'.
9039         (rcirc): Check `encryption' settings.
9040         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9041         Merge make-local-variable into `set'.
9042         (rcirc--connection-open-p): New function.
9043         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9044         the process is not a network process (e.g. running gnutls-cli).
9045         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9046         Make rcirc-(en|de)code-coding-system local here.
9047         (rcirc-mode): Merge make-local-variable into `set'.
9048         (rcirc-parent-buffer): Make permanent buffer-local.
9049         (rcirc-multiline-minor-mode): Don't do it here.
9050         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9051         there's no server buffer.
9053 2011-05-11  Glenn Morris  <rgm@gnu.org>
9055         * newcomment.el (comment-kill): Prefix "unused" local.
9057         * term/w32console.el (get-screen-color): Declare.
9059         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9060         Handle symbol elements of byte-compile-initial-macro-environment.
9062 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9064         * bookmark.el (bookmark-bmenu-mode-map):
9065         Bind bookmark-bmenu-search to `/'.
9067         * mail/footnote.el: Convert to utf-8 encoding.
9068         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9069         (Footnote-unicode): New function.
9070         (footnote-style-alist): Add unicode style to the list.
9071         (footnote-style): Doc fix.
9073 2011-05-10  Jim Meyering  <meyering@redhat.com>
9075         Fix doubled-word typos.
9076         * international/quail.el (quail-insert-kbd-layout): and and -> and
9077         * kermit.el: and and -> and
9078         * net/ldap.el (ldap-search-internal): to to -> to
9079         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9080         * progmodes/js.el (js-mode): and and -> and
9081         * textmodes/artist.el (artist-move-to-xy): at at -> at
9082         (artist-draw-region-trim-line-endings): if if -> if
9083         And Safetyc -> Safety.
9084         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9086 2011-05-10  Glenn Morris  <rgm@gnu.org>
9087             Stefan Monnier  <monnier@iro.umontreal.ca>
9089         * files.el (hack-one-local-variable-eval-safep):
9090         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9092 2011-05-10  Glenn Morris  <rgm@gnu.org>
9094         * calendar/diary-lib.el (diary-list-entries-hook)
9095         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9096         (diary-nongregorian-marking-hook, diary-list-entries)
9097         (diary-include-other-diary-files, diary-mark-entries)
9098         (diary-mark-included-diary-files): Doc fixes.
9100 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9102         * misc.el: Require tabulated-list.el during compilation.
9104 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9106         * progmodes/compile.el (compilation-start):
9107         Run compilation-filter-hook for the async case too.
9108         (compilation-filter-hook): Doc fix.
9110 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9112         * wdired.el: Remove outdated installation comment.  Fix usage
9113         comment.
9115 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9117         * misc.el: Implement new command `list-dynamic-libraries'.
9118         (list-dynamic-libraries--loaded-only-p): New variable.
9119         (list-dynamic-libraries--refresh): New function.
9120         (list-dynamic-libraries): New command.
9122 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9124         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9125         Fix the ant regexp to handle end-line and end-column info from jikes.
9126         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9127         higher priority to avoid clobbering by gnu.
9129 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9131         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9132         if the face has existing theme settings (Bug#8454).
9134 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9136         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9137         Only match variables declared via `my' or `our' (Bug#8261).
9139         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9140         special file names `.' and `..' (Bug#8259).
9142 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9144         * progmodes/grep.el (grep-mode-font-lock-keywords):
9145         Remove buffer-changing entries.
9146         (grep-filter): New function.
9147         (grep-mode): Add it to compilation-filter-hook.
9149         * progmodes/compile.el (compilation-filter-hook)
9150         (compilation-filter-start): New defvars.
9151         (compilation-filter): Call compilation-filter-hook prior to
9152         updating the process mark.
9154 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9156         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9158 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9160         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9161         mailclient-send-it even if window-system is nil.  (Bug#8595)
9163         * term/w32console.el (terminal-init-w32console):
9164         Call get-screen-color and use its output to set the frame
9165         background-mode.  (Bug#8597)
9167 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9169         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9170         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9171         New functions.
9172         (defgeneric, eieio--defmethod): Use them.
9173         (eieio-defgeneric): Remove.
9174         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9176 2011-05-07  Glenn Morris  <rgm@gnu.org>
9178         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9179         Use let rather than let*.
9180         (timeclock-find-discrep): Remove unused local.
9182         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9184         * calendar/appt.el (appt-time-msg-list): Doc fix.
9186 2011-05-06  Noah Friedman  <friedman@splode.com>
9188         * apropos.el (apropos-print-doc): Only use
9189         emacs-lisp-docstring-fill-column when it is bound to an integer,
9190         per that variable's documentation.
9192 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9194         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9195         and warnings are not silently discarded (e.g. use -d instead of -P).
9197 2011-05-06  Glenn Morris  <rgm@gnu.org>
9199         * calendar/appt.el (appt-message-warning-time): Doc fix.
9200         (appt-warning-time-regexp): New option.
9201         (appt-make-list): Respect appt-message-warning-time.
9203         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9204         New options.
9205         (diary-add-to-list): Strip comments from the displayed string.
9206         (diary-mode): Set comment-start and comment-end.
9208         * vc/diff-mode.el (smerge-refine-subst): Declare.
9209         (diff-refine-hunk): Don't require smerge-mode when compiling.
9211 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9213         * simple.el (list-processes): Return nil as the docstring says.
9215 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9217         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9218         to "".
9219         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9220         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9221         determining of binary transfer.  (Bug#7383)
9223 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9225         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9226         Fix port computation bug.  (Bug#8618)
9228 2011-05-05  Glenn Morris  <rgm@gnu.org>
9230         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9232         * simple.el (shell-dynamic-complete-functions)
9233         (comint-dynamic-complete-functions): Declare.
9235         * net/network-stream.el (gnutls-negotiate):
9236         * simple.el (tabulated-list-print): Fix declarations.
9238         * progmodes/gud.el (syntax-symbol, syntax-point):
9239         Remove unnecessary and incorrect declarations.
9241         * emacs-lisp/check-declare.el (check-declare-scan):
9242         Handle byte-compile-initial-macro-environment in bytecomp.el
9244 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9246         Fix earlier half-done eieio-defmethod change (bug#8338).
9247         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9248         Streamline and change calling convention.
9249         (defmethod): Adjust accordingly and simplify.
9250         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9251         new eieio--defmethod.
9252         (slot-boundp): Minor CSE simplification.
9254 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9256         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9257         (glasses-make-readable): Use glasses-separate-capital-groups.
9259 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9261         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9262         (warning-series): Doc fix.
9263         (display-warning): Don't try to create the buffer if we just found it.
9265 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9267         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9268         (autoload-find-generated-file): New function.
9269         (generate-file-autoloads): Bind generated-autoload-file to
9270         buffer-file-name.
9271         (update-file-autoloads, update-directory-autoloads):
9272         Use autoload-find-generated-file.  If called interactively, prompt for
9273         output file (Bug#7989).
9274         (batch-update-autoloads): Doc fix.
9276 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9278         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9280 2011-05-04  Glenn Morris  <rgm@gnu.org>
9282         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9283         function, so it follows changes in calendar-date-style.
9284         (diary-fancy-date-matcher): New function.
9285         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9286         (diary-fancy-font-lock-fontify-region-function):
9287         Use diary-fancy-date-pattern as a function.
9289         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9290         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9292 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9294         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9295         instead of positional arguments.  Allow :keylist and :crlfiles
9296         arguments.
9297         (open-gnutls-stream): Call it.
9299         * net/network-stream.el (network-stream-open-starttls): Adjust to
9300         call `gnutls-negotiate' with :process and :hostname arguments.
9302 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9304         * minibuffer.el (completion--message): New function.
9305         (completion--do-completion, minibuffer-complete)
9306         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9307         (completion--do-completion): Don't ignore completion-auto-help when in
9308         icomplete-mode.
9310         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9311         internal encoding (e.g. tibetan zero is not whitespace).
9312         (global-whitespace-mode): Prefer save-current-buffer.
9313         (whitespace-trailing-regexp): Remove useless save-match-data.
9314         (whitespace-empty-at-bob-regexp): Minor simplification.
9316 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9318         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9320 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9322         * textmodes/ispell.el (ispell-add-per-file-word-list):
9323         Use `concat' to create string for insertion.
9325 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9327         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9328         Avoid open-line which runs post-self-insert-hook.
9329         (bibtex-fill-entry): Remove unused `end' var.
9331 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9333         * textmodes/ispell.el (ispell-add-per-file-word-list):
9334         Protect against `nil' value of `comment-start' (Bug#8579).
9336 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9338         * isearch.el (isearch-yank-pop): New command.
9339         (isearch-mode-map): Bind it to `M-y'.
9340         (isearch-forward): Mention it.
9342 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9344         * simple.el (minibuffer-complete-shell-command): Remove.
9345         (minibuffer-local-shell-command-map): Use completion-at-point.
9346         (read-shell-command): Setup completion vars here instead.
9347         (read-expression-map): Bind TAB to symbol completion.
9349         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9350         error directly rather via storing it into `results'.
9352 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9354         * vc/diff.el: Fix description.
9356 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9358         * server.el (server-eval-at): New function.
9360 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9362         * net/network-stream.el (open-network-stream): Take a :nowait
9363         parameter and pass it on to `make-network-process'.
9364         (network-stream-open-plain): Ditto.
9366 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9368         * faces.el (face-spec-set-match-display): Don't match toolkit
9369         options on terminal frames.
9371 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9373         * progmodes/pascal.el: Use lexical binding.
9374         (pascal-mode-map): Remove author preferences.
9376         * pcomplete.el (pcomplete-std-complete): Don't abuse
9377         completion-at-point.
9379 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9381         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9382         removing code that has been dead since 1991 or so.
9384         * startup.el (command-line): When warning about "_emacs", use a
9385         delayed warning to allow the user to filter it out.
9387 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9389         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9390         user has not joined.
9392 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9394         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9395         aren't any completions at point.
9397 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9399         * subr.el (display-delayed-warnings): New function.
9400         (delayed-warnings-hook): New variable.
9402 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9404         * minibuffer.el (completion-at-point, completion-help-at-point):
9405         Don't presume that a given completion-at-point-function will always
9406         use the same calling convention.
9408         * pcomplete.el (pcomplete-completions-at-point):
9409         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9410         pcomplete-seen is non-nil.
9411         (pcomplete-comint-setup): Also recognize the new comint/shell
9412         completion functions.
9413         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9414         pcomplete-seen is non-nil.
9416 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9418         * calendar/icalendar.el (diary-lib): Add require statement.
9419         (icalendar--create-uid): Read out a uid from a text-property on
9420         the first character in the entry.  This allows for code to add its
9421         own uid to the entry.
9422         (icalendar--convert-float-to-ical): Add export of
9423         `diary-float'-entries save for those with the optional DAY
9424         argument.
9426 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9428         * subr.el (shell-quote-argument): Use alternate escaping strategy
9429         when we spot a variable reference in a string.
9431 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9433         * cus-start.el (all): Define customization for debug-on-event.
9435 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9437         * subr.el (shell-quote-argument): Escape correctly under Windows.
9439 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9441         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9443 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9445         * net/tramp.el (tramp-process-actions): Add POS argument.
9446         Delete region between POS and (pos).
9448         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9449         Use `nil' position in `tramp-process-actions' call.
9450         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9452         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9453         position in `tramp-process-actions' call.
9455         * net/trampver.el: Update release number.
9457 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9459         * custom.el (defcustom): Obey lexical-binding.
9461         Fix octave-inf completion problems reported by Alexander Klimov.
9462         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9463         Inherit from octave-mode-syntax-table.
9464         (inferior-octave-mode): Set info-lookup-mode.
9465         (inferior-octave-completion-at-point): New function.
9466         (inferior-octave-complete): Use it and completion-in-region.
9467         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9468         comint-filename-completion.
9469         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9470         symbol elements which shouldn't be word elements.
9471         (octave-font-lock-keywords, octave-beginning-of-defun)
9472         (octave-function-header-regexp): Adjust regexps accordingly.
9473         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9475 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9477         * net/gnutls.el (gnutls-errorp): Declare before first use.
9479 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9481         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9482         verify-error, and verify-hostname-error parameters.  Check whether
9483         default trustfile exists before going to use it.  Add missing
9484         argument to gnutls-message-maybe call.  Return value.
9485         Reported by Claudio Bley <claudio.bley@gmail.com>.
9486         (open-gnutls-stream): Add usage example.
9488         * net/network-stream.el (network-stream-open-starttls): Give host
9489         parameter to `gnutls-negotiate'.
9490         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9491         * subr.el (shell-quote-argument): Escape correctly under Windows.
9493 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
9495         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9496         Use correct match group (bug#8438).
9498 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9500         * emacs-lisp/package.el (package-built-in-p): Fix typo.
9501         (package-menu--generate): New arg specifying packages to show.
9502         (package-menu-refresh, package-menu-execute, list-packages):
9503         Callers changed.
9504         (package-show-package-list): New function, replacing deleted
9505         package--list-packages (renamed because it is non-internal).
9507         * finder.el (finder-list-matches): Use package-show-package-list
9508         instead of deleted package--list-packages.
9510         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9511         Based on a previous implementation by Juanma Barranquero (Bug#8366).
9512         (vc-annotate-mode-map): Bind it to RET.
9514 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9516         * progmodes/etags.el (next-file): Don't use set-buffer to change
9517         buffers (Bug#8478).
9519 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9521         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9523         * apropos.el (apropos-label-face): Avoid variable-pitch face.
9524         (apropos-accumulator): Doc fix.
9525         (apropos-function, apropos-macro, apropos-command)
9526         (apropos-variable, apropos-face, apropos-group, apropos-widget)
9527         (apropos-plist): Add face property.
9528         (apropos-symbols-internal): Fix indentation.
9529         (apropos-print): Simplify help, and recognize apropos-multi-type.
9530         (apropos-print-doc): Use button-type-get to extract the button's
9531         face property.  Fill docstring (Bug#8352).
9533 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
9535         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9537         * play/mpuz.el (mpuz-silent): Doc fix.
9538         (mpuz-mode-map): Use mapc.
9539         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9540         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9541         Fix typos in docstrings.
9543         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9544         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9546         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9548 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
9550         * minibuffer.el (completion--do-completion): Avoid the "Next char
9551         not unique" prompt if icomplete-mode is enabled (Bug#5849).
9553         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9554         mouse-2 into unread-command-events, it is interpreted correctly.
9556         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9557         (image-toggle-display): Doc fix.
9559 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
9561         * textmodes/page.el (what-page): Use line-number-at-pos to
9562         calculate line number (Bug#6825).
9564 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9566         * eshell/esh-mode.el (find-tag-interactive): Declare function.
9567         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9568         Pass argument NO-DEFAULT to `find-tag-interactive'.
9570 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9572         Lexical-binding cleanup.
9574         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9575         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9576         * progmodes/ada-prj.el (ada-prj-initialize-values)
9577         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9578         (ada-prj-show-value):
9579         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9580         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9581         (antlr-invalidate-context-cache, antlr-options-menu-filter)
9582         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9583         * progmodes/bug-reference.el (bug-reference-push-button):
9584         * progmodes/fortran.el (fortran-line-length):
9585         * progmodes/glasses.el (glasses-change):
9586         * progmodes/octave-mod.el (octave-fill-paragraph):
9587         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9588         (python-pdbtrack-grub-for-buffer, python-sentinel):
9589         * progmodes/sql.el (sql-save-connection):
9590         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9591         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9592         Mark unused parameters.
9594         * progmodes/compile.el (compilation--flush-directory-cache)
9595         (compilation--flush-parse, compile-internal): Mark unused parameters.
9596         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9597         (compilation-next-error-function): Remove unused variable `timestamp'.
9599         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9600         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9602         * progmodes/dcl-mode.el (dcl-end-of-command):
9603         Remove unused variable `start'.
9604         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9605         (dcl-option-value-basic, dcl-option-value-offset)
9606         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9607         Mark unused parameters.
9608         (dcl-save-local-variable): Remove unused variable `val'.
9609         (mode): Declare.
9611         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9612         Mark unused parameters.
9613         (delphi-ignore-changes): Move before first use.
9614         (delphi-charset-token-at): Remove unused variable `start'.
9615         (delphi-else-start): Remove unused variable `if-count'.
9616         (delphi-comment-block-start, delphi-comment-block-end):
9617         Remove unused variable `kind'.
9618         (delphi-indent-line): Remove unused variable `new-point'.
9620         * progmodes/ebrowse.el (ebrowse-files-list)
9621         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9622         Mark unused parameters.  Don't quote `lambda'.
9623         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9624         Don't quote `lambda'.
9625         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9626         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9627         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9628         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9629         Use `ignore-errors'.
9630         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9631         (ebrowse-view/find-file-and-search-pattern)
9632         (ebrowse-view/find-member-declaration/definition):
9633         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9634         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9635         Rename parameter PREFIX-ARG to PREFIX.
9636         (ebrowse-tags-read-name): Remove unused variables `start' and
9637         `member-info'.
9638         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9639         to `tags-file'.
9641         * progmodes/etags.el (local-find-tag-hook): Declare.
9642         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9643         Mark unused parameters.
9645         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9646         (executable-interpret): Mark unused parameter.
9648         * progmodes/flymake.el (flymake-process-sentinel)
9649         (flymake-after-change-function)
9650         (flymake-create-temp-with-folder-structure)
9651         (flymake-get-include-dirs-dot): Mark unused parameters.
9652         (flymake-safe-delete-directory): Remove unused variable `err'.
9654         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9655         (speedbar-timer-fn, speedbar-line-text)
9656         (speedbar-change-expand-button-char, speedbar-delete-subblock)
9657         (speedbar-center-buffer-smartly): Declare functions.
9658         (gdb-find-watch-expression): Remove unused variable `array'.
9659         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9660         (gdb-starting): Mark unused parameters.
9661         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9662         (gdb-table-string): Remove unused variable `res'.
9663         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9664         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9665         (gdb-display-buffer): Remove unused variable `cur-size'.
9667         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9668         allow lexical-binding compilation.
9669         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9670         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9671         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9672         Mark unused parameters.
9673         (gud-gdb-marker-filter): Remove unused variable `match'.
9674         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9675         lambda expressions and funcall them, instead of using `fset'.
9677         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9678         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9680         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9681         variable `header-beg'; use `let'.
9683         * progmodes/icon.el (indent-icon-exp): Remove unused variables
9684         `restart', `last-sexp' and `at-do'.
9686         * progmodes/js.el (js--debug): Mark unused parameter.
9687         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9688         (js--splice-into-items): Remove unused variable `item'.
9689         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9691         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9692         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9693         (makefile-complete): Remove unused variable `try'.
9694         (makefile-fill-paragraph, makefile-match-function-end):
9695         Mark unused parameters.
9697         * progmodes/octave-inf.el (inferior-octave-complete):
9698         Remove unused variable `proc'.
9699         (inferior-octave-output-digest): Mark unused parameter.
9701         * progmodes/perl-mode.el (perl-calculate-indent):
9702         Remove unused variable `err'.
9704         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9705         (prolog-indent-line): Mark unused parameters.
9706         (prolog-indent-line): Remove unused variable `beg'.
9708         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9709         (reporter-dont-compact-list): Declare.
9711         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9712         Remove unused variable `char'.
9713         (sh-debug): Mark unused parameter.
9714         (sh-get-indent-info): Remove unused variable `start'.
9715         (sh-calculate-indent): Remove unused variable `var'.
9717         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9718         (simula-electric-keyword): Remove unused variable `null'.
9719         (simula-search-backward, simula-search-forward): Remove unused
9720         variables `begin' and `end'.
9722         * progmodes/vera-mode.el (vera-guess-basic-syntax):
9723         Remove unused variable `pos'.
9724         (vera-electric-tab, vera-comment-uncomment-region):
9725         Mark unused parameters.
9726         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9728 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
9730         * emacs-lisp/package.el (package--builtins, package-alist)
9731         (package-load-descriptor, package-built-in-p, package-activate)
9732         (define-package, package-installed-p)
9733         (package-compute-transaction, package-buffer-info)
9734         (package--push): Doc fix.  Distinguish more clearly between
9735         version strings and version lists.
9737 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
9739         Lexical-binding cleanup.
9741         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9742         (5x5-make-mutate-best):
9743         * play/fortune.el (fortune-in-buffer):
9744         * play/gomoku.el (gomoku-init-display):
9745         * play/solitaire.el (solitaire, solitaire-do-check):
9746         * play/tetris.el (tetris-default-update-speed-function):
9747         Mark unused parameters.
9749         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9750         (bubbles--shift): Remove unused variable `char-org'.
9751         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
9752         (bubbles--show-images): Remove unused variable `char'.
9754         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9755         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9756         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9757         (decipher-analyze-buffer): Use ?\s.
9758         (decipher-make-checkpoint): Remove unused variable `mapping'.
9760         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9762         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9763         Remove unused variable `result'; use `let'.
9765         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9766         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9767         (gametree-children-shown-p, gametree-compute-reduced-score):
9768         Use `ignore-errors'.
9770         * play/handwrite.el (ps-lpr-switches): Declare.
9771         (handwrite): Remove unused variables `pmin' and `lastp'.
9773         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9775         * play/landmark.el (landmark-init-display)
9776         (landmark-update-naught-weights): Mark unused parameters.
9777         (landmark-y): Remove unused variable `noise'.  Simplify.
9778         (landmark-human-plays): Remove unused variable `score'.
9780         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9781         (mpuz-try-proposal): Remove unused variable `game'.
9783         * play/zone.el (life-patterns): Declare.
9785 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
9787         * vc/vc.el (ediff-vc-internal): Declare function.
9789 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9791         * shell.el: Use lexical-binding and std completion UI.
9792         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9793         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9794         comint-preoutput-filter-functions rather than on
9795         comint-output-filter-functions.
9796         (shell-command-completion, shell--command-completion-data)
9797         (shell-filename-completion, shell-environment-variable-completion)
9798         (shell-c-a-p-replace-by-expanded-directory): New functions.
9799         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9800         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9801         (shell-dynamic-complete-environment-variable): Use them.
9802         (shell-dynamic-complete-as-environment-variable)
9803         (shell-dynamic-complete-as-command): Remove.
9804         (shell-match-partial-variable): Match past point.
9805         * comint.el: Clean up use of completion-at-point-functions.
9806         (comint-completion-at-point): New function.
9807         (comint-mode): Use it completion-at-point-functions.
9808         (comint-dynamic-complete): Make it obsolete.
9809         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9810         (comint-c-a-p-replace-by-expanded-history): New function.
9811         (comint-dynamic-complete-functions)
9812         (comint-replace-by-expanded-history): Use it.
9813         * minibuffer.el (completion-table-with-terminator): Allow dynamic
9814         termination strings.  Try harder to avoid second try-completion.
9815         (completion-in-region-mode-map): Disable bindings that don't work yet.
9817         * comint.el: Use lexical-binding.  Require CL.
9818         (comint-dynamic-complete-functions): Use comint-filename-completion.
9819         (comint-completion-addsuffix): Tweak custom type.
9820         (comint-filename-completion, comint--common-suffix)
9821         (comint--common-quoted-suffix, comint--table-subvert)
9822         (comint--complete-file-name-data): New functions.
9823         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9824         (comint-dynamic-list-filename-completions): Use them.
9825         (comint-dynamic-simple-complete): Make obsolete.
9827         * minibuffer.el (completion-in-region-mode):
9828         Keep completion-in-region-mode--predicate global.
9829         (completion-in-region--postch):
9830         Assume completion-in-region-mode--predicate is not null.
9832         * progmodes/flymake.el (flymake-start-syntax-check-process):
9833         Obey `dir'.  Simplify.
9835         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9836         we're in VC after all.
9838 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
9840         * vc/vc.el (vc-diff-build-argument-list-internal)
9841         (vc-version-ediff, vc-ediff): New commands.
9842         (vc-version-diff): Use vc-diff-build-argument-list-internal.
9844 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9846         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9847         add sanity check.
9849         * obsolete/erc-hecomplete.el: Make obsolete.
9850         * obsolete/: Standardize obsolescence info in the header.
9852 2011-04-20  Glenn Morris  <rgm@gnu.org>
9854         * calendar/solar.el (solar-horizontal-coordinates):
9855         Use the longitude argument rather than `calendar-longitude'.
9856         (solar-date-next-longitude): Remove unused locals.
9858 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9860         * whitespace.el: New version 13.2.1.
9862 2011-04-20  felix  <EmacsWiki>  (tiny change)
9864         * whitespace.el (global-whitespace-mode): Keep highlight when
9865         switching between major modes on a file.
9867 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9869         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9870         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9871         multi-line comments as well.
9873 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
9875         Lexical-binding cleanup.
9877         * arc-mode.el (archive-mode-revert):
9878         * cmuscheme.el (scheme-interactively-start-process):
9879         * custom.el (custom-initialize-delay):
9880         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9881         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9882         * emacs-lock.el (emacs-lock-clear-sentinel):
9883         * ezimage.el (defezimage):
9884         * follow.el (follow-avoid-tail-recenter):
9885         * fringe.el (set-fringe-mode-1):
9886         * generic-x.el (bat-generic-mode-compile):
9887         * help-mode.el (help-info-variable, help-do-xref)
9888         (help-mode-revert-buffer):
9889         * help.el (view-emacs-todo):
9890         * iswitchb.el (iswitchb-completion-help):
9891         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9892         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9893         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9894         * locate.el (locate-update):
9895         * longlines.el (longlines-encode-region)
9896         (longlines-after-change-function):
9897         * outline.el (outline-isearch-open-invisible):
9898         * ps-def.el (declare-function, charset-dimension, char-width)
9899         (encode-char):
9900         * ps-mule.el (ps-mule-plot-string):
9901         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9902         (recentf-edit-list-select, recentf-edit-list-validate)
9903         (recentf-open-files-action):
9904         * rect.el (delete-whitespace-rectangle-line)
9905         (rectangle-number-line-callback):
9906         * register.el (window-configuration-to-register)
9907         (frame-configuration-to-register):
9908         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9909         * select.el (xselect-convert-to-string, xselect-convert-to-length)
9910         (xselect-convert-to-targets, xselect-convert-to-delete)
9911         (xselect-convert-to-filename, xselect-convert-to-charpos)
9912         (xselect-convert-to-lineno, xselect-convert-to-colno)
9913         (xselect-convert-to-os, xselect-convert-to-host)
9914         (xselect-convert-to-user, xselect-convert-to-class)
9915         (xselect-convert-to-name, xselect-convert-to-integer)
9916         (xselect-convert-to-atom, xselect-convert-to-identity):
9917         * subr.el (declare, ignore, process-kill-without-query)
9918         (text-clone-maintain):
9919         * terminal.el (te-get-char, te-tic-sentinel):
9920         * tool-bar.el (tool-bar-make-keymap):
9921         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9922         * type-break.el (type-break-mode, type-break-noninteractive-query):
9923         * view.el (View-back-to-mark):
9924         * wid-browse.el (widget-browse-action, widget-browse-widget)
9925         (widget-browse-widgets, widget-browse-sexp):
9926         * widget.el (define-widget-keywords):
9927         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9928         Mark unused parameters.
9930         * align.el (align-adjust-col-for-rule): Mark unused parameter.
9931         (align-areas): Remove unused variable `look'.
9932         (align-region): Remove unused variables `real-end' and `pos-list'.
9934         * apropos.el (apropos-score-doc): Remove unused variable `i'.
9936         * bindings.el (mode-line-modified, mode-line-remote):
9937         Mark unused parameters.
9938         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9940         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9941         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9943         * comint.el (comint-history-isearch-pop-state)
9944         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9945         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9946         (comint-substitute-in-file-name): Doc fix.
9948         * completion.el (cmpl-statistics-block): Mark unused parameter.
9949         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9950         (save-completions-to-file, load-completions-from-file):
9951         Remove unused local variable `e'.
9953         * composite.el (compose-chars): Remove unused variable `len'.
9954         (lgstring-insert-glyph): Remove unused variable `g'.
9955         (compose-glyph-string): Remove unused variables `ascent',
9956         `descent', `lbearing' and `rbearing'.
9957         (compose-glyph-string-relative): Remove unused variables
9958         `lbearing', `rbearing' and `wadjust'.
9959         (compose-gstring-for-graphic): Remove unused variables `header',
9960         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
9961         (compose-gstring-for-terminal): Remove unused variables `header'
9962         and `nchars'.  Use `let', not `let*'.
9964         * cus-edit.el (Custom-set, Custom-save, custom-reset)
9965         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9966         (Custom-buffer-done, custom-buffer-create-internal)
9967         (custom-browse-visibility-action, custom-browse-group-tag-action)
9968         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9969         (widget-magic-mouse-down-action, custom-toggle-parent)
9970         (custom-add-parent-links, custom-toggle-hide-variable)
9971         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9972         (custom-toggle-hide-face, face, hook, custom-group-link-action)
9973         (custom-face-menu-create, custom-variable-menu-create, get)
9974         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9975         (custom-reset-standard-save-and-update): Remove unused variable `value'.
9976         (customize-apropos): Remove unused variable `tests'.
9977         (custom-group-value-create): Remove unused variable `hidden-p'.
9978         (sort-fold-case): Declare.
9980         * cus-theme.el (custom-reset-standard-faces-list)
9981         (custom-reset-standard-variables-list): Declare.
9982         (customize-create-theme, custom-theme-revert, custom-theme-write)
9983         (custom-theme-choose-mode, customize-themes, custom-theme-save):
9984         Mark unused parameters.
9986         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9988         * delim-col.el (delimit-columns-max): Move defvar before first use.
9990         * descr-text.el (describe-char-categories): Don't quote `lambda'.
9991         (describe-char): Don't quote `lambda'.  Mark unused parameter.
9993         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9994         (auto-insert): Declare.
9995         (desktop-restore-file-buffer): Rename desktop-* parameters;
9996         mark unused ones.
9997         (desktop-create-buffer): Rename desktop-* parameters and bind them.
9998         (desktop-buffer): Rename desktop-* parameters.
10000         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10001         (dframe-reposition-frame-xemacs, dframe-help-echo)
10002         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10003         Mark unused parameters.
10005         * dired-aux.el (backup-extract-version-start, overwrite-query)
10006         (overwrite-backup-query, rename-regexp-query)
10007         (rename-non-directory-query): Declare.
10008         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10009         (dired-add-entry): Remove unused variable `orig-file-name'.
10010         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10011         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10012         `dired-copy-preserve-time' directly.
10013         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10014         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10016         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10017         (dired-virtual-revert, dired-make-relative-symlink):
10018         Mark unused parameters.
10019         (manual-program): Declare.
10020         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10021         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10022         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10024         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10026         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10028         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10029         Declare.
10031         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10033         * electric.el (Electric-command-loop): Rename parameter
10034         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10036         * expand.el (expand-in-literal): Remove unused variable `here'.
10038         * facemenu.el (facemenu-add-new-color):
10039         Remove unused variable `docstring'.
10041         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10042         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10043         (face-attr-construct): Mark unused parameter.  Doc fix.
10044         (read-color): Remove unused variable `hex-string'.
10046         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10047         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10048         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10049         (display-buffer-other-frame): Remove unused variable `old-window'.
10050         (kill-buffer-hook): Declare.
10051         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10052         Mark unused parameters.
10053         (after-find-file): Pass 1 to `auto-save-mode', not t.
10055         * files-x.el (auto-insert): Declare.
10056         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10058         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10059         variable `buf'.  Mark unused parameter.
10060         (find-lisp-insert-directory): Mark unused parameter.
10062         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10063         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10064         (format-common-tail): Remove, unused.
10065         (format-deannotate-region): Remove unused variable `loc'.
10066         (format-annotate-region): Remove unused variable `p'.
10067         (format-annotate-single-property-change): Remove unused variables
10068         `default' and `tail'.
10070         * forms.el (read-file-filter): Declare.
10071         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10073         * frame.el (frame-creation-function-alist): Mark unused parameter.
10074         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10076         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10077         Remove unused parameters.
10078         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10079         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10081         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10082         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10083         (hfy-prepare-tag-map): Mark unused parameters.
10084         (htmlfontify-buffer): Use `called-interactively-p'.
10086         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10087         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10088         (ibuffer-do-occur): Mark unused parameters.
10089         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10090         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10092         * ibuffer.el: Don't quote `lambda'.
10093         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10094         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10095         Mark unused parameters.
10097         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10098         (ido-completing-read): Mark unused parameters.
10099         (ido-copy-current-word): Mark unused parameters;
10100         remove unused variable `name'.
10101         (ido-sort-merged-list): Remove unused parameter `dirs'.
10103         * ielm.el (ielm-input-sender): Mark unused parameter.
10104         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10105         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10106         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10107         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10108         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10110         * image-dired.el (image-dired-display-thumbs): Remove unused
10111         variables `curr-file' and `count'.
10112         (image-dired-remove-tag): Remove unused variable `start'.
10113         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10114         variable `curr-file'
10115         (image-dired-rotate-original): Remove unused variable `temp-file'.
10116         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10117         Remove unused variable `file'.
10118         (image-dired-gallery-generate): Remove unused variable `curr'.
10119         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10121         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10123         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10125         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10127         * isearch.el (minibuffer-history-symbol): Declare.
10128         (isearch-edit-string): Remove unused variable `err'.
10129         (isearch-message-prefix, isearch-message-suffix):
10130         Mark unused parameters.
10132         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10134         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10136         * makesum.el (double-column): Remove unused variable `cnt'.
10138         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10139         (ido-ignore-item-temp-list): Declare.
10141         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10142         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10143         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10144         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10145         `mouse-col-delta'.
10147         * mouse-sel.el (mouse-extend-internal):
10148         Remove unused variable `orig-window-frame'.
10150         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10151         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10152         Move declarations before first use.
10153         (pcomplete-opt): Mark unused parameters; doc fix.
10155         * proced.el (proced-revert): Mark unused parameter.
10156         (proced-send-signal): Remove unused variable `err'.
10158         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10159         Rename parameter PREFIX-ARG to ARG.
10160         (ps-basic-plot-string, ps-basic-plot-whitespace):
10161         Mark unused parameters.
10163         * replace.el (replace-count): Define.
10164         (occur-revert-function): Mark unused parameters.
10165         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10166         (isearch-case-fold-search, isearch-string): Declare.
10167         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10168         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10169         and simplify.
10170         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10171         COUNT and bind `replace-count'.
10172         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10173         to COUNT.
10175         * savehist.el (print-readably, print-string-length): Declare.
10177         * shadowfile.el (shadow-expand-cluster-in-file-name):
10178         Remove unused variable `cluster'.
10179         (shadow-copy-file): Remove unused variable `i'.
10180         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10181         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10182         (shadow-define-literal-group, shadow-define-regexp-group)
10183         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10185         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10186         (shell): Use `called-interactively-p'.
10187         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10189         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10190         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10191         (delete-backward-char): Remove unused variable `ocol'.
10192         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10193         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10194         (event-apply-hyper-modifier, event-apply-shift-modifier)
10195         (event-apply-control-modifier, event-apply-meta-modifier):
10196         Mark unused parameters.
10197         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10198         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10200         * speedbar.el (speedbar-ignored-directory-expressions)
10201         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10202         (speedbar-find-file, speedbar-dir-follow)
10203         (speedbar-directory-buttons-follow, speedbar-tag-find)
10204         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10205         (speedbar-buffers-line-directory, speedbar-buffer-click):
10206         Mark unused parameters.
10207         (speedbar-tag-file): Remove unused variable `mode'.
10208         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10210         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10212         * talk.el (talk): Remove unused variable `display'.
10214         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10215         (tar-write-region-annotate): Mark unused parameter.
10217         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10218         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10219         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10220         warning by another.
10222         * time-stamp.el (time-stamp-string-preprocess):
10223         Remove unused variable `require-padding'.
10225         * tree-widget.el (widget-glyph-enable): Declare.
10226         (tree-widget-action): Mark unused parameter.
10228         * w32-fns.el (x-get-selection): Mark unused parameter.
10229         (autoload-make-program, generated-autoload-file): Declare.
10231         * wdired.el (wdired-revert): Mark unused parameters.
10232         (wdired-xcase-word): Remove unused variable `err'.
10234         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10235         (whitespace-help-scroll): Remove unused variable `data-help'.
10237         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10238         (widget-image-insert, widget-after-change, default)
10239         (widget-default-format-handler, widget-default-notify)
10240         (widget-default-prompt-value, widget-info-link-action)
10241         (widget-url-link-action, widget-function-link-action)
10242         (widget-variable-link-action, widget-file-link-action)
10243         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10244         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10245         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10246         (widget-insert-button-action, widget-delete-button-action, visibility)
10247         (widget-documentation-link-action, widget-documentation-string-action)
10248         (widget-const-prompt-value, widget-regexp-match, symbol)
10249         (widget-coding-system-prompt-value)
10250         (widget-key-sequence-value-to-external, sexp)
10251         (widget-sexp-value-to-internal, character, vector, cons)
10252         (widget-choice-prompt-value, widget-boolean-prompt-value)
10253         (widget-color--choose-action): Mark unused parameters.
10254         (widget-item-match-inline, widget-choice-match-inline)
10255         (widget-checklist-match, widget-checklist-match-inline)
10256         (widget-group-match): Rename parameter VALUES to VALS.
10257         (widget-field-value-set): Remove unused variable `size'.
10258         (widget-color-action): Remove unused variables `value' and `start'.
10260         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10261         variable `dir'.  Doc fix.
10262         (windmove-find-other-window): Don't pass it.
10264         * window.el (count-windows): Mark unused parameter.
10265         (bw-adjust-window): Remove unused variable `err'.
10267         * woman.el (woman-file-name): Remove unused variable `default'.
10268         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10269         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10270         (global-font-lock-mode): Declare.
10271         (woman-decode-region): Mark unused parameter.
10272         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10274         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10275         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10276         (x-dnd-handle-moz-url): Remove unused variable `title'.
10277         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10279         * xml.el (xml-parse-tag, xml-parse-attlist):
10280         Remove unused variable `pos'.
10282 2011-04-19  Glenn Morris  <rgm@gnu.org>
10284         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10285         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10286         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10287         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10288         * calendar/cal-html.el (cal-html-insert-minical):
10289         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10290         (calendar-mark-date-pattern):
10291         Prefix "unused" locals.
10293         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10294         optional argument `style'.
10296         * calendar/appt.el (appt-make-list):
10297         * calendar/cal-china.el (calendar-chinese-date-string):
10298         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10299         (diary-hebrew-yahrzeit):
10300         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10301         * calendar/calendar.el (calendar-generate-window):
10302         * calendar/time-date.el (time-to-days):
10303         Remove unused local variables.
10305 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10307         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10308         glyphless-char-display table.
10309         (tabulated-list-glyphless-char-display): New var.
10311 2011-04-18  Sam Steingold  <sds@gnu.org>
10313         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10314         to acknowledgments.
10316 2011-04-17  Glenn Morris  <rgm@gnu.org>
10318         * calendar/diary-lib.el (diary-sexp-entry):
10319         * calendar/holidays.el (holiday-sexp):
10320         Set debug-on-error rather than the removed stack-trace-on-error.
10322 2011-04-16  Glenn Morris  <rgm@gnu.org>
10324         * progmodes/f90.el: Use lexical-binding.
10325         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10327 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10329         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10330         (mail-mode): Setup mailalias completion here instead.
10331         * mail/mailalias.el: Use lexical-binding.
10332         (pattern, mailalias-done): Declare dynamic.
10333         (mail-completion-at-point-function): New function, from mail-complete.
10334         (mail-complete): Use it.
10335         (mail-completion-expand): New function.
10336         (mail-get-names): Use it.
10337         (mail-directory, mail-directory-process, mail-directory-stream):
10338         Don't use `pattern' for lexically bound arg.
10340         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10342         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10343         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10344         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10346         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10347         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10348         (byte-interactive-p): Define them again, for use when inlining
10349         old code.
10351 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10353         * loadup.el: Use `string-to-number', not `string-to-int'.
10355 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10357         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10358         gud-gdb-complete-command.
10359         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10360         (gud-gdb-completion-at-point): New function.
10361         (gud-gdb-completions): Remove.
10363 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10365         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10366         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10367         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10368         whether `executable-find' is bound.
10370         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10372 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10374         * minibuffer.el (completion-in-region-mode-predicate)
10375         (completion-in-region-mode--predicate): New vars.
10376         (completion-in-region, completion-in-region--postch)
10377         (completion-in-region-mode): Use them.
10378         (completion--capf-wrapper): Also return the hook function.
10379         (completion-at-point, completion-help-at-point):
10380         Adjust and provide a predicate.
10382         Preserve arg names for advice of subr and lexical functions (bug#8457).
10383         * help-fns.el (help-function-arglist): Consolidate the subr and
10384         new-byte-code cases.  Add argument `preserve-names' to extract names
10385         from the docstring when needed.
10386         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10387         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10388         (ad-arglist): Use help-function-arglist's new arg.
10389         (ad-definition-type): Use cond.
10391 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10393         * autorevert.el (auto-revert-handler):
10394         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10395         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10396         Don't quote lambda.
10398         * image-mode.el (image-transform-set-scale):
10399         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10401 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10403         * net/network-stream.el (network-stream-open-starttls): Only do
10404         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10405         Upgrades via gnutls-cli are too slow to be done opportunistically.
10407 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10409         * dframe.el (dframe-current-frame): Remove spurious quote.
10411 2011-04-12  Glenn Morris  <rgm@gnu.org>
10413         * calendar/cal-tex.el (cal-tex-end-document):
10414         Try to automatically use latin1 input if needed.
10416         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10417         Don't try to cons a mark onto an empty element.
10419 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10421         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10422         buffers.
10423         (ido-kill-buffer-at-head): Support killing virtual buffers.
10425 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10427         * minibuffer.el (completion-show-inline-help): New var.
10428         (completion--do-completion, minibuffer-complete)
10429         (minibuffer-force-complete, minibuffer-complete-word):
10430         Inhibit minibuffer messages if completion-show-inline-help is nil.
10432         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10433         to avoid interference from inline help (Bug#5849).
10435 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10437         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10438         Fix typo.
10440 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10442         * image-mode.el (image-toggle-display-image): Signal an error if
10443         not in Image mode.
10444         (image-transform-mode, image-transform-resize)
10445         (image-transform-set-rotation): Doc fix.
10446         (image-transform-set-resize): Delete.
10447         (image-transform-set-scale, image-transform-fit-to-height)
10448         (image-transform-fit-to-width): Handle image-toggle-display-image
10449         and image-transform-resize directly.
10451 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10453         * doc-view.el (doc-view-fit-width-to-window)
10454         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10455         New functions for fitting the shown image to the Emacs window size.
10456         (doc-view-mode-map): Add bindings for the new functions.
10458 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10460         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10461         Fix typo in docstring.
10463 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10465         * files.el (file-size-human-readable): Produce one digit after
10466         decimal, like "ls -lh" does.
10468         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10469         the file size representation.
10471         * simple.el (list-processes): If async subprocesses are not
10472         available, error out with a clear error message.
10474 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10476         * help.el (help-form-show): New function, to be called from C.
10477         Put help-form output in a buffer named differently than *Help*.
10479 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10481         * files.el (file-size-human-readable): New function.
10483         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10484         computing the representation inline.  Don't require `cl'.
10486 2011-04-08  Glenn Morris  <rgm@gnu.org>
10488         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10490         * net/browse-url.el (browse-url-firefox):
10491         Test system-type, not system-configuration.
10493         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10494         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10495         Use log-edit-empty-buffer-p.  (Bug#7598)
10497         * net/rlogin.el (rlogin-process-connection-type): Simplify.
10498         (rlogin-mode-map): Initialize in the defvar.
10499         (rlogin): Use ignore-errors.
10501         * replace.el (occur-mode-map): Some fixes for menu items.
10503 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10505         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
10507 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10509         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10510         issuing unused warnings.
10512         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10513         macro directly.
10515         * simple.el: Lisp reimplement of list-processes.  Based on an
10516         earlier reimplementation by Leo Liu, but using tabulated-list.el.
10517         (process-menu-mode): New major mode.
10518         (list-processes--refresh, list-processes):
10519         (process-menu-visit-buffer): New functions.
10521         * files.el (save-buffers-kill-emacs): Don't assume any return
10522         value of list-processes, which is undocumented anyway.
10524 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10526         * emacs-lisp/tabulated-list.el: New file.
10528         * emacs-lisp/package.el: Use Tabulated List mode.
10529         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10530         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
10531         table format using Tabulated List mode variables.
10532         (package--push): New macro, replacing package-list-maybe-add.
10533         (package-menu--generate): Use package--push.  Renamed from
10534         package--generate-package-list.
10535         (package-menu-refresh, list-packages): Use it.
10536         (package-menu--print-info): Rename from package-print-package.
10537         Return insertion data instead of inserting it directly.
10538         (package-menu-describe-package, package-menu-execute):
10539         Use tabulated-list-get-id.
10540         (package-menu-mark-delete, package-menu-mark-install)
10541         (package-menu-mark-unmark, package-menu-backup-unmark)
10542         (package-menu-mark-obsolete-for-deletion):
10543         Use tabulated-list-put-tag.
10544         (package--list-packages, package-menu-revert)
10545         (package-menu-get-package, package-menu-get-version)
10546         (package-menu-sort-by-column): Functions deleted.
10547         (package-menu-package-list, package-menu-sort-key): Vars deleted.
10548         (package-menu--status-predicate, package-menu--version-predicate)
10549         (package-menu--name-predicate)
10550         (package-menu--description-predicate): Handle arguments in the
10551         Tabulated List format.
10552         (package-list-packages-no-fetch): Call list-packages.
10554 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
10556         * files.el (after-find-file-from-revert-buffer): Remove variable.
10557         (after-find-file): Don't bind it.
10558         (revert-buffer-in-progress-p): New variable.
10559         (revert-buffer): Bind it.
10560         Pass nil for `after-find-file-from-revert-buffer'.
10562         * saveplace.el (save-place-find-file-hook): Use new variable
10563         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10565 2011-04-06  Glenn Morris  <rgm@gnu.org>
10567         * Makefile.in (AUTOGEN_VCS): New variable.
10568         (autoloads): Use $AUTOGEN_VCS.
10570         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10571         * calendar/calendar.el (calendar-mode-map):
10572         Check for toolkit scroll bars.  (Bug#8305)
10574 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10576         * minibuffer.el (completion-in-region--postch)
10577         (completion-in-region-mode): Remove unnecessary messages.
10579 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
10581         * font-lock.el (font-lock-refresh-defaults):
10582         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10583         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10585         * info.el (Info-directory-list, Info-read-node-name-2)
10586         (Info-split-parameter-string): Doc fixes.
10587         (Info-virtual-nodes): Reflow docstring.
10588         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10589         (Info-apropos-toc-nodes, info-finder, Info-get-token)
10590         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10591         Fix typos in docstrings.
10592         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10593         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10594         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10595         (Info-restore-desktop-buffer): Mark unused parameters.
10596         (Info-directory-find-file, Info-directory-find-node)
10597         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10598         (Info-virtual-index-find-node, Info-apropos-find-file)
10599         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10600         Mark unused parameters; fix typos in docstrings.
10601         (Info-virtual-index): Remove unused local variable `nodename'.
10603 2011-04-05  Deniz Dogan  <deniz@dogan.se>
10605         * net/rcirc.el: Update my e-mail address.
10606         (rcirc-mode-map): Remove M-o binding.
10608 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10610         * startup.el (command-line): Save the cursor's theme-face
10611         directly, instead of using face-override-spec.
10613         * custom.el (load-theme): Minor optimization in assigning faces.
10615 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10617         * help-fns.el (describe-variable): Complete all variables having
10618         documentation, including keywords.
10619         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10621 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10623         Convert to lexical-binding.
10625         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10626         (bs--get-marked-string, bs--get-modified-string)
10627         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10628         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10629         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10631         * ehelp.el (electric-help-execute-extended)
10632         (electric-help-ctrl-x-prefix):
10633         * hexl.el (hexl-revert-buffer-function):
10634         * linum.el (linum-after-change, linum-after-scroll):
10635         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10637         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10639 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
10641         * epa-dired.el:
10642         * epa-mail.el:
10643         * epa-hook.el:
10644         * epa-file.el:
10645         * epa.el:
10646         * epg.el: Use lexical binding.
10648 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
10650         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10652         * textmodes/flyspell.el (flyspell-word): Recognize default
10653         dictionary case for flyspell-mark-duplications-exceptions.
10654         Use regexp matching for languages.
10655         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10656         default dictionary (Bug#7926).
10658 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
10660         * emacs-lisp/package.el (package--with-work-buffer):
10661         Recognize https URLs.
10663         * net/network-stream.el: Move from gnus/proto-stream.el.
10664         Change prefix to network-stream throughout.
10665         (open-protocol-stream): Merge into open-network-stream, leaving
10666         open-protocol-stream as an alias.  Handle nil BUFFER args.
10668         * subr.el (open-network-stream): Move to net/network-stream.el.
10670 2011-04-02  Glenn Morris  <rgm@gnu.org>
10672         * find-dired.el (find-exec-terminator): New option.
10673         (find-ls-option): Test for -ls support.
10674         (find-ls-subdir-switches): Test for -b in find-ls-option.
10675         (find-dired, find-grep-dired): Doc fixes.
10676         (find-dired): Use find-exec-terminator.
10678         * find-dired.el (find-ls-option, find-ls-subdir-switches)
10679         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10680         (find-name-arg): Remove purecopy.
10682         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10683         (grep-compute-defaults): Check for `-exec COMMAND +' support.
10684         Set grep-find-use-xargs, grep-find-command, and grep-find-template
10685         accordingly.  Don't add the null-device if not needed.
10687         * files.el (save-some-buffers): Doc fix.
10689 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
10691         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10693 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
10695         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10696         Use `dolist' rather than `mapcar'.
10698 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10700         Add lexical binding.
10702         * subr.el (apply-partially): Use new closures rather than CL.
10703         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10704         (dolist, dotimes): Use slightly different expansion for lexical code.
10705         (functionp): Move to C.
10706         (letrec): New macro.
10707         (with-wrapper-hook): Use it and apply-partially instead of CL.
10708         (eval-after-load): Preserve lexical-binding.
10709         (save-window-excursion, with-output-to-temp-buffer): Turn them
10710         into macros.
10712         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10714         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10715         than the arglist.
10716         (help-add-fundoc-usage): Don't add `Not documented'.
10717         (help-function-arglist): Handle closures, subroutines, and new
10718         byte-code-functions.
10719         (help-make-usage): Remove leading underscores.
10720         (describe-function-1): Handle closures.
10721         (describe-variable): Use special-variable-p for completion.
10723         * files.el (lexical-binding): Declare safe.
10725         * emacs-lisp/pcase.el: Don't use destructuring-bind.
10726         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
10727         (pcase): Add `let' pattern.
10728         Change memoization so it actually works.
10729         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10730         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10731         <let>: New case.
10733         * emacs-lisp/macroexp.el: Use lexical binding.
10734         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
10735         Don't convert ' to #' without checking that it's indeed quoting
10736         a lambda.
10738         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10739         Use eval-sexp-add-defvars.
10740         (eval-sexp-add-defvars): New fun.
10742         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10744         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10745         Don't autoload.
10746         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10747         than the internal `byte-compile-lambda'.
10748         (defmethod): Don't hide code under quotes.
10749         (eieio-defmethod): New `code' argument.
10751         * emacs-lisp/eieio-comp.el: Remove.
10753         * emacs-lisp/edebug.el (edebug-eval-defun)
10754         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10755         (edebug-toggle): Avoid `eval'.
10757         * emacs-lisp/disass.el (disassemble-internal): Handle new
10758         `closure' objects.
10759         (disassemble-1): Handle new byte codes.
10761         * emacs-lisp/cl.el (pushnew): Silence warning.
10763         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10764         (cl-byte-compile-throw): Remove.
10765         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10767         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10768         closures.
10770         * emacs-lisp/cconv.el: New file.
10772         * emacs-lisp/bytecomp.el: Use lexical binding instead of
10773         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
10774         (byte-compile-initial-macro-environment):
10775         Handle declare-function here.
10776         (byte-compile--lexical-environment): New var.
10777         (byte-stack-ref, byte-stack-set, byte-discardN)
10778         (byte-discardN-preserve-tos): New lap codes.
10779         (byte-interactive-p): Don't use any more.
10780         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10781         New macros.
10782         (byte-compile-lapcode): Use them and handle new lap codes.
10783         (byte-compile-obsolete): Remove.
10784         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10785         (byte-compile-arglist-warn): Check late def of inlinable funs.
10786         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10787         since they should have been expanded by now.
10788         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10789         (byte-compile-from-buffer): Remove unused second arg.
10790         (byte-compile-preprocess): New function.
10791         (byte-compile-toplevel-file-form): New function to distinguish
10792         file-form calls from outside from file-form calls from hunk-handlers.
10793         (byte-compile-file-form): Simplify.
10794         (byte-compile-file-form-defsubst): Remove.
10795         (byte-compile-file-form-defmumble): Simplify now that
10796         byte-compile-lambda always returns a byte-code-function.
10797         (byte-compile): Preprocess.
10798         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10799         Remove, not used any more.
10800         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10801         (byte-compile-make-args-desc): New funs.
10802         (byte-compile-lambda): Handle lexical functions.  Always return
10803         a byte-code-function.
10804         (byte-compile-reserved-constants): New var, to make up room for
10805         closed-over variables.
10806         (byte-compile-constants-vector): Obey it.
10807         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10808         (byte-compile-macroexpand-declare-function): New function.
10809         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10810         byte-code-functions.
10811         (byte-compile-form): Check obsolescence here.
10812         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10813         (byte-compile-variable-ref): Remove.
10814         (byte-compile-dynamic-variable-op): New fun.
10815         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10816         (byte-compile-variable-set): New funs.
10817         (byte-compile-discard): Add 2 args.
10818         (byte-compile-stack-ref, byte-compile-stack-set)
10819         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10820         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10821         macroexpand-all instead.
10822         (byte-compile-quote-form): Remove.
10823         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10824         (byte-compile-bind, byte-compile-unbind): New funs.
10825         (byte-compile-let): Handle let* and lexical binding.
10826         (byte-compile-let*): Remove.
10827         (byte-compile-catch, byte-compile-unwind-protect)
10828         (byte-compile-track-mouse, byte-compile-condition-case):
10829         Handle a new :fun-body form, used for lexical scoping.
10830         (byte-compile-save-window-excursion)
10831         (byte-compile-with-output-to-temp-buffer): Remove.
10832         (byte-compile-defun): Simplify.
10833         (byte-compile-stack-adjustment): New fun.
10834         (byte-compile-out): Use it.
10835         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10837         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10838         handler any more.
10840         * emacs-lisp/byte-opt.el: Use lexical binding.
10841         (byte-inline-lapcode): Remove (to bytecomp).
10842         (byte-compile-inline-expand): Pay attention to inlining to/from
10843         lexically bound code.
10844         (byte-compile-unfold-lambda): Don't handle byte-code-functions
10845         any more.
10846         (byte-optimize-form-code-walker): Don't handle save-window-excursion
10847         any more and don't call compiler-macros.
10848         (byte-compile-splice-in-already-compiled-code): Remove.
10849         (byte-code): Don't inline any more.
10850         (disassemble-offset): Receive `bytes' as argument rather than via
10851         dynamic scoping.
10852         (byte-compile-tag-number): Declare before first use.
10853         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10854         `return' even if make-spliceable.
10855         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10856         obsolete interactive-p.
10857         (byte-optimize-lapcode): Optimize new lap-codes.
10858         Don't trip up on new form of `byte-constant' lap code.
10860         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10862         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10864         * custom.el (custom-initialize-default, custom-declare-variable):
10865         Use `defvar'.
10867         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10868         New variables.
10869         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10870         (COMPILE_FIRST): Add macroexp and cconv.
10871         * makefile.w32-in: Mirror changes in Makefile.in.
10873         * vc/cvs-status.el:
10874         * vc/diff-mode.el:
10875         * vc/log-edit.el:
10876         * vc/log-view.el:
10877         * vc/smerge-mode.el:
10878         * textmodes/bibtex-style.el:
10879         * textmodes/css.el:
10880         * startup.el:
10881         * uniquify.el:
10882         * minibuffer.el:
10883         * newcomment.el:
10884         * reveal.el:
10885         * server.el:
10886         * mpc.el:
10887         * emacs-lisp/smie.el:
10888         * doc-view.el:
10889         * dired.el:
10890         * abbrev.el: Use lexical binding.
10892 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
10894         * info.el (info-display-manual): New function.
10896 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10898         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10900 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
10902         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
10903         an entry for that server in rcirc-authinfo.  (Bug#8385)
10905 2011-03-31  Glenn Morris  <rgm@gnu.org>
10907         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10909         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10911 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
10913         * progmodes/python.el (python-default-interpreter)
10914         (python-python-command-args, python-jython-command-args)
10915         (python-which-shell, python-which-args, python-which-bufname)
10916         (python-file-queue, python-comint-output-filter-function)
10917         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10918         variables and functions.
10920 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10922         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10923         (completion-in-region-mode): New minor mode.
10924         (completion-in-region): Use it.
10925         (completion-in-region--data, completion-in-region-mode-map): New vars.
10926         (completion-in-region--postch): New function.
10927         (completion--capf-misbehave-funs, completion--capf-safe-funs):
10928         New vars.
10929         (completion--capf-wrapper): New function.
10930         (completion-at-point): Use it to track well-behavedness of
10931         hook functions.
10932         (completion-help-at-point): New command.
10934 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
10936         * vc/add-log.el (add-change-log-entry): Don't use whitespace
10937         syntax class to search for whitespace on a single line
10938         (Message-ID: <4D938140.4030905@redhat.com>).
10940 2011-03-30  Leo Liu  <sdl.web@gmail.com>
10942         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10943         New commands.
10944         (edit-abbrevs-map): Bind them here.
10945         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
10947 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
10949         * allout.el (allout-hide-by-annotation, allout-flag-region):
10950         Reduce possibility of overlay leakage by making them volatile.
10952         * allout-widgets.el (allout-widgets-tally): Define as nil so the
10953         hash is not shared between buffers.  Mode initialization is
10954         responsible for giving it a useful starting value.
10955         (allout-item-span): Reduce possibility of overlay leakage by
10956         making them volatile.
10957         (allout-widgets-count-buttons-in-region): Add diagnostic function
10958         for tracking down button overlay leaks.
10960 2011-03-29  Leo Liu  <sdl.web@gmail.com>
10962         * ido.el (ido-read-internal): Use the default history var
10963         minibuffer-history if no HISTORY is specified.
10965 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
10967         * net/imap.el (imap-shell-open, imap-process-connection-type):
10968         Use imap-process-connection-type for 'shell' streams as well as
10969         Kerberos, SSL, other subprocesses.
10971 2011-03-28  Leo Liu  <sdl.web@gmail.com>
10973         * abbrev.el (abbrev-table-empty-p): New function.
10974         (prepare-abbrev-list-buffer): Place empty abbrev tables after
10975         nonempty ones.  (Bug#5937)
10977 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
10979         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10981 2011-03-27  Leo Liu  <sdl.web@gmail.com>
10983         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10984         for foreground and background colors.
10985         (ansi-color-make-color-map): Adapt.
10987 2011-03-25  Leo Liu  <sdl.web@gmail.com>
10989         * midnight.el (midnight-time-float): Remove.  Note it calculates
10990         the microsecond component incorrectly and seconds-to-time does the
10991         same job.
10992         Remove redundant (require 'timer).
10994         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10995         (ido-completions): Remove unused arguments.  (Bug#8329)
10997 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10999         * minibuffer.el (completion--flush-all-sorted-completions):
11000         Remove itself from hook.
11001         (completion-at-point): Let the functions perform the completion
11002         immediately and return nil or t.
11003         * comint.el (comint-dynamic-complete-functions): Now identical to
11004         completion-at-point-functions.
11005         (comint-dynamic-list-input-ring): Remove unused var `index'.
11006         (comint--match-partial-filename, comint--unquote&expand-filename):
11007         New funs, split from comint-match-partial-filename.
11008         (comint-dynamic-complete): Use completion-at-point.
11009         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11011 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11013         * thingatpt.el: Support `defun'.
11015 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11017         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11019         * help-mode.el (help-mode-finish): Tweak regexp.
11021 2011-03-23  Glenn Morris  <rgm@gnu.org>
11023         * eshell/esh-opt.el (eshell-eval-using-options):
11024         Do not bind unused local variable `eshell-option-stub'.
11026         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11028 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11030         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11031         keymap variable in `with-no-warnings' to avoid a warning when the
11032         keymap has been already `defconst'ed.
11034 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11036         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11037         encode all chars in abbrevs; otherwise use emacs-mule or
11038         utf-8-emacs.  (Bug#8308)
11040 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11042         * simple.el (backward-delete-char-untabify):
11043         Avoid warning about using `delete-backward-char'.
11045         * image.el (image-type-file-name-regexps): Make it variable.
11046         `imagemagick-register-types' modifies it, and the user may want
11047         to add new extensions for known image types.
11048         (imagemagick-register-types): Throw error if not using ImageMagick.
11050 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11052         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11053         located before rcirc-prompt-end-marker.
11054         (rcirc-complete): Error if point is not after rcirc prompt.
11055         Handle the case when table is nil.
11056         (rcirc-user-authenticated): Define to fix compiler warning.
11058 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11060         * custom.el (custom--inhibit-theme-enable): Make it affect only
11061         custom-theme-set-variables and custom-theme-set-faces.
11062         (provide-theme): Ignore custom--inhibit-theme-enable.
11063         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11064         (custom-enabling-themes): Delete variable.
11065         (enable-theme): Accept only loaded themes as arguments.
11066         Ignore the special custom-enabled-themes variable.
11067         (custom-enabled-themes): Forbid themes from setting this.
11068         Eliminate use of custom-enabling-themes.
11069         (custom-push-theme): Quote "changed" custom var entry.
11071 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11073         * ido.el (ido-read-internal): Add ido-selected to history instead
11074         of user input.
11076 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11078         * subr.el (deferred-action-list, deferred-action-function):
11079         Mark obsolete.
11081 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11083         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11084         change on 2011-02-13 (bug#8309).
11086         * minibuffer.el (read-file-name-function): Change default value.
11087         (read-file-name--defaults): Rename from read-file-name-defaults.
11088         (read-file-name-default): Rename from read-file-name.
11089         (read-file-name): Call read-file-name-function.
11091 2011-03-21  Glenn Morris  <rgm@gnu.org>
11093         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11094         Doc fixes.
11096 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11098         * cus-theme.el: Add missing provide statement.
11099         (customize-create-theme): Extract theme value correctly.
11100         (custom-theme-visit-theme): Autoload.
11101         (customize-create-theme): Prompt before inserting default faces.
11103 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11105         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11106         units and musical notes.
11108 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11110         * ido.el (ido-read-internal): Use completing-read-default.
11111         (ido-completing-read): Fix compatibility with completing-read.
11113 2011-03-20  Christian Ohler  <ohler@gnu.org>
11115         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11116         (ert-delete-all-tests): Use `called-interactively-p' rather than
11117         `interactive-p'.
11118         (ert--make-xrefs-region): Respect END.
11120 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11122         * dired-aux.el (dired-create-directory): Signal an error if the
11123         directory already exists (Bug#8246).
11125         * facemenu.el (list-colors-display): Call list-faces-display
11126         inside with-help-window.
11127         (list-colors-print): Use display property to align the final
11128         column, instead of checking window-width.
11130 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11132         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11133         windows-nt systems.
11134         (emerge-protect-metachars): Quote correctly for ms-dos and
11135         windows-nt systems.
11137 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11139         * info.el (info-initialize): Replace all uses of `:' with
11140         path-separator for compatibility with non-Unix systems.
11141         Cache quoting of path-separator.  (Bug#8258)
11143 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11145         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11146         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11147         (mouse-avoidance-mode): Fix typos in docstrings.
11149 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11151         * startup.el (package-subdirectory-regexp): Move from package.el.
11152         Omit \\` and \\', and let callers add them.
11154         * emacs-lisp/package.el (package-strip-version)
11155         (package-load-all-descriptors): Add \\` and \\' to
11156         package-subdirectory-regexp before using it.
11157         (package-untar-buffer): New arg DIR; ensure that file untars only
11158         into this expected directory.  Remove superfluous delete-region.
11159         (package-unpack): Caller changed.
11160         (package-tar-file-info): Use package-subdirectory-regexp.
11162 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11164         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11165         diff-mode-shared-map (bug#8284).
11166         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11168 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11170         * calendar/time-date.el (format-seconds): Use assoc instead of
11171         assoc-string, since assoc-string doesn't exist in XEmacs.
11173 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11175         * custom.el (custom-known-themes): Reflow docstring.
11176         (custom-theme-load-path): Fix typo in docstring.
11177         (load-theme): Fix typo in error message.
11178         (custom-available-themes, custom-variable-theme-value):
11179         Use `let', not `let*'.
11181 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11183         * calc/README: Mention inclusion of musical notes.
11185         * calc/calc-units.el (calc-lu-quant): Rename from
11186         `calc-logunits-quantity'.
11187         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11188         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11189         (calc-db): Rename from `calc-dblevel'.
11190         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11191         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11192         (calc-np): Rename from `calc-nplevel'.
11193         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11194         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11195         (calc-lu-plus): Rename from `calc-logunits-add'.
11196         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11197         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11198         (calc-lu-minus): Rename from `calc-logunits-sub'.
11199         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11200         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11201         (calc-lu-times): Rename from `calc-logunits-mul'.
11202         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11203         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11204         (calc-lu-divide): Rename from `calc-logunits-div'.
11205         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11206         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11208         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11209         functions being autoloaded.
11211         * calc/calc.el (calc-lu-power-reference): Rename from
11212         `calc-logunits-power-reference'.
11213         (calc-lu-field-reference): Rename from
11214         `calc-logunits-field-reference'.
11216         * calc/calc-help.el (calc-l-prefix-help):
11217         Mention musical note functions.
11219 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         * minibuffer.el (completion-all-sorted-completions):
11222         Use :completion-cycle-penalty text property if present.
11224 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11226         * allout.el (allout-yank-processing): Adjust for new rebulleting
11227         regime so bullet being yanked is used without prompting the user
11228         for a choice.
11230 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11232         * startup.el (command-line): Warn the user that _emacs is deprecated.
11234 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11236         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11237         (delphi-verbose, delphi-comment-face, delphi-string-face)
11238         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11239         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11240         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11241         (delphi-new-comment-line, delphi-font-lock-defaults)
11242         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11243         Fix typos in docstrings.
11245 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11247         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11248         Invert the roles of character and string values for INSTEAD, so a
11249         string is used for the more common case of a defaulting prompt.
11251 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11253         * progmodes/ruby-mode.el (ruby-backward-sexp):
11254         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11255         * play/gamegrid.el (gamegrid-make-face):
11256         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11257         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11258         * notifications.el (notifications-notify):
11259         * net/xesam.el (xesam-search-engines):
11260         * net/quickurl.el (quickurl-list-insert):
11261         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11263 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11265         * startup.el (command-line): Update package subdirectory regexp.
11267 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11269         * allout.el (allout-abbreviate-flattened-numbering)
11270         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11272         * subr.el (read-char-choice): Only show the cursor after the prompt,
11273         not after the answer.
11275 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11277         * help-fns.el (variable-at-point): Skip leading quotes, if any
11278         (bug#8253).
11280 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11282         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11283         warning message.
11285 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11287         * shell.el (shell): When called interactively, offer to change the
11288         shell file name on remote hosts.
11290 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11292         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11293         integration for LDAP parameters.  The host, base, user or binddn,
11294         and secret tokens can be specified in a netrc file, for instance.
11295         This is optional because an `auth-source' parameter must be
11296         specified in the search attributes.
11298 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11300         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11302 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11304         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11305         into declaration.  Remove redundant and harmful binding.
11307 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11309         * files.el (file-ownership-preserved-p): Pass `integer' as an
11310         explicit 2nd argument to `file-attributes'.  If the file's owner
11311         is the Administrators group on Windows, and the current user is
11312         Administrator, consider that a match.
11314         * server.el (server-ensure-safe-dir): Consider server directory
11315         safe on MS-Windows if its owner is the Administrators group while
11316         the current Emacs user is Administrator.  Use `=' to compare
11317         numerical UIDs, since they could be integers or floats.
11319 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11321         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11323 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11325         Sync with Tramp 2.2.1.
11327         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11329         * net/trampver.el: Update release number.
11331 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11333         * progmodes/compile.el (compilation--previous-directory): Fix up
11334         various nil/dead-marker mismatches (bug#8014).
11335         (compilation-directory-properties, compilation-error-properties):
11336         Don't call it at a position past the one we're about to change.
11338         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11339         Disable obsolescence warnings in the file that declares it.
11341 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11343         * allout-widgets.el (allout-widgets-tally):
11344         Initialize allout-widgets-tally as a hash table rather than nil to
11345         prevent mode-line redisplay warnings.  Also, clarify the module
11346         description and fix a comment typo.
11348 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11350         * help-fns.el (describe-variable): Don't complete keywords.
11351         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11353 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11355         * emacs-lisp/package.el (package-version-join): Impose a standard
11356         string representation for pre/alpha/beta version lists.
11357         (package-unpack-single): Standardize the directory name by passing
11358         it through package-version-join.
11359         (package-strip-rcs-id): Accept any version string that does not
11360         signal an error in version-to-list.
11362 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11364         * simple.el (delete-trailing-whitespace): Return nil for the
11365         benefit of `write-file-functions'.
11367 2011-03-10  Glenn Morris  <rgm@gnu.org>
11369         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11371         * vc/vc-git.el (vc-git-program): New option.
11372         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11373         (vc-git--call): Use it.
11375         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11377         * cus-edit.el (Custom-newline): If no button at point, look
11378         for a subgroup button at start-of-line.  (Bug#2298)
11380         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11382 2011-03-10  Julien Danjou  <julien@danjou.info>
11384         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11385         `cursor-type' is nil.
11387 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11389         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11391 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11393         * allout.el: Change so yank of distinctive-bullet items
11394         preserves the existing header prefix, rebulleting it if necessary,
11395         rather than replacing it.  This is necessary for proper operation
11396         of cooperative addons like allout-widgets.
11397         (allout-make-topic-prefix, allout-rebullet-heading):
11398         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11399         value as alternate bullet to be used, instead of prompting the user
11400         for a bullet character.
11402 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11404         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11405         Do not use `tramp-file-name-port', because this returns also
11406         `tramp-default-port'.
11408 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11410         * net/rcirc.el (rcirc-handler-001): Remove useless
11411         with-rcirc-process-buffer.
11412         (rcirc-check-auth-status): Swap arguments to string-match.
11414 2011-03-09  Glenn Morris  <rgm@gnu.org>
11416         * shell.el (shell-mode):
11417         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11419         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11420         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11422 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11424         * emacs-lisp/package.el (package-refresh-contents)
11425         (package-menu-execute): Use condition-case-no-debug.
11427 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11429         * simple.el (shell-command-to-string): Use `process-file'.
11431         * emacs-lisp/package.el (package-tar-file-info): Handle also
11432         remote files.
11434         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11435         Use `equal' for upload base check.
11437 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11439         * textmodes/texinfo.el (texinfo-environments):
11440         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11442 2011-03-08  Glenn Morris  <rgm@gnu.org>
11444         * cus-start.el (cursor-in-non-selected-windows):
11445         Fix :set quoting oddness.  (Bug#8192)
11447         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11448         in some setf expressions.  (Bug#2159)
11450 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11452         * custom.el (custom-available-themes): Return themes in
11453         alphabetical order.
11455 See ChangeLog.15 for earlier changes.
11457 ;; Local Variables:
11458 ;; coding: utf-8
11459 ;; End:
11461   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11463   This file is part of GNU Emacs.
11465   GNU Emacs is free software: you can redistribute it and/or modify
11466   it under the terms of the GNU General Public License as published by
11467   the Free Software Foundation, either version 3 of the License, or
11468   (at your option) any later version.
11470   GNU Emacs is distributed in the hope that it will be useful,
11471   but WITHOUT ANY WARRANTY; without even the implied warranty of
11472   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11473   GNU General Public License for more details.
11475   You should have received a copy of the GNU General Public License
11476   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.