* simple.el (goto-line): Doc fix.
[emacs.git] / lisp / ChangeLog
blob55e6dfb0f5029ce9948ac38a23d7aebfb459c867
1 2012-03-11  Chong Yidong  <cyd@gnu.org>
3         * simple.el (goto-line): Doc fix (Bug#9938).
5         * subr.el (save-window-excursion): Doc fix (Bug#9979).
7         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8         when finished (Bug#10963).
10 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
12         * window.el (split-window-below): Fix bug in case where
13         split-window-keep-point is nil (Bug#10971).
15 2012-03-11  Juri Linkov  <juri@jurta.org>
17         * replace.el (replace-highlight): Set isearch-word to nil
18         unconditionally.  (Bug#10887)
20 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
22         * net/mairix.el (mairix-replace-invalid-chars): Rename from
23         mairix-replace-illegal-chars; all callers changed.  Don't remove
24         ^, ~, and = characters: they are meaningful in mairix search
25         specs.
26         (mairix-widget-create-query): Add usage information about mairix
27         search forms: negating words, searching for substrings, etc.
29 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
31         * international/fontset.el (font-encoding-alist): Add an entry for
32         ksx1001 (Bug#5667).
34 2012-03-10  Richard Stallman  <rms@gnu.org>
36         * mail/sendmail.el (mail-encode-header):
37         Set rfc2047-encode-encoded-words.
39         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
41         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
42         view buffer means not swapped.
43         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
44         (rmail-write-region-annotate): Error if real text has disappeared.
46         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
48 2012-03-10  Chong Yidong  <cyd@gnu.org>
50         * emulation/cua-rect.el (cua--init-rectangles):
51         * emulation/cua-base.el (cua--init-keymaps): Add
52         delete-forward-char to remappings (Bug#9666).
54 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
56         * speedbar.el (speedbar-unhighlight-one-tag-line): Avoid
57         unhighlighting due to frame switching (Bug#10275).
59 2012-03-10  Chong Yidong  <cyd@gnu.org>
61         * minibuffer.el (completion-in-region, completion-help-at-point):
62         Give the completion field overlay a high priority (Bug#6830).
64         * dired.el (dired-goto-file): Recognize absolute file name
65         listings (Bug#7126).
66         (dired-goto-file-1): New helper function.
67         (dired-toggle-read-only): Inhibit warnings.
69 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
71         * net/dbus.el: (dbus-property-handler): Return empty array if
72         there are no properties.
74 2012-03-09  Leo Liu  <sdl.web@gmail.com>
76         * savehist.el (savehist-printable): Stricter check for string
77         value (Bug#10937).
79 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
81         * mail/smtpmail.el (smtpmail-send-it): Bind
82         coding-system-for-write to *-unix, so that FCC files are kept in
83         valid mbox format.
85 2012-03-09  Glenn Morris  <rgm@gnu.org>
87         * files.el (dir-locals-find-file):
88         Don't check result is regular, readable.
89         (dir-locals-read-from-file): Demote errors.
91 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
93         * international/quail.el (quail-insert-kbd-layout): Insert
94         invisible LRM characters before each character in a keyboard
95         layout cell, to prevent their reordering by bidi display engine.
96         For details, see the discussion in
97         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
99 2012-03-08  Alan Mackenzie  <acm@muc.de>
101         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
102         the starting position; make it extend the marked region when
103         invoked repeatedly - all under appropriate circumstances.
104         Fixes bugs #5525, #10906.
106 2012-03-08  Glenn Morris  <rgm@gnu.org>
108         * files.el (locate-dominating-file, dir-locals-find-file):
109         Undo 2012-03-06 change.
111 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
113         * international/quail.el (quail-help): Force
114         bidi-paragraph-direction be left-to-right.  See discussion in
115         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
116         for the reason.
118 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
120         Avoid superfluous registering of signals.  (Bug#10807)
122         * notifications.el (notifications-on-action-object)
123         (notifications-on-close-object): New defvars.
124         (notifications-on-action-signal, notifications-on-closed-signal):
125         Unregister the signal if not needed any longer.
126         (notifications-notify): Register `notifications-action-signal' or
127         `notifications-closed-signal', if :on-action or :on-close has been
128         passed as argument.
130 2012-03-07  Chong Yidong  <cyd@gnu.org>
132         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
133         non-X platforms.
135 2012-03-06  Glenn Morris  <rgm@gnu.org>
137         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
138         (x-disown-selection-internal, x-get-selection-internal):
139         Doc fix (add arglist signatures).  (Bug#10783)
141 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
143         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
144         Handle breakpoints with no "type".
146 2012-03-06  Glenn Morris  <rgm@gnu.org>
148         * files.el (locate-dominating-file): Add optional predicate argument.
149         (dir-locals-find-file): Make use of above change.
151 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
153         * info.el (Info-insert-dir): Also try "dir.gz".
155 2012-03-06  Glenn Morris  <rgm@gnu.org>
157         * files.el (dir-locals-find-file):
158         Ignore non-readable or non-regular files.  (Bug#10928)
160         * files.el (locate-dominating-file): Doc fix.
162 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
164         * calendar/calendar.el (calendar-set-mode-line):
165         `getenv' returns a string.  (Bug#10951)
167 2012-03-05  Leo Liu  <sdl.web@gmail.com>
169         * simple.el (backward-delete-char-untabify): Constrain point to
170         field (Bug#10939).
172         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
174 2012-03-05  Chong Yidong  <cyd@gnu.org>
176         * simple.el (count-words): If called from Lisp, return the word
177         count, for symmetry with `count-lines'.  Arglist changed.
178         (count-words--message): Args changed.  Consolidate counting code
179         from count-words and count-words-region.
180         (count-words-region): Caller changed.
181         (count-lines-region): Make it an obsolete alias.
183 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
185         * saveplace.el (save-place-to-alist)
186         (save-place-ignore-files-regexp): Allow value nil to disable this
187         feature.
189 2012-03-04  Chong Yidong  <cyd@gnu.org>
191         * faces.el (face-spec-reset-face): For the default face, reset the
192         attributes to default values (Bug#10748).
194 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
196         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
197         previous patch: Check `message-send-mail-function', and not the
198         default function (bug#10897).
200 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
202         * notifications.el (notifications-on-action-signal)
203         (notifications-on-closed-signal): Check for unique service name of
204         incoming event.  Fix error in removing entry.
205         (top): Register for signals with wildcard service name.
206         (notifications-notify): Use daemon unique service name for map entries.
208 2012-03-04  Chong Yidong  <cyd@gnu.org>
210         * cus-start.el: Make x-select-enable-clipboard-manager
211         customizable.
213 2012-03-04  Glenn Morris  <rgm@gnu.org>
215         * abbrev.el (copy-abbrev-table, abbrev-table-p)
216         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
217         (expand-abbrev, define-abbrev-table): Doc fixes.
219 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
221         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
222         `message-default-send-mail-function' and not `send-mail-function'
223         when doing the prompting for `sendmail-query-once' before sending
224         in Message buffers (bug#10897).
226         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
227         This is inconsistent with all the other stream functions, which leave
228         the setting up to the higher levels (if so wanted) (bug#10931).
230 2012-03-02  Alan Mackenzie  <acm@muc.de>
232         Depessimize the handling of very large macros.
234         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
235         (c-macro-cache-syntactic): New variables to implement a one
236         element macro cache.
237         (c-invalidate-macro-cache): New function.
238         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
239         Adapt to use the new cache.
240         (c-state-safe-place): Use better the cache of safe positions.
241         (c-state-semi-nonlit-pos-cache)
242         (c-state-semi-nonlit-pos-cache-limit):
243         New variables for...
244         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
245         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
246         (c-in-literal, c-literal-limits, c-determine-limit-get-base): Use
247         c-state-semi-safe-place.
249         * progmodes/cc-langs.el (c-get-state-before-change-functions): Add
250         c-invalidate-macro-cache to the C, C++, Obj entries.
252 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
254         * jka-compr.el (jka-compr-call-process): Apply
255         `file-accessible-directory-p' only when the default directory is
256         not remote.
258 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
260         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
261         access of FILE2, if FILE1 does not exist.
263         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
264         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
266         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
267         Add "PAGER=" to `process-environment'.
269 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
271         * progmodes/sql.el: Bug fix
272         (sql-get-login-ext): Save login values in globals.
273         (sql-get-login): Use new version of `sql-get-login-ext'.
274         (sql-interactive-mode): Set global `sql-connection' to nil.
275         (sql-connect): Set global values for connection.
276         (sql-product-interactive): Save global values as buffer local.
278 2012-02-29  Leo Liu  <sdl.web@gmail.com>
280         * abbrev.el (define-abbrevs): Reset sys to nil.
282 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
284         * files.el (file-equal-p): Rename from `files-equal-p'.
285         Return nil when one or both files don't exist.
286         (file-subdir-of-p): Now only top directory must exists,
287         return nil if it doesn't.
288         (copy-directory): No need to test with `file-subdir-of-p' after
289         creating dir.
290         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
291         to `file-equal-p'.
293 2012-02-28  Glenn Morris  <rgm@gnu.org>
295         * shell.el (shell-mode):
296         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
297         * play/landmark.el (landmark-font-lock-face-O):
298         * play/handwrite.el (handwrite):
299         * play/gomoku.el (gomoku-O):
300         * net/browse-url.el (browse-url-browser-display):
301         * international/mule.el (define-charset):
302         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
303         * filesets.el (filesets-find-file-delay):
304         * eshell/em-xtra.el (eshell-xtra):
305         * eshell/em-unix.el (eshell-grep):
306         * emulation/viper.el (viper-mode):
307         * emacs-lisp/regexp-opt.el (regexp-opt-group):
308         * emacs-lisp/easymenu.el (easy-menu-define):
309         * calendar/timeclock.el (timeclock-use-display-time):
310         * bs.el (bs-mode):
311         * bookmark.el (bookmark-save-flag):
312         Doc fix (standardize possessive apostrophe usage).
314 2012-02-27  Chong Yidong  <cyd@gnu.org>
316         * emulation/viper-cmd.el (viper-intercept-ESC-key):
317         Fix key-binding lookup for ESC key (Bug#9146).
319         * font-lock.el (font-lock-specified-p): Rename from
320         font-lock-spec-present.  Callers changed.
322 2012-02-27  Daniel Hackney  <dan@haxney.org>
324         * emacs-lisp/package.el (package-compute-transaction):
325         Handle holding a package version to t in package-load-list.
327 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
329         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
330         (tramp-get-inode, tramp-get-device): Use cached values.
332 2012-02-26  Alan Mackenzie  <acm@muc.de>
334         Check there is a font-lock specification before doing initial
335         fontification.
337         * font-core.el (font-lock-mode): Move the conditional from
338         :after-hook to font-lock-initial-fontify.
339         (font-lock-default-function): Move the check for a specification
340         to font-lock-spec-present.
342         * font-lock.el (font-lock-initial-fontify): call ...
343         (font-lock-spec-present): New function.
345 2012-02-26  Jim Blandy  <jimb@red-bean.com>
347         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
348         (gdb-send): Apply it to the operand of the '-interpreter-exec
349         console' command, so that we can pass arguments with (say) quotes
350         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
352 2012-02-26  Chong Yidong  <cyd@gnu.org>
354         * help-fns.el (describe-function-1): Clarify description of
355         remapping (Bug#10844).
357         * files.el (files-equal-p): Doc fix.
358         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
359         and quit the loop once a mismatch is found.
361 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
363         * bs.el (bs--show-with-configuration): Don't throw an error
364         if the window cannot be split; otherwise, subsequent calls to
365         bs-show fail, restoring a stale window config.  (Bug#10882)
367 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
369         * term/ns-win.el (global-map): Bind ns-drag-file to
370         ns-find-file (Bug#5855, Bug#10050).
372 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
374         * calendar/parse-time.el (parse-time-string): Allow extractor to
375         return nil.
377 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
379         * net/tramp.el (tramp-file-name-for-operation):
380         Add `files-equal-p' and `file-subdir-of-p'.
382         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
383         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
384         Add COPY-CONTENTS argument.
386 2012-02-25  Chong Yidong  <cyd@gnu.org>
388         Add custom groups for VC backends, for consistency with vc-bzr.
390         * vc/vc-arch.el (vc-arch):
391         * vc/vc-cvs.el (vc-cvs):
392         * vc/vc-git.el (vc-git):
393         * vc/vc-hg.el (vc-hg):
394         * vc/vc-mtn.el (vc-mtn):
395         * vc/vc-rcs.el (vc-rcs):
396         * vc/vc-sccs.el (vc-sccs):
397         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
398         All relevant defcustoms reassigned.
400 2012-02-25  Chong Yidong  <cyd@gnu.org>
402         * newcomment.el (comment-styles): Add autoload (Bug#10868).
404         * term/x-win.el (x-initialize-window-system): Reduce default for
405         x-selection-timeout to 5 seconds (Bug#8869).
407 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
409         * files.el (file-subdir-of-p): Fix typo.
411 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
413         * files.el (files-equal-p, file-subdir-of-p): New functions.
414         (copy-directory): Error when trying to copy a directory on itself.
415         Add missing copy-contents arg to tramp handler.
416         * dired-aux.el (dired-copy-file-recursive): Same.
417         (dired-create-files): Modify destination when source is equal to
418         dest when copying files.
419         Return also when dest is a subdir of source.  (Bug#10489)
421 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
423         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
424         (Bug#10874)
426 2012-02-23  Alan Mackenzie  <acm@muc.de>
428         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
429         parameter "after-hook:" to allow the expansion to run code after
430         the execution of the mode hooks.
432         * font-lock.el (font-lock-initial-fontify): New function extracted
433         from font-lock-mode-internal.
435         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
436         :after-hook.
438 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
440         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
441         (completion--cache-all-sorted-completions): New function.
442         (completion-all-sorted-completions): Use it.
443         (completion--do-completion, minibuffer-force-complete):
444         Use it to re-instate the flush hook.
446         * icomplete.el (icomplete-completions): Replace last fix with a better
447         one (bug#10850).
449 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
451         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
452         when it might call us back infinitely (bug#10797).
454 2012-02-23  Glenn Morris  <rgm@gnu.org>
456         * minibuffer.el (completion-category-overrides): Doc fix.
458 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
460         * minibuffer.el (completion-table-with-context): Fix inf-loop.
461         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
463 2012-02-23  Glenn Morris  <rgm@gnu.org>
465         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
466         (authors-obsolete-files-regexps, authors-ignored-files)
467         (authors-ambiguous-files, authors-renamed-files-alist):
468         Add more entries.
470 2012-02-23  Juri Linkov  <juri@jurta.org>
472         * isearch.el (isearch-occur): Sync interactive spec with occur's
473         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
475         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
477 2012-02-22  Juri Linkov  <juri@jurta.org>
479         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
480         (ucs-insert): Doc fix.  Check for hex digits in the string.
481         Don't display `nil' in the error message.  (Bug#10857)
483 2012-02-22  Alan Mackenzie  <acm@muc.de>
485         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
487 2012-02-22  Glenn Morris  <rgm@gnu.org>
489         * ffap.el (ffap-c-path):
490         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
492 2012-02-22  Chong Yidong  <cyd@gnu.org>
494         * custom.el (load-theme): Doc fix.
496 2012-02-22  Glenn Morris  <rgm@gnu.org>
498         * dired-x.el (dired-guess-shell-alist-default):
499         Remove escape sequences from nroff output.  (Bug#172)
501 2012-02-21  Glenn Morris  <rgm@gnu.org>
503         * vc/emerge.el (emerge-defvar-local):
504         Set `permanent-local' property rather than unused `preserved'.
506         * textmodes/picture.el (picture-delete-char): New alias.
507         (picture-mode-map): Use it.  (Bug#10860)
508         (picture-mode): Doc fix.
510 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
512         * newcomment.el (uncomment-region-default): Remove unused binding.
514 2012-02-21  Glenn Morris  <rgm@gnu.org>
516         * textmodes/picture.el (picture-motion, picture-motion-reverse)
517         (picture-self-insert, picture-tab-chars): Doc fix.
518         (picture-mode-map): Fix C-a, C-e.
520 2012-02-20  Glenn Morris  <rgm@gnu.org>
522         * emacs-lisp/authors.el (authors-aliases): Add another entry.
524 2012-02-20  Leo Liu  <sdl.web@gmail.com>
526         * icomplete.el (icomplete-completions): Check FROM arg before
527         passing to substring (Bug#10850).
529 2012-02-19  Chong Yidong  <cyd@gnu.org>
531         * comint.el: Require ansi-color.
532         (comint-output-filter-functions): Add ansi-color-process-output.
534         * ansi-color.el: Don't set comint-output-filter-functions; it is
535         now in the initial value defined in comint.el.
536         (ansi-color-apply-face-function): New variable.
537         (ansi-color-apply-on-region): Use it.
538         (ansi-color-apply-overlay-face): New function.
540         * shell.el (shell): No need to require ansi-color.
541         (shell-mode): Use ansi-color-apply-face-function to highlight
542         color escapes using font-lock-face property (Bug#10835).
544 2012-02-19  Chong Yidong  <cyd@gnu.org>
546         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
547         mode-line formats (Bug#10839).
549 2012-02-18  Glenn Morris  <rgm@gnu.org>
551         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
553         * mail/undigest.el (unforward-rmail-message): Doc fix.
555         * saveplace.el (save-place-ignore-files-regexp): Add :version.
557 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
559         * international/characters.el (script-list): Sync with the latest
560         Unicode Character Database.
562 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
564         * international/titdic-cnv.el: Remove duplicate coding tag.
565         * language/cham.el: Likewise.
566         * language/tai-viet.el: Likewise.
568 2012-02-18  Glenn Morris  <rgm@gnu.org>
570         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
571         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
572         (calendar-bahai-all-holidays-flag, calendar-other-dates):
573         * calendar/diary-lib.el (diary-abbreviated-year-flag):
574         * calendar/holidays.el (holiday-bahai-holidays)
575         (calendar-holidays, list-holidays):
576         Use utf-8 Bahá'í in doc-strings, menus, etc.
578 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
580         * saveplace.el (save-place-ignore-files-regexp): New variable
581         allowing for excluding files from saving their location of point.
582         The default value matches the temporary commit message editing
583         files from Git, SVN, Bazaar, and Mercurial.
584         (save-place-to-alist): Use it.
586 2012-02-17  Lawrence Mitchell <wence@gmx.li>
587             Stefan Monnier  <monnier@iro.umontreal.ca>
589         * newcomment.el (uncomment-region-default): Don't leave extra space
590         when an arg is provided (bug#8150).
592 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
594         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
596 2012-02-17  Glenn Morris  <rgm@gnu.org>
598         * net/socks.el: Require network-stream.  (Bug#10599)
600 2012-02-17  Kenichi Handa  <handa@m17n.org>
602         * international/charprop.el:
603         * international/uni-name.el:
604         * international/uni-old-name.el:
605         * international/uni-comment.el: Regenerate.
607 2012-02-16  Glenn Morris  <rgm@gnu.org>
609         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
610         Interactively in calendar buffer, give an error if not on a date.
612 2012-02-15  Glenn Morris  <rgm@gnu.org>
614         * shell.el (shell-delimiter-argument-list):
615         Revert 2011-02-17 change.  (Bug#8027)
617 2012-02-15  Chong Yidong  <cyd@gnu.org>
619         * minibuffer.el (completion-at-point-functions): Doc fix.
621         * custom.el (defcustom): Doc fix; note use of defvar.
623 2012-02-15  Glenn Morris  <rgm@gnu.org>
625         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
626         Doc fixes.
628 2012-02-14  Glenn Morris  <rgm@gnu.org>
630         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
632 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
634         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
635         way the ports list is computed.
636         (smtpmail-query-smtp-server): Prompt the user for a port number if
637         we can't connect to any of the standard ports (bug#10810).
639 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
641         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
643 2012-02-13  Glenn Morris  <rgm@gnu.org>
645         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
647 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
649         * net/gnutls.el (gnutls-trustfiles): New variable.
650         (gnutls-negotiate): Use it.
652 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
654         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
655         does its stuff if Gnus is running.
657 2012-02-13  Alan Mackenzie  <acm@muc.de>
659         Fix a loop in c-set-fl-decl-start.
661         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
662         c-backward-syntactic-ws actually moves backwards.
664 2012-02-13  Leo Liu  <sdl.web@gmail.com>
666         * net/rcirc.el (rcirc-markup-attributes): Move point to the
667         beginning so that all \C-o chars are removed.
669 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
671         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
672         tag.
674 2012-02-12  Alan Mackenzie  <acm@muc.de>
676         Fix infinite loop with long macros.
677         * cc-engine.el (c-state-safe-place): Handle macros properly.
679 2012-02-12  Chong Yidong  <cyd@gnu.org>
681         * window.el (display-buffer): Doc fix (Bug#10785).
683 2012-02-12  Glenn Morris  <rgm@gnu.org>
685         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
686         (x-disown-selection-internal, x-get-selection-internal):
687         Sync docs with the xselect.c versions.
689         * allout-widgets.el: Add missing license notice.
691 2012-02-11  Glenn Morris  <rgm@gnu.org>
693         * select.el (x-get-selection-internal, x-own-selection-internal)
694         (x-disown-selection-internal):
695         * x-dnd.el (x-get-selection-internal): Update declarations.
697         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
699         * window.el (window-sides-slots):
700         * tool-bar.el (tool-bar-position):
701         * term/xterm.el (xterm-extra-capabilities):
702         * ses.el (ses-self-reference-early-detection):
703         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
704         (verilog-auto-wire-type)
705         (verilog-auto-delete-trailing-whitespace)
706         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
707         (verilog-auto-tieoff-declaration):
708         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
709         (sql-oracle-statement-starters, sql-oracle-scan-on):
710         * progmodes/prolog.el (prolog-align-comments-flag)
711         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
712         (prolog-left-indent-regexp, prolog-paren-indent-p)
713         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
714         (prolog-types, prolog-mode-specificators)
715         (prolog-determinism-specificators, prolog-directives)
716         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
717         (prolog-electric-dot-flag)
718         (prolog-electric-dot-full-predicate-template)
719         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
720         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
721         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
722         (prolog-program-switches, prolog-prompt-regexp)
723         (prolog-debug-on-string, prolog-debug-off-string)
724         (prolog-trace-on-string, prolog-trace-off-string)
725         (prolog-zip-on-string, prolog-zip-off-string)
726         (prolog-use-standard-consult-compile-method-flag)
727         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
728         (prolog-imenu-max-lines, prolog-info-predicate-index)
729         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
730         (prolog-char-quote-workaround):
731         * progmodes/cc-vars.el (c-defun-tactic):
732         * net/tramp.el (tramp-encoding-command-interactive)
733         (tramp-local-end-of-line):
734         * net/soap-client.el (soap-client):
735         * net/netrc.el (netrc-file):
736         * net/gnutls.el (gnutls):
737         * minibuffer.el (completion-category-overrides)
738         (completion-cycle-threshold)
739         (completion-pcm-complete-word-inserts-delimiters):
740         * man.el (Man-name-local-regexp):
741         * mail/feedmail.el (feedmail-display-full-frame):
742         * international/characters.el (glyphless-char-display-control):
743         * eshell/em-ls.el (eshell-ls-date-format):
744         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
745         (lisp-lambda-list-keyword-parameter-indentation)
746         (lisp-lambda-list-keyword-parameter-alignment):
747         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
748         * dired-x.el (dired-omit-verbose):
749         * cus-theme.el (custom-theme-allow-multiple-selections):
750         * calc/calc.el (calc-highlight-selections-with-faces)
751         (calc-lu-field-reference, calc-lu-power-reference)
752         (calc-note-threshold):
753         * battery.el (battery-mode-line-limit):
754         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
755         (archive-7z-update):
756         * allout.el (allout-prefixed-keybindings)
757         (allout-unprefixed-keybindings)
758         (allout-inhibit-auto-fill-on-headline)
759         (allout-flattened-numbering-abbreviation):
760         * allout-widgets.el (allout-widgets-auto-activation)
761         (allout-widgets-icons-dark-subdir)
762         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
763         (allout-widgets-theme-dark-background)
764         (allout-widgets-theme-light-background)
765         (allout-widgets-item-image-properties-emacs)
766         (allout-widgets-item-image-properties-xemacs)
767         (allout-widgets-run-unit-tests-on-load)
768         (allout-widgets-time-decoration-activity)
769         (allout-widgets-hook-error-post-time)
770         (allout-widgets-track-decoration):
771         Add missing :version tags to new defcustoms and defgroups.
773         * progmodes/sql.el (sql-ansi-statement-starters)
774         (sql-oracle-statement-starters): Add custom type.
776         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
777         (prolog-system-version): Give it a type.
779 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
781         * term/pc-win.el (x-select-text, x-selection-owner-p)
782         (x-own-selection-internal, x-disown-selection-internal)
783         (x-get-selection-internal): Sync doc strings and argument lists
784         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
786 2012-02-11  Leo Liu  <sdl.web@gmail.com>
788         * progmodes/python.el (python-end-of-statement): Fix infinite
789         loop.  (Bug#10788)
791 2012-02-10  Glenn Morris  <rgm@gnu.org>
793         * international/mule-cmds.el (unify-8859-on-encoding-mode)
794         (unify-8859-on-decoding-mode): Properly mark as obsolete.
796 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
798         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
799         about SMTP before checking the From header.
801         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
802         into own function for reuse by emacsbug.el.
804 2012-02-10  Leo Liu  <sdl.web@gmail.com>
806         * subr.el (condition-case-unless-debug): Rename from
807         condition-case-no-debug.  All callers changed.
808         (with-demoted-errors): Fix caller.
810         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
811         * nxml/rng-valid.el (rng-do-some-validation):
812         * emacs-lisp/package.el (package-refresh-contents)
813         (package-menu-execute):
814         * desktop.el (desktop-create-buffer):
815         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
817 2012-02-10  Glenn Morris  <rgm@gnu.org>
819         * textmodes/bibtex.el:
820         Add missing :version tags for new/changed defcustoms.
822         * files.el (remote-file-name-inhibit-cache): Doc fixes.
824 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
826         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
827         (smtpmail-via-smtp): Use it, or fall back on the From address.
828         (smtpmail-send-it): Ditto.
830 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
832         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
833         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
834         (byte-compile-tmp-var): New const.
835         (byte-compile-defvar): Use it to minimize .elc size.
836         Just use `defvar' rather than simulate it (bug#10761).
838 2012-02-09  Glenn Morris  <rgm@gnu.org>
840         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
842         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
843         Add :version tags.
845         * progmodes/compile.el (compilation-first-column)
846         (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
848         * vc/log-view.el (log-view-toggle-entry-display):
849         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
851         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
852         (report-emacs-bug-can-use-xdg-email):
853         (report-emacs-bug-insert-to-mailer): Doc fixes.
854         (report-emacs-bug): Message fix.
856         * net/browse-url.el (browse-url-can-use-xdg-open)
857         (browse-url-xdg-open): Doc fixes.
859         * electric.el (electric-indent-mode, electric-pair-mode)
860         (electric-layout-rules, electric-layout-mode): Doc fixes.
861         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
863 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
865         * server.el (server-unselect-display): Don't inadvertently kill
866         the current buffer.  (Bug#10729)
868 2012-02-08  Glenn Morris  <rgm@gnu.org>
870         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
871         (sql-list-table): Doc fixes.
873         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
874         Comment out (does nothing).
876         * completion.el (dynamic-completion-mode):
877         * dirtrack.el (dirtrack-debug-mode):
878         * electric.el (electric-layout-mode):
879         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
880         * face-remap.el (text-scale-mode, buffer-face-mode):
881         * iimage.el (iimage-mode):
882         * image-mode.el (image-transform-mode):
883         * minibuffer.el (completion-in-region-mode):
884         * scroll-lock.el (scroll-lock-mode):
885         * simple.el (next-error-follow-minor-mode):
886         * tar-mode.el (tar-subfile-mode):
887         * tooltip.el (tooltip-mode):
888         * vcursor.el (vcursor-use-vcursor-map):
889         * wid-browse.el (widget-minor-mode):
890         * emulation/tpu-edt.el (tpu-edt-mode):
891         * emulation/tpu-extras.el (tpu-cursor-free-mode):
892         * international/iso-ascii.el (iso-ascii-mode):
893         * language/thai-util.el (thai-word-mode):
894         * mail/supercite.el (sc-minor-mode):
895         * net/goto-addr.el (goto-address-mode):
896         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
897         * progmodes/cwarn.el (cwarn-mode):
898         * progmodes/flymake.el (flymake-mode):
899         * progmodes/glasses.el (glasses-mode):
900         * progmodes/hideshow.el (hs-minor-mode):
901         * progmodes/pascal.el (pascal-outline-mode):
902         * textmodes/enriched.el (enriched-mode):
903         * vc/smerge-mode.el (smerge-mode):
904         Doc fixes (minor mode argument).
906 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
908         * ls-lisp.el (ls-lisp-sanitize): New function.
909         (ls-lisp-insert-directory): Use it to fix or remove any elements
910         in file-alist with missing attributes.  (Bug#4673)
912 2012-02-07  Alan Mackenzie  <acm@muc.de>
914         Fix spurious recognition of c-in-knr-argdecl.
916         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
917         putative K&R region.
919 2012-02-07  Alan Mackenzie  <acm@muc.de>
921         * progmodes/cc-engine.el (c-forward-objc-directive):
922         Prevent looping in "#pragma mark @implementation".
924 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
926         * notifications.el (notifications-on-closed-signal): Make `reason'
927         optional.  (Bug#10744)
929 2012-02-07  Glenn Morris  <rgm@gnu.org>
931         * emacs-lisp/easy-mmode.el (define-minor-mode):
932         Doc fixes for the macro and the mode it defines.
934         * image.el (imagemagick-types-inhibit): Doc fix.
936         * cus-start.el (imagemagick-render-type): Add it.
938 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
940         * progmodes/cc-mode.el
941         (c-standard-font-lock-fontify-region-function): Set the default at
942         load time, too, so that `font-lock-fontify-buffer' can be called
943         without setting up the entire mode first.  This fixes a bug in
944         `mm-inline-text' with C MIME parts.
946 2012-02-06  Chong Yidong  <cyd@gnu.org>
948         * simple.el (list-processes--refresh): Delete exited processes
949         (Bug#8094).
951         * comint.el (comint-next-prompt): next-single-char-property-change
952         and prev-single-char-property-change never return nil (Bug#8657).
954         * custom.el (defcustom): Doc fix (Bug#9711).
956 2012-02-05  Chong Yidong  <cyd@gnu.org>
958         * cus-edit.el (custom-variable-reset-backup): Quote the value
959         before storing it in the customized-value property (Bug#6712).
960         (custom-display): Add a customization type tag.
961         (custom-buffer-create-internal): Improve tooltip message.
963         * wid-edit.el (widget-field-value-get): New optional arg to
964         suppress trailing whitespace truncation.
965         (character): Use it (Bug#2689).
967 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
969         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
970         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
972 2012-02-05  Chong Yidong  <cyd@gnu.org>
974         * cus-edit.el (custom-variable-value-create): For mismatched
975         types, show the current value (Bug#7600).
977         * custom.el (defcustom): Doc fix.
979 2012-02-05  Glenn Morris  <rgm@gnu.org>
981         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
983 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
985         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
986         (pp-buffer): Use `ignore-errors', `looking-at-p'.
987         (pp-last-sexp): Use `looking-at-p'.
989 2012-02-04  Glenn Morris  <rgm@gnu.org>
991         * files.el (revert-buffer):
992         Doc fix (mention revert-buffer-in-progress-p).
994         * emacs-lisp/ert-x.el (ert-simulate-command):
995         Check deferred-action-list (which is obsolete) is bound.
997         * subr.el (with-wrapper-hook): Doc fixes.
999         * simple.el (filter-buffer-substring-functions)
1000         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1002 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1004         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1005         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1007 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1009         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1011 2012-02-04  Glenn Morris  <rgm@gnu.org>
1013         * image.el (image-extension-data): Add obsolete alias.
1015         * isearch.el (isearch-update): Doc fix.
1017         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1019         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1021 2012-02-03  Glenn Morris  <rgm@gnu.org>
1023         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1024         (image-animate-timeout): Doc fix.
1026         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1028 2012-02-02  Glenn Morris  <rgm@gnu.org>
1030         * server.el (server-auth-dir): Doc fix.
1031         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1033         * subr.el (run-mode-hooks): Doc fix.
1035 2012-02-02  Juri Linkov  <juri@jurta.org>
1037         * image-mode.el (image-toggle-display-image): Remove tautological
1038         `major-mode' from the `derived-mode-p' test.
1040 2012-02-02  Kenichi Handa  <handa@m17n.org>
1042         * composite.el (compose-region): Cancel previous change.
1044 2012-02-02  Kenichi Handa  <handa@m17n.org>
1046         * composite.el (compose-region, compose-string): Signal error for
1047         a null string component (Bug#6988).
1049 2012-02-01  Chong Yidong  <cyd@gnu.org>
1051         * view.el (view-buffer-other-window, view-buffer-other-frame):
1052         Handle special modes like view-buffer (Bug#10650).
1053         (view-buffer): Simplify.
1055         * frame.el (set-frame-font): Tweak meaning of third argument.
1057         * dynamic-setting.el (font-setting-change-default-font):
1058         Use set-frame-font (Bug#9982).
1060 2012-02-01  Glenn Morris  <rgm@gnu.org>
1062         * progmodes/compile.el (compilation-internal-error-properties):
1063         Respect compilation-first-column in the "*compilation*" buffer.
1065         * emacs-lisp/easy-mmode.el (define-minor-mode):
1066         Relax :variable's test for a named function.
1068 2012-01-31  Alan Mackenzie  <acm@muc.de>
1070         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1071         off by one error.
1073 2012-01-31  Chong Yidong  <cyd@gnu.org>
1075         * frame.el (set-frame-font): New arg ALL-FRAMES.
1077         * menu-bar.el (menu-set-font): Use set-frame-font.
1079         * faces.el (face-spec-reset-face): Don't apply unspecified
1080         attribute values to the default face.
1082 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1084         * progmodes/cwarn.el (cwarn): Remove dead link.
1085         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1086         Remove * from defcustom docstrings.
1087         (turn-on-cwarn-mode): Make obsolete.
1088         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1089         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1091 2012-01-31  Glenn Morris  <rgm@gnu.org>
1093         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1094         Fix :variable handling of mode a symbol not equal to modefun.
1095         Allow named functions to be used as the cdr of :variable.
1097 2012-01-30  Glenn Morris  <rgm@gnu.org>
1099         * emacs-lisp/authors.el (authors-fixed-entries):
1100         Remove reference to deleted file rnewspost.el.
1102 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1104         * window.el (window-with-parameter): Remove unused variable `windows'.
1105         (window--side-check): Remove unused variable `code'.
1106         (window--resize-siblings): Remove unused variable `first'.
1107         (adjust-window-trailing-edge): Remove unused variable `failed'.
1108         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1109         Use `let', not `let*'.
1110         (balance-windows-2): Remove unused variable `found'.
1111         (window--state-put-2): Remove unused variable `splits'.
1112         (window-state-put): Remove unused variable `selected'.
1113         (same-window-p): Use `string-match-p'.
1114         (display-buffer-assq-regexp): Remove unused variable `value'.
1115         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1116         Mark argument ALIST as ignored.
1117         (pop-to-buffer): Remove unused variable `old-window'.
1119 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1121         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1122         and .lzma compressed files.
1124 2012-01-29  Chong Yidong  <cyd@gnu.org>
1126         * frame.el (window-system-default-frame-alist): Doc fix.
1128         * dynamic-setting.el (font-setting-change-default-font): Don't
1129         change the default face if SET-FONT argument is non-nil (Bug#9982).
1131 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1133         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1135 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1137         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1138         breakpoints in files outside current directory (Bug#6098).
1140 2012-01-29  Chong Yidong  <cyd@gnu.org>
1142         * progmodes/python.el: Require ansi-color at top-level.
1144         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1145         Define and use in Emacs Lisp mode (Bug#9360).
1146         (lisp-mode-abbrev-table): Add doc.
1147         (lisp-mode-variables): Don't set local-abbrev-table.
1148         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1150 2012-01-28  Roland Winkler  <winkler@gnu.org>
1152         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1154 2012-01-28  Roland Winkler  <winkler@gnu.org>
1156         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1157         (bibtex-set-dialect): Use it.  Either set global values of
1158         dialect-dependent variables or bind these variables buffer-locally
1159         (Bug#10254).
1160         (bibtex-mode): Call bibtex-set-dialect via
1161         hack-local-variables-hook.
1162         (bibtex-dialect): Update docstring.
1163         Add safe-local-variable predicate.
1164         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1165         bibtex-set-dialect.
1166         (bibtex-mode-map): Define menu for each dialect.
1167         (bibtex-entry): Fix docstring.
1169 2012-01-28  Chong Yidong  <cyd@gnu.org>
1171         * eshell/esh-arg.el (eshell-quote-argument): New function.
1173         * eshell/esh-ext.el (eshell-invoke-batch-file):
1174         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1175         first arg to eshell-parse-command (Bug#10523).
1177 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1179         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1180         `default-directory' is non-nil.
1182 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1184         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1185         line that displays system-configuration-options.  (Bug#9924)
1187 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1189         * descr-text.el (describe-char): Show information about POS, in
1190         addition to information about the character at POS.  Improve and
1191         update the doc string.  Change "code point" to "code point in
1192         charset", to avoid confusion with the character's Unicode code
1193         point shown above that.  (Bug#10129)
1195 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1197         * descr-text.el (describe-char): Show the raw character, not only
1198         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1199         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1200         for the reasons.
1202 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1204         * emacs-lisp/package.el (package-install):
1205         Run package-refresh-contents if there is no archive yet (Bug#9798).
1207 2012-01-28  Chong Yidong  <cyd@gnu.org>
1209         * emacs-lisp/package.el (package-maybe-load-descriptor):
1210         New function, split from package-maybe-load-descriptor.
1211         (package-maybe-load-descriptor): Use it.
1212         (package-download-transaction): Fully load required packages
1213         inside the loop, so that `require' calls work (Bug#10593).
1214         (package-install): No need to call package-initialize now.
1216 2012-01-28  Chong Yidong  <cyd@gnu.org>
1218         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1220         * tooltip.el (tooltip-mode): Doc fix.
1221         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1223         * frame.el (set-cursor-color): Doc fix (Bug#352).
1225         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1226         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1228         * cus-edit.el (custom-buffer-create-internal): Fix search button
1229         action (Bug#10542).
1230         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1232 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1234         * dired.el (dired-mark-files-regexp):
1235         Include any subdirectory components.  (Bug#10445)
1237 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1239         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1240         Handle [host]:port syntax.  (Bug#10533)
1242 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1244         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1246 2012-01-26  Glenn Morris  <rgm@gnu.org>
1248         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1249         * term.el (term-raw-escape-map): Use Control-X-prefix.
1250         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1252 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1254         * window.el (window-state-get, window--state-get-1): Don't deal
1255         with fixed-sizeness of windows.  Simplify code.
1257 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1259         * window.el (window--state-get-1, window--state-put-2):
1260         Don't save and restore the mark.
1262 2012-01-25  Chong Yidong  <cyd@gnu.org>
1264         * custom.el (custom-variable-p): Doc fix.
1266 2012-01-25  Glenn Morris  <rgm@gnu.org>
1268         * dired.el (dired-goto-file): Handle some of the more common
1269         characters that `ls -b' escapes.  (Bug#10596)
1271         * progmodes/compile.el (compilation-next-error-function):
1272         Respect compilation-first-column in the "*compilation*" buffer.
1273         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1275         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1277 2012-01-24  Glenn Morris  <rgm@gnu.org>
1279         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1281 2012-01-24  Julien Danjou  <julien@danjou.info>
1283         * color.el (color-rgb-to-hsl): Fix value computing.
1284         (color-hue-to-rgb): New function.
1285         (color-hsl-to-rgb): New function.
1286         (color-clamp, color-saturate-hsl, color-saturate-name)
1287         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1288         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1290 2012-01-24  Glenn Morris  <rgm@gnu.org>
1292         * vc/vc-rcs.el (vc-rcs-create-tag):
1293         * vc/vc-sccs.el (vc-sccs-create-tag):
1294         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1296 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1298         * eshell/esh-util.el (eshell-read-hosts-file):
1299         Skip comment lines.  (Bug#10549)
1301         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1303 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1305         * subr.el (display-delayed-warnings): Doc fix.
1306         (collapse-delayed-warnings): New function to collapse identical
1307         adjacent warnings.
1308         (delayed-warnings-hook): Add it.
1310 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1312         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1314         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1315         properties, when "login-as" is set.
1317         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1318         (tramp-default-user-alist): Don't add "pscp".
1319         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1320         property "login-as", if set.  (Bug#10530)
1322 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1324         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1325         "plink1" and "psftp".  (Bug#10530)
1327 2012-01-21  Kenichi Handa  <handa@m17n.org>
1329         * international/mule-cmds.el (prefer-coding-system): Show a
1330         warning message if the default value of file-name-coding-system
1331         was not changed.
1333 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1335         * windmove.el (windmove-reference-loc):
1336         Fix windmove-reference-loc miscalculation.
1338 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1340         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1341         default unit.
1343 2012-01-21  Glenn Morris  <rgm@gnu.org>
1345         * international/mule.el (auto-coding-alist): Add .tbz.
1347         * files.el (local-enable-local-variables): Doc fix.
1348         (inhibit-local-variables-regexps): Rename from
1349         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1350         Doc fix.  Add some extensions from auto-coding-alist.
1351         (inhibit-local-variables-suffixes):
1352         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1353         (inhibit-local-variables-p):
1354         New function, extracted from set-auto-mode-1.
1355         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1356         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1357         (hack-local-variables): Doc fix.  Make the mode-only case
1358         respect enable-local-variables and friends.
1359         Respect inhibit-local-variables-regexps for file-locals, but
1360         not for directory-locals.
1361         (set-visited-file-name):
1362         Take account of inhibit-local-variables-regexps.
1363         Whether it applies may change as the file name is changed.
1364         * jka-cmpr-hook.el (jka-compr-install):
1365         * jka-compr.el (jka-compr-uninstall):
1366         Update for inhibit-first-line-modes-suffixes name change.
1368 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1370         * help-macro.el (make-help-screen): Temporarily restore original
1371         binding for minor-mode-map-alist (Bug#10454).
1373 2012-01-19  Julien Danjou  <julien@danjou.info>
1375         * color.el (color-name-to-rgb): Use the white color to find the max
1376         color component value and return correctly computed values.
1377         (color-name-to-rgb): Add missing float conversion for max value.
1379 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1381         * window.el (window--state-get-1, window-state-get): Do not use
1382         special state value for window-persistent-parameters.
1383         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1384         (window--state-put-2): Reset all window parameters to nil before
1385         assigning values of persistent parameters.
1387 2012-01-18  Alan Mackenzie  <acm@muc.de>
1389         Eliminate sluggishness and hangs in fontification of "semicolon
1390         deserts".
1392         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1393         Change value 10000 -> 3000.
1394         (c-state-safe-place): Reformulate so it doesn't stack up an
1395         infinite number of wrong entries in c-state-nonlit-pos-cache.
1396         (c-determine-limit-get-base, c-determine-limit): New functions to
1397         determine backward search limits disregarding literals.
1398         (c-find-decl-spots): Amend commenting.
1399         (c-cheap-inside-bracelist-p): New function which detects "={".
1401         * progmodes/cc-fonts.el
1402         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1403         backward search.
1404         (c-font-lock-declarations): Fix an occurrence of point being
1405         undefined.  Check additionally for point being in a bracelist or
1406         near a macro invocation without a semicolon so as to avoid a
1407         fruitless time consuming search for a declarator.  Give a more
1408         precise search limit for declarators using the new
1409         c-determine-limit.
1411 2012-01-18  Glenn Morris  <rgm@gnu.org>
1413         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1414         (set-auto-mode): Doc fixes.
1416 2012-01-17  Glenn Morris  <rgm@gnu.org>
1418         * isearch.el (search-nonincremental-instead): Fix doc typo.
1420         * dired.el (dired-insert-directory): Handle newlines in directory name.
1421         (dired-build-subdir-alist): Unescape newlines in directory name.
1423 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1425         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1426         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1427         (tramp-action-terminal): Use it.  (Bug#10530)
1429 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1433 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1435         * window.el (window-state-ignored-parameters): Remove variable.
1436         (window--state-get-1): Rename argument MARKERS to IGNORE.
1437         Handle persistent window parameters.  Make copy of clone-of
1438         parameter only if requested.  (Bug#10348)
1439         (window--state-put-2): Install a window parameter only if it has
1440         a non-nil value or an existing parameter shall be overwritten.
1442 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1444         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1446 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1448         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1449         don't pass the (nil) value of `upnode' to string-match.
1451 2012-01-14  Chong Yidong  <cyd@gnu.org>
1453         * startup.el (command-line): Fix X resource class for cursorColor.
1454         Fix values recognized by the cursorBlink resource.
1456 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
1458         * epg.el (epg--make-temp-file): Avoid permission race condition
1459         when running on old Emacs versions (bug#10403).
1461 2012-01-14  Glenn Morris  <rgm@gnu.org>
1463         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1465 2012-01-13  Alan Mackenzie  <acm@muc.de>
1467         Fix filling for when filladapt mode is enabled.
1469         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1470         c-mask-paragraph, pass in `fill-paragraph' rather than
1471         `fill-region-as-paragraph'.  (This is a reversion of a previous
1472         change.)
1473         * progmodes/cc-mode.el (c-basic-common-init):
1474         Make fill-paragraph-handle-comment buffer local and set it to nil.
1476 2012-01-13  Glenn Morris  <rgm@gnu.org>
1478         * dired.el (dired-switches-escape-p): New function.
1479         (dired-insert-directory): Use dired-switches-escape-p.
1480         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
1482         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
1484 2012-01-12  Glenn Morris  <rgm@gnu.org>
1486         * mail/sendmail.el (mail-mode): Update paragraph-separate for
1487         changes in adaptive-fill-regexp.  (Bug#10276)
1489 2012-01-11  Alan Mackenzie  <acm@muc.de>
1491         Fix Emacs bug #10463 - put `widen's around the critical spots.
1493         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1494         widen around each invocation of c-state-pp-to-literal.  Remove an
1495         unused let variable.
1497 2012-01-11  Glenn Morris  <rgm@gnu.org>
1499         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
1500         Doc fix.
1502 2012-01-10  Chong Yidong  <cyd@gnu.org>
1504         * net/network-stream.el (network-stream-open-starttls):
1505         Avoid emitting a confusing error message when the server gives a bad
1506         response to the capability command.
1508 2012-01-10  Glenn Morris  <rgm@gnu.org>
1510         * mail/unrmail.el (unrmail): Tweak previous change.
1512 2012-01-09  Chong Yidong  <cyd@gnu.org>
1514         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1516 2012-01-08  Alan Mackenzie  <acm@muc.de>
1518         Optimise font locking in long enum definitions.
1520         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1521         arm to a cond form to handle enums.
1522         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1523         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1525 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1527         * files.el (move-file-to-trash): Preserve default file modes on error.
1528         (Bug#10401)
1530 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1532         * faces.el (set-face-attribute): Clarify the meaning of the nil
1533         frame (bug#10294).
1535         * subr.el (with-selected-frame): Mention that the selected frame
1536         is restored (bug#9980).
1538         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1539         (bug#9759).
1541         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1542         (password-read): Don't autoload unused function.
1544 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
1546         * progmodes/which-func.el (which-func-mode): Turn into a
1547         non-interactive function and mark as obsolete (bug#10428).
1549 2012-01-06  Chong Yidong  <cyd@gnu.org>
1551         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1552         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1553         functions, along with 1 and -1.
1555 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
1557         * time.el (display-time-load-average)
1558         (display-time-default-load-average): Doc fixes.  See the thread
1559         starting at
1560         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1561         for the details.
1563 2012-01-06  Glenn Morris  <rgm@gnu.org>
1565         * mail/unrmail.el (unrmail): Give an explicit error if the input file
1566         has no messages.  (Bug#10377)
1568         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1569         than Info-edit.  (Bug#10385)
1571         * time.el (display-time-load-average, display-time-next-load-average):
1572         Doc fixes.
1574         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1575         local setting of buffer-read-only to the input buffer.  (Bug#10419)
1577         * calendar/calendar.el (calendar-mode):
1578         Locally set scroll-margin to 0.  (Bug#10379)
1580 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
1582         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
1584 2012-01-05  Glenn Morris  <rgm@gnu.org>
1586         * eshell/em-unix.el (diff-no-select): Autoload it.
1587         (eshell/diff): Use diff-no-select.  (Bug#10420)
1589 2012-01-05  Chong Yidong  <cyd@gnu.org>
1591         * shell.el (shell-dynamic-complete-functions): Revert last change.
1592         (shell-command-completion-function): New function.
1593         (shell-completion-vars): Use it to implement
1594         shell-completion-execonly (Bug#10417).
1596         * custom.el (enable-theme): Don't set custom-safe-themes.
1598         * cus-theme.el (custom-theme-merge-theme):
1599         Ignore custom-enabled-themes and custom-safe-themes.
1601 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
1603         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1604         first prompt in `sql-interacive-mode'.
1605         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1606         keywords.
1607         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1608         (sql-product-interactive): Bug fix: Set `sql-buffer' in
1609         context of original buffer.  Invoke `sql-login-hook'.
1611 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
1613         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1614         letters in cite-prefix.
1616 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1618         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1620 2012-01-03  Chong Yidong  <cyd@gnu.org>
1622         * shell.el (shell-dynamic-complete-functions):
1623         Put pcomplete-completions-at-point, so as to try
1624         comint-filename-completion first (Bug#10417).
1626 2012-01-02  Richard Stallman  <rms@gnu.org>
1628         * battery.el (battery-status-function):
1629         Detect when to use battery-yeeloong-sysfs.
1630         (battery-echo-area-format): Add string for Yeeloong.
1631         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1632         (battery-yeeloong-sysfs): New function.
1634 2012-01-02  Chong Yidong  <cyd@gnu.org>
1636         * dirtrack.el (dirtrack-list): Eliminate unused third element.
1637         (dirtrack): Merge code for handling relative filenames in prompt
1638         from shell-dir-cookie-watcher.
1639         (dirtrack-debug-message): New arg to avoid excess format calls.
1641         * shell.el (shell-dir-cookie-re): Variable deleted.
1642         (shell-dir-cookie-watcher): Function deleted.
1643         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1644         with dirtrack-mode.
1646 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
1648         * term/w32-win.el (dynamic-library-alist) <gnutls>:
1649         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1650         libgnutls-26.dll.
1652 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
1654         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1656 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
1658         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1659         headers of non-MIME messages, when rmail-enable-mime is non-nil.
1661 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
1663         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1664         also for alternative shells.
1665         (tramp-open-connection-setup-interactive-shell): Check, whether
1666         the shell is a busybox.
1667         (tramp-send-command): Don't suppress multiple prompts for
1668         busyboxes, it hurts.
1670 2011-12-28  Chong Yidong  <cyd@gnu.org>
1672         * progmodes/gdb-mi.el (gdb-get-source-file-list)
1673         (gdb-get-source-file): Move mode line update to
1674         gdb-get-source-file (Bug#10087).
1676 2011-12-25  Chong Yidong  <cyd@gnu.org>
1678         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1679         gud-gdb-marker-filter without taking it as an argument.
1680         (gud-gdb-run-command-fetch-lines): Caller changed.
1681         (gud-gdb-completion-function): New variable.
1682         (gud-gdb-completion-at-point): Use it.
1683         (gud-gdb-completions-1): Split from gud-gdb-completions.
1685         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1686         function as separate arguments.
1687         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1688         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1689         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1690         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1691         (gdb-stopped, def-gdb-auto-update-trigger)
1692         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1693         (gdb-get-changed-registers, gdb-get-main-selected-frame):
1694         Callers changed.
1695         (gud-gdbmi-completions): New function.
1696         (gdb): Use it for generating the completion table.
1698 2011-12-24  Alan Mackenzie  <acm@muc.de>
1700         Introduce a mechanism to widen the region used in context font
1701         locking.  Use this to protect declarations from losing their contexts.
1703         * progmodes/cc-langs.el (c-before-font-lock-functions):
1704         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1705         (c-before-context-fontification-functions): New defvar, a list of
1706         functions to be run just before context (etc.) font locking.
1708         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
1709         New, functionality extracted from
1710         c-neutralize-syntax-in-and-mark-CPP.
1711         (c-in-after-change-fontification): New variable.
1712         (c-after-change): Set c-in-after-change-fontification.
1713         (c-set-fl-decl-start): Rejig its interface, so it can be called
1714         from both after-change and context fontifying.
1715         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1716         New functions.
1717         (c-standard-font-lock-fontify-region-function): New variable.
1718         (c-font-lock-fontify-region): New function.
1720 2011-12-24  Juri Linkov  <juri@jurta.org>
1722         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1723         (Bug#10348)
1725 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
1727         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1728         existence of source file.  (Bug#10325)
1730 2011-12-23  Alan Mackenzie  <acm@muc.de>
1732         Fix unstable fontification inside templates.
1734         * progmodes/cc-langs.el (c-before-font-lock-functions):
1735         Newly created from the singular version.  The (c c++ objc) entry now
1736         additionally has c-set-fl-decl-start.  The other languages (apart
1737         from AWK) have that as a single entry.
1739         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1740         The functionality for "local" declarations has been extracted to
1741         c-set-fl-decl-start.
1743         * progmodes/cc-mode.el (c-common-init, c-after-change):
1744         Changes due to pluralisation of c-before-font-lock-functions.
1745         (c-set-fl-decl-start): New function, extracted from
1746         c-font-lock-enclosing-decls and enhanced.
1748 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
1750         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1752 2011-12-22  Juri Linkov  <juri@jurta.org>
1754         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
1756 2011-12-22  Chong Yidong  <cyd@gnu.org>
1758         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1760 2011-12-21  Drew Adams  <drew.adams@oracle.com>
1762         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
1764 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1766         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1768 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
1770         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
1771         highlighting and support.  Fix up comments for capitalization.
1772         (cfengine-mode-debug): New var.
1773         (cfengine3-mode): Change the modeline indicator to "CFE3".
1774         (cfengine3-font-lock-keywords): Improve defun highlighting.
1775         (cfengine2-actions): Rename from `cfengine-actions'.
1776         (cfengine2-font-lock-keywords): Rename from
1777         `cfengine-font-lock-keywords'.
1778         (cfengine2-imenu-expression): Rename from
1779         `cfengine-imenu-expression'.
1780         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1781         (cfengine2-beginning-of-defun): Rename from
1782         `cfengine-beginning-of-defun'.
1783         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1784         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1785         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
1786         modeline indicator to "CFE2".
1787         (cfengine-mode): Defalias to `cfengine-auto-mode'.
1788         (cfengine-mode-abbrevs): Mark obsolete.
1790 2011-12-21  Chong Yidong  <cyd@gnu.org>
1792         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1793         filename argument.
1795 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
1797         * window.el (window-normalize-buffer-to-display): Remove.
1798         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1800 2011-12-19  Chong Yidong  <cyd@gnu.org>
1802         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1803         Don't signal an error in a predicate function; return non-nil.
1804         (vc-dir-mark-file): Move the error here.
1805         (vc-dir-mark-unmark): If acting on the region, keep going if one
1806         of the entries cannot be marked/unmarked.
1807         (vc-dir-mark-all-files): If current entry is a directory, mark
1808         only child files, as documented.
1810 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1812         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1813         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1814         addition.
1816 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
1818         * term/ns-win.el (ns-get-selection-internal)
1819         (ns-store-selection-internal): Declare.
1820         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1821         Declare as obsolete.
1822         (ns-get-pasteboard, ns-paste-secondary):
1823         Use ns-get-selection-internal.
1824         (ns-set-pasteboard,  ns-copy-including-secondary):
1825         Use ns-store-selection-internal.
1827 2011-12-17  Chong Yidong  <cyd@gnu.org>
1829         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
1830         (vc-deduce-fileset): Doc fix.
1832 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
1834         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1836 2011-12-13  Sam Steingold  <sds@gnu.org>
1838         * man.el (Man-getpage-in-background): When running under a
1839         window-system, ignore $MANWIDTH and $COLUMNS.
1841 2011-12-15  Kenichi Handa  <handa@m17n.org>
1843         * language/ethio-util.el: Change coding tag to utf-8-emacs.
1844         (setup-ethiopic-environment-internal): Comment out key-binding for
1845         ethio-toggle-punctuation.
1847 2011-12-13  Alan Mackenzie  <acm@muc.de>
1849         Add the switch statement to AWK Mode.
1851         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
1852         "default" to the keywords regexp.
1854         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
1855         expression as the rest.
1856         (c-nonlabel-token-key): Allow string literals for AWK.
1857         Refactor for the other modes.
1859         Large brace-block initialisation makes CC Mode slow: Fix.
1860         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
1861         routines.  Limit backward searching in c-font-lock-enclosing.decl.
1863         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1864         pp-state and literal type in addition to the limits.
1865         (c-state-safe-place): New defun, extracted from c-state-literal-at.
1866         (c-state-literal-at): Use the above new defun.
1867         (c-slow-in-literal, c-fast-in-literal): Remove.
1868         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
1870         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1871         being in a literal.  Add a limit for backward searching.
1873         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1874         c-slow-in-literal.
1876 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1878         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1880 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
1882         * window.el (delete-other-windows): Use correct frame in call to
1883         window-with-parameter.
1885 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
1887         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1888         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1889         (makefile-gmake-statements, makefile-makepp-statements):
1890         Use it and add new makepp keywords.
1891         (makefile-makepp-font-lock-keywords): Add new patterns.
1892         (makefile-match-function-end): Match new [...] and [[...]].
1894 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
1896         * ses.el (ses-call-printer-return, ses-cell-property-get)
1897         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1898         (ses-create-cell-variable, ses-reset-header-string)
1899         (ses-cell-set-formula, ses-repair-cell-reference-all)
1900         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1901         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1902         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1903         (ses-aset-with-undo, ses-load, ses-truncate-cell)
1904         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1905         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1906         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1907         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1908         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1909         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1910         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1911         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1913 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1915         * ses.el: The overall change is to add cell renaming, that is
1916         setting fancy names for cell symbols other than name matching
1917         "\\`[A-Z]+[0-9]+\\'" regexp .
1918         (ses-create-cell-variable): New defun.
1919         (ses-relocate-formula): Relocate formulas only for cells the
1920         symbols of which are not renamed, i.e. symbols whose names do not
1921         match regexp "\\`[A-Z]+[0-9]+\\'".
1922         (ses-relocate-all): Relocate values only for cells the symbols of
1923         which are not renamed.
1924         (ses-load): Create cells variables as the (ses-cell ...) are read,
1925         in order to check row col consistency with cell symbol name only
1926         for cells that are not renamed.
1927         (ses-replace-name-in-formula): New defun.
1928         (ses-rename-cell): New defun.
1930 2011-12-11  Chong Yidong  <cyd@gnu.org>
1932         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1933         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1935 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
1937         * window.el (other-window): Fix docstring.
1939 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
1941         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1942         `from' or `to' address before taking its substring.
1943         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
1944         encoded name is chopped in the middle of the encoded string, and
1945         thus displayed encoded.
1947 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
1949         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1951 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
1953         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
1954         to use texinfo-update-node and commands that call it if the
1955         Texinfo file uses @node lines without next/prev/up pointers.
1956         Correct outdated description about texinfo-master-menu.
1957         (texinfo-all-menus-update, texinfo-master-menu)
1958         (texinfo-update-node, texinfo-every-node-update)
1959         (texinfo-multiple-files-update): Doc fix.  Warn against updating
1960         all the @node lines.
1961         (texinfo-master-menu): Only call texinfo-update-node if the prefix
1962         argument is numeric.  Explain better in the doc string what the
1963         function really does.
1964         (texinfo-insert-master-menu-list): Improve the error message
1965         displayed if there's no menu in the Top node.
1966         (Bug#2975)  See also this thread:
1967         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1969 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
1971         * speedbar.el (speedbar-supported-extension-expressions):
1972         Add .adb and .ads, commonly used for Ada source code (bug#10256).
1974 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
1976         * printing.el (pr-mode-alist):
1977         * simple.el (filter-buffer-substring-functions)
1978         (completion-list-insert-choice-function):
1979         * window.el (window-with-parameter, window-atom-root)
1980         (window-sides-slots, window-size-fixed, window-min-delta)
1981         (window-max-delta, window--resize-mini-window)
1982         (window--resize-child-windows-normal, window-tree)
1983         (delete-other-windows, quit-window, split-window)
1984         (display-buffer-record-window, special-display-buffer-names)
1985         (special-display-regexps, special-display-popup-frame)
1986         (same-window-p, split-window-sensibly)
1987         (display-buffer-overriding-action, display-buffer-alist)
1988         (display-buffer-base-action, display-buffer, switch-to-buffer)
1989         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1990         (fit-window-to-buffer, recenter-positions)
1991         (mouse-autoselect-window-state, mouse-autoselect-window-select):
1992         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1993         and remove unneeded backslashes in docstrings.
1995 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1997         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1999         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2000         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2001         end in ".mk".
2002         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2003         when reading the makefile (bug#10116).
2005 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2007         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2008         (bug#10116).
2010 2011-12-06  Glenn Morris  <rgm@gnu.org>
2012         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2014 2011-12-06  Chong Yidong  <cyd@gnu.org>
2016         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2018 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2020         * textmodes/table.el (table-shorten-cell): Fix typo.
2022 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2024         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2026 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2028         * descr-text.el (describe-char): Fix display of strong
2029         right-to-left characters and directional embeddings and overrides.
2031         * simple.el (what-cursor-position): Fix display of codepoints of
2032         strong right-to-left characters.
2034 2011-12-05  Chong Yidong  <cyd@gnu.org>
2036         * faces.el (read-color): Doc fix.
2038 2011-12-05  Glenn Morris  <rgm@gnu.org>
2040         * align.el (align--set-marker): Add doc-string.
2041         Don't try to move something that is not a marker.  (Bug#10216)
2043 2011-12-04  Glenn Morris  <rgm@gnu.org>
2045         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2046         overly zealous deletion of trailing whitespace.
2048 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2050         * server.el (server-delete-client): On Windows, do not try to delete
2051         the only terminal.
2052         (server-process-filter): On Windows, treat requests for a tty frame as
2053         if they were for a GUI frame if the running server is in GUI mode.
2055 2011-12-03  Glenn Morris  <rgm@gnu.org>
2057         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2059 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2061         * electric.el: Streamline electric-indent's hook.
2062         (electric-indent-chars): Revert to simple list.
2063         (electric-indent-functions): New var.
2064         (electric-indent-post-self-insert-function): Use it.
2066         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2067         there's no inferior buffer (bug#10196).
2068         (prolog-consult-compile): Don't use toggle-read-only.
2070 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2072         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2073         interrupt.  (Bug#10187)
2075 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2077         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2078         (bug#9160).
2080         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2081         (bug#10191).
2083 2011-12-02  Juri Linkov  <juri@jurta.org>
2085         * info.el (Info-search): Display "end of manual" when Isearch
2086         reaches the end of single-file Info manual.  (Bug#9918)
2088 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2090         * isearch.el (isearch-message-prefix): Run the input method part
2091         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2093 2011-12-02  Juri Linkov  <juri@jurta.org>
2095         * isearch.el (isearch-occur): Use `word-search-regexp' for
2096         `isearch-word'.
2097         (isearch-search-and-update): Add condition for `isearch-word' and
2098         call `word-search-regexp'.  (Bug#10145)
2100 2011-12-01  Glenn Morris  <rgm@gnu.org>
2102         * eshell/em-hist.el (eshell-hist-initialize):
2103         Handle eshell-history-size nil and HISTSIZE set or unset.
2104         (eshell-history-file-name, eshell-history-size): Fix custom type.
2106 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2108         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2110 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2112         * progmodes/verilog-mode.el (verilog-pretty-expr):
2113         Rework verilog-pretty-expr to handle new assignment operators in system
2114         verilog, such as += *= and the like.
2115         (verilog-assignment-operator-re): Regular expression to find the
2116         assigment operator in a verilog assignment.
2117         (verilog-assignment-operation-re): Regular expression to find an
2118         assignment statement for pretty-expr.
2119         (verilog-in-attribute-p): Query returns true if point is in an
2120         attribute context; used to skip these for expression line up from
2121         pretty-expr.
2122         (verilog-in-parameter-p): Query returns true if point is in an
2123         parameter definition context; used to skip these for expression
2124         line up from pretty-expr.
2125         (verilog-in-parenthesis-p): Query returns true if point is in a
2126         parenthetical expression, specifically ( ) but not [ ] or { };
2127         used by pretty-expr.
2128         (verilog-just-one-space): If there is no space, don't add one.
2129         (verilog-get-lineup-indent-2): Specifically skip just attribute
2130         contexts for expression lineup, rather than skipping all
2131         parenthetical expressions.
2132         (verilog-calculate-indent): Fix comment, and fix indent.
2133         (verilog-do-indent): Indent declarations in lists (suggested by
2134         Joachim Lechner).
2135         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2136         skeleton items.
2137         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2138         by Alain Mellan).
2140 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2142         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2143         parameters with embedded comments.  Reported by Ray Stevens.
2144         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2145         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2146         Reported by Tim Holt.
2147         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2148         instantiated by upper module causing wrong expansion until AUTOed a
2149         second time.  Reported by K C Buckenmaier.
2150         (verilog-diff-auto): Fix showing .* as a difference when
2151         `verilog-auto-star-save' off.  Reported by Dan Dever.
2152         (verilog-auto-reset, verilog-read-always-signals)
2153         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2154         temporary signals in reset list if
2155         verilog-auto-reset-blocking-in-non is nil, and match assignment
2156         style to each signal's assignment type, bug381.
2157         Reported by Thomas Esposito.
2158         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2159         (verilog-uvm-statement-re): Support UVM indentation and
2160         highlighting, with old OVM keywords only.
2161         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2162         Support AUTOTIEOFF creating non-wire data types.
2163         Suggested by Jonathan Greenlaw.
2164         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2165         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2166         (verilog-inject-sense, verilog-read-inst-pins)
2167         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2168         Fix mismatching parenthesis inside commented out code when deleting
2169         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2170         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2171         non-numeric vector width.  Reported by Alex Reed.
2172         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2173         detecting signals with parameter widths.  Reported by Alex Reed.
2174         (verilog-auto-delete-trailing-whitespace):
2175         With `verilog-auto-delete-trailing-whitespace' remove trailing
2176         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2177         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2178         Fix verilog-scan-cache corruption when running user AUTO expansion
2179         hooks that call indentation routines.
2180         (verilog-simplify-range-expression): Fix typo ignoring lower case
2181         identifiers.
2182         (verilog-delete-auto): Fix delete-autos to also remove user created
2183         automatics, as long as they start with AUTO.
2184         (verilog-batch-diff-auto, verilog-diff-auto)
2185         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2186         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2187         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2188         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2189         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2190         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2191         is disabled and its cache will get corrupt, causing AUTOS not to
2192         expand.  Instead use only -quick functions.
2193         (verilog-scan-region): Fix scanning over escaped quotes.
2194         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2195         (verilog-re-search-backward-quick)
2196         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2197         related functions now ignore strings, to fix misparsing of strings
2198         with magic comments embedded in them.
2199         (verilog-read-auto-template):
2200         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2201         Reported by Brad Dobbie.
2202         (verilog-read-auto-template):
2203         Fix 'verilog-auto-inst-template-numbers' with comments.
2204         Reported by Brad Dobbie.
2205         (verilog-auto-inst, verilog-auto-inst-param)
2206         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2207         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2208         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2209         debugging templates without merge conflicts, bug357.
2210         Reported by Brad Dobbie.
2211         (verilog-read-auto-template):
2212         Fix verilog-auto-inst-template-numbers with multiple templates.
2213         Reported by Brad Dobbie.
2214         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2215         abbrevs so user won't be asked to save.
2216         (verilog-read-auto-lisp-present): Fix to start at beginning of
2217         buffer in case called outside of verilog-auto.
2218         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2219         to "X-2".  Reported by Matthew Myers.
2220         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2221         all inputs from module templates.  Reported by Leith Johnson.
2222         (verilog-module-inside-filename-p): Fix locating programs as with
2223         modules.
2224         (verilog-auto-inst-port): Fix vl-width expressions when using
2225         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2226         (verilog-decls-get-regs, verilog-decls-get-signals,
2227         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2228         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2229         verilog-read-decls): Combine reg and wire structures into one var
2230         structure to represent SystemVerilog concepts.
2231         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2232         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2233         (verilog-auto-wire-type, verilog-insert-definition):
2234         Add verilog-auto-wire-type and AUTOLOGIC to support using
2235         SystemVerilog "logic" keyword instead of "wire"/"reg".
2236         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2237         to declares outputs that also have assignments (presumably in an
2238         ifdef or generate if so there's not a driver conflict).
2239         Reported by Matthew Myers.
2240         (verilog-auto-declare-nettype, verilog-insert-definition):
2241         Add verilog-auto-declare-nettype to fix declarations using
2242         `default_nettype none.  Reported by Julian Gorfajn.
2243         (verilog-read-always-signals-recurse, verilog-read-decls)
2244         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2245         malformed end statement, bug325.  Reported by Joshua Wise and
2246         Andrew Drake.
2247         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2248         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2249         when expanding .* in interfaces, bug320.
2250         Reported by Pierre-David Pfister.
2251         (verilog-read-module-name): Fix import statements between module
2252         name and open parenthesis, bug317.
2253         Reported by Pierre-David Pfister.
2254         (verilog-simplify-range-expression): Fix simplification of
2255         multiplications inside AUTOWIRE connections, bug303.
2256         (verilog-auto-inst-port): Support parameter expansion in
2257         multidimensional arrays.
2258         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2259         after "assert property".  Reported by Julian Gorfajn.
2260         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2261         with multiplication, bug303.
2262         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2263         Reported by Jan Frode Lonnum.
2265 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2267         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2268         (hfy-shell-file-name, hfy-shell):
2269         * international/fontset.el (x-decompose-font-name): Fix typos.
2271 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2273         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2274         (gdb-version): Remove defvar.
2275         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2276         (gdb-gud-context-command, gdb-non-stop-handler)
2277         (gdb-current-context-command, gdb-stopped): Use it.
2278         (gdb-init-1): Enable pretty printing here.
2279         (gdb-non-stop-handler): Don't enable pretty-printing here.
2280         Check to see if the target supports non-stop mode; if not, turn off
2281         non-stop mode.  Use the following.
2282         (gdb-check-target-async): New defun.
2283         (gud-watch, gdb-stopped): Fix whitespace.
2284         (gdb-get-source-file): Don't try to display the source file if
2285         `gdb-main-file' is nil.
2287 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         * align.el: Try to generate fewer markers (bug#10047).
2290         (align--set-marker): New macro.
2291         (align-region): Use it.
2293 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2295         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2297 2011-11-29  Chong Yidong  <cyd@gnu.org>
2299         * indent.el (indent-for-tab-command, indent-according-to-mode):
2300         Doc fix.
2301         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2303 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2305         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2306         aware of remote file names.  (Bug#10124)
2308 2011-11-29  Chong Yidong  <cyd@gnu.org>
2310         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2312 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2314         * files.el (find-file): Don't use force-same-window (bug#10144).
2315         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2316         use pop-to-buffer if the selected window can't be used.
2317         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2319 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2321         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2322         special-mode-map.
2324 2011-11-28  Chong Yidong  <cyd@gnu.org>
2326         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2328 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2330         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2331           gdb-get-source-file-list on gdb-create-source-file-list.
2333 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2335         * whitespace.el (whitespace-newline): Use a different foreground
2336         color for 16-color light-background displays.
2338 2011-11-24  Chong Yidong  <cyd@gnu.org>
2340         * window.el (display-buffer--special-action): Doc fix.
2342 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2344         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2345         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2346         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2347         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2348         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2349         (avl-tree-stack-first):
2350         * emacs-lisp/cconv.el (cconv--analyse-use):
2351         * net/gnutls.el (gnutls-negotiate): Fix typos.
2353 2011-11-24  Glenn Morris  <rgm@gnu.org>
2355         * lpr.el (lpr-windows-system, lpr-lp-system):
2356         * mail/binhex.el (binhex-begin-line):
2357         * progmodes/grep.el (grep-history, grep-find-history):
2358         * textmodes/flyspell.el:
2359         * vc/pcvs-defs.el (cvs-global-menu):
2360         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2361         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2362         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2364         * net/tls.el: Fix case of "GnuTLS".
2366         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2368         * version.el (emacs-build-system): Give it a doc-string.
2370 2011-11-24  Juri Linkov  <juri@jurta.org>
2372         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2374 2011-11-24  Glenn Morris  <rgm@gnu.org>
2376         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2377         if called on a non-mime message just toggle the headers.  (Bug#8006)
2379 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2381         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2382         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2383         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2384         (allout-rebullet-heading, allout-open-sibtopic)
2385         (allout-toggle-current-subtree-encryption)
2386         (allout-toggle-subtree-encryption, allout-encrypt-string)
2387         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2388         (allout-distinctive-bullets-string, allout-auto-activation):
2389         * window.el (window-normalize-buffer-to-display):
2390         * progmodes/verilog-mode.el (verilog-batch-indent):
2391         * textmodes/bibtex.el (bibtex-field-braces-opt)
2392         (bibtex-field-strings-opt):
2393         * vc/cvs-status.el (cvs-tree-merge):
2394         Fix typos.
2396 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2398         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2399         `non-essential' to t, in order to avoid remote connections.
2401 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2403         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2404         On MS-DOS and MS-Windows, compare with loaddefs.el
2405         case-insensitively.
2407 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2409         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2411 2011-11-23  Glenn Morris  <rgm@gnu.org>
2413         * paths.el (rmail-file-name): Reformat the doc-string so that it
2414         is picked up.
2416         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2417         (rmail-auto-file): Ignore case in the "special" field names,
2418         as mail-fetch-field does for all others.
2420         * mail/rmail.el (rmail-forward):
2421         * mail/rmailkwd.el (rmail-set-label):
2422         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2423         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2425         * mail/rmail.el (rmail-current-message): Doc fix.
2427         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2429 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2431         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2433 2011-11-22  Glenn Morris  <rgm@gnu.org>
2435         * mail/rmailmm.el (test-rmail-mime-handler)
2436         (test-rmail-mime-bulk-handler)
2437         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2439 2011-11-21  Juri Linkov  <juri@jurta.org>
2441         * calc/calc.el (calc-read-key-sequence):
2442         Let-bind `input-method-function' to nil.  (Bug#10018)
2444 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2446         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2447         Tell the caller that the next line needs recomputation, even
2448         though it doesn't start a sexp (bug#10094).
2450 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2452         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2454 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2456         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2457         Use force-same-window.
2459 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2461         * descr-text.el (describe-char-unicode-data):
2462         * json.el (json-string-escape):
2463         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2464         (Footnote-unicode, Footnote-style-p):
2465         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2467 2011-11-20  Chong Yidong  <cyd@gnu.org>
2469         * window.el (replace-buffer-in-windows): Restore interactive spec.
2471 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2473         * electric.el (electric-indent-mode): Fix last change (too optimistic).
2475         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2476         (byte-compile-global-not-obsolete-vars): New var.
2477         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2478         Use it.
2479         (byte-compile-warn-obsolete): Align text with the one in *Help*.
2481 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2483         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2484         * progmodes/pascal.el (electric-pascal-equal):
2485         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2486         * xml.el (xml-substitute-special): Fix typos.
2488 2011-11-20  Glenn Morris  <rgm@gnu.org>
2490         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2491         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2492         Doc fixes.
2493         (rmail-decode-mime-charset): Mark as obsolete.
2495         * mail/rmailsum.el (rmail-message-regexp-p-1):
2496         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2497         Before using mime functions, check they are set.  (Bug#10077)
2499 2011-11-19  Juri Linkov  <juri@jurta.org>
2501         * info.el (Info-finder-find-node): Use `package--builtins' instead
2502         of `package-alist'.  Use node names formed by the pattern "Keyword "
2503         and the keyword name.
2505 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2507         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2509 2011-11-19  Juri Linkov  <juri@jurta.org>
2511         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2512         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
2513         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2514         `old-history', `old-history-forward'.  Add let-binding
2515         `window-selected'.  Remove calls to `kill-buffer',
2516         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
2517         before calling `Info-find-node', so `Info-find-node-2' will reread
2518         the Info file.  Restore window positions only when `window-selected'
2519         is non-nil.
2521 2011-11-19  Juri Linkov  <juri@jurta.org>
2523         * isearch.el (isearch-lazy-highlight-new-loop):
2524         Remove condition `(not isearch-error)'.  (Bug#9918)
2526         * misearch.el (multi-isearch-search-fun): Add condition
2527         `(not bound)' to ignore lazy-highlighting search.
2528         Add the search-failed message "end of multi" when the end of
2529         multi-sequence is reached.  Uncapitalize the search-failed
2530         message "Repeat for next buffer".
2532         * info.el (Info-search): Add the search-failed message
2533         "end of the manual" when the end of the manual is reached
2534         in Isearch mode.
2536 2011-11-19  Juri Linkov  <juri@jurta.org>
2538         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2539         Use non-destructive `remove' instead of `delete' because
2540         `Info-history-list' stored to `Info-isearch-initial-history-list' in
2541         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2543 2011-11-19  Juri Linkov  <juri@jurta.org>
2545         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2546         to nil instead of binding `search-ring' and `regexp-search-ring'.
2547         (Bug#9185)
2549 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2551         * simple.el (line-move): Force movement by logical lines for any
2552         hscrolled window, not only when auto-hscroll-mode is on.
2553         (line-move-visual): Update doc string to that effect.  (Bug#10076)
2555 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2557         * language/european.el (macintosh): Define as alias for mac-roman.
2559 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2561         * mail/rmailmm.el (rmail-mime-display-header)
2562         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2563         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2564         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2565         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2566         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2567         of a raw aref.
2568         (rmail-mime-entity-segment): To get past the tagline, move forward
2569         2 more lines, to account for the 2 empty lines that precede and
2570         follow the line with the buttons.
2571         (rmail-mime-update-tagline): Move one more line, to get past the
2572         empty line that follows the buttons in the tagline.  (Bug#9520)
2574 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
2576         * window.el (window-max-delta-1, window-min-delta-1)
2577         (window-min-size-1, window-state-get-1, window-state-put-1)
2578         (window-state-put-2): Use "window--" prefix.
2580 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2582         * emacs-lisp/smie.el: Improve warnings and conflict detection.
2583         (smie-warning-count): New var.
2584         (smie-set-prec2tab): Use it.
2585         (smie-bnf->prec2): Improve warnings.  Add docstring.
2586         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2587         (smie-bnf--set-class): New function.
2588         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
2589         corner case.
2591         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2592         (compilation-error-properties, compilation-move-to-column):
2593         Handle compilation-first-column while in the target buffer.
2595         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2596         Don't hardcode point-min==1.
2598         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2599         (eshell-rewrite-for-command): Remove workaround.
2600         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2601         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2602         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2604         * files-x.el (modify-file-local-variable): Obey commenting conventions.
2606 2011-11-17  Glenn Morris  <rgm@gnu.org>
2608         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2609         Ignore buffer-local generated-autoload-file if it is the same
2610         as the global value.  (Bug#10049)
2612 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
2614         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2615         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2616         (reftex-toc-previous-heading, reftex-toc-max-level)
2617         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2618         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2619         (reftex-toc-do-promote, reftex-toc-promote-prepare)
2620         (reftex-toc-promote-action, reftex-toc-extract-section-number)
2621         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2622         (reftex-toc-rename-label, reftex-toc-visit-location)
2623         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2624         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2625         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2626         leaving "*toc*" only for references to the buffer.
2628 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
2630         * window.el (window-resize, delete-window, split-window):
2631         Replace window-splits by window-combination-resize.
2632         * cus-start.el (window-splits): Replace by window-combination-resize.
2634 2011-11-17  Glenn Morris  <rgm@gnu.org>
2636         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2637         Make bash entry derive from sh entry, not shell entry.
2639 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
2641         * net/tramp-cache.el (tramp-flush-file-property): Flush also
2642         properties of linked files.  (Bug#9879)
2644         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2645         local file name.
2647 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2649         * menu-bar.el (menu-bar-file-menu):
2650         * printing.el (pr-ps-utility):
2651         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2652         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2653         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2654         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2655         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2656         (icalendar--convert-cyclic-to-ical)
2657         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2658         (icalendar--convert-ical-to-diary)
2659         (icalendar--convert-recurring-to-diary)
2660         (icalendar--convert-non-recurring-all-day-to-diary)
2661         (icalendar-import-format-sample):
2662         * progmodes/idlw-shell.el (idlwave-shell-mode):
2663         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2664         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2665         (vhdl-ps-print-init): Fix typos.
2667 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
2669         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2670         FSF and collapse date sequence, obscure author/maintainer email address
2671         better, remove extra version line, track relocation of author's webpage.
2673         * progmodes/python.el (python-pdbtrack-input-prompt)
2674         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2675         regular python pdb prompts.  Adjustments shamelessly taken exactly as
2676         suggested in EmacsWiki page (tiny change):
2677         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2679 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2681         * expand.el (expand-pos, expand-index, expand-point):
2682         Remove redundant info from docstring.
2683         (expand-add-abbrevs): Doc fix.
2684         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2685         (expand-sample-perl-mode-expand-list): Fix typos.
2687         * net/dbus.el (dbus-event-member-name):
2688         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2689         * term/pc-win.el (msdos-create-frame-with-faces):
2690         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2692 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
2694         * window.el (split-window, window-state-get-1)
2695         (window-state-put-1, window-state-put-2): Rename occurrences of
2696         window-nest to window-combination-limit.
2697         * cus-start.el (window-nest): Rename to window-combination-limit.
2699 2011-11-16  Chong Yidong  <cyd@gnu.org>
2701         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2702         regexp (Bug#10033).
2704 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2706         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2707         `completing-read' will remove *Completions* and will preserve
2708         current-buffer for us.
2709         (tmm-add-prompt): Users of *Completions* will always (re)set its
2710         major mode.
2711         (tmm-old-comp-map): Remove.
2713 2011-11-16  Glenn Morris  <rgm@gnu.org>
2715         * mail/rmailedit.el: Require rmailmm when compiling.
2716         (rmail-old-mime-state): New declaration.
2717         (rmail-edit-current-message): If editing a mime message,
2718         edit the "raw" message from the mbox buffer.
2719         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
2721 2011-11-15  Glenn Morris  <rgm@gnu.org>
2723         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2724         which wasn't being used.  Add optional arg to force given state.
2725         (rmail-mime): Add optional arg to force given state.
2727 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
2729         * allout.el (allout-encryption-plaintext-sanitization-regexps):
2730         * frame.el (display-mm-dimensions-alist):
2731         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2732         (outline-move-subtree-down):
2733         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2734         (newsticker--treeview-do-get-node):
2735         * net/quickurl.el (quickurl-list-buffer-name):
2736         * progmodes/dcl-mode.el (dcl-mode):
2737         * progmodes/gdb-mi.el (gdb-mapcar*):
2738         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2740 2011-11-15  Glenn Morris  <rgm@gnu.org>
2742         * mail/rmail.el (rmail-file-coding-system): It's only ever used
2743         in a boolean sense, so just make it a boolean, and fix the doc.
2744         (rmail-show-mime-function, rmail-mime-feature)
2745         (rmail-require-mime-maybe): Doc fixes.
2746         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2748         * mail/rmailmm.el (rmail-show-mime): Doc fix.
2750 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
2752         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2753         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2754         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2755         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2757 2011-11-15  Glenn Morris  <rgm@gnu.org>
2759         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2760         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2761         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2762         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2763         (rmail-mime, rmail-show-mime): Doc fixes.
2765         * term/ns-win.el (mode-line-frame-identification):
2766         Leave it alone.  (Bug#10051)
2768         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
2770         * mail/rmailout.el (rmail-output-to-rmail-buffer):
2771         Handle empty buffers.  (Bug#9978)
2773 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
2775         * international/mule.el (define-charset):
2776         * mail/rmailmm.el (rmail-mime-find-header-encoding):
2777         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2778         * progmodes/verilog-mode.el (verilog-backward-token):
2779         * textmodes/ispell.el (lookup-words):
2780         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2782 2011-11-14  Glenn Morris  <rgm@gnu.org>
2784         * progmodes/executable.el
2785         (executable-make-buffer-file-executable-if-script-p):
2786         Handle file-modes returning nil.
2788         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2789         message - not necessary, and causes problems.  (Bug#9831)
2791         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2793         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2795         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2796         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
2797         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2799 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
2801         * window.el (window-resize, delete-window): Use window-splits
2802         variable instead of function.
2803         (window-state-get-1, window-state-put-2, window-state-put):
2804         Don't deal with windows' splits status.
2806 2011-11-12  Glenn Morris  <rgm@gnu.org>
2808         * apropos.el (apropos-do-all, apropos-library, apropos-value)
2809         (apropos-documentation): Doc fixes.
2811 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
2813         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2814         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2816 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2818         * electric.el (electric-indent-post-self-insert-function): Make it
2819         possible for a char to only indent in some circumstances.
2820         (electric-indent-mode): Simplify.
2822 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
2824         * window.el (windows-with-parameter): Remove unused function.
2825         (windows-at-side): Rename to window-at-side-list.
2826         (window-check, window-atom-check, window-atom-check-1)
2827         (window-side-check, window-size-ignore, window-size-fixed-1)
2828         (window-in-direction-2): Prefix with "window--".
2829         (window-tree-1): Rename to window--subtree, fix doc-string.
2831 2011-11-11  Glenn Morris  <rgm@gnu.org>
2833         * subr.el (eval-after-load): If FILE is already loaded,
2834         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
2836 2011-11-10  Glenn Morris  <rgm@gnu.org>
2838         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2839         Call svn via vc-svn-command rather than vc-do-command.
2840         (vc-svn-command): Add --non-interactive.  (Bug#9993)
2841         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2843         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2844         Add toggle-read-only.  (Bug#7292)
2845         * files.el (toggle-read-only): Mention that it should only
2846         be used interactively.  (Bug#10006)
2848 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2851         Adjust regexp for OCaml warnings.
2853         * electric.el (electric-pair-post-self-insert-function): Let user
2854         turn it off buffer-locally (bug#9932).
2856         * progmodes/python.el (python-beginning-of-statement):
2857         Rewrite (bug#2703).
2859         * progmodes/compile.el: Better handle TABs (bug#9749).
2860         (compilation-internal-error-properties)
2861         (compilation-next-error-function): Obey the target buffer's
2862         compilation-error-screen-columns.
2864 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
2866         * progmodes/meta-mode.el: Remove obsolete comments.
2867         (meta-right-comment-regexp, meta-ignore-comment-regexp):
2868         Fix typos in docstrings.
2870 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
2872         * window.el (window-size-fixed-p): Rewrite doc-string.
2873         (window-resizable-p): Rename to window--resizable-p.  Update callers.
2874         (window--resizable): New function.  Make all callers of
2875         window-resizable call window--resizable instead.
2876         (window-resizable): Rewrite in terms of window--resizable.
2878 2011-11-08  Glenn Morris  <rgm@gnu.org>
2880         * progmodes/delphi.el (delphi-mode-syntax-table):
2881         Let define-derived-mode define a proper syntax table.  (Bug#9994)
2883 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2885         * window.el: Stay away from defsubst.
2886         (window-list-no-nils): Remove.
2887         (window-state-get-1, window-state-get): Use backquote instead.
2889 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2891         * emacs-lisp/find-func.el (find-function-read):
2892         Fix incorrect use of default argument in `completing-read'.
2894 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
2896         * window.el (display-buffer-function, special-display-function):
2897         Mention display-buffer-record-window but do not mention
2898         help-setup parameter in doc-strings.
2899         (window-min-delta): Fix doc-string typo.
2901 2011-11-08  Chong Yidong  <cyd@gnu.org>
2903         * window.el (window-total-height, window-total-width): Doc fix.
2904         (window-body-size): Move from C.
2905         (window-body-height, window-body-width): Move to C.
2907 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * window.el: Make special-display like display-buffer-alist (bug#9532).
2910         (display-buffer--special-action): New function, morphed
2911         from display-buffer--special.
2912         (display-buffer): Use it to handle special-display-buffers at higher
2913         priority (just after display-buffer-alist).
2914         (display-buffer-fallback-action, display-buffer--other-frame-action)
2915         (pop-to-buffer-same-window): Remove display-buffer--special.
2917 2011-11-07  Glenn Morris  <rgm@gnu.org>
2919         * calendar/cal-menu.el (cal-menu-set-date-title):
2920         Do nothing if not in a calendar.  (Bug#9976)
2922 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2924         * files.el (find-file): Always use selected-window.
2926 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
2928         * window.el (window-combinations): Make WINDOW argument
2929         mandatory.  Rewrite doc-string.
2930         (walk-window-subtree, window-atom-check, window-min-delta)
2931         (window-max-delta, window--resize-this-window)
2932         (window--resize-root-window-vertically, window-tree)
2933         (balance-windows, window-state-put): Rewrite doc-strings as to
2934         not mention the term "subwindow".
2935         (window--resize-subwindows-skip-p): Rename to
2936         window--resize-child-windows-skip-p.
2937         (window--resize-subwindows-normal): Rename to
2938         window--resize-child-windows-normal.
2939         (window--resize-subwindows): Rename to
2940         window--resize-child-windows.
2941         (window-or-subwindow-p): Rename to window--in-subtree-p.
2943 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2945         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2946         Ensure that mbox format messages end in two newlines (Bug#9974).
2948 2011-11-06  Chong Yidong  <cyd@gnu.org>
2950         * window.el (window-combination-p): Function deleted; its
2951         side-effect is not used in any existing code.
2952         (window-combinations, window-combined-p): Call window-*-child
2953         directly.
2955 2011-11-05  Chong Yidong  <cyd@gnu.org>
2957         * window.el (window-valid-p): Rename from window-any-p.
2958         (window-size-ignore, window-state-get): Callers changed.
2959         (window-normalize-window): Rename from window-normalize-any-window.
2960         New arg LIVE-ONLY, replacing window-normalize-live-window.
2961         (window-normalize-live-window): Delete.
2962         (window-combination-p, window-combined-p, window-combinations)
2963         (walk-window-subtree, window-atom-root, window-min-size)
2964         (window-sizable, window-sizable-p, window-size-fixed-p)
2965         (window-min-delta, window-max-delta, window-resizable)
2966         (window-resizable-p, window-full-height-p, window-full-width-p)
2967         (window-current-scroll-bars, window-point-1, set-window-point-1)
2968         (window-at-side-p, window-in-direction, window-resize)
2969         (adjust-window-trailing-edge, maximize-window, minimize-window)
2970         (window-deletable-p, delete-window, delete-other-windows)
2971         (record-window-buffer, unrecord-window-buffer)
2972         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2973         (quit-window, split-window, window-state-put)
2974         (set-window-text-height, fit-window-to-buffer)
2975         (shrink-window-if-larger-than-buffer): Callers changed.
2977 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
2979         * mail/rmail.el (rmail-simplified-subject): Decode subject with
2980         rfc2047-decode-string.
2981         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2982         warnings.
2984         * window.el (window-body-height, window-body-width): Mention in
2985         the doc string that the return values are in frame's canonical
2986         units.  (Bug#9949)
2988 2011-11-03  Alan Mackenzie  <acm@muc.de>
2990         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2991         change in cc-engine.el.
2993 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2995         * window.el (switch-to-buffer): Use `force-same-window' interactively.
2997 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
2999         * window.el (quit-window): Call unrecord-window-buffer after
3000         showing another buffer in the window.  (Bug#9937)
3001         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3003 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3005         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3006         Accept status with more than 9 shelves.  (Bug#9935)
3007         Reported by Colin D Bennett <colin@gibibit.com>.
3009 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3011         * help.el (with-help-window): Don't reference
3012         temp-buffer-show-specifiers in doc-string.
3014 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3016         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3017         menu-item.
3019 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3021         * whitespace.el: New version 13.2.2.
3022         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3023         <EmacsWiki>.
3025 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3027         * net/newst-treeview.el: Remove "Time-stamp".
3028         (newsticker--group-manage-orphan-feeds): Do not call
3029         newsticker--treeview-tree-update.
3030         (newsticker-treeview-update, newsticker-treeview):
3031         Call newsticker--treeview-tree-update if necessary.
3033 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3035         * window.el (window-iso-combination-p, window-iso-combined-p)
3036         (window-iso-combinations): Remove "iso-" infix.
3037         Suggested by Chong Yidong.
3038         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3039         (window-max-delta-1, window-resize, window--resize-siblings)
3040         (window--resize-this-window, adjust-window-trailing-edge)
3041         (split-window, balance-windows-1)
3042         (shrink-window-if-larger-than-buffer):
3043         * calendar/calendar.el (calendar-generate-window):
3044         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3046 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3048         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3049         in place (bug#9907).
3050         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3051         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3052         (eshell-structure-basic-command, eshell-rewrite-while-command)
3053         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3054         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3055         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3056         (eshell-do-pipelines-synchronously, eshell-eval-command):
3057         Use backquotes and prefer setq to set.
3058         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3059         (eshell-macrop): Use functionp.
3060         (eshell-do-eval): Handle multiple expressions in `while' body.
3062 2011-10-30  Chong Yidong  <cyd@gnu.org>
3064         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3065         instead of set-mark (Bug#9810).
3067 2011-10-30  Chong Yidong  <cyd@gnu.org>
3069         * window.el (split-window-below, split-window-right): Rename from
3070         split-window-above-each-other and split-window-side-by-side
3071         respectively.  All callers changed.
3072         (split-window-sensibly, split-window-sensibly): Use them.
3073         (split-window-keep-point): Doc fix.
3075         * isearch.el: Add isearch-scroll property to split-window-below
3076         and split-window-right.
3078         * follow.el (follow-mode):
3079         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3080         * progmodes/ada-xref.el (ada-gdb-application):
3081         * emulation/vip.el (vip-buffer-in-two-windows):
3082         * image-dired.el (image-dired-dired-with-window-configuration):
3083         * dired-x.el (dired-do-find-marked-files):
3084         * dired.el (dired-pop-to-buffer):
3085         * bs.el (bs--show-with-configuration):
3086         * vc/emerge.el (emerge-setup-windows):
3087         * textmodes/two-column.el (2C-two-columns):
3088         * textmodes/reftex-toc.el (reftex-toc):
3089         * progmodes/gdb-mi.el (gdb-setup-windows):
3090         * progmodes/fortran.el (fortran-window-create):
3091         * net/newst-treeview.el (newsticker--treeview-window-init):
3092         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3093         * emulation/tpu-edt.el (tpu-gold-map):
3094         * emulation/crisp.el (crisp-mode-map):
3095         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3097 2011-10-29  Chong Yidong  <cyd@gnu.org>
3099         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3101         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3103         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3104         forged Ispell output (Bug#7904).
3106         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3108 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3110         * doc-view.el: Avoid ugly errors about not finding nil.
3111         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3112         (doc-view-dvipdf-program, doc-view-unoconv-program)
3113         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3114         Avoid nil or absolute file name as default value.
3115         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3117 2011-10-28  Alan Mackenzie  <acm@muc.de>
3119         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3121 2011-10-28  Alan Mackenzie  <acm@muc.de>
3123         Amend the handling of c-beginning/end-of-defun in nested declaration
3124         scopes.
3126         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3127         cc-langs.el.  Change it to a defcustom.
3129         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3130         cc-vars.el.
3132         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3133         Prevent "class foo : bar" being spuriously recognized as a label.
3135         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3136         Add parameter `inclusive' (to include enclosing braces in the region).
3137         (c-widen-to-enclosing-decl-scope): New function.
3138         (c-while-widening-to-decl-block): New macro.
3139         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3140         outward for defun boundaries, and correspondingly change symbol
3141         `respect-enclosure' to `go-outward'.
3142         (c-declaration-limits): Change algorithm to report only the "innermost"
3143         defun's boundaries.
3145 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3147         * net/rcirc.el (rcirc-mode): Use hard newlines.
3149 2011-10-28  Alan Mackenzie  <acm@muc.de>
3151         Amend to indent and fontify macros "which include their own semicolon"
3152         correctly, using the "virtual semicolon" mechanism.
3154         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3156         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3157         Recode to scan one line at a time rather than having \n and \r
3158         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3159         (c-forward-label): Amend for virtual semicolons.
3160         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3162         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3163         of the new C macros.
3165         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3166         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3167         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3168         (c-opt-cpp-macro-define): Make into a full language variable.
3169         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3170         AWK Mode (including \n, \r) removed, no longer needed.
3172         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3173         Invoke c-make-macro-with-semi-re.
3175         * progmodes/cc-vars.el (c-macro-with-semi-re):
3176         (c-macro-names-with-semicolon): New variables.
3177         (c-make-macro-with-semi-re): New function.
3179 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3181         * vc/log-edit.el: Fill empty field rather than adding new one.
3182         (log-edit-add-field): New function.
3183         (log-edit-insert-changelog): Use it.
3185 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3187         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3189 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3191         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3192         (gdb--check-interpreter): New function.
3193         (gdb): Use it.
3195 2011-10-27  Glenn Morris  <rgm@gnu.org>
3197         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3198         (least-positive-float, least-negative-float)
3199         (least-positive-normalized-float, least-negative-normalized-float)
3200         (float-epsilon, float-negative-epsilon):
3201         Remove unnecessary declarations.
3203         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3204         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3205         (least-positive-float, least-negative-float)
3206         (least-positive-normalized-float, least-negative-normalized-float)
3207         (float-epsilon, float-negative-epsilon): Add doc-strings,
3208         based on those in cl.texi.
3210         * files.el (set-visited-file-name): If the major-mode changed,
3211         reload the local variables.  (Bug#9796)
3213 2011-10-27  Chong Yidong  <cyd@gnu.org>
3215         * subr.el (change-major-mode-after-body-hook): New hook.
3216         (run-mode-hooks): Run it.
3218         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3219         Use change-major-mode-before-body-hook.
3221         * simple.el (fundamental-mode):
3222         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3223         change introducing fundamental-mode-hook.
3225 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3227         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3229 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3231         * ido.el (ido-file-name-all-completions-1): Do not require
3232         tramp.el explicitly.  (Bug#7583)
3234 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3236         * progmodes/octave-mod.el:
3237         * progmodes/octave-inf.el: Update maintainer.
3239 2011-10-26  Chong Yidong  <cyd@gnu.org>
3241         * subr.el (with-wrapper-hook): Rewrite doc.
3243 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3245         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3246         filenames "/method:foo:".  (Bug#9793)
3248 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3250         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3251         (bug#9865).
3253 2011-10-24  Glenn Morris  <rgm@gnu.org>
3255         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3257 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3259         * notifications.el: Add the requirement of a running D-Bus session
3260         bus to the Commentary.
3262 2011-10-24  Juri Linkov  <juri@jurta.org>
3264         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3265         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3266         (Bug#9364)
3268 2011-10-24  Juri Linkov  <juri@jurta.org>
3270         * info.el (Info-following-node-name-re): Add newline to the list
3271         of allowed characters for leading space.  (Bug#9824)
3273 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3275         * progmodes/octave-inf.el (inferior-octave-mode-map):
3276         Fix C-c C-h binding.
3277         * progmodes/octave-mod.el (octave-help): Remove.
3279 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3281         Sync with Tramp 2.2.3.
3283         * net/tramp-cache.el (top): Pacify byte-compiler using
3284         `init-file-user' and `site-run-file'.
3286         * net/trampver.el: Update release number.
3288 2011-10-23  Chong Yidong  <cyd@gnu.org>
3290         * files.el (toggle-read-only): Remove obsolete comment about
3291         version control.
3293         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3294         for toggle-read-only.  Note that this hasn't called vc-next-action
3295         since 2008-05-02, though it wasn't documented at the time.
3297         * vc/ediff-init.el (ediff-toggle-read-only-function):
3298         Use toggle-read-only.
3300 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3302         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3303         of c-parse-state.
3305         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3306         correct faulty logical expression.
3307         (c-parse-state-state, c-record-parse-state-state):
3308         (c-replay-parse-state-state): New defvar/defuns.
3309         (c-debug-parse-state): Use new functions.
3311 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3313         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3314         last fix.  Use window-in-direction correctly.
3316 2011-10-21  Chong Yidong  <cyd@gnu.org>
3318         * progmodes/idlwave.el (idlwave-mode):
3319         * progmodes/vera-mode.el (vera-mode): No need to set
3320         require-final-newline; that's done in prog-mode.
3321         Suggested by Stefan Monnier.
3323 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3325         * mouse.el (mouse-drag-window-above)
3326         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3327         (mouse-drag-mode-line-1, mouse-drag-header-line)
3328         (mouse-drag-vertical-line-rightward-window): Remove.
3329         (mouse-drag-line): New function.
3330         (mouse-drag-mode-line, mouse-drag-header-line)
3331         (mouse-drag-vertical-line): Call mouse-drag-line.
3332         * window.el (window-at-side-p, windows-at-side): New functions.
3334 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3336         * tar-mode.el (tar-grind-file-mode):
3337         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3339 2011-10-21  Chong Yidong  <cyd@gnu.org>
3341         * progmodes/idlwave.el (idlwave-mode):
3342         * progmodes/vera-mode.el (vera-mode):
3343         Use mode-require-final-newline.
3345 2011-10-20  Glenn Morris  <rgm@gnu.org>
3347         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3349 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3351         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3353 2011-10-20  Chong Yidong  <cyd@gnu.org>
3355         * emulation/cua-base.el (cua-mode):
3356         * mail/footnote.el (footnote-mode):
3357         * mail/mailabbrev.el (mail-abbrevs-mode):
3358         * net/xesam.el (xesam-minor-mode):
3359         * progmodes/bug-reference.el (bug-reference-mode):
3360         * progmodes/cap-words.el (capitalized-words-mode):
3361         * progmodes/compile.el (compilation-minor-mode)
3362         (compilation-shell-minor-mode):
3363         * progmodes/gud.el (gud-tooltip-mode):
3364         * progmodes/hideif.el (hide-ifdef-mode):
3365         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3366         * progmodes/subword.el (subword-mode):
3367         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3368         * progmodes/which-func.el (which-function-mode):
3369         * term/tvi970.el (tvi970-set-keypad-mode):
3370         * term/vt100.el (vt100-wide-mode):
3371         * textmodes/flyspell.el (flyspell-mode):
3372         * textmodes/ispell.el (ispell-minor-mode):
3373         * textmodes/nroff-mode.el (nroff-electric-mode):
3374         * textmodes/paragraphs.el (use-hard-newlines):
3375         * textmodes/refill.el (refill-mode):
3376         * textmodes/reftex.el (reftex-mode):
3377         * textmodes/rst.el (rst-minor-mode):
3378         * textmodes/sgml-mode.el (html-autoview-mode)
3379         (sgml-electric-tag-pair-mode):
3380         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3381         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3382         * emulation/crisp.el (crisp-mode):
3383         * emacs-lisp/eldoc.el (eldoc-mode):
3384         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3385         minor mode behavior.
3387 2011-10-19  Juri Linkov  <juri@jurta.org>
3389         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3390         the list of hard-coded chars with escape-glyph face.
3392 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3396 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3398         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3399         running process.
3401 2011-10-19  Glenn Morris  <rgm@gnu.org>
3403         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3404         Ignore ignored files.  (Bug#9726)
3406 2011-10-19  Chong Yidong  <cyd@gnu.org>
3408         Doc fix for minor modes, stating that an omitted argument enables
3409         the mode unconditionally when called from Lisp.
3411         * abbrev.el (abbrev-mode):
3412         * allout.el (allout-mode):
3413         * autoinsert.el (auto-insert-mode):
3414         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3415         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3416         (global-auto-revert-mode):
3417         * battery.el (display-battery-mode):
3418         * composite.el (global-auto-composition-mode)
3419         (auto-composition-mode):
3420         * delsel.el (delete-selection-mode):
3421         * desktop.el (desktop-save-mode):
3422         * dired-x.el (dired-omit-mode):
3423         * dirtrack.el (dirtrack-mode):
3424         * doc-view.el (doc-view-minor-mode):
3425         * double.el (double-mode):
3426         * electric.el (electric-indent-mode, electric-pair-mode):
3427         * emacs-lock.el (emacs-lock-mode):
3428         * epa-hook.el (auto-encryption-mode):
3429         * follow.el (follow-mode):
3430         * font-core.el (font-lock-mode):
3431         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3432         * help.el (temp-buffer-resize-mode):
3433         * hilit-chg.el (highlight-changes-mode)
3434         (highlight-changes-visible-mode):
3435         * hi-lock.el (hi-lock-mode):
3436         * hl-line.el (hl-line-mode, global-hl-line-mode):
3437         * icomplete.el (icomplete-mode):
3438         * ido.el (ido-everywhere):
3439         * image-file.el (auto-image-file-mode):
3440         * image-mode.el (image-minor-mode):
3441         * iswitchb.el (iswitchb-mode):
3442         * jka-cmpr-hook.el (auto-compression-mode):
3443         * linum.el (linum-mode):
3444         * longlines.el (longlines-mode):
3445         * master.el (master-mode):
3446         * mb-depth.el (minibuffer-depth-indicate-mode):
3447         * menu-bar.el (menu-bar-mode):
3448         * minibuf-eldef.el (minibuffer-electric-default-mode):
3449         * mouse-sel.el (mouse-sel-mode):
3450         * msb.el (msb-mode):
3451         * mwheel.el (mouse-wheel-mode):
3452         * outline.el (outline-minor-mode):
3453         * paren.el (show-paren-mode):
3454         * recentf.el (recentf-mode):
3455         * reveal.el (reveal-mode, global-reveal-mode):
3456         * rfn-eshadow.el (file-name-shadow-mode):
3457         * ruler-mode.el (ruler-mode):
3458         * savehist.el (savehist-mode):
3459         * scroll-all.el (scroll-all-mode):
3460         * scroll-bar.el (scroll-bar-mode):
3461         * server.el (server-mode):
3462         * shell.el (shell-dirtrack-mode):
3463         * simple.el (auto-fill-mode, transient-mark-mode)
3464         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3465         (line-number-mode, column-number-mode, size-indication-mode)
3466         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3467         * strokes.el (strokes-mode):
3468         * time.el (display-time-mode):
3469         * t-mouse.el (gpm-mouse-mode):
3470         * tool-bar.el (tool-bar-mode):
3471         * tooltip.el (tooltip-mode):
3472         * type-break.el (type-break-mode-line-message-mode)
3473         (type-break-query-mode):
3474         * view.el (view-mode):
3475         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3476         (global-whitespace-mode, global-whitespace-newline-mode):
3477         * xt-mouse.el (xterm-mouse-mode): Doc fix.
3479         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3480         Fix autogenerated docstring.
3482 2011-10-19  Juri Linkov  <juri@jurta.org>
3484         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3485         by checking environment variables "DESKTOP_SESSION" and
3486         "XDG_CURRENT_DESKTOP".  (Bug#9779)
3488 2011-10-19  Juri Linkov  <juri@jurta.org>
3490         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3491         (browse-url-chromium-program, browse-url-chromium-arguments):
3492         New defcustoms.
3493         (browse-url-default-browser): Check for `browse-url-chromium' and
3494         call `browse-url-chromium-program'.
3495         (browse-url-chromium): New command.  (Bug#9779)
3497 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
3499         * facemenu.el (list-colors-duplicates): On Windows, detect more
3500         duplicates by assuming that only colors matching "^System" are
3501         special "system colors".  (Bug#9722)
3503 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3505         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3506         to distinguish the author from the committer.
3508 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
3510         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3512 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
3514         * international/mule.el (sgml-html-meta-auto-coding-function):
3515         Add support for detecting encoding in HTML5 specified only as
3516         <meta charset="UTF-8">.  Implementation just makes http-equiv and
3517         content-type parts from HTML4 encoding string optional.  (Bug#9716)
3519 2011-10-18  Glenn Morris  <rgm@gnu.org>
3521         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
3523 2011-10-18  Chong Yidong  <cyd@gnu.org>
3525         * faces.el (cursor): Doc fix.
3527 2011-10-17  Chong Yidong  <cyd@gnu.org>
3529         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3531 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
3533         * dirtrack.el (dirtrack): Support shell buffers with path
3534         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
3536 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
3538         * json.el: Bump version to 1.3 and note change in History.
3539         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3541 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3543         * comint.el (comint-insert-input, comint-send-input)
3544         (comint-get-old-input-default, comint-backward-matching-input)
3545         (comint-next-prompt): Use nil instead of `input' for field property of
3546         past user input (bug#114).
3548         * minibuffer.el (completion--replace): Inherit surrounding properties
3549         (bug#114).
3550         (minibuffer-complete-and-exit): Use it.
3552         * comint.el (comint--table-subvert): Quote the all-completions output
3553         (bug#9160).
3555 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
3557         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3559         * menu-bar.el (menu-bar-file-menu): Add entry for making new
3560         window on right of selected.  (Bug#9350) Reword other window
3561         entries and separate them from frame entries.
3563 2011-10-15  Glenn Morris  <rgm@gnu.org>
3565         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3566         Doc fixes.
3568 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
3570         * net/network-stream.el (network-stream-open-starttls):
3571         Improve detection of failure due to lack of TLS support.
3573         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3574         putting the input text in front and in bold.
3576 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3578         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3580         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3581         empty buffer.
3583         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3584         unread-command-events rather than pushing yet-another event.
3586 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
3588         * mail/sendmail.el (sendmail-query-once): Improve the wording of
3589         the explanation of the possible choices.  Make the options passed
3590         to completing-read shorter.
3592 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3594         * textmodes/flyspell.el (flyspell-large-region): Make sure
3595         extended character mode is used if defined (Bug#1339).
3597 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
3599         * simple.el (what-cursor-position): Fix the display of the
3600         character info for LRE, LRO, RLE, and RLO characters by appending
3601         an invisible PDF.
3603 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3605         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3606         even in case of error; add debug spec; simplify data flow.
3607         (with-timeout-handler): Remove.
3609 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3611         Fix Bug#6019, Bug#9315.
3613         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3614         complete `buffer-file-name', the local file name part could look
3615         remotely (for example on VMS).
3617         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3618         `tramp-run-real-handler'.
3619         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3620         already quoted by '"'.
3622         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3623         Let `file-name-handler-alist' be nil, the local file name part
3624         could look remotely (for example on VMS).
3626 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3629         from here...
3630         (flyspell-post-command-hook): ...to here.
3632 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3635         if not needed.
3636         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
3637         using completion.  Protect against "slow" callers.
3638         Remove the "message hack".
3640 2011-10-11  Juri Linkov  <juri@jurta.org>
3642         * isearch.el (isearch-lazy-highlight-word): New variable.
3643         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3644         Use it.  (Bug#9727)
3646 2011-10-11  Glenn Morris  <rgm@gnu.org>
3648         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3649         like f90-previous-statement does.
3651 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3653         * eshell/eshell.el (eshell-command): History should be saved
3654         only in interactive use, to avoid error.
3656 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3658         * minibuffer.el (completion-file-name-table): Fix last change,
3659         i.e. ignore normal errors but not the other ones.
3661 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
3663         * window.el (special-display-buffer-names)
3664         (special-display-regexps): Remove some remnants of earlier
3665         changes from doc-strings.
3666         (quit-windows-on): New function.
3668         * vc/vc.el (vc-revert, vc-rollback):
3669         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3670         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
3671         (Bug#6183) (Bug#7074) (Bug#7447)
3673 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
3675         * window.el (frame-auto-hide-function): Add version tag.
3676         (Bug#9699)
3678 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
3680         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3681         condition.
3683 2011-10-09  Leo Liu  <sdl.web@gmail.com>
3685         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3686         (Bug#9701)
3688 2011-10-08  Glenn Morris  <rgm@gnu.org>
3690         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3691         before the first code statement zero indent.  (Bug#9690)
3693 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
3695         * simple.el (count-words-region): Always count in the region.
3696         Report the number of lines and characters too.
3697         (count-words): New command, which counts in the buffer if the
3698         region is inactive, as count-words-region used to.
3699         (count-words--message): New function.  Handle plurals.
3700         (count-lines-region): Make it an alias for count-words-region.
3702         * bindings.el (esc-map): Replace count-lines-region with
3703         count-words-region.
3705 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
3707         * window.el (window--delete): Delete dedicated frame
3708         unconditionally when argument KILL is non-nil.  (Bug#9699)
3709         (switch-to-buffer): Fix doc-string typo.
3711 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3713         * eshell/eshell.el (eshell-command): Avoid using hooks.
3715 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
3717         * bindings.el ([M-left],[M-right]): Bind to left-word and
3718         right-word respectively.
3720 2011-10-07  Glenn Morris  <rgm@gnu.org>
3722         * cus-start.el (debug-on-quit): Fix custom type.
3724 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3726         * subr.el (define-key-after): Clarify that the function is not
3727         useful for non-menu keymaps.
3729         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3731 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3733         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
3734         in current minibuffer (Fix bug with recursive minibuffers).
3736 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
3738         * progmodes/gdb-mi.el (gdb): Doc fix.
3740 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
3742         * window.el (frame-auto-hide-function): New option replacing
3743         frame-auto-delete.  Suggested by Stefan Monnier.
3744         (window--delete): Call frame-auto-hide-function instead of
3745         investigating frame-auto-delete.
3746         (window-point-1, set-window-point-1): New functions.
3747         (window-in-direction, record-window-buffer, window-state-get-1)
3748         (display-buffer-record-window): Use window-point-1 instead of
3749         window-point.
3750         (set-window-buffer-start-and-point): Use set-window-point-1.
3752 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3754         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3756 2011-10-05  Glenn Morris  <rgm@gnu.org>
3758         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3759         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
3761 2011-10-05  Leo Liu  <sdl.web@gmail.com>
3763         * subr.el (read-char-choice): Fix argument to buffer-live-p which
3764         works with buffer object.
3766 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3768         * mpc.el (mpc-tool-bar-map): Add labels.
3770 2011-10-04  Glenn Morris  <rgm@gnu.org>
3772         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3774 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
3776         * window.el (window--delete): New function.
3777         (frame-auto-delete): Resuscitate option.
3778         (bury-buffer, replace-buffer-in-windows)
3779         (quit-window): Rewrite using window--delete.
3780         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3781         Pass display-buffer-mark-dedicated to window--display-buffer-2
3782         (Bug#9639).
3784 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3786         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3787         returns a list (bug#9554).  Add remote file name completion.
3788         * comint.el (comint--table-subvert): Curry and get quote&unquote
3789         functions as arguments.
3790         (comint--complete-file-name-data): Adjust call accordingly.
3791         * pcomplete.el (pcomplete--table-subvert): Remove.
3792         (pcomplete-completions-at-point): Use comint--table-subvert instead.
3794         * minibuffer.el (completion-table-case-fold): Use currying.
3795         (completion--styles-type, completion--cycling-threshold-type):
3796         New constants.
3797         (completion-styles, completion-category-overrides)
3798         (completion-cycle-threshold): Use them.
3799         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3800         completion-table-case-fold.
3802 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
3804         * minibuffer.el (completion-category-overrides): Fix type of styles
3805         and add more user friendly tags (bug#9660).
3807 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3810         (mule-input-method-string): New widget.
3811         (default-input-method, language-info-custom-alist): Use it.
3813 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3815         * pcomplete.el: Require comint.
3816         (pcomplete--common-suffix): Remove.
3817         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3818         (pcomplete--table-subvert): Sync with comint--table-subvert.
3819         (pcomplete--entries): Use comint-completion-file-name-table.
3820         * comint.el (comint-unquote-filename): Simplify.
3821         (comint-completion-file-name-table): New function (bug#9616).
3822         (comint--complete-file-name-data): Use it.
3824         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3825         (pcmpl-gnu-tar-buffer): Remove.
3826         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
3827         around.  Make sure pcomplete-suffix-list is only changed temporarily.
3828         Don't look inside the tar's file if it's too large.
3830 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
3832         * cus-edit.el (custom-mode-map):
3833         * epa.el (epa-key-list-mode-map):
3834         * man.el (Man-mode-map):
3835         * startup.el (splash-screen-keymap):
3836         * simple.el (special-mode-map): Use scroll-up-command and
3837         scroll-down-command.
3839         * progmodes/idlw-help.el (idlwave-help-mode-map):
3840         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3841         * net/newst-plainview.el (newsticker-mode-map):
3842         * emulation/ws-mode.el (wordstar-mode-map):
3843         * emulation/vi.el (vi-com-map):
3844         * calc/calc-graph.el (calc-graph-show-dumb):
3845         * term/sun.el (terminal-init-sun):
3846         * term/ns-win.el (global-map):
3847         * progmodes/grep.el (grep-mode-map):
3848         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3849         * mail/rmail.el (rmail-mode-map):
3850         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3852         * custom.el (custom-safe-themes, load-theme): Treat value of t for
3853         custom-safe-themes as special.
3855 2011-10-01  Julien Danjou  <julien@danjou.info>
3857         * notifications.el (notifications-notify): Fix docstring.
3859 2011-10-01  Per Starbäck  <per@starback.se>
3861         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
3863 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
3865         * startup.el (command-line-1): Fix last fix by inserting
3866         initial-scratch-message into *scratch* before displaying it.
3867         (Bug#9605) and (Bug#9636)
3869 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
3871         * simple.el (line-move): If auto-hscroll-mode is disabled and the
3872         window is hscrolled, move by logical lines.  (Bug#9607)
3873         (line-move-visual): Update the doc string to the above effect.
3875 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
3877         * window.el (display-buffer-record-window): When WINDOW is the
3878         selected window use `point' instead of `window-point'.  (Bug#9626)
3880         * startup.el (command-line-1): Use insert-before-markers when
3881         inserting initial-scratch-message.  (Bug#9605)
3883         * help.el (help-window): Remove variable.
3885 2011-09-29  Glenn Morris  <rgm@gnu.org>
3887         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3889 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
3891         * descr-text.el (describe-char-categories): Accept category
3892         descriptions more than one line long.
3894 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * simple.el (delete-trailing-whitespace): Fix last change.
3898         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3899         Don't confuse "y => 3" as the beginning of a `y' operation.
3901         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3902         object has more than 4 slots (bug#9613).
3904 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
3906         * subr.el (with-output-to-temp-buffer):
3907         * net/quickurl.el (quickurl, quickurl-browse-url):
3908         Fix typos in docstrings.
3910 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
3912         * minibuffer.el (completion-styles)
3913         (completion-category-overrides): Cross reference each other in doc
3914         strings.
3916 2011-09-27  Glenn Morris  <rgm@gnu.org>
3918         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3919         to split-string.  (Bug#9606)
3921 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3923         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3924         (bug#9615).
3926 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
3928         * emacs-lisp/package.el (list-packages): Fix echo area message.
3930 2011-09-27  Leo Liu  <sdl.web@gmail.com>
3932         * ido.el (ido-read-internal): Accept cons cell HIST arg.
3934 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
3936         * net/dbus.el (dbus-unregister-object): Don't release services for
3937         registered signals.  (Bug#9581)
3939 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
3941         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3942         function that picks between cfengine 2 and 3 support
3943         automatically.  Update docs accordingly.
3945 2011-09-22  Kenichi Handa  <handa@m17n.org>
3947         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3948         ZERO.
3949         (indian-itrans-v5-table-for-tamil): New variable.
3950         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3952 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
3954         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3955         that's true if the current command involved collapsing of text.
3956         It's reset to false at the beginning of the next command.
3957         (allout-post-command-business): Move the cursor to the beginning
3958         of entry if the cursor is hidden and collapsing activity just
3959         happened.
3961 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
3963         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3964         tracking (Bug#9541).
3966 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
3968         * net/newst-reader.el (newsticker-html-renderer)
3969         (newsticker-show-news): Automatically load html rendering package
3970         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
3971         because w3m-fill-column is let-bound" and the error "Symbol's value
3972         as variable is void: w3m-fill-column".
3974 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
3976         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3977         Release services only if they are defined.  (Bug#9581)
3979 2011-09-23  Richard Stallman  <rms@gnu.org>
3981         * textmodes/paragraphs.el (forward-sentence): For backwards case,
3982         distinguish start of paragraph from start of its text.
3984         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3986         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3987         (rmail-generate-viewer-buffer): Put that hook on view buffer.
3988         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3990 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
3992         * international/mule-diag.el (mule-diag): Insert a newline after
3993         each fontset description.
3995 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3997         * simple.el (delete-trailing-whitespace):
3998         Document last change; simplify.
4000 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4002         * simple.el (delete-trailing-whitespace): Also delete
4003         extra newlines at the end of the buffer.
4005         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4006         (picture-newline): Use forward-line so as to ignore fields.
4008 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4010         * subr.el (with-wrapper-hook): Fix edebug spec.
4012 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4014         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4015         (bug#4538).
4017 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4019         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4020         Fix nasty bug using wrong cached values.
4022 2011-09-23  Alan Mackenzie  <acm@muc.de>
4024         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4026 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4028         * window.el (pop-to-buffer): Ensure right window is selected if we
4029         chose another frame.
4031 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4033         * simple.el (what-cursor-position): Use get-char-property-change
4034         and next-single-char-property-change, to be able to show display
4035         properties that come from overlays as well as text properties.
4037 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4039         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4041         * cmuscheme.el (run-scheme, switch-to-scheme):
4042         * cus-edit.el (customize-group, custom-buffer-create)
4043         (customize-browse):
4044         * info.el (info):
4045         * shell.el (shell):
4046         * mail/sendmail.el (mail):
4047         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4049 2011-09-22  Richard Stallman  <rms@gnu.org>
4051         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4052         move back only to line beg, don't move back over blank lines.
4054 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4056         * files.el (copy-directory): Set directory attributes only in case
4057         they could be retrieved from the source directory.  (Bug#9565)
4059 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4061         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4062         (hs-find-block-beginning, hs-hide-level-recursive):
4063         Ignore strings as well as comments.  (Bug#9502)
4065 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4067         * progmodes/sql.el (sql-comint-postgres):
4068         Convert port number to a string.  (Bug#9566)
4070 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4072         * window.el (quit-window): Undedicate window when switching to
4073         previous buffer.  Reported by Thierry Volpiatto
4074         <thierry.volpiatto@gmail.com>.
4075         (special-display-popup-frame): When popping up a new frame reset
4076         its previous buffers to nil.  Simplify code.
4078 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4080         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4081         and process filter, as done also in `shell-command'.
4083 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4085         * window.el (set-window-buffer-start-and-point):
4086         Call set-window-start with NOFORCE argument t.
4087         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4088         (quit-window): Reword doc-string.  Handle new format of
4089         quit-restore parameter.  Don't delete window if it has a
4090         previous buffer we can show instead of the present one.
4091         (display-buffer-record-window): Rewrite using a new format for
4092         the quit-restore window parameter
4093         (special-display-popup-frame, display-buffer-same-window)
4094         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4095         (display-buffer-pop-up-window, display-buffer-use-some-window):
4096         Adapt symbol passed to display-buffer-record-window.
4097         * help.el (help-window-setup): Handle new format of quit-restore
4098         parameter.
4100 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4102         * faces.el (face-list): Fix docstring (bug#9564).
4104         * window.el (display-buffer--action-function-custom-type):
4105         Don't include internal functions in the Custom interface.
4107 2011-09-20  Juri Linkov  <juri@jurta.org>
4109         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4110         (Info-forward-node, Info-backward-node, Info-next-preorder)
4111         (Info-last-preorder): Use it.  (Bug#9528)
4113 2011-09-20  Juri Linkov  <juri@jurta.org>
4115         * info.el (Info-last-preorder): Visit last menu item only when
4116         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4118 2011-09-20  Julien Danjou  <julien@danjou.info>
4120         * password-cache.el (password-cache-remove): Remove entries even if the
4121         value is nil, so that password with a nil value (negative caching) is
4122         possible to invalidate.
4124 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4126         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4127         all whitespace around breakpoint.  (Bug#9553)
4128         (f90-find-breakpoint): Only break at whitespace inside a comment.
4130 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4132         * minibuffer.el (completion-file-name-table): Keep track of errors.
4133         (completion-table-with-predicate): Handle the case where pred1 is nil.
4134         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4136 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4138         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4139         (debugger-return-value): Signal an error if the debugging context does
4140         not await any return value.
4142         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4143         * image-mode.el (image-toggle-display-text)
4144         (image-toggle-display-image): Stay away from evil `intangible'.
4146 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4148         * replace.el (occur-revert-arguments): Make it permanent-local.
4149         (occur-mode): Don't call font-lock-defontify.
4151 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4153         * net/ldap.el (ldap-search-internal): Don't push empty search
4154         result (Bug#9508).
4156 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4158         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4160 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4162         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4163         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4165 2011-09-18  Juri Linkov  <juri@jurta.org>
4167         * buff-menu.el (Buffer-menu-mode-map):
4168         * dired.el (dired-mode-map):
4169         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4170         (lisp-interaction-mode-map):
4171         * emacs-lisp/package.el (package-menu-mode-map):
4172         * epa.el (epa-key-list-mode-map):
4173         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4174         (menu-bar-options-menu):
4175         * outline.el (outline-mode-menu-bar-map):
4176         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4177         * vc/vc-dir.el (vc-dir-menu-map):
4178         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4179         Capitalize non-function content words in menu item strings.
4181         * dired.el (dired-mode-map): Add menu item for
4182         `image-dired-dired-toggle-marked-thumbs'.
4184 2011-09-18  Juri Linkov  <juri@jurta.org>
4186         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4187         to `isearch-case-fold-search' and restore its original value
4188         after the `isearch-mode' call.
4190 2011-09-18  Juri Linkov  <juri@jurta.org>
4192         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4193         because `zgrep' returns 1 for successful matches (bug#9226).
4195 2011-09-18  Juri Linkov  <juri@jurta.org>
4197         * info.el (Info-extract-menu-node-name): Check the second match
4198         for empty string (second test-case of bug#9528).
4199         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4200         intermediate nodes to the history (first test-case of bug#9528).
4202 2011-09-18  Juri Linkov  <juri@jurta.org>
4204         * info.el (Info-mode-syntax-table): New variable.
4205         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4207 2011-09-18  Juri Linkov  <juri@jurta.org>
4209         * info.el (Info-file-supports-index-cookies):
4210         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4211         outputs one more line for long file names (bug#4142).
4213 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4215         * newcomment.el (comment-normalize-vars): If prompting for
4216         comment-start, set comment-start-skip too (Bug#8424).
4218 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
4220         * icomplete.el: Fix previous fix of Bug#5849.
4221         (icomplete-mode): Don't set completion-show-inline-help.
4222         (icomplete-minibuffer-setup): Set completion-show-inline-help
4223         locally during icompletion.
4225 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4227         * woman.el (woman2-process-escapes): Don't delete unrecognized
4228         escapes (Bug#7843).
4230         * files.el (inhibit-first-line-modes-regexps): Add image files.
4231         (hack-local-variables-prop-line): Return nil for malformed
4232         prop-lines (Bug#9044).
4234 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4236         * net/tramp.el (top): Don't require 'shell.
4237         (tramp-methods): Fix docstring.
4238         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4239         Return complete remote file name.  Handle "smb" case.
4240         Use `tramp-tmpdir', if defined for the respective method.
4241         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4243         * net/tramp-compat.el (top): Require 'shell.
4245         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4246         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4247         `tramp-current-host'.
4248         (tramp-get-remote-tmpdir): Remove.
4250         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4251         `tramp-tmpdir' entries.
4252         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4253         (tramp-smb-handle-file-attributes): Ignore errors.
4254         (tramp-smb-wait-for-output): Check also for process end.
4256 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4258         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4259         when sending QUIT (bug#9312).
4261 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4263         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4264         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4265         occur-mode-display-occurrence.
4266         (occur-edit-mode): Add usage message.
4267         (occur-cease-edit): New command.
4268         (occur-after-change-function): Use text properties to find the
4269         position of the prefix text.
4270         (occur-engine): Set stickiness of prefix text properties.
4272 2011-09-17  Glenn Morris  <rgm@gnu.org>
4274         * progmodes/etags.el (complete-tag):
4275         Fix call to completion-in-region.  (Bug#9526)
4277 2011-09-17  Juri Linkov  <juri@jurta.org>
4279         * textmodes/ispell.el (ispell-word): Add to the error message
4280         the word, ispell program name and current dictionary (bug#9121).
4281         (ispell-tex-arg-end): Capitalize "error" in the error message.
4283 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4285         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4286         check.  (Bug#4251)
4288 2011-09-17  Juri Linkov  <juri@jurta.org>
4290         * window.el (window-safe-min-height, window-safe-min-width):
4291         Fix typos (followup to bug#9522).
4293 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4295         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4297 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4299         * simple.el (line-move): If goal-column is set, move by logical
4300         lines, not by display lines.  (Bug#971)
4301         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4302         to reflect the above change.
4304 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4306         * image.el (imagemagick-register-types): Use regexp-opt.
4308 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4310         * window.el (display-buffer-base-action): Rename from
4311         display-buffer-default-action.  Make default value empty.
4312         (display-buffer-overriding-action): Convert to defvar.
4313         (display-buffer-fallback-action): New var.
4315 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4317         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4318         declaration.
4319         (package--add-to-archive-contents): If there is a duplicate entry
4320         with an older version, remove it.
4321         (package-menu-mark-delete, package-menu-mark-install)
4322         (package-menu-mark-unmark): Make unused args optional.
4323         (package-menu-mark-obsolete-for-deletion):
4324         Use package-menu-get-status instead of a regexp search.
4325         (package-menu-get-status): Use tabulated-list-entry.
4326         (package-menu-mark-upgrades): New command.
4327         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4328         (package-menu-execute): Do installation before deletion.
4329         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4330         instead of checking major-mode.
4331         (package-menu--find-upgrades): New function.
4333 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4335         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4336         passwords in the log buffer.
4337         (smtpmail-process-filter): Update the process marker so that the
4338         "broken by peer" status message is inserted in the right place.
4340 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4342         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4343         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4344         bibtex-completion-at-point-function.
4345         (bibtex-completion-at-point-function): Use them.
4347         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4349         * mpc.el (mpc-constraints-tag-lookup): New function.
4350         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4351         also to browser "album|playlist".
4353 2011-09-14  Juri Linkov  <juri@jurta.org>
4355         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4356         (isearch-edit-string): Use length of `isearch-string' when
4357         `isearch-fail-pos' returns nil.
4358         (isearch-message): Remove duplicate code and call
4359         `isearch-fail-pos' with arg `t'.
4361 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4363         * replace.el (occur-mode-goto-occurrence): Don't force using other
4364         window (Bug#9499).
4366         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4368 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4370         * window.el (display-buffer-window): Remove.
4371         (display-buffer-record-window): Use help-setup window parameter
4372         instead of variable display-buffer-window.
4373         (display-buffer-function, special-display-buffer-names)
4374         (special-display-function): Mention help-setup parameter instead
4375         of display-buffer-window in doc-string.
4376         * help.el (help-window-setup): New argument help-window.
4377         Use help-window-setup parameter instead of display-buffer-window.
4378         Reword some messages.
4379         (with-help-window): Pass window used for displaying the buffer
4380         to help-window-setup.  Don't set display-buffer-window.
4382 2011-09-13  Glenn Morris  <rgm@gnu.org>
4384         * emacs-lisp/debug.el (debugger-make-xrefs):
4385         Preserve point.  (Bug#9462)
4387 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4389         * window.el (window-deletable-p): Use next-frame.
4391 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4393         * window.el (window-auto-delete): Remove.
4394         (window-deletable-p): Remove argument FORCE.  Don't deal with
4395         dedication and previous buffers.
4396         (switch-to-prev-buffer): Don't delete window.
4397         (delete-windows-on): Delete a window's frame if and only if the
4398         window is dedicated.
4399         (replace-buffer-in-windows): Delete buffer's window or frame if
4400         and only if window is dedicated.
4401         (quit-window): Handle quit-restore as before last change.
4402         (bury-buffer): Delete window only if window-deletable-p returns t.
4404 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4406         * window.el (window-deletable-p): Never delete the last frame on a
4407         given terminal.
4409 2011-09-13  Glenn Morris  <rgm@gnu.org>
4411         * help.el (describe-key-briefly): Copy previous standard-output change.
4413 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4415         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4417 2011-09-13  Glenn Morris  <rgm@gnu.org>
4419         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4420         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4422 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4424         * dired-aux.el (dired-mark-read-string): Don't return default
4425         value on empty input (Bug#9361).
4426         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4427         Omit initial minibuffer contents.
4428         (dired-do-chmod): Signal an error on empty input.
4429         (dired-mark-read-string): Don't return default on empty input.
4431         * files.el (file-modes-symbolic-to-number): Doc fix.
4433 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4435         * international/mule-cmds.el (ucs-completions): Remove.
4436         (read-char-by-name): Use complete-with-action instead; add metadata.
4438 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4440         * window.el (display-buffer--action-function-custom-type)
4441         (display-buffer--action-custom-type): New vars.
4442         (display-buffer-alist, display-buffer-default-action)
4443         (display-buffer-overriding-action): Add defcustom types.
4445         * frame.el (delete-other-frames): Doc fix (Bug#276).
4447 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4449         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4451 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4453         Change modes that used same-window-* vars to use switch-to-buffer.
4455         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4456         Use switch-to-buffer.
4458         * cus-edit.el (customize-group, custom-buffer-create)
4459         (customize-browse, custom-buffer-create-other-window):
4460         Use switch-to-buffer or switch-to-buffer-other-window.
4462         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4463         (Info-prev, Info-up, Info-speedbar-goto-node)
4464         (info-display-manual): Use switch-to-buffer.
4465         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4467         * mail/sendmail.el (mail): Use switch-to-buffer.
4468         (mail-recover): Use switch-to-buffer-other-window.
4470         * cmuscheme.el (run-scheme, switch-to-scheme):
4471         * ielm.el (ielm):
4472         * shell.el (shell):
4473         * net/rlogin.el (rlogin):
4474         * net/telnet.el (telnet, rsh):
4475         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4477 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
4479         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4481 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4483         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4484         so don't mention it (bug#9301).
4485         (dired-sort-toggle-or-edit): Clarify string further.
4487         * faces.el (face-spec-set-match-display): Make `(type graphic)'
4488         match `x', `w32' and `ns', like the manual says (bug#9029).
4490         * subr.el (eval-after-load): Doc string clarification (bug#9125).
4491         (process-kill-buffer-query-function): Mention the buffer name in
4492         the query.
4494         * image-mode.el (image-next-line): The line parameter is mandatory
4495         (bug#9258).
4497         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4498         which can be useful (bug#9301).
4500         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4502         * subr.el (match-string): Mention that the current buffer should
4503         be the same as the search was done in (bug#9282).
4505         * facemenu.el: Disable the remove-* commands if the mark isn't
4506         active (bug#9162).
4508 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4510         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4511         of display-buffer.
4512         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4514         * replace.el (occur-mode-goto-occurrence)
4515         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4516         and display-buffer.
4518         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4519         display-buffer.
4521         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4522         special-display and same-window variables.
4523         (mail-other-window): Use switch-to-buffer-other-window.
4524         (mail-other-frame): USe switch-to-buffer-other-frame.
4526         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4527         Use display-buffer-other-frame.
4528         (gdb-display-gdb-buffer): Use pop-to-buffer.
4530         * progmodes/gud.el (gud-goto-info): Use info-other-window.
4532         * progmodes/python.el: Don't set same-window-buffer-names.
4534         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4536         * window.el (display-buffer-alist): Add *Python*.
4538 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4540         * window.el (display-buffer-alist): Add entry for buffers
4541         previously handled same-window-*.
4542         (display-buffer-alist, display-buffer-default-action)
4543         (display-buffer-overriding-action): Mark as risky.
4544         (display-buffer-alist): Document action function changes.
4545         (display-buffer--same-window-action)
4546         (display-buffer--other-frame-action): New variables.
4547         (switch-to-buffer, display-buffer-other-frame): Use them.
4548         (display-buffer): Rename reuse-frame entry to reusable-frames.
4549         (display-buffer-reuse-selected-window): Function deleted.
4550         (display-buffer-reuse-window): Handle reusable-frames alist entry.
4551         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4552         (display-buffer-special): New function.
4553         (display-buffer--maybe-pop-up-frame-or-window): Rename from
4554         display-buffer-reuse-or-pop-window.  Split off special-display
4555         part into display-buffer-special.
4556         (display-buffer-use-some-window): Don't perform any special
4557         pop-up-frames handling.
4558         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4559         (display-buffer--maybe-same-window): Rename from
4560         display-buffer-maybe-same-window.
4562         * info.el: Don't set same-window-regexps.
4563         (info-setup): New function.
4564         (info-other-window, info): Call it.
4566         * cus-edit.el: Don't set same-window-regexps.
4567         (customize-group): New argument.
4568         (customize-group-other-window): Use it.
4569         (customize-face, customize-face-other-window): Likewise.
4570         (custom-buffer-create-other-window): Use pop-to-buffer directly.
4572         * net/rlogin.el:
4573         * net/telnet.el:
4574         * progmodes/gud.el: Don't set same-window-regexps.
4576         * cmuscheme.el:
4577         * ielm.el:
4578         * shell.el:
4579         * mail/sendmail.el:
4580         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4582 2011-09-10  Juri Linkov  <juri@jurta.org>
4584         * isearch.el (isearch-edit-string): Remove obsolete mention of
4585         `C-w' (`isearch-yank-word-or-char') from docstring.
4586         (isearch-query-replace): Fix typo in docstring (bug#9466).
4588 2011-09-10  Juri Linkov  <juri@jurta.org>
4590         * paren.el (show-paren-function): Don't show escaped parens.
4591         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
4593 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
4595         * mail/sendmail.el (mml-to-mime, mml-attach-file)
4596         (mm-default-file-encoding): Remove autoload forms, they are
4597         replaced with autoload cookies in mml.el and mm-encode.el.
4598         (mail-add-attachment): New command.
4599         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4600         (mail-mode): Mention mail-insert-file and mail-add-attachment in
4601         the doc string.
4602         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4604 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
4606         * simple.el (count-words-region): Use buffer if there's no region
4607         (bug#9429).
4609 2011-09-09  Juri Linkov  <juri@jurta.org>
4611         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4612         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4613         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
4615 2011-09-09  Alan Mackenzie  <acm@muc.de>
4617         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4618         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
4620 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
4622         Fix for Savannah bug#9392.
4623         * simple.el (mail-encode-mml): New defvar.
4625         * mail/rmail.el (mail-encode-mml): Add a defvar.
4626         (rmail-enable-mime-composing): Default to t.
4627         (rmail-forward): Use MIME method of forwarding only if both
4628         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4629         Set mail-encode-mml non-nil if the MIME method was used.
4631         * mail/sendmail.el (mml-to-mime): Add autoload form.
4632         (mail-encode-mml): Add a defvar.
4633         (mail-mode): Make mail-encode-mml buffer-local and initialize it
4634         to nil.
4635         (mail-send): If mail-encode-mml is non-nil, run the outgoing
4636         message through mml-to-mime, and reset mail-encode-mml to nil.
4638 2011-09-09  Glenn Morris  <rgm@gnu.org>
4640         * woman.el (woman-if-body): When processing an .el block,
4641         do not delete the next .el block as well.  (Bug#9447)
4642         (woman-special-characters): Add oq, cq, and hy characters.
4644 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4646         * window.el (window-deletable-p): Make sure window is live before
4647         invoking window-prev-buffers.
4649 2011-09-08  Leo Liu  <sdl.web@gmail.com>
4651         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
4653 2011-09-08  Juri Linkov  <juri@jurta.org>
4655         * progmodes/compile.el (compilation-environment): Make it
4656         a defcustom (bug#8340).
4658 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4660         * window.el (frame-auto-delete): Rename to window-auto-delete.
4661         Make it control auto-deletion of windows and/or frames.
4662         (window-deletable-p): New argument FORCE.  Rewrite conditions
4663         for deleting window/frame.  (Bug#9419)
4664         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4665         Rewrite handling of case when window/frame can be deleted.
4666         (delete-windows-on): Call window-deletable-p with new FORCE
4667         argument t.  (Bug#9456)
4669 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
4671         * help-mode.el (help-mode): Restore autoload.
4673 2011-09-07  Juri Linkov  <juri@jurta.org>
4675         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4676         `compilation-environment'.  Set buffer-local
4677         `compilation-environment' to `thisenv' later after (funcall mode).
4678         (Bug#8340)
4680         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
4681         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4682         instead of replacing its value.  (Bug#8340)
4684 2011-09-07  Juri Linkov  <juri@jurta.org>
4686         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4687         based on text properties put by `grep-filter' instead of matching
4688         escape sequences.
4689         (grep-mode): Set buffer-local `compilation-error-screen-columns'
4690         to the value of `grep-error-screen-columns' (bug#9438).
4692 2011-09-07  Juri Linkov  <juri@jurta.org>
4694         * simple.el (next-error-highlight, next-error-highlight-no-select):
4695         Doc fix (bug#9432).
4697 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
4699         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4700         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
4702 2011-09-07  Leo Liu  <sdl.web@gmail.com>
4704         * net/rcirc.el (rcirc-mode): Conditionally initialize
4705         rcirc-input-ring.
4707 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4709         * emacs-lisp/find-func.el (find-function-C-source): Only set
4710         find-function-C-source-directory after checking that we found a source
4711         file there (bug#9440).
4713 2011-09-06  Alan Mackenzie  <acm@muc.de>
4715         * isearch.el (isearch-other-meta-char): Wherever a key list is
4716         unread, "unread" the prefix arg, too.  This fixes bug #8901.
4718 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
4720         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4722 2011-09-05  Juri Linkov  <juri@jurta.org>
4724         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4726 2011-09-05  Juri Linkov  <juri@jurta.org>
4728         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4729         keeping point where processing of grep matches begins, and
4730         continue to delete remaining escape sequences from the same point.
4731         (grep-filter): Make leading zero optional in "0?1;31m" because
4732         git-grep emits "\033[1;31m" escape sequences unlike expected
4733         "\033[01;31m" as GNU Grep does (bug#9408).
4734         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4736 2011-09-05  Juri Linkov  <juri@jurta.org>
4738         * subr.el (y-or-n-p): Capitalize "yes".
4740 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
4742         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
4743         `tramp-cache-unload-hook' where appropriate.
4744         (tramp-methods): Rename `tramp-remote-sh' to
4745         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
4746         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4748         * net/tramp-sh.el (top): Don't require 'shell.
4749         (tramp-methods): Add `tramp-remote-shell' and
4750         `tramp-remote-shell-args' entries.
4751         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4752         (tramp-sh-handle-shell-command): Remove.
4753         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4754         Use `tramp-remote-shell'.
4756 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
4758         * mail/sendmail.el (sendmail-query-once-function): Delete.
4759         (sendmail-query-once): Save directly to send-mail-function.
4760         Update message-send-mail-function too.
4762         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4764 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
4766         * progmodes/python.el (python-mode-map): Use correct function to
4767         start python interpreter from menu-bar (as reported by Geert
4768         Kloosterman).
4769         (inferior-python-mode-map): Fix typo.
4770         (python-shell-map): Remove.
4772 2011-09-03  Deniz Dogan  <deniz@dogan.se>
4774         * net/rcirc.el (rcirc-print): Simplify code for
4775         rcirc-scroll-show-maximum-output.  There is no need to walk
4776         through all windows to find the right one.
4778 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
4780         * help.el (help-return-method): Doc fix.
4782 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
4784         * window.el (window-deletable-p): Don't return a non-nil value
4785         when there's a buffer that was shown in the window before.
4786         (Bug#9419)
4787         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4788         Set window's previous buffers to nil.
4790 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
4792         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4793         newline before and after the tag line, so it doesn't interfere
4794         with determining the paragraph direction of bidirectional text.
4796 2011-09-03  Leo Liu  <sdl.web@gmail.com>
4798         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
4800 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
4802         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
4803         (pop-to-buffer): Change interactive spec.  Pass second argument
4804         directly to display-buffer.
4805         (display-buffer): Fix interactive spec.  Use functionp to
4806         distinguish between a function and a list of functions.
4808         * abbrev.el (edit-abbrevs):
4809         * arc-mode.el (archive-extract):
4810         * autoinsert.el (auto-insert):
4811         * bookmark.el (bookmark-bmenu-list):
4812         * files.el (find-file):
4813         * view.el (view-buffer):
4814         * progmodes/compile.el (compilation-goto-locus):
4815         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4817 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
4819         * window.el (display-buffer-alist): Doc fix.
4820         (display-buffer): Add docstring.  Don't treat
4821         display-buffer-default specially.
4822         (display-buffer-reuse-selected-window)
4823         (display-buffer-same-window, display-buffer-maybe-same-window)
4824         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4825         (display-buffer-pop-up-window)
4826         (display-buffer-reuse-or-pop-window)
4827         (display-buffer-use-some-window): New functions.
4828         (display-buffer-default-action): Use them.
4829         (display-buffer-default): Delete.
4830         (pop-to-buffer-1): Fix choice of actions.
4832 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4834         * minibuffer.el (completion--insert-strings): Don't get confused by
4835         completion entries that end with an LF char.
4837 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
4839         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4841 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
4843         * window.el (display-buffer): Restore interactive spec.
4844         (display-buffer-same-window, display-buffer-other-window):
4845         New functions.
4846         (pop-to-buffer-1): New function.  Use the above.
4847         (pop-to-buffer, pop-to-buffer-same-window): Use it.
4848         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
4850         * view.el (view-buffer-other-window, view-buffer-other-frame):
4851         Just use pop-to-buffer.
4853 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4855         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
4857 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
4859         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
4861 2011-08-31  Richard Stallman  <rms@gnu.org>
4863         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4864         of the separation of rmail-view-buffer from rmail-buffer.
4865         If you say no to "replace original", the decrypt is in the
4866         view buffer.  If you say yes, the decrypt goes into the
4867         rmail buffer also.
4869 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
4871         * window.el (display-buffer-window): Rewrite doc-string.
4872         (display-buffer-record-window): New function.
4873         (display-buffer-macro-specifiers)
4874         (display-buffer-even-window-sizes, display-buffer-set-height)
4875         (display-buffer-set-width, display-buffer-in-window)
4876         (display-buffer-reuse-window, display-buffer-split-specifiers)
4877         (display-buffer-side-specifiers, display-buffer-split-window-1)
4878         (display-buffer-split-window, display-buffer-split-atom-window)
4879         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4880         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4881         (display-buffer-other-window-means-other-frame)
4882         (display-buffer-normalize-special)
4883         (display-buffer-normalize-default)
4884         (display-buffer-normalize-argument)
4885         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4886         (display-buffer-normalize-specifiers, display-buffer-frame)
4887         (display-buffer-same-window, display-buffer-same-frame)
4888         (display-buffer-other-window)
4889         (display-buffer-same-frame-other-window)
4890         (display-buffer-other-frame, pop-to-buffer-same-window)
4891         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4892         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4893         (switch-to-buffer-same-frame)
4894         (switch-to-buffer-other-window-same-frame)
4895         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4896         (display-buffer-alist-set-1, display-buffer-alist-set-2)
4897         (display-buffer-alist-set): Remove.
4898         (display-buffer-function, special-display-buffer-names)
4899         (special-display-regexps, special-display-function):
4900         In doc-string refer to display-buffer-window and quit-restore
4901         parameter.
4902         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4903         (special-display-frame-alist, special-display-popup-frame)
4904         (same-window-buffer-names, same-window-regexps, same-window-p)
4905         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4906         (split-window-preferred-function, split-height-threshold)
4907         (split-width-threshold, window-splittable-p)
4908         (split-window-sensibly, window--try-to-split-window)
4909         (window--frame-usable-p, even-window-heights)
4910         (window--even-window-heights, window--display-buffer-1)
4911         (window--display-buffer-2, display-buffer-other-frame):
4912         Restore old Emacs 23 code, order and doc-strings where applicable.
4913         (display-buffer-default, display-buffer-assq-regexp): New functions.
4914         (display-buffer-alist): Rewrite doc-string.
4915         (display-buffer-default-action)
4916         (display-buffer-overriding-action): New variables.
4917         (display-buffer, switch-to-buffer): Rewrite.
4918         (pop-to-buffer): Restore Emacs 23 behavior but use
4919         window-normalize-buffer-to-display.
4920         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4921         Restore Emacs 23 behavior but use
4922         window-normalize-buffer-to-switch-to.
4923         (pop-to-buffer-same-window): Rewrite.
4924         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4925         Rewrite using Emacs 23 options.
4927 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
4929         * net/tramp.el (tramp-root-regexp): Remove.
4930         (tramp-completion-file-name-regexp-unified)
4931         (tramp-completion-file-name-regexp-separate)
4932         (tramp-completion-file-name-regexp-url): Don't use leading volume
4933         letter on win32 systems.  (Bug#5303, Bug#9311)
4934         (tramp-drop-volume-letter): Simplify definition.
4935         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4937 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4939         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4940         (bug#9356).
4942 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
4944         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
4946 2011-08-29  Juri Linkov  <juri@jurta.org>
4948         * isearch.el (isearch-done): Don't display message "Mark saved"
4949         when arg `edit' is non-nil to prevent its flicker in the echo area.
4951 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
4953         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4954         obsolete packages for deletion.
4956 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
4958         * help-mode.el (help-mode-map): Add special-mode-map to parent.
4959         (help-mode): Derive help-mode from special-mode.  Don't invoke
4960         view-mode from help-mode.
4961         (help-xref-override-view-map): Remove.
4962         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4963         view-mode is not used anymore.
4965 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
4967         * server.el (server-port): Doc fix.
4969         * cus-theme.el (custom-theme-choose-mode): Inherit from
4970         special-mode (Bug#9124).
4971         (custom-theme-choose-mode-map): Add special-mode to parent.
4973 2011-08-28  Alan Mackenzie  <acm@muc.de>
4975         * progmodes/cc-fonts.el
4976         (c-make-font-lock-BO-decl-search-function): New function.
4977         (c-basic-matchers-after - "Fontify the clauses after various
4978         keywords"): Extract the three keyword lists for the 3 erroneous
4979         constructs from the list of four, and use the new function above
4980         in place of an old one.
4982 2011-08-28  Deniz Dogan  <deniz@dogan.se>
4984         * net/rcirc.el (rcirc-insert-prev-input)
4985         (rcirc-insert-next-input): Remove unused argument.
4987 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4989         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4991 2011-08-27  Alan Mackenzie  <acm@muc.de>
4993         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4994         handle function pointer parameters properly.
4996 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
4998         * window.el (display-buffer-reuse-window): Fix case where
4999         selected window was reused with non-nil OTHER-WINDOW argument.
5000         (Bug#9381)
5002 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5004         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5005         oftc's NickServ messages.
5007 2011-08-27  Glenn Morris  <rgm@gnu.org>
5009         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5011 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5013         * emacs-lisp/package.el (package-install): Call package-initialize
5014         if called interactively.
5016 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5018         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5020 2011-08-25  Juri Linkov  <juri@jurta.org>
5022         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5023         `search-whitespace-regexp' (bug#9364).
5025 2011-08-25  Juri Linkov  <juri@jurta.org>
5027         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5028         `regexp-search-ring' to their global values to protect from
5029         updating by `read-from-minibuffer' (bug#9185).
5031 2011-08-25  Juri Linkov  <juri@jurta.org>
5033         * textmodes/ispell.el (ispell-command-loop): Add newline
5034         at the end of the "Use option `i'..." line.
5036 2011-08-25  Juri Linkov  <juri@jurta.org>
5038         * battery.el (display-battery-mode): If `battery-status-function'
5039         or `battery-mode-line-format' is nil, display the message and set
5040         `display-battery-mode' to nil (bug#9363).
5042 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5044         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5045         bidi-string-mark-left-to-right; they are unnecessary now.
5047 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5049         * net/quickurl.el: Documentation typo fixes.
5051 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5053         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5055 2011-08-25  Glenn Morris  <rgm@gnu.org>
5057         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5059         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5060         (smtpmail-via-smtp): Handle nil response from smtp.
5062 2011-08-24  Juri Linkov  <juri@jurta.org>
5064         * proced.el (proced-marked): Inherit from `error' instead of
5065         `font-lock-warning-face'.
5067         * ibuffer.el (ibuffer-marked-face): Change default face from
5068         `font-lock-warning-face' to `warning'.
5069         (ibuffer-deletion-face): Change default face from
5070         `font-lock-type-face' to `error'.
5072         * battery.el (battery-update): Use the face `error' instead of
5073         `font-lock-warning-face' (bug#6117).
5075 2011-08-24  Juri Linkov  <juri@jurta.org>
5077         * faces.el (success): Change face color from "Green3" to
5078         "ForestGreen" on light background (bug#9353).
5080 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5082         * window.el (quit-window): Rename from quit-restore-window.
5083         Use same arglist as old quit-window.
5084         (frame-auto-delete): Doc fix.
5086         * view.el (view-mode-exit): Use quit-window.
5088 2011-08-24  Juri Linkov  <juri@jurta.org>
5090         * isearch.el (isearch-ring-adjust1): Start visiting previous
5091         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5092         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5093         for empty search string (when the last search string is reused
5094         automatically) to adjust the isearch ring to the last element and
5095         prepare the correct index for further M-p commands (bug#9185).
5097 2011-08-24  Kenichi Handa  <handa@m17n.org>
5099         * international/ucs-normalize.el: If decomposition property of
5100         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5101         nil.
5102         (nfd, nfkd): Likewise.
5104 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5106         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5107         from process filters aren't reliably transmitted to the surrounding
5108         accept-process-output.
5109         (mpc-proc-check): New function.
5110         (mpc-proc-sync): Use it (bug#8293)
5112 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5114         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5115         Add compatibility functions (bug#9313).
5117 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5119         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5121         * international/uni-bidi.el: Regenerate.
5123 2011-08-23  Kenichi Handa  <handa@m17n.org>
5125         * international/charprop.el:
5126         * international/uni-bidi.el:
5127         * international/uni-category.el:
5128         * international/uni-combining.el:
5129         * international/uni-comment.el:
5130         * international/uni-decimal.el:
5131         * international/uni-decomposition.el:
5132         * international/uni-digit.el:
5133         * international/uni-lowercase.el:
5134         * international/uni-mirrored.el:
5135         * international/uni-name.el:
5136         * international/uni-numeric.el:
5137         * international/uni-old-name.el:
5138         * international/uni-titlecase.el:
5139         * international/uni-uppercase.el: Regenerate.
5141 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5143         * help.el (help-window-setup): Fix message displayed when other
5144         window is reused.  (Bug#9341)
5146 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5148         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5149         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5151         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5152         Mark obsolete.
5153         * shell.el (shell-parse-pcomplete-arguments): New function.
5154         (shell-completion-vars): Use it instead (bug#9160).
5156 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5158         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5159         strings and comments (bug#9333).
5161         * emacs-lisp/debug.el (debug-arglist): New function.
5162         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5163         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5165 2011-08-22  Juri Linkov  <juri@jurta.org>
5167         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5168         Revert regexp that highlights output switches to its old
5169         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5171         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5172         to check for empty output (bug#9226).
5174 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5176         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5177         symbol-constituent as the default, as that stops font-lock from
5178         working properly (Bug#8843).
5180 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5182         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5183         `coding-system-for-*' around the process open call to avoid
5184         auth-source side effects.
5185         (smtpmail-try-auth-methods): Expand the secret password.
5186         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5187         probe hangs.
5189 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5191         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5193         * emacs-lisp/find-func.el (find-function-noselect): New arg
5194         lisp-only.
5196         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5197         signal an error for built-in functions (Bug#6664).
5199 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5201         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5202         (smtpmail-try-auth-methods): Use it.
5204 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5206         * font-lock.el (font-lock-fontify-region)
5207         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5208         (font-lock-default-unfontify-buffer)
5209         (font-lock-default-fontify-region)
5210         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5212         * progmodes/compile.el (compilation-error-properties):
5213         Fix confusion between file struct and message struct (Bug#9319).
5214         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5215         `ant' regexp.
5217         * net/browse-url.el (browse-url-firefox): Don't call
5218         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5220 2011-08-20  Glenn Morris  <rgm@gnu.org>
5222         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5224         * tutorial.el (tutorial--default-keys): Update some default bindings.
5226         * files.el (hack-local-variables): Fully ignore case for "mode:".
5228 2011-08-20  Alan Mackenzie  <acm@muc.de>
5230         Resolve invalid use of a regexp in regexp-opt.
5232         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5233         detection for a java annotation.
5235         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5236         detection for a java annotation.
5238         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5239         handling for java.
5240         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5242 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5244         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5245         (Bug#9274).
5247 2011-08-20  Alan Mackenzie  <acm@muc.de>
5249         Fontify CPP expressions correctly when starting in the middle of
5250         such a construct.  Mainly for when jit-lock etc. starts a chunk
5251         here.
5253         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5254         variable.
5255         (c-make-font-lock-search-form): New function, extracted from
5256         c-make-font-lock-search-function.
5257         (c-make-font-lock-search-function): Use the above function.
5258         (c-make-font-lock-context-search-function): New function.
5259         (c-cpp-matchers): Enhance the preprocessor expression case with
5260         the above function
5261         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5262         which takes an expression.
5264         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5266 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5268         * window.el (display-buffer-reuse-window)
5269         (display-buffer-pop-up-window): Don't reuse or split a side
5270         window.
5272 2011-08-19  Glenn Morris  <rgm@gnu.org>
5274         * files.el (hack-local-variables-prop-line, hack-local-variables):
5275         Downcase "Mode:".  (Bug#9331)
5277 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5279         * international/characters.el: Add L and R categories.
5281         * subr.el (bidi-string-mark-left-to-right): Rename from
5282         string-mark-left-to-right.  Use category search.
5284         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5286 2011-08-18  Juri Linkov  <juri@jurta.org>
5288         * faces.el (error, warning, success): New faces with definitions
5289         copied from old default values of `font-lock-warning-face',
5290         `compilation-warning', `compilation-info' (bug#6117).
5292         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5294         * progmodes/compile.el (compilation-error): Inherit from `error'.
5295         (compilation-warning): Inherit from `warning'.
5296         (compilation-info): Inherit from `success'.
5298         * dired.el (dired-marked): Inherit from `warning'.
5299         (dired-flagged): Inherit from `error'.
5301 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5303         * mail/smtpmail.el (auth-source): Require to avoid problems with
5304         binding variables (bug#9298).  Also clean up some unused
5305         autoloads.
5307         * net/network-stream.el (network-stream-open-starttls):
5308         Support using starttls.el without using gnutls-cli.
5310 2011-08-17  Juri Linkov  <juri@jurta.org>
5312         * progmodes/grep.el (rgrep): Handle the case when
5313         `grep-find-command' is a cons cell (bug#9278).
5315 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5317         * window.el (display-buffer-pop-up-frame): Run frame creation
5318         function with BUFFER current (as special-display-popup-frame
5319         does).  Reported by Drew Adams.
5321 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5323         * epa-mail.el: Simplify GnuPG group expansion using
5324         epg-expand-group.
5325         (epa-mail-group-alist, epa-mail-group-modtime)
5326         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5327         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5328         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5329         Remove.
5331 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5333         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5335 2011-08-16  Alan Mackenzie  <acm@muc.de>
5337         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5338         Correct, to avoid the inside of macros.
5340 2011-08-16  Richard Stallman  <rms@gnu.org>
5342         * epa-mail.el: Handle GnuPG group definitions.
5343         (epa-mail-group-alist, epa-mail-group-modtime)
5344         (epa-mail-gnupg-conf-file): New variables.
5345         (epa-mail-parse-groups, epa-mail-sync-groups)
5346         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5347         (epa-mail-expand-recipients): New functions.
5348         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5350         * mail/rmail.el (rmail-epa-decrypt): New command.
5352         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5353         Don't bind buffer-read-only, just inhibit-read-only.
5354         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5355         (epa-decrypt-armor-in-region): Make error message clearer.
5357 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5359         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5360         and "a2b" to "ab" for `prefix'.
5362 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5364         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5365         filter groups.
5366         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5367         Fourquet (Bug#8804).
5369 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5371         * startup.el (argi): Declare as global variable (bug#9275).
5373 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5375         * subr.el (string-mark-left-to-right): Search the entire string
5376         for RTL script, not just the terminating character.  Doc fix.
5378 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5380         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5381         New function.
5382         (js--regexp-literal, js-syntax-propertize-function): Remove.
5383         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5384         (js-mode-map): Don't rebind electric keys.
5385         (js-insert-and-indent): Remove.
5386         (js-mode): Setup electric-layout and electric-indent instead.
5388         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5390 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5392         * epa.el (epa-progress-callback-function): Fix the logic of
5393         displaying progress.
5394         * epa-file.el (epa-file-insert-file-contents): Make progress
5395         display more user-friendly.
5396         (epa-file-write-region): Ditto.
5398 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5400         * subr.el (string-mark-left-to-right): New function.
5402         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5403         Use string-mark-left-to-right.
5404         (list-buffers-noselect): Caller changed.
5406         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5407         Use string-mark-left-to-right.
5408         (tabulated-list-print): Recenter after moving point.
5410 2011-08-10  Juri Linkov  <juri@jurta.org>
5412         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5413         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5414         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5416 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5418         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5419         (Bug#7554).
5421 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5423         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5424         character.  (Bug#6594)
5426 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5428         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5429         (image-dired--with-db-file): New macro.
5430         (image-dired-write-tags, image-dired-remove-tag)
5431         (image-dired-create-gallery-lists, image-dired-write-comments)
5432         (image-dired-get-comment, image-dired-mark-tagged-files)
5433         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5434         (image-dired-gallery-generate): Use insert-file-contents.
5436         * time.el (display-time-world-list, display-time-world-display):
5437         * time-stamp.el (time-stamp-string):
5438         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5439         set-time-zone-rule (Bug#7337).
5441 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5443         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5444         (epg-error-to-string, epg-errors-to-string): New function.
5445         (epg-wait-for-completion): Reverse errors list.
5446         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5447         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5448         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5449         (epg-sign-keys, epg-generate-key-from-file)
5450         (epg-generate-key-from-string): Format errors by using
5451         epg-errors-to-string (bug#9255).
5452         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5454 2011-08-07  Juri Linkov  <juri@jurta.org>
5456         * faces.el (list-faces-display): Remove extra angle bracket
5457         from `help-mode-map'.
5459         * info.el (Info-history-toc-nodes): Doc fix.
5461         * longlines.el (longlines-mode): Doc fix.
5463 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5466         of statements and in a few more cases (bug#9183).
5468         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5469         New functions.
5470         (cl-transform-lambda): Use them (bug#9239).
5472 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
5474         * window.el (display-buffer-same-window)
5475         (display-buffer-same-frame, display-buffer-other-window)
5476         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5477         (pop-to-buffer-other-window)
5478         (pop-to-buffer-same-frame-other-window)
5479         (pop-to-buffer-other-frame): Make them defuns.
5480         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5482 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5484         * subr.el (make-composed-keymap): Move from C.  Change calling
5485         convention, and improve docstring to bring attention to a subtle point.
5486         * minibuffer.el (completing-read-default): Adjust accordingly.
5488 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
5490         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5491         (tramp-open-shell): Use `tramp-shell-quote-argument'.
5493         * net/trampver.el: Update release number.
5495 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5497         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5498         "in" (bug#9190).
5500 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5502         * mail/sendmail.el (sendmail-query-once): Restore the current
5503         buffer after querying (bug#9074).
5505         * dired.el (dired-flagged): Use different faces for marked and
5506         flagged files (bug#6117).
5508         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5509         (bug#4433).
5511         * ido.el (ido-mode): Switch off the message if called
5512         non-interactively.
5514         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5515         before 587, since it appears that that's more likely to work for
5516         more people.
5518         * cus-edit.el (custom-file): When running under emacs -q, always
5519         refuse to save the customizations, even if the .emacs file doesn't
5520         exist.
5522         * info.el: Remove the `Info-beginning-of-buffer' function
5523         (bug#8325).
5525         * net/network-stream.el (network-stream-open-starttls):
5526         Use `starttls-available-p' to see whether starttls.el can be used.
5528 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
5530         * window.el (display-buffer-in-window): Don't set dedicated status
5531         of window here (Bug#9215).
5532         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5533         (display-buffer-pop-up-side-window)
5534         (display-buffer-in-side-window): Set dedicated status of window here.
5536 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5538         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5539         before binding generated-autoload-file.
5541 2011-08-01  Deniz Dogan  <deniz@dogan.se>
5543         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5545 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
5547         Sync with Tramp 2.2.2.
5549         * net/trampver.el: Update release number.
5551 2011-07-30  Juri Linkov  <juri@jurta.org>
5553         * dired-aux.el (dired-touch-initial): Remove function.
5554         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5555         current time, and `default' to the last modification time of the
5556         current marked file (bug#6887).
5558 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
5560         * simple.el (goto-line): Use string-to-number to provide a
5561         numeric argument to read-number (bug#9163).
5563 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
5565         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5566         connection process, it could be nil.
5568 2011-07-27  Leo Liu  <sdl.web@gmail.com>
5570         Simplify url handling in rcirc-mode.
5572         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5573         (rcirc-browse-url-at-mouse): Remove.
5574         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5576 2011-07-26  Alan Mackenzie  <acm@muc.de>
5578         Fontify bitfield declarations properly.
5580         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5581         (c-symbol-chars): Now exported as a lang variable.
5582         (c-not-primitive-type-keywords): New lang variable.
5584         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5585         QT keyword "more" to prevent "more slots: ...." being spuriously
5586         parsed as a bitfield declaration.
5588         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5589         Refactor and enhance to handle bitfield declarations.
5590         (c-punctuation-in): New function.
5591         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5592         declarations properly.
5594 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
5596         * calendar/icalendar.el (icalendar--all-events): Take care of
5597         multiple vcalendars in a single file.
5598         (icalendar--convert-float-to-ical): Checkdoc fixes.
5600 2011-07-25  Deniz Dogan  <deniz@dogan.se>
5602         * image.el (insert-image): Clarifying docstring.
5604 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
5606         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5607         `tramp-send-command-and-check' if there is no error.
5608         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5610 2011-07-22  Alan Mackenzie  <acm@muc.de>
5612         Prevent cc-langs.elc being loaded at run time.
5614         * progmodes/cc-mode.el: Remove two autoload forms which loaded
5615         cc-langs.
5617         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5618         "(require 'cc-langs)".  Quote a form so it will evaluate at
5619         (cc-mode's) compilation time.
5621 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
5623         * net/tramp.el (tramp-file-name-handler): Avoid recursive
5624         loading.  (Bug#9114)
5626 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
5628         * window.el (display-buffer-pop-up-window)
5629         (display-buffer-pop-up-side-window)
5630         (display-buffer-in-side-window): Call display-buffer-set-height
5631         and display-buffer-set-width after setting the new window's
5632         buffer so `fit-window-to-buffer' and friends work on the right buffer.
5634 2011-07-20  Sam Steingold  <sds@gnu.org>
5636         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5637         (etags-tags-included-tables): Call `convert-standard-filename' on
5638         the file names contained in TAGS so that windows Emacs can handle
5639         TAGS files created by cygwin ctags.
5641 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5643         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5644         which apparently didn't work.
5646 2011-07-19  Roland Winkler  <winkler@gnu.org>
5648         * proced.el (proced-send-signal): For *Marked Processes* buffer
5649         put point at beginning of buffer.
5651 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
5653         * proced.el (proced-format): Make header lines align with the text
5654         (bug#1779).
5656 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5658         * view.el (view-buffer): Allow running in `special' modes if we're
5659         visiting a file (bug#8615).
5661 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
5663         * window.el (display-buffer-alist-of-strings-p)
5664         (display-buffer-alist-set-1, display-buffer-alist-set-2):
5665         New functions.
5666         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5667         more accurately.
5669 2011-07-18  Alan Mackenzie  <acm@muc.de>
5671         Fontify declarators properly when, e.g., a jit-lock chunk begins
5672         inside a declaration.
5674         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5676         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5677         New function.
5678         (c-complex-decl-matchers): Insert reference to
5679         c-font-lock-enclosing-decls.
5681         * progmodes/cc-engine.el (c-backward-single-comment):
5682         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5683         to nil around calls to (forward-comment -1).
5685 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5687         * image.el (put-image): Doc typo fix.
5689         * progmodes/etags.el (tags-search): Doc typo fix.
5691         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5692         password if we get errors 550 to 554.
5694 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5696         * net/gnutls.el (gnutls-log-level): Remove.
5698         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5699         indentation character (bug#6380).
5701         * files.el (buffer-offer-save): Made permanently local (bug#6241).
5703         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5704         to clarify what the problem is (bug#4291).
5706         * simple.el (current-kill): Clarify what
5707         `interprogram-paste-function' does (bug#7500).
5708         (auto-fill-mode): Document `auto-fill-function' in relation to
5709         `auto-fill-mode' (bug#2470).
5711 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
5713         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5714         method if slot is read-only (bug#9035).
5716 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
5718         * frame.el (select-frame-set-input-focus): New argument NORECORD.
5719         * window.el (pop-to-buffer): Select window used even if it was
5720         selected before, see discussion of (Bug#8615), (Bug#6954).
5721         Pass argument NORECORD on to select-frame-set-input-focus.
5723 2011-07-15  Glenn Morris  <rgm@gnu.org>
5725         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
5726         Respect help-form.
5728 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
5730         * net/gnutls.el (gnutls-min-prime-bits): New variable.
5731         (gnutls-negotiate): Use it.
5733 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5735         * net/gnutls.el (gnutls-negotiate):
5736         Upcase `gnutls-algorithm-priority'.
5738 2011-07-15  Glenn Morris  <rgm@gnu.org>
5740         * jka-compr.el (jka-compr-verbose): Move from here...
5741         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
5742         Add missing :version tag.
5743         * info.el: No need to require jka-compr when compiling.
5745 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5747         * net/gnutls.el (gnutls-algorithm-priority): New variable.
5748         (gnutls-negotiate): Use it.
5750         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5752         * info.el (Info-beginning-of-buffer): New command.
5753         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5754         announcing `b' as the key (bug#8325).
5755         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
5757         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5759         * international/mule-cmds.el
5760         (describe-specified-language-support): Make the error message
5761         clearer (bug#8905).
5763         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5765         * isearch.el (isearch-barrier): Add a doc string, since it's
5766         mentioned in a function doc string (bug#8678).
5768 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
5770         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5771         buffer argument (Bug#9083) and self-identifying label argument.
5773 2011-07-15  Glenn Morris  <rgm@gnu.org>
5775         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
5777 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5779         * man.el (Man-fontify-manpage): Fix message when formatting the
5780         man page (bug#7929).
5782 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
5784         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5785         argument LRM; if non-nil, append an invisible LRM character to the
5786         buffer name.
5787         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5788         last argument non-nil, when formatting buffer names.
5789         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5790         paragraph direction.
5792 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5794         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5795         the man page name (bug#7929).
5797         * image.el (put-image): Mention the `put-image' overlay property
5798         (bug#7834).
5800         * scroll-bar.el (set-scroll-bar-mode): Mention that
5801         `scroll-bar-mode' lists the values (bug#7772).
5803         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5804         command (bug#7729).
5806         * rect.el (apply-on-rectangle): Return the point after the last
5807         operation.
5808         (string-rectangle): Go to the point after the last operation
5809         (bug#7522).
5811         * printing.el (pr-toggle-region): Clarify the documentation
5812         slightly (bug#7493).
5814         * time.el (display-time-update):
5815         Allow `display-time-mail-function' to return nil (bug#7158).
5816         Fix suggested by Detlev Zundel.
5818         * vc/diff.el (diff): Clarify the order the file names are read
5819         (bug#7111).
5821         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5822         the doc string (bug#7015).
5824         * font-lock.el (font-lock-maximum-decoration): Mention what
5825         numeric levels mean (bug#6935).
5827         * startup.el (initial-buffer-choice): Don't mention the `none'
5828         selection, which is against policy.
5830 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
5832         * window.el (display-buffer-normalize-special):
5833         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
5835 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
5837         * subr.el (version<, version<=, version=): Mention "-CVS" and
5838         "-12345" alpha version numbers.
5840 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
5842         * bindings.el: Add advertised binding for set-mark-command
5843         (Bug#5772).
5845 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
5847         * bindings.el (mode-line-other-buffer):
5848         * bookmark.el (bookmark-bmenu-2-window):
5849         * bs.el (bs-cycle-next, bs-cycle-previous):
5850         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5851         switch-to-buffer.
5853         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5854         Delete.
5856 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
5858         * follow.el (follow-debug-message, follow-redisplay):
5859         * jka-cmpr-hook.el (with-auto-compression-mode):
5860         Fix typos in docstrings.
5862 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5864         * subr.el (with-silent-modifications): Clarify somewhat what the
5865         macro inhibits (bug#6525).
5867         * simple.el (eval-expression): Note what it does if called
5868         interactively (bug#6495).
5870 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
5872         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5873         Use pop-to-buffer buffer-or-name if it is nil.
5875         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5876         Remove switch-to-buffer.
5878 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5880         * files.el (make-directory): Clarify that an error will be raised
5881         if there's an error (bug#6397).
5883         * startup.el (initial-buffer-choice): Add `none' as a choice
5884         (bug#6234).
5886         * subr.el (add-hook): Clarify section about buffer-local hooks
5887         (bug#6218).
5889         * dired.el (dired-flagged): Clarify doc string (bug#6117).
5891 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
5893         * tabify.el (untabify): Preserve the current column so that point
5894         doesn't move (bug#6032).
5896 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5898         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5899         Rewrite to avoid awkward possessive "s" (bug#5986).
5901 2011-07-13  Glenn Morris  <rgm@gnu.org>
5903         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
5904         (dired-insert-directory): Give a message the first time
5905         if ls is found not to support --dired.
5907 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5909         * simple.el (toggle-truncate-lines): Clarify what is toggled
5910         (bug#5580).  Text by Drew Adams.
5912 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
5914         * simple.el (blink-matching-open): Make the error message from the
5915         last change less verbose.
5917 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
5919         * font-lock.el (font-lock-comment-face): Use the high contrast
5920         "yellow" color for font-lock-comment-face on low color terminals
5921         using a dark background color (bug#4221).
5923 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5925         * dired.el (dired-insert-set-properties): Make the doc string
5926         reflect what it does now (bug#5325).
5928         * simple.el (blink-matching-open): Say that we were unable to find
5929         the match within the limit, if we're limited (bug#5122).
5931         * international/mule-cmds.el (prefer-coding-system): Add an
5932         example (bug#4869).
5934         * progmodes/etags.el (tags-search): Document `file-list-form'
5935         (bug#4731).
5937 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
5939         * net/browse-url.el (browse-url-default-browser)
5940         (browse-url-browser-function): Make the default browser choice a
5941         bit more logical (bug#4300).  Also clean up the doc string.
5943 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
5945         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5946         binary endings (bug#4440).
5948 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5950         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5951         which can be pretty annoying (bug#8971).
5953         * jka-compr.el (jka-compr-verbose): New variable, and use
5954         throughout (bug#8971).
5956         * info.el (Info-find-file): Fall back on the installation
5957         directory if we can't find the info node anywhere else.
5959 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
5961         * vc/vc.el (vc-revert-file):
5962         Don't set file time-stamp in the past.  (Bug#5181)
5964 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5966         * files.el (after-find-file): Give a better error message when
5967         trying to find a symlink that points to a file that doesn't exist
5968         (bug#4398).
5970         * progmodes/cc-vars.el: Remove (probably) misleading comment
5971         (bug#4396).
5973 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
5975         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5977 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
5979         * mouse-sel.el: Hack restoring functionality, while keeping
5980         compatibility with 2010-07-03 changes to mouse selection.
5981         (mouse-sel-primary-overlay): New var.
5982         (mouse-sel-selection-alist): Use it.
5983         (mouse-sel-mode): Doc fix; remove points that are default features
5984         of mouse.el.
5986 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
5988         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5989         Fix previous fix (bug#2490).
5991 2011-07-12  Roland Winkler  <winkler@gnu.org>
5993         * textmodes/bibtex.el (bibtex-initialize):
5994         Use pop-to-buffer-same-window.
5995         (bibtex-search-entries): Fix interactive call.
5997 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5999         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6000         Fontise bytecomp Error lines more correctly (bug#2490).
6001         Fix suggested by Johan BockgÃ¥rd.
6003         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6005         * dired-x.el (dired-guess-default): Use `delete-dups'.
6007 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6009         * dired.el (dired-mark-prompt):
6010         * dired-aux.el (dired-read-shell-command): Doc fix.
6012 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6014         * mail/sendmail.el (sendmail-query-once):
6015         Use `customize-save-variable' unconditionally, now that it works under
6016         emacs -Q.
6018         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6020         * cus-edit.el (custom-file): Take an optional no-error variable.
6021         (customize-save-variable): Set the variable, and give a warning if
6022         running under "emacs -q".
6024 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6026         * loadhist.el (unload-feature-special-hooks):
6027         Add `auto-coding-functions', `fill-nobreak-predicate' and
6028         `find-directory-functions' (bug#5327).
6030 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6032         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6034         * cus-edit.el (custom-guess-name-alist): -alist variables should
6035         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6037         * printing.el: Add documentation to all the `pr-toggle-' commands.
6039 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6041         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6042         backends where it makes sense (bug#2623).
6044 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6046         * dired-x.el (dired-guess-default): Remove duplicate shell command
6047         entries (bug#2028).
6048         (dired-guess-default): Fix grammar in doc string (bug#2028).
6049         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6051         * subr.el (remove-duplicates): New conveniency function.
6053 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6055         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6056         (bug#1526).
6058 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6060         * window.el (display-buffer-normalize-default): Don't invert
6061         meaning of even-window-heights.  Reported by Eli Zaretskii
6062         <eliz@gnu.org>.
6064 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6066         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6068 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6070         * window.el (display-buffer): Fix arguments to
6071         display-buffer-reuse-window in last change.
6073         * faces.el (link): Use a less saturated blue on light backgrounds.
6075         * startup.el (fancy-startup-text, fancy-about-text)
6076         (fancy-startup-tail): Use font-lock faces, for background safety.
6078 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6080         * emulation/viper-cmd.el (viper-change-state-to-vi):
6081         Limit triggering of abbrev expansion (Bug#9038).
6083 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6085         * window.el (display-buffer-default-specifiers): Remove.
6086         (display-buffer-macro-specifiers): Remove default specifiers.
6087         (display-buffer-alist): Default to nil.
6088         (display-buffer-reuse-window): New optional argument other-window.
6089         (display-buffer-pop-up-window): Allow splitting internal
6090         windows.  Check whether a live window was created.
6091         (display-buffer-other-window-means-other-frame)
6092         (display-buffer-normalize-arguments): Rename to
6093         display-buffer-normalize-argument and rewrite.  Set the
6094         other-window specifier.
6095         (display-buffer-normalize-special): New function.
6096         (display-buffer-normalize-options): Rename to
6097         display-buffer-normalize-default and rewrite.
6098         (display-buffer-normalize-options-inhibit): Remove.
6099         (display-buffer-normalize-specifiers): Rewrite.
6100         (display-buffer): Process other-window specifier and call
6101         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6102         more faithfully.
6103         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6104         (display-buffer-alist-set): Don't handle 'unset default values.
6105         (display-buffer-in-window, display-buffer-alist-set):
6106         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6107         <tassilo@member.fsf.org>.
6109 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6111         * register.el (insert-register): Restore accidental change on
6112         2011-06-26.  (Bug#9028)
6114 2011-07-09  Glenn Morris  <rgm@gnu.org>
6116         * subr.el (remq): Handle the empty list.  (Bug#9024)
6118 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6120         * mail/sendmail.el (send-mail-function): No longer delay custom
6121         initialization.
6122         * custom.el (custom-initialize-delay): Doc fix.
6124 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6126         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6128 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6130         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6131         human-friendly prompt.
6133 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6135         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6136         provided by a particular plugin.
6138 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6140         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6141         save customizations (with "emacs -Q"), just set the variable
6142         instead of erroring out.
6144         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6146 2011-07-08  Juri Linkov  <juri@jurta.org>
6148         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6149         (archive-zip-update-case): Use 7z if found by `executable-find'.
6150         The order of searching the available programs is the same as in
6151         `archive-zip-extract' (bug#8968).
6153 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6155         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6156         (menu-bar-options-menu): Tweak descriptions.
6158 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6160         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6161         menu items into verb phrases (bug#1421).  Also refill to fit under
6162         80 columns.
6164 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6166         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6167         (Info-read-node-name): Doc fix (Bug#1084).
6169         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6170         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6171         (end-of-sexp, beginning-of-sexp)
6172         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6173         (forward-symbol, forward-same-syntax, word-at-point)
6174         (sentence-at-point): Doc fix (Bug#1144).
6176 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6178         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6179         should cover it (bug#1281).
6181         * cus-edit.el (custom-show): Mark as obsolete.
6183         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6184         negotiation fails, then possibly try again with a non-encrypted
6185         connection (bug#9017).
6187         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6188         be used.
6190 2011-07-07  Richard Stallman  <rms@gnu.org>
6192         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6193         property, and handle its changed format.
6194         Look for the correct line number.
6195         Use file's line contents (but not past first =) to find
6196         correct line in message.
6198 2011-07-07  Kenichi Handa  <handa@m17n.org>
6200         * international/characters.el (build-unicode-category-table):
6201         Delete it.
6202         (unicode-category-table): Set it by unicode-property-table-internal.
6204         * international/mule-cmds.el (char-code-property-alist): Move to
6205         to src/chartab.c.
6206         (get-char-code-property): Call unicode-property-table-internal to
6207         load a file.  Call get-unicode-property-internal where necessary.
6208         (put-char-code-property): Call unicode-property-table-internal to
6209         load a file.  Call put-unicode-property-internal where necessary.
6210         put-unicode-property-internal where necessary.
6211         (char-code-property-description):
6212         Call unicode-property-table-internal to load a file.
6214         * international/charprop.el:
6215         * international/uni-bidi.el:
6216         * international/uni-category.el:
6217         * international/uni-combining.el:
6218         * international/uni-comment.el:
6219         * international/uni-decimal.el:
6220         * international/uni-decomposition.el:
6221         * international/uni-digit.el:
6222         * international/uni-lowercase.el:
6223         * international/uni-mirrored.el:
6224         * international/uni-name.el:
6225         * international/uni-numeric.el:
6226         * international/uni-old-name.el:
6227         * international/uni-titlecase.el:
6228         * international/uni-uppercase.el: Regenerate.
6230         * loadup.el: Load international/charprop.el before
6231         international/characters.
6233 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6235         * window.el (next-buffer, previous-buffer): Signal an error if
6236         called from a minibuffer window.
6238         * bindings.el: Revert 2011-07-04 change.
6240 2011-07-06  Richard Stallman  <rms@gnu.org>
6242         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6243         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6244         Treat markers like ints.
6245         (rmail-mime-entity): Doc fix.
6247 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6249         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6250         defcustom again for backwards compatibility.
6252         * simple.el (shell-command-on-region): Fill.
6254         * dired-aux.el (dired-kill-line): Add a doc string.
6256         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6257         to "\\sw\\|\\s_" (bug#358).
6259         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6260         (dired-unmark-backward): Ditto.
6261         (dired-flag-backup-files): Ditto.
6263         * dired-x.el (dired-mark-sexp): Ditto.
6265 2011-07-06  Richard Stallman  <rms@gnu.org>
6267         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6268         (rmail-mime-entity): New arg TRUNCATED.
6269         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6270         New functions.
6271         (rmail-mime-save): Warn if entity is truncated.
6272         (rmail-mime-toggle-hidden): Likewise, for showing.
6273         (rmail-mime-process-multipart): Record when an entity is truncated.
6275         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6276         if ENTITY is a string.
6278 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6280         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6281         of faces when `M-C-x'-ing their definitions (bug#8378).
6282         Also clean up the code slightly.
6284         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6285         because that makes the colors go away.
6287         * mail/sendmail.el (send-mail-function): Change the default to
6288         `sendmail-query-once'.
6289         (sendmail-query-once): Add an autoload cookie.
6291         * net/network-stream.el (network-stream-open-starttls): Try using
6292         a plain connection even if the server offered STARTTLS, and we
6293         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6294         capability.  This should make smtpmail.el work in slightly more
6295         configurations.
6297 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6299         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6300         New defun.
6301         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6303 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6305         * progmodes/sql.el: Version 3.0
6306         (sql-product-alist): Add product :completion-object,
6307         :completion-column, and :statement attributes.
6308         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6309         (sql-mode-syntax-table): Mark all punctuation.
6310         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6311         ansi keywords.
6312         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6313         (sql-mode-oracle-font-lock-keywords): Improve.
6314         (sql-oracle-show-reserved-words): New function for development.
6315         (sql-product-font-lock): Simplify for source code buffers.
6316         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6317         New functions.
6318         (sql-highlight-product): Set product specific syntax table.
6319         (sql-mode-map): Add statement movement functions.
6320         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6321         New variable.
6322         (sql-statement-regexp, sql-beginning-of-statement)
6323         (sql-end-of-statement, sql-signum): New functions.
6324         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6325         (sql-show-sqli-buffer): Bug fix.
6326         (sql-interactive-mode): Store connection data as buffer local.
6327         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6328         with sql-interactive-mode.
6329         (sql-save-connection): Save buffer local settings.
6330         (sql-connection-menu-filter): Change menu entry name.
6331         (sql-product-interactive): Bug fix.
6332         (sql-preoutput-hold): New variable.
6333         (sql-interactive-remove-continuation-prompt): Bug fixes.
6334         (sql-debug-redirect): New variable.
6335         (sql-str-literal): New function.
6336         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6337         Redesign.
6338         (sql-oracle-save-settings, sql-oracle-restore-settings)
6339         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6340         (sql-completion-object, sql-completion-column)
6341         (sql-completion-sqlbuf): New variables.
6342         (sql-build-completions-1, sql-build-completions)
6343         (sql-try-completion): New functions.
6344         (sql-read-table-name): Use them.
6345         (sql-contains-names): New buffer local variable.
6346         (sql-list-all, sql-list-table): Use it.
6347         (sql-oracle-completion-types): New variable.
6348         (sql-oracle-completion-object, sql-sqlite-completion-object)
6349         (sql-postgres-completion-object): New functions.
6351 2011-07-06  Glenn Morris  <rgm@gnu.org>
6353         * window.el (pop-to-buffer): Doc fix.
6355 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6357         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6359 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6361         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6363         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6365 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6367         * button.el (button): Inherit from link face.  Suggested by Dan
6368         Nicolaescu.
6370 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6372         * progmodes/gdb-mi.el: Fit in 80 columns.
6373         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6374         switch-to-buffer.
6376         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6377         if imenu is simply not configured (bug#8941).
6379 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6381         * allout.el (allout-post-undo-hook): New allout outline-change
6382         event hook to signal undo activity.
6383         (allout-post-command-business): Run allout-post-undo-hook if an
6384         undo just occurred.
6385         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6386         * allout-widgets.el (allout-widgets-after-undo-function):
6387         Ensure the integrity of the current item's decoration after it has been
6388         in the vicinity of an undo.
6389         (allout-widgets-mode): Include allout-widgets-after-undo-function
6390         on the new allout-post-undo-hook.
6392 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6394         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6395         Let define-derived-mode define it.
6396         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6397         cycles of abbrev-table inheritance (bug#8998).
6399 2011-07-05  Roland Winkler  <winkler@gnu.org>
6401         * textmodes/bibtex.el: Add support for biblatex.
6402         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6403         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6404         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6405         (bibtex-entry-alist, bibtex-field-alist): New variables.
6406         (bibtex-entry-field-alist): Obsolete alias for
6407         bibtex-BibTeX-entry-alist.
6408         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6409         (bibtex-set-dialect): New command.
6410         (bibtex-entry-type, bibtex-entry-head)
6411         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6412         Bind via bibtex-set-dialect.
6413         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6414         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6415         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6416         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6417         Define via bibtex-set-dialect.
6418         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6419         Obey bibtex-no-opt-remove-re.
6420         (bibtex-vec-push, bibtex-vec-incr): New functions.
6421         (bibtex-format-entry, bibtex-field-list)
6422         (bibtex-print-help-message, bibtex-validate)
6423         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6425 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6427         * progmodes/compile.el (compilation-goto-locus):
6428         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6429         * bs.el (bs-cycle-next, bs-cycle-previous):
6430         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6431         * bindings.el (mode-line-other-buffer):
6432         * autoinsert.el (auto-insert):
6433         * arc-mode.el (archive-extract):
6434         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6436 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6438         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6439         Fix check of `emacs-lock-unlockable-modes'.
6440         Coerce true values of `emacs-lock--try-unlocking' to t.
6442 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6444         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6445         * emacs-lock.el: New file.
6447 2011-07-05  Julien Danjou  <julien@danjou.info>
6449         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6450         than `boundp' to check if face is set.
6452 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6454         * register.el (registerv-make):
6455         * window.el (window-min-height): Fix typos in docstrings.
6457 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
6459         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6460         Update doc string.
6462 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6464         * server.el (server-execute): Catch quit and call
6465         `server-return-error' to pass the error back to emacsclient and
6466         close the connection (bug#8942).
6468 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
6470         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6471         insecure exception for current topic.  Also note that auto-saves
6472         are handled differently.
6474         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6475         State variables for tracking auto-save inhibition situation.
6477         (allout-write-contents-hook-handler): Rename from
6478         'allout-write-file-hook-handler', and describe how it depends on
6479         write-contents-functions sensitivity to non-nil value to prevent
6480         file write.
6482         (allout-auto-save-hook-handler): Remove.  auto-save does not check
6483         this in individual buffers, only in the starting buffer, so this
6484         is not the right way for us to inhibit auto-save in a buffer
6485         according to its condition.
6487         (allout-mode): Use new allout-write-contents-hook-handler, and
6488         only with write-contents-functions.  Remove auto-save provisions -
6489         they're implemented elsewhere.
6491         (allout-before-change-handler): If undo is in progress, note that
6492         for attention of allout-post-command-business.
6494         (allout-post-command-business): If the command we're following was
6495         an undo, check for change in the status of encrypted items and
6496         adjust auto-save inhibitions accordingly.
6498         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6499         according to whether there are or aren't any plain-text topics
6500         pending encryption.
6502         (allout-inhibit-auto-save-info-for-decryption):
6503         Adjust buffer-saved-size and some allout state to inhibit auto-saves
6504         if there are plain-text topics pending encryption.
6506         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6507         buffer-saved-size and some allout state to not inhibit auto-saves
6508         if there are no longer any plain-text topics pending encryption.
6510         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6511         No longer provide for exemption of the current topic.
6513 2011-07-04  Juri Linkov  <juri@jurta.org>
6515         Add 7z operations to delete and save changed members (bug#8968).
6516         * arc-mode.el (archive-7z-expunge, archive-7z-update):
6517         New defcustoms.
6518         (archive-7z-write-file-member): New function.
6519         (archive-7z-summarize): Fix the number of dashes in the
6520         listing output.
6522 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6524         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6525         (bug#8958).
6527 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
6529         * bindings.el: Ignore next-buffer and previous-buffer in
6530         minibuffer-local-map.
6532         * font-lock.el (font-lock-builtin-face): Change light background
6533         color to dark slate blue (Bug#6693).
6535 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
6537         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6539 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6541         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6542         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6543         Add switch-to-buffer.
6545 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6547         * isearch.el (isearch-search-fun-function): Clarify further the
6548         meaning of the function returned.
6550 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
6552         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6554         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6555         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6556         Use it.
6557         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
6558         `tramp-default-remote-path' does not exist.
6559         (tramp-send-command-and-read): New optional argument NOERROR.
6560         (tramp-open-connection-setup-interactive-shell)
6561         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6562         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6563         (tramp-process-sentinel): Flush also process' connection property.
6564         (tramp-sh-handle-start-file-process): Do not set process
6565         sentinel.  It is done now ...
6566         (tramp-maybe-open-connection): ... here.  (Bug#8929)
6568 2011-07-04  MON KEY  <monkey@sandpframing.com>
6570         * play/animate.el (animate-string): Doc fixes and allow changing
6571         the buffer name (bug#5417).
6573 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6575         * play/animate.el (animation-buffer-name): Rename from *animate*.
6577 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6579         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6580         This is simpler and helps future-proof the code.
6581         (timer-until): Use time-subtract and float-time.
6582         (timer--time-less-p): Use time-less-p.
6584 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6586         * type-break.el (timep): Use the value of `float-time' to avoid a
6587         byte-compiler warning.
6589         * server.el (server-eval-and-print): Return any result, even nil.
6591 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6593         * type-break.el: Accept time formats that the builtins accept.
6594         (timep, type-break-time-difference): Accept any format that
6595         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6596         This is simpler and helps future-proof the code.
6597         (type-break-time-difference): Round rather than ignoring
6598         subseconds components.
6600 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6602         * info.el (Info-apropos-matches): Make non-interactive, since it
6603         doesn't seem to do anything useful as a command (bug#8829).
6605 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
6607         * frame.el (frame-background-mode, frame-set-background-mode):
6608         Move from faces.el.
6609         (frame-default-terminal-background): New function.
6611         * custom.el (custom-push-theme): Don't record faces in `changed'
6612         theme; this doesn't work correctly for per-frame face settings.
6613         (disable-theme): Use face-set-after-frame-default to reset faces.
6614         (custom--frame-color-default): New function.
6616 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6618         * dired.el (dired-flagging-regexp): Remove unused variable
6619         (bug#8769).
6621 2011-03-29  Kevin Ryde  <user42@zip.com.au>
6623         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6624         `perl-Test2' extend to match possible "fail #N" rep count
6625         (bug#8377).
6627 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6629         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6630         `smtpmail-via-smtp' now returns the error instead of nil.
6632         * isearch.el (isearch-search-fun-function): Clarify the doc string
6633         (bug#8101).
6635 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
6637         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6638         unnecessary spaces (bug#8987).
6640 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6642         * net/network-stream.el (open-network-stream): Use the
6643         :end-of-capability command thoughout.
6645 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6647         * net/network-stream.el (open-network-stream): Add the
6648         :end-of-capability command parameter, used by pop3.el.
6650 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6652         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6654         * fringe.el (fringe-query-style): Remove redundant text " (type ?
6655         for list)" (bug#6475).
6657         * files.el (file-expand-wildcards): Ignore non-readable
6658         sub-directories while trying to find matches instead of signaling
6659         an error (bug#6297).
6661         * man.el (Man-reference-regexp): Allow matching possible
6662         word-wrapped references (bug#6289).
6664         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6665         for consistency with the other vc buffers (bug#6197).
6666         (vc-checkin): Ditto.
6668         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6670         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6672 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6674         * custom.el (defcustom): Clarify that :set is only used in the
6675         Customize user interface (bug#6089).
6677         * progmodes/flymake.el (flymake-mode): If the buffer isn't
6678         associated with a file, refuse to run instead of erroring out
6679         (bug#6084).
6681         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6682         the doc string, since it appears that using `fill-column' always
6683         controls the width (bug#7845).
6685         * simple.el (shell-command-on-region): Say where the error output
6686         went if `shell-command-default-error-buffer' is set (bug#6857).
6688 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
6690         * allout.el (allout-yank-processing): Adjust cursor position for
6691         backwards-deleted space.
6693         (allout-rebullet-heading): Register changes with
6694         allout-exposure-changed-hook, so the modified topic is properly
6695         decorated.
6697 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6699         * minibuffer.el (completion-in-region): Document PREDICATE
6700         (bug#7136).
6702         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6703         of keyword/argument pairs (bug#6904).
6705         * replace.el (multi-occur):
6706         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
6708 2011-07-02  Drew Adams  <drew.adams@oracle.com>
6710         * dired.el (dired-mark-if): Make the message about whether it's
6711         marking or unmarking clearer (bug#8523).
6713 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6715         * disp-table.el (display-table-print-array): New function.
6716         (describe-display-table): Use it to print the vectors more pretty
6717         (Bug#8859).
6719 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
6721         * window.el (window-state-get-1): Don't assign clone numbers.
6722         Add clone-of item to list of window parameters.
6723         (window-state-put-2): Don't process clone numbers.
6724         (display-buffer-alist): Fix doc-string.
6726 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6728         * subr.el (remq): Don't allocate if it's not needed.
6729         (keymap--menu-item-binding, keymap--menu-item-with-binding)
6730         (keymap--merge-bindings): New functions.
6731         (keymap-canonicalize): Use them to refine the canonicalization.
6732         * minibuffer.el (minibuffer-local-completion-map)
6733         (minibuffer-local-must-match-map): Move initialization from C.
6734         (minibuffer-local-filename-completion-map): Move initialization from C;
6735         don't inherit from anything here.
6736         (minibuffer-local-filename-must-match-map): Make obsolete.
6737         (completing-read-default): Use make-composed-keymap to combine
6738         minibuffer-local-filename-completion-map with either
6739         minibuffer-local-must-match-map or
6740         minibuffer-local-filename-completion-map.
6742 2011-07-01  Glenn Morris  <rgm@gnu.org>
6744         * type-break.el (type-break-time-sum): Use dolist.
6746         * textmodes/flyspell.el (flyspell-word-search-backward):
6747         Replace CL function.
6749 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6751         * mouse.el (mouse--strip-first-event): New function.
6752         (function-key-map): Use it to map fringe clicks to normal clicks
6753         by default.
6755         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6756         (vc-bzr-revision-completion-table): Add support for annotate and date.
6758         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6759         inherit from parent.
6761 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6763         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
6764         (dired-show-file-type): Doc fixup (bug#8818).
6766         * dired.el (dired-mode): Fix up the doc string as suggested by
6767         Drew Adams (bug#8817).
6769         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6770         cookie, since the manual says that it should be possible to add
6771         this function to `find-file-hook' (bug#8709).
6773 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
6775         * progmodes/cfengine.el: Moved all cfengine3.el functionality
6776         here.  Noted Ted Zlatanov as the maintainer.
6777         (cfengine-common-settings, cfengine-common-syntax): New functions
6778         to set up common things between `cfengine-mode' and
6779         `cfengine3-mode'.
6780         (cfengine3-mode): New mode.
6781         (cfengine3-defuns cfengine3-defuns-regex
6782         (cfengine3-class-selector-regex cfengine3-category-regex)
6783         (cfengine3-vartypes cfengine3-font-lock-keywords)
6784         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
6785         (cfengine3-indent-line): Add from cfengine3.el.
6787 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
6789         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6791         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6793 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
6795         * window.el (same-window-buffer-names, same-window-regexps)
6796         (same-window-p, special-display-frame-alist)
6797         (special-display-popup-frame, special-display-function)
6798         (special-display-buffer-names, special-display-regexps)
6799         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6800         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6801         (split-window-preferred-function, split-height-threshold)
6802         (split-width-threshold, even-window-heights)
6803         (display-buffer-mark-dedicated, window-splittable-p)
6804         (split-window-sensibly, window-safely-shrinkable-p):
6805         Un-obsolete.
6806         (display-buffer): Don't spread args with function specifier
6807         because special-display-popup-frame won't like it.
6809 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
6811         Time-stamp simplifications and fixes.
6812         These improve accuracy slightly, and future-proof the code
6813         against some potential changes to current-time format.
6815         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6816         by using time-since and float-time.
6818         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6819         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
6820         + NNN microseconds".
6822         * type-break.el (type-break-time-sum): Rewrite using time-add.
6824         * play/hanoi.el (hanoi-current-time-float): Remove.
6825         All uses replaced by float-time.
6827         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6828         This yields a more-accurate answer.
6829         (rng-time-to-float): Remove; no longer needed.
6831         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6833         * calendar/timeclock.el (timeclock-seconds-to-time):
6834         Defalias to seconds-to-time, since they're the same thing.
6836         * emacs-lisp/elp.el (elp-elapsed-time):
6837         * emacs-lisp/benchmark.el (benchmark-elapse):
6838         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6840 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * window.el (bury-buffer): Don't iconify the only frame.
6843         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6844         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
6846 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
6848         * eshell/em-smart.el (eshell-smart-display-navigate-list):
6849         Add mouse-yank-primary.
6851 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
6853         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6855 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6857         * emacs-lisp/find-func.el (find-library--load-name): New fun.
6858         (find-library-name): Use it to find relative load names when provided
6859         absolute file name (bug#8803).
6861 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6863         * textmodes/flyspell.el (flyspell-word): Consider words that
6864         differ only in case as potential doublons (bug#5687).
6866         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6867         Remove two rather uninteresting debugging-like messages to make
6868         debbugs.el more silent.
6870         * comint.el (comint-password-prompt-regexp): Accept "Response" as
6871         a password-like phrase.
6873 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
6875         * progmodes/cc-guess.el: New file.
6877         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
6879         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6880         derived from `c-basic-common-init'.
6882         * progmodes/cc-mode.el (top-level): Require cc-guess.
6883         (c-basic-common-init): Use `cc-choose-style-for-mode'.
6885 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
6887         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6889 2011-06-30  Alan Mackenzie  <acm@muc.de>
6891         * progmodes/cc-engine.el (c-guess-continued-construct):
6892         Correct the handling of template-args-cont, particularly for when font
6893         lock is disabled.  Name this case as "CASE G".
6895 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
6897         * allout.el (allout-yank-processing): Fix injection of extra space
6898         between bullet and non-whitespace character in first topic when
6899         pasting, ensuring that the actual spacing in the pasted topic
6900         following the bullet char is preserved.  This extra space was
6901         causing pasted encrypted topics to get a decrypted status even
6902         when the content was actually still encrypted.  Now the decryption
6903         status from before the paste is preserved.
6905         (allout-flag-region): Set all allout overlays so they evaporate
6906         when reduced to zero length (evanescent), to prevent overlay
6907         leakage.
6909 2011-06-30  Glenn Morris  <rgm@gnu.org>
6911         * w32-fns.el (w32-charset-info-alist): Declare.
6913         * find-dired.el (find-grep-options): Simplify.
6915         * term/ns-win.el (ns-set-resource): Declare.
6917         * ses.el (row, col): Declare dynamic variables honestly.
6919         * textmodes/reftex-parse.el (index-tags): Declare.
6921 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
6923         * cus-edit.el (customize-push-and-save): New function.
6925         * files.el (hack-local-variables-confirm): Use it.
6927         * custom.el (load-theme): New arg NO-CONFIRM.
6928         Use customize-push-and-save (Bug#8720).
6929         (custom-enabled-themes): Doc fix.
6931         * cus-theme.el (customize-create-theme)
6932         (custom-theme-merge-theme): Callers to load-theme changed.
6934 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6936         * thingatpt.el (thing-at-point-short-url-regexp): Require that
6937         short URLs have at least one dot in them (bug #7614).
6939         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6940         nil, because using a pty is apparently too slow (bug #895).
6942 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6944         * mail/sendmail.el (sendmail-query-once): New function.
6945         (sendmail-query-once-function): New variable.
6947 2011-06-29  Glenn Morris  <rgm@gnu.org>
6949         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6951         * ses.el (top-level): Require cl when compiling.
6952         (ses-set-localvars): Fix error statement.
6953         Call it at compile time to silence a storm of warnings.
6955 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
6957         * window.el (normalize-live-buffer): Rename to
6958         window-normalize-buffer.
6959         (normalize-live-frame): Rename to window-normalize-frame.
6960         (normalize-any-window): Rename to window-normalize-any-window.
6961         (normalize-live-window): Rename to window-normalize-live-window.
6962         (make-window-atom): Rename to window-make-atom.
6963         (window-resize-reset): Rename to window--resize-reset.
6964         (window-resize-reset-1): Rename to window--resize-reset-1.
6965         (resize-mini-window): Rename to window--resize-mini-window.
6966         (resize-subwindows-skip-p): Rename to
6967         window--resize-subwindows-skip-p.
6968         (resize-subwindows-normal): Rename to
6969         window--resize-subwindows-normal.
6970         (resize-subwindows): Rename to window--resize-subwindows.
6971         (resize-other-windows): Rename to window--resize-siblings.
6972         (resize-this-window): Rename to window--resize-this-window.
6973         (resize-root-window): Rename to window--resize-root-window.
6974         (resize-root-window-vertically): Rename to
6975         window--resize-root-window-vertically.
6976         (normalize-buffer-to-display): Rename to
6977         window-normalize-buffer-to-display.
6978         (normalize-buffer-to-switch-to): Rename to
6979         window-normalize-buffer-to-switch-to.
6980         Correspondingly update all callers of the functions listed
6981         above.
6982         (display-buffer-alist, display-buffer-normalize-arguments)
6983         (display-buffer-normalize-options, display-buffer)
6984         (display-buffer-alist-set): Use "function" instead of
6985         "fun-with-args".
6987 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
6989         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6990         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
6991         debbugs.gnu.org.  Mention acknowledgment email.
6993 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6995         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6996         buffer multibyteness, since it shouldn't matter.
6998 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7000         * window.el (display-buffer-in-side-window): Handle dedicated
7001         windows as in display-buffer-reuse-window.
7002         (display-buffer-normalize-alist): Use value of override
7003         specifier.
7004         (display-buffer-normalize-specifiers): Use value of
7005         other-window-means-other-frame specifier.
7006         (display-buffer-alist): Rewrite some texts in widgets.
7007         (display-buffer): Spread arguments when calling function
7008         specified by fun-with-args.
7010 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7012         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7013         Unnest `let'.
7015         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7016         selectors (Bug#5732).
7017         (css-proprietary-nmstart-re): Use `regexp-opt'.
7019 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7021         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7022         (eshell-ls-date-format): New defcustom.
7023         (eshell-ls-file): Use it.
7025 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7029 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7031         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7032         (ange-ftp-make-tmp-name): New arg.
7033         (ange-ftp-file-local-copy): Use it.
7035 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7037         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7038         no-conversion (Bug#8870).
7040 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7042         * window.el (window-right, window-left, window-child)
7043         (window-child-count, window-last-child)
7044         (window-iso-combination-p, walk-window-tree-1)
7045         (window-atom-check-1, window-tree-1, delete-window)
7046         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7047         new naming conventions - window-vchild, window-hchild,
7048         window-next and window-prev are now called window-top-child,
7049         window-left-child, window-next-sibling and window-prev-sibling
7050         respectively.
7051         (resize-window-reset): Rename to window-resize-reset.
7052         (resize-window-reset-1): Rename to window-resize-reset-1.
7053         (resize-window): Rename to window-resize.
7054         (window-min-height, window-min-width)
7055         (resize-mini-window, resize-this-window, resize-root-window)
7056         (resize-root-window-vertically, adjust-window-trailing-edge)
7057         (enlarge-window, shrink-window, maximize-window)
7058         (minimize-window, delete-window, quit-restore-window)
7059         (split-window, balance-windows, balance-windows-area-adjust)
7060         (balance-windows-area, window-state-put-2)
7061         (display-buffer-even-window-sizes, display-buffer-set-height)
7062         (display-buffer-set-width, set-window-text-height)
7063         (fit-window-to-buffer): Rename all "resize-window" prefixed
7064         calls to use the "window-resize" prefix convention.
7065         (display-buffer-alist): Fix symbol for label specifier.
7066         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7067         corresponding specifier.
7068         Reported by Juanma Barranquero <lekktu@gmail.com>.
7070 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7072         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7073         convention.
7074         (ses-call-printer): Does not pass an empty string to formatter when the
7075         cell is empty to keep from barking printer Calc math-format-value.
7077 2011-06-27  Richard Stallman  <rms@gnu.org>
7079         * battery.el (battery-mode-line-limit): New variable.
7080         (battery-update): Handle it.
7082         * mail/rmailmm.el (rmail-mime-process-multipart):
7083         Handle truncated messages.
7085 2011-06-27  Glenn Morris  <rgm@gnu.org>
7087         * progmodes/flymake.el (flymake-err-line-patterns):
7088         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7090 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7092         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7093         (ses--clean-!, ses--clean-_): New functions.
7094         (ses-range): Add configurability of readout order, and conversion
7095         to Calc vector.
7097         * ses.el (ses-repair-cell-reference-all): New function.
7098         (ses-cell-symbol): Set macro as safe, so that it can be used in
7099         formulas.
7101         * ses.el: Update cycle detection algorithm.
7102         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7103         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7104         (ses-set-localvars): New function.
7105         (ses-make-cell): Add property-list as a cell element.
7106         (ses-cell-property-get-fun, ses-cell-property-get)
7107         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7108         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7109         New functions.
7110         (ses-cell-property-set, ses-cell-property-pop)
7111         (ses-cell-property-get-handle): New macro.
7112         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7113         New aliases, used for code readability.
7114         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7115         cycle detection.
7116         (ses-self-reference-early-detection): New defcustom.
7117         (ses-formula-references): Robustify against self-referring cells.
7118         (ses-mode): Use ses-set-localvars.
7119         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7120         before lauching the update processing.
7121         (ses-initialize-Dijkstra-attempt): New function.
7122         (ses-recalculate-cell): Update for cycle detection based on
7123         Dijkstra algorithm.
7125         * ses.el: Fix commenting and indenting convention.
7127 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7129         * bs.el (bs-cycle-next): Complete last change.
7131 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7133         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7135 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7137         * net/network-stream.el (network-stream-open-starttls):
7138         Don't re-get capabilities unless we've reestablished connection.
7139         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7141         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7142         to binary to possibly avoid line encoding issues on Windows (among
7143         other things).
7145 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7147         * net/network-stream.el (open-network-stream): Return an :error
7148         saying what the problem was, if possible.
7150         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7151         server.
7153         * net/network-stream.el (network-stream-open-starttls): If we
7154         wanted to use STARTTLS, and the server offered it, but we weren't
7155         able to because we had no STARTTLS support, then close the connection.
7156         (open-network-stream): Return an :error element, if present.
7158 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7160         * hl-line.el (hl-line-sticky-flag): Doc fix.
7161         (global-hl-line-sticky-flag): New option (Bug#8323).
7162         (global-hl-line-highlight): Obey it.
7164         * vc/vc.el (vc-revert-show-diff): Default to t.
7166 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7168         * allout-widgets.el (allout-widgets-post-command-business):
7169         Stop decorating intermediate isearch matches.  They're not being
7170         undecorated when an isearch is continued past, and isearch
7171         automatically collapses them.  This leads to "widget leaks", where
7172         decorated items accumulate in collapsed areas.  Lines with lots of
7173         hidden widgets can slow down cursor travel, substantially.
7174         Too much complicated machinery would be needed to ensure undecoration,
7175         so we're doing without this nicety.
7177         (allout-widgets-tally-string): Don't try to do a hash-table-count
7178         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7179         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7180         *Messages* when allout-widgets-maintain-tally is t.
7182 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7184         * window.el (display-buffer-normalize-argument): Rename to
7185         display-buffer-normalize-arguments.  Handle special meaning of
7186         LABEL argument.  Respect special-display-function when popping up
7187         a new frame.  Fix code searching for a window showing the buffer
7188         on another frame.
7189         (display-buffer-normalize-specifiers):
7190         Call display-buffer-normalize-arguments.
7191         (display-buffer-in-window): Don't undedicate the window if its
7192         buffer remains the same.
7193         Reported by Drew Adams <drew.adams@oracle.com>.
7194         (display-buffer-alist): Add choice for same-window macro
7195         specfier.
7196         (display-buffer): Mention special meaning of LABEL argument in
7197         doc-string.  Fix quoting.  Don't pop up a new frame even as
7198         fallback.
7200 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7202         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7203         avoid deleting the current window in some cases (bug#8911).
7205 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7207         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7208         (Bug#8934)
7210 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7212         * net/network-stream.el (network-stream-open-starttls):
7213         Use built-in TLS support if `gnutls-available-p' is true.
7214         (network-stream-open-tls): Ditto.
7216 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7218         * register.el (registerv): New struct.
7219         (registerv-make): New function.
7220         (jump-to-register, describe-register-1, insert-register):
7221         Support the jump-func, print-func and insert-func slot of a registerv
7222         struct.  (Bug#8415)
7224 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7226         * vc/vc.el (vc-revert-show-diff): New defcustom.
7227         (vc-diff-internal): New arg specifying diff buffer.
7228         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7229         reuse an existing *vc-diff* buffer (Bug#8927).
7231         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7233 2011-06-26  Glenn Morris  <rgm@gnu.org>
7235         * progmodes/f90.el (f90-critical-indent): New option.
7236         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7237         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7238         (f90-mode): Doc fix.
7239         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7240         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7241         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7242         (f90-match-end): Handle block, critical.
7244 2011-06-25  Glenn Morris  <rgm@gnu.org>
7246         * calendar/diary-lib.el (diary-included-files): Doc fix.
7247         (diary-include-files): New function, extracted from
7248         diary-include-other-diary-files and diary-mark-included-diary-files.
7249         (diary-include-other-diary-files, diary-mark-included-diary-files):
7250         Just call diary-include-files.
7251         (diary-mark-entries): Reset diary-included-files on first call.
7253         * calendar/diary-lib.el (diary-mark-entries)
7254         (diary-mark-included-diary-files):
7255         Visit included diary-files in temp buffers.
7257         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7258         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7259         (f90-start-block-re, f90-imenu-generic-expression)
7260         (f90-looking-at-program-block-start, f90-no-block-limit):
7261         Add support for submodules.
7263         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7264         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7266 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7268         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7269         buffer-file-type before setting its value, to avoid disastrous
7270         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7272 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7274         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7276         * ses.el (ses-unload-function):
7277         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7279         * proced.el (proced-unload-function):
7280         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7282 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7284         * server.el (server-create-window-system-frame): Add parameters arg.
7285         (server-process-filter): Doc fix.  Handle frame-parameters.
7287 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7289         Fix bug#8730, bug#8781.
7291         * loadhist.el (unload--set-major-mode): New function.
7292         (unload-feature): Use it.
7294         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7295         (python-unload-function): New function.
7297 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7299         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7301 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7303         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7304         the candidates list.
7306 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7308         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7310 2011-06-23  Richard Stallman  <rms@gnu.org>
7312         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7313         (rmail-variables): Set next-error-move-function.
7314         (rmail-what-message): Take argument POS.
7315         (rmail-next-error-move): New function.
7317 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7319         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7320         messages for adjacent non-terminals.
7322 2011-06-23  Richard Stallman  <rms@gnu.org>
7324         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7325         (rmail-show-message-1): Preserve buffer modified flag.
7326         (rmail-start-mail): Don't specify use of rmail-mail-return;
7327         that's done by mail-bury now.
7328         (rmail-mail-return): Handle arg NEWBUF.
7330 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7332         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7333         SIZE is a number.
7335 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7337         * window.el (get-lru-window, get-mru-window)
7338         (get-largest-window): Never return a minibuffer window.
7339         (display-buffer-pop-up-window): Fix a bug that could lead to
7340         reusing the minibuffer window.
7341         (display-buffer): Pass original specifier argument to
7342         display-buffer-function instead of the normalized one.
7343         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7345 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7347         * minibuffer.el (completing-read-function)
7348         (completing-read-default): Move from minibuf.c
7350 2011-06-22  Richard Stallman  <rms@gnu.org>
7352         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7353         to Rmail even if not started by a special Rmail command.
7355         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7356         Copy the buffer currently showing just one message.
7358 2011-06-22  Roland Winkler  <winkler@gnu.org>
7360         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7361         (bibtex-clean-entry): First delete the old key so that a
7362         customized algorithm for generating the new key does not get
7363         confused by the old key.
7364         (bibtex-url): Obey regexp of first step.
7365         (bibtex-search-entries): Do not use add-to-list with local
7366         list-var.
7368 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7370         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7371         stored a user name, then query for the password first, instead of
7372         waiting for SMTP to give an error message and the trying again.
7374 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7376         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7377         BUFFER in call-process.
7379 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7381         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7382         QUIT twice.
7383         (smtpmail-try-auth-methods): Require user name and password from
7384         auth-source.
7386 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7388         * window.el (display-buffer-default-specifiers)
7389         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7390         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7391         (split-window): Normalize SIDE argument (Bug#8916).
7393         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7394         (special-display-frame-alist, special-display-popup-frame):
7395         Remove duplicate declarations.  These are now in window.el.
7397 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7399         * mail/smtpmail.el (smtpmail-via-smtp):
7400         Set :use-starttls-if-possible so that we always use STARTTLS if the
7401         server supports it.  SMTP servers that support STARTTLS commonly
7402         require it.
7404         * net/network-stream.el (network-stream-open-starttls): Support
7405         upgrading to STARTTLS always, even if we don't have built-in support.
7406         (open-network-stream): Add the :always-query-capabilities keyword.
7408         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7409         upgrades with `open-network-stream', and rely solely on
7410         auth-source for all credentials.  Big changes throughout the file,
7411         but in particular:
7412         (smtpmail-auth-credentials): Remove.
7413         (smtpmail-starttls-credentials): Remove.
7414         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7415         MAIL FROM, too.
7417         * net/network-stream.el (network-stream-open-starttls):
7418         Provide support for client certificates both for external and built-in
7419         STARTTLS.
7420         (auth-source): Require.
7421         (open-network-stream): Document the :client-certificate keyword.
7422         (network-stream-certificate): Change cert-cert to cert and
7423         cert-key to key.
7425 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7427         * net/tramp-cache.el (top): Don't load the persistency file when
7428         "emacs -Q" has been called.
7430 2011-06-21  Tim Harper  <timcharper@gmail.com>
7432         * term/ns-win.el (ns-initialize-window-system):
7433         Set application-specific `ApplePressAndHoldEnabled' system
7434         resource to NO as it is not yet supported by the NS port.
7436 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7438         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7439         (list-dynamic-libraries): ...not here.
7441 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7443         * subr.el (sha1): Implement sha1 using secure-hash.
7445 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7447         * window.el (display-buffer-alist): In default value do not
7448         enforce searching a window on any but the selected frame.
7449         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7450         (display-buffer-select-window): Remove function.
7451         (display-buffer-in-window): When a window on another frame gets
7452         reused, do not select it any more but just raise its frame if
7453         necessary (Bug#8851) and (Bug#8856).
7454         (display-buffer-normalize-options): Handle pop-up-frames related
7455         options more faithfully.
7456         (pop-to-buffer): Don't rely on `display-buffer' selecting the
7457         window if it is on another frame.
7458         (display-buffer-alist, display-buffer-default-specifiers):
7459         Don't make new frame unsplittable by default.
7460         (display-buffer-normalize-argument): Fix doc-string typo and use
7461         'same-frame-other-window instead of 'other-window when associating
7462         with display-buffer-macro-specifiers.
7464 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
7466         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7467         New functions.
7468         (5x5-mode-map, 5x5-mode-menu): Bind them.
7469         (5x5-draw-grid): Tweak the solver's rendering.
7471 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7473         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7474         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7476 2011-06-21  Drew Adams  <drew.adams@oracle.com>
7478         * menu-bar.el: Use function variable instead of switch-to-buffer.
7479         (menu-bar-select-buffer-function): New variable.
7480         (menu-bar-update-buffers): Use it (bug#8876).
7482 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7484         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7485         variable's status.
7487 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
7489         * x-dnd.el (x-dnd-version-from-flags)
7490         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7491         and long as number (Bug#8899).
7492         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7494 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7496         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7497         (completion-try-completion, completion-all-completions): Compute the
7498         metadata argument if it's missing; make it optional (bug#8795).
7500         * wid-edit.el: Use lex-bind and move towards completion-at-point.
7501         (widget-complete): Use new :completion-function property.
7502         (widget-completions-at-point): New function.
7503         (default): Use :completion-function instead of :complete.
7504         (widget-default-completions): Rename from widget-default-complete;
7505         Rewrite.
7506         (widget-string-complete, widget-file-complete, widget-color-complete):
7507         Remove functions.
7508         (file, symbol, function, variable, coding-system, color):
7509         * international/mule-cmds.el (default-input-method, charset)
7510         (language-info-custom-alist):
7511         * cus-edit.el (face): Use new property :completions.
7513         * progmodes/pascal.el (pascal-completions-at-point): New function.
7514         (pascal-mode): Use it.
7515         (pascal-mode-map): Use completion-at-point.
7516         (pascal-toggle-completions): Make obsolete.
7517         (pascal-complete-word, pascal-show-completions):
7518         * progmodes/octave-mod.el (octave-complete-symbol):
7519         Redefine as obsolete alias.
7520         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7521         Signal absence of completion info for old Octave,
7522         (inferior-octave-complete): Redefine as obsolete alias.
7523         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7524         (meta-completions-at-point): Rename from meta-complete-symbol and
7525         adapt it for use on completion-at-point-functions.
7526         (meta-common-mode): Use it.
7527         (meta-looking-at-backward, meta-match-buffer): Remove.
7528         (meta-complete-symbol): Redefine as obsolete alias.
7529         (meta-common-mode-map): Use completion-at-point.
7530         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7531         (makefile-mode-map): Use completion-at-point.
7532         (makefile-completions-at-point): Rename from makefile-complete and
7533         adapt it for use on completion-at-point-functions.
7534         (makefile-mode): Use it.
7535         (makefile-complete): Redefine as obsolete alias.
7537 2011-06-20  Deniz Dogan  <deniz@dogan.se>
7539         * net/rcirc.el: Delete trailing whitespaces once and for all.
7541 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
7543         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7545 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
7547         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7549         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7551 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
7553         * window.el (display-buffer-other-window-means-other-frame):
7554         Call display-buffer-normalize-alist.
7555         (display-buffer-normalize-specifiers-1): Rename to
7556         display-buffer-normalize-argument.  New argument other-frame.
7557         Rewrite.
7558         (display-buffer-normalize-specifiers-2): Rename to
7559         display-buffer-normalize-options.
7560         (display-buffer-normalize-alist-1): New function.
7561         (display-buffer-normalize-specifiers-3): Rename to
7562         display-buffer-normalize-alist.
7563         Call display-buffer-normalize-alist-1.
7564         (display-buffer-normalize-options-inhibit): New variable.
7565         (display-buffer-normalize-specifiers): Rewrite calling
7566         display-buffer-normalize-alist,
7567         display-buffer-normalize-argument, and
7568         display-buffer-normalize-options.  Don't call the latter if
7569         display-buffer-normalize-options-inhibit is non-nil.
7570         (frame-auto-delete): New option.
7571         (window-deletable-p): Use frame-auto-delete.
7572         (window-list-no-nils, window-state-ignored-parameters)
7573         (window-state-get-1, window-state-get, window-state-put-list)
7574         (window-state-put-1, window-state-put-2, window-state-put):
7575         New functions.
7576         (display-buffer-normalize-options): Move special-display-p group
7577         after pop-up-frame group (Bug#8851) and (Bug#8856).
7579 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
7581         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7582         groups (Bug#8776).
7583         (rx-submatch-n): New function.
7584         (rx): Document it.
7586         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7587         (Bug#8768).
7589         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7591         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7593         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7594         anytime existing face settings are present (Bug#8889).
7596         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7597         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7598         Remove unused argument.
7600 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
7602         * window.el (display-buffer-default-specifiers):
7603         Remove pop-up-frame.  Add pop-up-window-min-height,
7604         pop-up-window-min-width, and another reuse-window specifier
7605         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
7606         (display-buffer-normalize-specifiers-2):
7607         Handle split-height-threshold and split-width-threshold also when
7608         pop-up-windows is unset.  Add a reuse-window specifier for the
7609         case popping up a new window fails.
7610         (special-display-popup-frame): Remove double quoting.
7611         (display-buffer-normalize-specifiers-1): Fix thinko.
7613 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7615         * shell.el (shell-completion-vars): Set pcomplete-termination-string
7616         according to comint-completion-addsuffix.
7618         * pcomplete.el: Convert to lexical binding and fix bug#8819.
7619         (pcomplete-suffix-list): Mark as obsolete.
7620         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7621         pcomplete-seen in the closure.
7622         (pcomplete-comint-setup): Setup completion-at-point as well.
7623         (pcomplete--entries): New function.
7624         (pcomplete--env-regexp): New var.
7625         (pcomplete-entries): Rewrite to work with partial-completion and
7626         without relying on pcomplete-suffix-list.
7627         (pcomplete-pare-list): Remove, unused.
7629 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7631         * window.el (display-buffer-alist): Set pop-up-window-min-height
7632         and pop-up-window-min-width in default value.  Reported by
7633         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
7634         other-window-means-other-frame.
7635         (display-buffer-macro-specifiers): Comment out entry for
7636         other-window specifier.
7637         (display-buffer-other-window-means-other-frame): New function.
7638         (display-buffer-normalize-specifiers-1): New arguments
7639         buffer-name and label.  Treat other-window case specially.
7640         (display-buffer-normalize-specifiers-2): Treat other-window case
7641         specially.
7642         (display-buffer-normalize-specifiers-3): New function.
7643         (display-buffer-normalize-specifiers):
7644         Call display-buffer-normalize-specifiers-3.
7646 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7648         * window.el (same-window-p): Fix two typos introduced when
7649         adding with-no-warnings.
7650         (display-buffer-normalize-specifiers-1): Don't check
7651         pop-up-frames for 'unset initialization.
7652         (display-buffer-normalize-specifiers-2): Major rewrite using
7653         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7654         (pop-up-frames, display-buffer-reuse-frames)
7655         (display-buffer-mark-dedicated): Don't initialize to 'unset.
7656         Suggested by David Engster <deng@randomsample.de>.
7657         (even-window-heights): Initialize to 'unset.
7658         (display-buffer-alist-set): Handle new 'unset initializations.
7659         (display-buffer-macro-specifiers): Don't pop up a new frame in the
7660         other window case.
7662 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
7664         * window.el (display-buffer-normalize-specifiers-1):
7665         Respect current value of pop-up-frames for most reasonable values of
7666         second argument of display-buffer (Bug#8865).
7667         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7668         (switch-to-buffer-other-window-same-frame)
7669         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
7670         Adams (Bug#8875).
7671         (display-buffer): Don't check noninteractive when calling
7672         display-buffer-pop-up-frame.
7673         (display-buffer-pop-up-frame): Never pop up a frame in
7674         noninteractive mode (Bug#8857).
7675         (enlarge-window, shrink-window): Don't report an error when the
7676         window can't be resized as requested (Bug#8862).
7678 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7680         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7682         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7684         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7686 2011-06-15  Alan Mackenzie  <acm@muc.de>
7688         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7689         for declarators, disable knr checking to speed up for normal files.
7690         2: Refactor, replacing a sequence of nested if forms by a cond form.
7692 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7694         * net/network-stream.el (open-network-stream): Add the keyword
7695         :always-query-capabilities for the case where you want to force a
7696         `plain' network connection, but the protocol still requires the
7697         capabilitiy command (i.e., SMTP and EHLO).
7699         * subr.el (process-live-p): Rename from `process-alive-p' for
7700         consistency with other `-live-p' functions.
7702 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7704         * window.el (same-window-buffer-names, same-window-regexps)
7705         (special-display-frame-alist, special-display-popup-frame)
7706         (special-display-function, special-display-buffer-names)
7707         (special-display-regexps, pop-up-frame-alist)
7708         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7709         (pop-up-windows, split-window-preferred-function)
7710         (split-height-threshold, split-width-threshold, even-window-heights)
7711         (display-buffer-mark-dedicated): Don't encourage the use of
7712         display-buffer-alist from Elisp code.
7714 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
7716         * progmodes/python.el (python-mode): Derive from prog-mode.
7717         * progmodes/ps-mode.el (ps-mode):
7718         * progmodes/mixal-mode.el (mixal-mode):
7719         * progmodes/cfengine.el (cfengine-mode):
7720         * progmodes/ld-script.el (ld-script-mode): Likewise.
7722 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
7724         * window.el (display-buffer-alist): Trim default value to avoid
7725         popping up a new frame (Bug#8857) or reusing an arbitrary window
7726         on another frame.
7727         (display-buffer): Do not fall back on popping up a new frame in
7728         batch mode (Bug#8857).
7730 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
7732         * cus-theme.el (describe-theme-1): Use custom-theme-p.
7733         (custom-theme-summary): New function.
7734         (customize-themes): Use it.
7736 2011-06-13  Glenn Morris  <rgm@gnu.org>
7738         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7740 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
7742         * help.el (help-window): Remove variable.
7743         (help-window-point-marker, temp-buffer-max-height)
7744         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7745         (help-print-return-message): Don't set help-window.
7746         (resize-temp-buffer-window): Rewrite cod eand doc-string.
7747         (help-window-setup-finish): Remove.
7748         (help-window-display-message, help-window-setup)
7749         (with-help-window): Major rewrite based on new
7750         display-buffer-window variable.
7752         * help-mode.el (help-mode-finish): Remove help-window related
7753         code.
7755         * view.el (view-exits-all-viewing-windows): Remove reference to
7756         view-return-to-alist in doc-string.
7757         (view-return-to-alist): Make obsolete.
7758         (view-buffer): Call pop-to-buffer-same-window and remove
7759         undo-window code.
7760         (view-buffer-other-window): Call pop-to-buffer-other-window and
7761         simplify code.  Ignore second argument.
7762         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7763         simplify code.  Ignore second argument.
7764         (view-return-to-alist-update): Make obsolete.
7765         (view-mode-enter): Rename second argument to QUIT-RESTORE.
7766         Rewrite using quit-restore window parameters.
7767         (view-mode-exit): Rename second argument to EXIT-ONLY.
7768         Rewrite using quit-restore-window.
7769         (View-exit, View-exit-and-edit, View-leave, View-quit)
7770         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7771         appropriate arguments.
7772         (view-end-message): Use quit-restore window parameter.
7774         * window.el (display-buffer-function): Rewrite doc-string.
7775         (display-buffer-window, display-buffer-alist): New variables.
7776         (display-buffer-split-specifiers)
7777         (display-buffer-side-specifiers)
7778         (display-buffer-macro-specifiers): New constants.
7779         (display-buffer-even-window-sizes, display-buffer-set-height)
7780         (display-buffer-set-width, display-buffer-select-window)
7781         (display-buffer-in-window, display-buffer-reuse-window)
7782         (display-buffer-split-window-1, display-buffer-split-window)
7783         (display-buffer-split-atom-window, display-buffer-pop-up-window)
7784         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7785         (display-buffer-in-side-window, normalize-buffer-to-display)
7786         (display-buffer-normalize-specifiers-1)
7787         (display-buffer-normalize-specifiers-2)
7788         (display-buffer-normalize-specifiers, display-buffer-frame):
7789         New functions.
7790         (display-buffer): Major rewrite.
7791         (display-buffer-other-window, display-buffer-other-frame)
7792         (pop-to-buffer, switch-to-buffer-other-window)
7793         (switch-to-buffer-other-frame): Rewrite.
7794         (display-buffer-same-window, display-buffer-same-frame)
7795         (display-buffer-same-frame-other-window)
7796         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7797         (pop-to-buffer-other-window)
7798         (pop-to-buffer-same-frame-other-window)
7799         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7800         (switch-to-buffer-other-window-same-frame): New functions.
7801         (same-window-p, special-display-p): Rewrite disabling warnings.
7802         Make obsolete.
7803         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7804         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7805         Make obsolete
7806         (same-window-buffer-names, same-window-regexps)
7807         (special-display-frame-alist, special-display-popup-frame)
7808         (special-display-function, special-display-buffer-names)
7809         (special-display-regexps, pop-up-frame-alist)
7810         (pop-up-frame-function, split-window-preferred-function)
7811         (split-height-threshold, split-width-threshold)
7812         (even-window-heights): Make obsolete.
7814 2011-06-12  Glenn Morris  <rgm@gnu.org>
7816         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
7817         Misc simplifications.
7819 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
7821         * window.el (window-safely-shrinkable-p): Restore function which
7822         was inadvertently removed in change from 2011-06-11.  Declare as
7823         obsolete.
7825         * calendar/calendar.el (calendar-generate-window):
7826         Use window-iso-combined-p instead of combination of one-window-p and
7827         window-safely-shrinkable-p.
7829 2011-06-12  Glenn Morris  <rgm@gnu.org>
7831         * progmodes/fortran.el (fortran-mode-syntax-table):
7832         * progmodes/f90.el (f90-mode-syntax-table):
7833         Set % to punctuation.  (Bug#8820)
7834         (f90-find-tag-default): Remove, no longer needed.
7836 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
7838         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7840 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
7842         * image.el (image-animated-p): Return animation delay in seconds.
7843         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7844         (image-animate-timeout): Remove DELAY argument.  Don't assume
7845         every subimage has the same delay; get it from image-animated-p.
7846         (image-animate): Caller changed.
7848 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
7850         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7851         to ignored backtrace functions.
7853 2011-06-11  Glenn Morris  <rgm@gnu.org>
7855         * calendar/appt.el (appt-disp-window-function): Doc fix.
7856         (appt-check): Handle overlapping appointments.  (Bug#8337)
7858 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
7860         * window.el (window-tree-1, window-tree): New functions, moving
7861         the latter to window.el.
7862         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7863         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7864         (bw-refresh-edges): Remove.
7865         (balance-windows-1, balance-windows-2): New functions.
7866         (balance-windows): Rewrite in terms of window tree functions,
7867         balance-windows-1 and balance-windows-2.
7868         (bw-adjust-window): Remove.
7869         (balance-windows-area-adjust): New function with functionality of
7870         bw-adjust-window but using resize-window.
7871         (set-window-text-height): Rewrite doc-string.
7872         Use normalize-live-window and resize-window.
7873         (enlarge-window-horizontally, shrink-window-horizontally):
7874         Rename argument to DELTA.
7875         (window-buffer-height): New function.
7876         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7877         Rewrite using new window resize routines.
7878         (kill-buffer-and-window, mouse-autoselect-window-select):
7879         Use ignore-errors instead of condition-case.
7880         (quit-window): Call delete-frame instead of delete-windows-on
7881         for the only buffer on frame.
7883 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
7885         * loadup.el (top-level): Load window before files for the sake
7886         of replace-buffer-in-windows.
7888         * files.el (read-buffer-to-switch)
7889         (switch-to-buffer-other-window)
7890         (switch-to-buffer-other-frame, display-buffer-other-frame):
7891         Move to window.el.
7893         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7894         (previous-buffer): Move to window.el.
7896         * bindings.el (unbury-buffer): Move to window.el.
7898         * window.el (delete-other-windows-vertically): Move after
7899         definition of delete-other-windows.
7900         (other-window, delete-windows-on, replace-buffer-in-windows):
7901         Move here from window.c.
7902         (record-window-buffer, unrecord-window-buffer)
7903         (set-window-buffer-start-and-point, switch-to-prev-buffer)
7904         (switch-to-next-buffer): New functions.
7905         (get-next-valid-buffer, last-buffer, next-buffer): Move here
7906         from simple.el.  Call switch-to-next-buffer.
7907         (previous-buffer): Move here from simple.el.
7908         Call switch-to-prev-buffer.
7909         (bury-buffer): Move here from buffer.c.  Switch to previous
7910         buffer when window cannot be deleted.
7911         (unbury-buffer): Move here from bindings.el.
7912         (ctl-x-map): Move binding for other-window from window.c to
7913         here.
7914         (read-buffer-to-switch, switch-to-buffer-other-window)
7915         (switch-to-buffer-other-frame): Move here from files.el.
7916         (normalize-buffer-to-switch-to): New functions.
7917         (switch-to-buffer): Move here from buffer.c.
7918         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
7920 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
7922         * window.el (window-min-height, window-min-width): Move here
7923         from window.c.  Add defcustoms and rewrite doc-strings.
7924         (resize-mini-window, resize-window): New functions.
7925         (adjust-window-trailing-edge, enlarge-window, shrink-window):
7926         Move here from window.c.
7927         (maximize-window, minimize-window): New functions.
7928         (delete-window, delete-other-windows, split-window): Move here
7929         from window.c.
7930         (window-split-min-size): New function.
7931         (split-window-keep-point): Mention split-window-above-each-other
7932         instead of split-window-vertically.
7933         (split-window-above-each-other, split-window-vertically):
7934         Rename split-window-vertically to split-window-above-each-other
7935         and provide defalias for old definition.
7936         (split-window-side-by-side, split-window-horizontally):
7937         Rename split-window-horizontally to split-window-side-by-side
7938         and provide defalias for the old definition.
7939         (ctl-x-map): Move bindings for delete-window,
7940         delete-other-windows and enlarge-window here from window.c.
7941         Replace bindings for split-window-vertically and
7942         split-window-horizontally by bindings for
7943         split-window-above-each-other and split-window-side-by-side.
7945         * cus-start.el (all): Remove entries for window-min-height and
7946         window-min-width.  Add entries for window-splits and
7947         window-nest.
7949 2011-06-09  Glenn Morris  <rgm@gnu.org>
7951         * calendar/appt.el (appt-mode-line): New function.
7952         (appt-check, appt-disp-window): Use it.
7954         * files.el (hack-one-local-variable-eval-safep):
7955         Allow minor-modes with explicit +/-1 arguments.
7957 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
7959         * term/xterm.el (xterm): Add defgroup.
7960         (xterm-extra-capabilities): Add defcustom to supply known xterm
7961         capabilities, skip querying them, or query them (default).
7962         (terminal-init-xterm): Use it.
7963         (terminal-init-xterm-modify-other-keys): New function to set up
7964         modifyOtherKeys support to simplify `terminal-init-xterm'.
7966 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
7968         * window.el (resize-window-reset, resize-window-reset-1)
7969         (resize-subwindows-skip-p, resize-subwindows-normal)
7970         (resize-subwindows, resize-other-windows, resize-this-window)
7971         (resize-root-window, resize-root-window-vertically)
7972         (window-deletable-p, window-or-subwindow-p)
7973         (frame-root-window-p): New functions.
7975 2011-06-09  Glenn Morris  <rgm@gnu.org>
7977         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7978         (ange-ftp-get-files): Use it.
7980 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7982         * mail/sendmail.el (mail-recover-1, mail-recover):
7983         * files.el (recover-file, recover-session):
7984         Handle dired-listing-switches not being just a single short option.
7986 2011-06-09  Glenn Morris  <rgm@gnu.org>
7988         * calendar/appt.el (appt-display-message, appt-disp-window):
7989         Handle lists of appointments.
7991 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
7993         * window.el (one-window-p): Move down in code.
7994         Rewrite doc-string.
7995         (window-current-scroll-bars): Rewrite doc-string.
7996         Normalize live window argument.
7997         (walk-windows, get-window-with-predicate, count-windows):
7998         Rewrite doc-string.  Use window-list-1.
7999         (window-in-direction-2, window-in-direction, get-mru-window):
8000         New functions.
8002 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8004         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8005         Doc fix (Bug#8713).
8007 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8009         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8011 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8013         * loadhist.el (unload-feature-special-hooks):
8014         Add `comint-output-filter-functions'.
8016 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8018         * calendar/appt.el (appt-check): Move some initializations into the let.
8020 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8022         * window.el (window-height): Defalias to window-total-height.
8023         (window-width): Defalias to window-body-width.
8025 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8027         * image-mode.el (image-toggle-animation): New command.
8028         (image-mode-map): Bind it to RET.
8029         (image-mode): Update message.
8030         (image-toggle-display-image): Avoid a spurious cache flush.
8031         (image-transform-rotation): Doc fix.
8032         (image-transform-properties): Return quickly in the normal case.
8033         (image-animate-loop): Rename from image-animate-max-time.
8035         * image.el (image-animate-max-time): Move to image-mode.el.
8036         (create-animated-image): Remove unnecessary function.
8037         (image-animate): Rename from image-animate-start.  New arg.
8038         (image-animate-stop): Remove; just use image-animate-timer.
8039         (image-animate-timer): Use car-safe.
8040         (image-animate-timeout): Rename argument.
8042 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8044         * window.el (get-lru-window, get-largest-window): Move here from
8045         window.c.  Rename first argument to ALL-FRAMES.
8046         Rephrase doc-strings.
8047         (get-buffer-window-list): Rewrite using window-list-1.
8048         Rephrase doc-string.
8049         (window-safe-min-height, window-safe-min-width): New constants.
8050         (window-size-ignore, window-min-size, window-min-size-1)
8051         (window-sizable, window-sizable-p, window-size-fixed-1)
8052         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8053         (window-max-delta-1, window-max-delta, window-resizable)
8054         (window-resizable-p, window-total-height, window-total-width)
8055         (window-body-width): New functions.
8056         (window-full-height-p, window-full-width-p): Rewrite using
8057         window-total-size.
8058         (window-body-height): Rewrite using window-body-size.
8060 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8062         * window.el (window-right, window-left, window-child)
8063         (window-child-count, window-last-child, window-any-p)
8064         (normalize-live-buffer, normalize-live-frame)
8065         (normalize-any-window, normalize-live-window)
8066         (window-iso-combination-p, window-iso-combined-p)
8067         (window-iso-combinations)
8068         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8069         (windows-with-parameter, window-with-parameter)
8070         (window-atom-root, make-window-atom, window-atom-check-1)
8071         (window-atom-check, window-side-check, window-check):
8072         New functions.
8073         (ignore-window-parameters, window-sides, window-sides-vertical)
8074         (window-sides-slots): New variables.
8075         (window-size-fixed): Move down in code.  Minor doc-string fix.
8077 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8079         * comint.el (comint-dynamic-complete-as-filename)
8080         (comint-dynamic-complete-filename): Correctly call
8081         completion-in-region.
8083 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8085         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8086         in last change.
8088 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8090         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8091         (rcirc): Use it to prompt for encryption.
8093 2011-06-05  Roland Winkler  <winkler@gnu.org>
8095         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8096         (bibtex-search-entries): New command bound to C-c C-a.
8097         (bibtex-display-entries): New function.
8099 2011-06-05  Roland Winkler  <winkler@gnu.org>
8101         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8102         (bibtex-insert-kill): After yanking insert newline if necessary.
8103         (bibtex-initialize): Call bibtex-string-files-init only once.
8104         (bibtex-mode): Do not call easy-menu-add.
8105         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8106         (bibtex-yank): Set arg properly if nil.
8108 2011-06-05  Roland Winkler  <winkler@gnu.org>
8110         * textmodes/bibtex.el (bibtex-search-entry-globally):
8111         New variable.
8112         (bibtex-search-entry): Use it.
8114 2011-06-05  Roland Winkler  <winkler@gnu.org>
8116         * textmodes/bibtex.el (bibtex-entry-format): New option
8117         sort-fields.
8118         (bibtex-format-entry, bibtex-reformat): Honor this option.
8119         (bibtex-parse-entry): Return fields in proper order.
8121 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8123         * doc-view.el (doc-view-remove-if): Move computation of result out
8124         of `dolist' to silence misleading lexical-binding warning.
8126 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8128         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8129         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8131 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8133         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8134         "SunOS 5.10".
8136 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8138         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8139         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8140         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8141         (tramp-parse-putty):
8142         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8143         (tramp-completion-function-alist-ssh)
8144         (tramp-completion-function-alist-telnet)
8145         (tramp-completion-function-alist-su)
8146         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8147         cookie.
8149         * net/tramp-ftp.el:
8150         * net/tramp-sh.el:
8151         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8152         load "tramp.el" `tramp-set-completion-function'.
8154 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8156         * shell.el: Require and use pcomplete.
8157         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8158         (shell-completion-vars): Set pcomplete-default-completion-function.
8160 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8162         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8163         `memq' (Bug#8799).
8165 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8167         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8169 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8171         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8172         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8173         * vc/log-view.el (log-view-beginning-of-defun):
8174         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8175         (smerge-refine-forward, smerge-refine-chopup-region):
8176         Silence warning for unused `dotimes' counter variables.
8178 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8180         * net/tramp.el (tramp-with-progress-reporter): Rename from
8181         with-progress-reporter.  Use `declare'.
8182         * net/tramp-smb.el:
8183         * net/tramp-sh.el:
8184         * net/tramp-gvfs.el: Update all uses.
8186 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8188         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8189         buffer isn't killed before making it current.
8191 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8193         Silence various byte-compiler warnings.
8194         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8195         `access-type' and new obsolescence format.
8196         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8197         new format.
8198         (byte-compile-check-variable): New `access-type' argument.
8199         Only warn if the access-type is obsolete.
8200         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8201         (byte-compile-variable-set): Adjust callers.
8202         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8203         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8204         setting it as obsolete.
8205         * simple.el (minibuffer-completing-symbol):
8206         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8207         access as obsolete.
8208         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8209         obsolete yet.
8210         * international/quail.el (quail-mouse-choose-completion): Remove unused
8211         code referring to obsolete var.
8212         (quail-choose-completion-string): Remove.
8213         * server.el (server-clients-with, server-kill-buffer-query-function)
8214         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8215         * proced.el (proced-send-signal):
8216         * emacs-lisp/lisp.el (lisp-complete-symbol):
8217         Replace completion-annotate-function with completion-extra-properties.
8219 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * simple.el (goto-line): Use read-number.
8222         (overriding-map-is-bound): Remove.
8223         (saved-overriding-map): Change default.
8224         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8225         Take the map as argument.
8226         (universal-argument, negative-argument, digit-argument): Use it.
8227         (restore-overriding-map): Adjust.
8228         (do-auto-fill): Use fill-forward-paragraph.
8229         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8231         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8232         (minibuffer-inactive-mode): New major mode.
8233         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8234         the *Messages* buffer" hack.
8235         (mouse-popup-menubar): Don't burp if the event is a normal key.
8237         Miscellaneous tweaks.
8238         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8239         lexical scoping as in subr.el's dolist and dotimes.
8240         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8241         Silence compiler warning.
8242         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8243         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8244         * international/ccl.el (ccl-compile): Trivial simplification.
8245         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8246         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8247         `printflag' argument.
8248         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8249         Purecopy the whole obsolescence data.
8251 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8253         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8254         improve doc-string as suggested by Marco Pessotto
8255         <melmothx@gmail.com>.
8256         (rcirc-print): Fix last change.
8258 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8260         * minibuffer.el (complete-with-action): Return nil for the metadata and
8261         boundaries of non-functional tables.
8262         (completion-table-dynamic): Return nil for the metadata.
8263         (completion-table-with-terminator): Add default case, using
8264         complete-with-action.
8265         (completion--metadata): New function.
8266         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8267         to try and avoid pathological performance problems.
8268         (completion--embedded-envvar-table): Return `category' metadata.
8270 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8272         * subr.el (process-alive-p): New tiny convenience function.
8274 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8276         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8277         content but also its previous major mode.
8279 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8281         * emacs-lisp/debug.el (debug): Restore the previous content of the
8282         *Backtrace* buffer when we exit with C-M-c.
8284 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8286         * minibuffer.el: Add metadata method to completion tables.
8287         (completion-category-overrides): New defcustom.
8288         (completion-metadata, completion--field-metadata)
8289         (completion-metadata-get, completion--styles)
8290         (completion--cycle-threshold): New functions.
8291         (completion-try-completion, completion-all-completions):
8292         Add `metadata' argument to choose completion-styles.
8293         (completion--do-completion): Use metadata to choose cycling.
8294         (completion-all-sorted-completions): Use metadata for sorting.
8295         Remove :completion-cycle-penalty which is not needed any more.
8296         (completion--try-word-completion): Add `metadata' argument.
8297         (minibuffer-completion-help): Check metadata for annotation function
8298         and sorting.
8299         (completion-file-name-table): Return `category' metadata.
8300         (minibuffer-completing-file-name): Make obsolete.
8301         * simple.el (minibuffer-completing-symbol): Make obsolete.
8302         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8303         completion-try-completion.
8305 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8307         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8309 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8311         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8312         (rcirc-print): Decode all incoming messages (bug#8744).
8313         (rcirc-decode-coding-system): Allow value nil for automatic coding
8314         system detection.
8316 2011-06-01  Glenn Morris  <rgm@gnu.org>
8318         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8320 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8322         * image.el (image-animate-max-time): Allow nil and t values.
8323         Default to nil.
8324         (create-animated-image): Doc fix.
8325         (image-animate-start): Remove second arg; just use
8326         image-animate-max-time.
8327         (image-animate-timeout): Doc fix.  Args changed.
8329         * image-mode.el (image-toggle-display-image): Ensure that the
8330         image spec passed to the animate timer is the same object as in
8331         the buffer's display property (Bug#6981).
8332         (image-transform-properties): Doc fix.
8334         * image.el (image-animate-max-time): Default to nil.
8336 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8338         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8339         entire buffer list (Bug#8184).
8341 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8343         * image.el (imagemagick-types-inhibit)
8344         (imagemagick-register-types): Doc fix.
8346 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8348         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8349         default.
8351 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8353         * select.el: Don't perform clipboard-manager saving in hooks;
8354         leave the hooks empty.
8356 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8358         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8359         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8360         (occur-edit-mode): New major mode (Bug#8463).
8361         (occur-after-change-function): New function.
8362         (occur-engine): Give Occur tags a read-only property.
8364 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8366         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8368 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8370         * bindings.el (help-echo): Make the initial non-indicator dash
8371         empty on graphical terminals (Bug#7295).
8373         * files.el (auto-mode-alist): Move config rule after the
8374         in-stripping one (Bug#8547).
8376         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8378         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8379         setting (Bug#8740).
8381 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8383         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8384         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8385         (Bug#8539).
8387 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8389         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8391 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8393         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8394         (hs-hide-block-at-point, hs-find-block-beginning)
8395         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8396         (Bug#8279).
8398 2011-05-28  Glenn Morris  <rgm@gnu.org>
8400         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8402 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8404         * help-fns.el (describe-function-1): If the function is a derived
8405         major mode, print the parent mode.
8407         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8408         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8410 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8412         * minibuffer.el (completion--capf-wrapper): Check applicability before
8413         returning non-nil for non-exclusive completion data.
8414         * progmodes/etags.el (tags-completion-at-point-function):
8415         * info-look.el (info-lookup-completions-at-point): Mark as
8416         non-exclusive.
8417         (info-complete): Adjust accordingly.
8419         * info-look.el: Convert to lexical-binding and completion-at-point.
8420         (info-lookup-completions-at-point): New function.
8421         (info-complete): Use it and completion-in-region.
8423 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8425         * isearch.el: Let M-e start with point at the first mismatched char.
8426         (isearch-fail-pos): New function.
8427         (isearch-edit-string): Use it.
8429 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8431         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8433 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8435         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8436         traversal functions for avl-trees.
8437         (avl-tree--stack): New struct.
8438         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8439         (avl-tree-enter): Add optional `updatefun' arg.
8440         (avl-tree--do-enter): Add optional `updatefun' arg.
8441         Change return value.
8442         (avl-tree-delete): Add optional `test' and `nilflag' args.
8443         (avl-tree--do-delete): Add `test' and `nilflag' args.
8444         Change return value.
8445         (avl-tree-member): Add optional `nilflag'
8446         (avl-tree-member-p): New function.
8447         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8448         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8449         (avl-tree-stack-empty-p): New functions.
8451         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8452         avl-tree--del-balance1 and make it work both ways.
8453         (avl-tree--del-balance2): Remove.
8454         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8455         make it work both ways.
8456         (avl-tree--enter-balance2): Remove.
8457         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8458         New macros.
8459         (avl-tree--mapc, avl-tree-map): Add direction argument.
8461 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
8463         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8465 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
8467         * select.el: Support clipboard managers with built-in function
8468         x-clipboard-manager-save, via delete-frame-functions and
8469         kill-emacs-hook.
8470         (xselect-convert-to-targets): Add MULTIPLE target to list.
8471         (xselect-convert-to-save-targets): New function.
8473 2011-05-27  Kenichi Handa  <handa@m17n.org>
8475         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8476         let-binding rfc2047-encode-encoded-words to nil.
8478 2011-05-27  Glenn Morris  <rgm@gnu.org>
8480         * mail/emacsbug.el: Don't require url-util.
8482         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
8484         * files.el (set-auto-mode):
8485         Also respect mode: entries at the end of the file.  (Bug#8586)
8487 2011-05-26  Glenn Morris  <rgm@gnu.org>
8489         * files.el (hack-local-variables-prop-line, hack-local-variables):
8490         Downcase mode names, as seems to be traditional.
8491         (hack-local-variables, hack-local-variables-apply): Doc fixes.
8493         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8494         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
8496 2011-05-25  Julien Danjou  <julien@danjou.info>
8498         * textmodes/rst.el (rst-define-level-faces): Do not define face
8499         symbol if it is already defined.
8501 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8503         * play/5x5.el (5x5-new-game, 5x5-randomize):
8504         Reset 5x5-solver-output to nil when a new grid is cast.
8505         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8506         these debugging traces, as defmacro breaks the compiled code.
8508 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8510         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8512 2011-05-24  Leo Liu  <sdl.web@gmail.com>
8514         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8515         (vc-bzr-sha1): Adapt.
8517         * sha1.el: Remove.  Function `sha1' is now builtin.
8519         * bindings.el: Provide sha1 feature.
8521 2011-05-24  Kenichi Handa  <handa@m17n.org>
8523         * mail/sendmail.el: Require `rfc2047'.
8524         (mail-insert-from-field): Do not perform RFC2047 encoding.
8525         (mail-encode-header): New function.
8526         (sendmail-send-it): Set buffer-file-coding-system of the work
8527         buffer to the return value of select-message-coding-system.
8528         Call mail-encode-header.
8530         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8532 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
8534         * mail/supercite.el (sc-default-cite-frame):
8535         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8537 2011-05-24  Glenn Morris  <rgm@gnu.org>
8539         * progmodes/python.el (brm-menu): Declare.
8541         * emulation/viper.el (viper-set-hooks): Declare.
8543         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8544         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8545         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8546         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8547         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8548         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8550 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8552         Add an :exit-function for completion-at-point.
8554         * minibuffer.el (completion--done): New fun.
8555         (completion--do-completion): Use it.  New arg `expect-exact'.
8556         (minibuffer-complete, minibuffer-complete-word): Don't output message,
8557         since completion--do-completion does it for us now.
8558         (minibuffer-force-complete): Use completion--done and
8559         completion--replace.  Handle sole-completion case with more care.
8560         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8561         (completion-extra-properties): New var.
8562         (completion-annotate-function): Make obsolete.
8563         (minibuffer-completion-help): Adjust accordingly.
8564         Use completion-list-insert-choice-function.
8565         (completion-at-point, completion-help-at-point):
8566         Bind completion-extra-properties.
8567         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8568         * simple.el (completion-list-insert-choice-function): New var.
8569         (completion-setup-function): Preserve it.
8570         (choose-completion): Pay attention to it, shuffle the code a bit.
8571         (choose-completion-string): New arg `insert-function'.
8573         * textmodes/bibtex.el: Convert to lexical binding.
8574         (bibtex-mode-map): Use completion-at-point.
8575         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8576         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8577         (bibtex-complete): Define as obsolete alias.
8578         (bibtex-complete-internal): Remove.
8579         (bibtex-format-entry): Remove unused sub-group in regexp.
8580         * shell.el (shell--command-completion-data)
8581         (shell-environment-variable-completion):
8582         * pcomplete.el (pcomplete-completions-at-point):
8583         * comint.el (comint--complete-file-name-data): Use :exit-function
8584         instead of completion-table-with-terminator so it also works for
8585         choose-completion.
8587 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8589         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8591         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8592         (bug#8710).
8594         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8596 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
8598         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8599         customization variable and implement: If non-nil, auto-fill will
8600         be inhibited while on topic's header line.
8602 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8604         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8605         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
8606         always have a solution in grid size = 5 cases.
8607         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8608         (5x5-solver-output, 5x5-log-buffer): New vars.
8609         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8610         Make these variables buffer local to achieve 5x5 multi-session-ness.
8611         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8612         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8613         (5x5-solve-suggest): New funs.
8614         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8615         randomize a grid so that we ensure that there is always a solution.
8616         (5x5-make-random-grid): Allow other movement than flipping.
8618 2011-05-23  Kevin Ryde  <user42@zip.com.au>
8620         * emacs-lisp/advice.el (ad-read-advised-function):
8621         Use `function-called-at-point' as the default, if it has
8622         advice and passes PREDICATE.
8624 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8626         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8627         byte-compile-lambda if it's actually a lambda.
8629         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8630         Fix function quoting.  Use backquote better.
8632 2011-05-22  Yuanle Song  <sylecn@gmail.com>
8634         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8635         matching (Bug#8516).
8637 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
8639         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8640         different face (Bug#8178).
8642 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
8644         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8645         defface (Bug#8144).
8647 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8649         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8650         funcall as well (bug#8712).  Warn when performing those conversions.
8651         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8653         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8655 2011-05-22  Glenn Morris  <rgm@gnu.org>
8657         * files.el (hack-local-variables-prop-line): Small simplifications.
8658         (hack-local-variables, hack-local-variables-prop-line):
8659         If MODE-ONLY, return the mode, rather than just `t'.
8661 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8665 2011-05-21  Glenn Morris  <rgm@gnu.org>
8667         * files.el (hack-local-variables-prop-line, hack-local-variables):
8668         If only interested in the mode, don't bother doing the other stuff.
8670         * image-mode.el (image-after-revert-hook):
8671         Redraw all frames on which the image is visible.  (Bug#8567)
8673         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
8675         * wid-edit.el (widget-checklist-match-inline):
8676         Fix 2011-04-19 change.  (Bug#8649)
8678 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8680         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8681         Also allow singlespace after single-letter capitals followed by a dot.
8683         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8684         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8686 2011-05-20  Nix  <nix@esperi.org.uk>
8688         * files.el (basic-save-buffer-2):
8689         Fix handling of break-hardlink-on-save with non-existent files.
8691 2011-05-19  Deniz Dogan  <deniz@dogan.se>
8693         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8694         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8696 2011-05-19  Glenn Morris  <rgm@gnu.org>
8698         * progmodes/f90.el (f90-type-def-re):
8699         Handle "type, bind(c)".  (Bug#8691)
8701         * emacs-lisp/autoload.el (batch-update-autoloads):
8702         Set autoload-excludes by parsing loadup.el rather than Makefiles.
8704 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
8706         * net/tramp.el (tramp-process-actions): Set "first-password-request"
8707         property for the correct connection in case of multihops.
8709 2011-05-18  Glenn Morris  <rgm@gnu.org>
8711         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
8712         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8714         Rationalize calendar handling of day and month abbrev-arrays.
8715         * calendar/calendar.el (calendar-customized-p): New function.
8716         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8717         (calendar-day-name-array, calendar-month-name-array): Doc fix.
8718         Add :set function.
8719         (calendar-abbrev-length, calendar-day-abbrev-array)
8720         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8721         (calendar-day-abbrev-array, calendar-month-abbrev-array):
8722         Elements may no longer be nil.
8723         (calendar-day-name, calendar-month-name):
8724         Update for changed nature of abbrev arrays.
8725         * calendar/diary-lib.el (diary-name-pattern):
8726         Update for changed nature of abbrev arrays.
8727         (diary-mark-entries-1): Update calendar-make-alist calls.
8728         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8729         * calendar/cal-html.el (cal-html-day-abbrev-array):
8730         Simply inherit from calendar-day-abbrev-array.
8732 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8734         * progmodes/grep.el (grep-mode): Disable default
8735         compilation-directory-matcher setting (bug#8684).
8737 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
8739         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8740         instead of "head" and "tail".  There were problems with SunOS 5.9,
8741         and it performs better.
8743 2011-05-17  Glenn Morris  <rgm@gnu.org>
8745         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8747         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8748         Replace obsolete function.
8750         * shell.el (pcomplete-parse-arguments-function): Declare.
8752         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8753         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8754         (appt-check): Doc fixes.
8755         (appt-disp-window-function, appt-delete-window-function):
8756         Remove needless special case in custom :type.
8757         (appt-display-count): Default to 0, not nil.
8758         (appt-check): Reset appt-display-count to 0, not nil.
8760 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
8762         * progmodes/python.el (python-font-lock-keywords):
8763         Add the Python 3.X keyword "nonlocal" (bug#8639).
8765 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8767         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8769 2011-05-16  Kevin Ryde  <user42@zip.com.au>
8771         * info-look.el (makefile-automake-mode): New setups, looking in
8772         automake manual, then makefile-mode.
8773         (makefile-mode): Remove automake manual, have it just in
8774         makefile-automake-mode since there's various things different or
8775         not relevant to plain make.
8776         (makefile-mode): Remove "other-modes" non-existent automake-mode,
8777         believe a hypothetical automake-mode would go to makefile-mode,
8778         not the other way around.
8780 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
8782         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8783         hunk-end tags (Bug#8672).
8785         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8786         vc-annotate-show-diff-revision-at-line (Bug#8671).
8788 2011-05-14  Glenn Morris  <rgm@gnu.org>
8790         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8791         in the middle of an existing one with multiple authors.  (Bug#8645)
8792         (change-log-font-lock-keywords): Also handle multiple author lines
8793         with leading tabs.  (Bug#8644)
8795         * calendar/appt.el (appt-check): Rename some local variables.
8796         Some simplification/reordering.
8798         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8799         (feedmail-sendmail-f-doesnt-sell-me-out)
8800         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8801         (feedmail-debug-sit-for, feedmail-queue-express-hook)
8802         (feedmail-queue-runner-message-sender): Set :version.
8803         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8804         (bbdb-dwim-net-address, vm-mail): Declare.
8805         (feedmail-binmail-gnulinuxish-template):
8806         Rename from feedmail-binmail-linuxish-template.
8807         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8808         Use insert-buffer-substring.
8810 2011-05-14  Bill Carpenter  <bill@carpenter.org>
8812         * mail/feedmail.el (feedmail-patch-level): Increase.
8813         (feedmail-debug): New custom group.
8814         (feedmail-confirm-outgoing-timeout)
8815         (feedmail-sendmail-f-doesnt-sell-me-out)
8816         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8817         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8818         (feedmail-sender-line, feedmail-from-line)
8819         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
8820         (feedmail-spray-this-address)
8821         (feedmail-spray-address-fiddle-plex-list)
8822         (feedmail-queue-use-send-time-for-date)
8823         (feedmail-queue-use-send-time-for-message-id)
8824         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8825         (feedmail-buffer-eating-function):
8826         Doc fixes.
8827         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8828         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8829         (feedmail-message-action-scroll-down): New functions.
8830         (feedmail-queue-directory, feedmail-queue-draft-directory):
8831         Use expand-file-name.
8832         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8833         Remove C-v help entry.
8834         (feedmail-queue-buffer-file-name): New variable.
8835         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8836         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8837         (feedmail-message-action-send-strong, feedmail-message-action-edit)
8838         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8839         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8840         (feedmail-message-action-toggle-spray)
8841         (feedmail-run-the-queue-no-prompts)
8842         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8843         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8844         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8845         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8846         (feedmail-envelope-deducer, feedmail-fiddle-from)
8847         (feedmail-fiddle-sender, feedmail-default-date-generator)
8848         (feedmail-fiddle-date, feedmail-fiddle-message-id)
8849         (feedmail-fiddle-spray-address)
8850         (feedmail-fiddle-list-of-spray-fiddle-plexes)
8851         (feedmail-fiddle-list-of-fiddle-plexes)
8852         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8853         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8854         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8855         Change default.  Doc fix.
8856         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8857         (feedmail-binmail-linuxish-template): New constant.
8858         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
8859         Respect feedmail-sendmail-f-doesnt-sell-me-out.
8860         (feedmail-send-it): Add debug call.
8861         Use feedmail-queue-buffer-file-name, and
8862         feedmail-send-it-immediately-wrapper.
8863         (feedmail-message-action-send): Add debug call.
8864         Use feedmail-send-it-immediately-wrapper.
8865         (feedmail-queue-express-to-queue): Add debug call.
8866         Run feedmail-queue-express-hook.
8867         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
8868         (feedmail-message-action-help-blat):
8869         Rename from feedmail-queue-send-edit-prompt-help-first.
8870         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
8871         Check line-endings.  Handle errors better.
8872         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8873         Doc fix.  Add debug call.
8874         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
8875         Use feedmail-queue-send-edit-prompt-inner.
8876         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8877         (feedmail-queue-send-edit-prompt-inner): New function, extracted
8878         from feedmail-queue-send-edit-prompt.
8879         (feedmail-queue-send-edit-prompt-help)
8880         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8881         (feedmail-tidy-up-slug): Add debug call.
8882         Respect feedmail-queue-slug-suspect-regexp.
8883         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8884         (feedmail-dump-message-to-queue): Add debug call.
8885         Expand queue-directory.
8886         (feedmail-dump-message-to-queue): Change message slightly.
8887         Use feedmail-say-chatter.
8888         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
8889         (feedmail-send-it-immediately-wrapper): New function.
8890         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
8891         Insert empty string rather than newline.  Handle full-frame case.
8892         Use catch/throw.  Use feedmail-say-chatter.
8893         (feedmail-fiddle-from): Try mail-host-address.
8894         (feedmail-default-message-id-generator): Doc fix.
8895         Bind system-time-locale.  Handle missing end.
8896         (feedmail-fiddle-x-mailer): Add debug call.
8897         Handle feedmail-x-mailer-line being nil.
8898         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8899         Add debug call.  Use buffer-substring-no-properties.
8900         (feedmail-say-debug, feedmail-say-chatter): New functions.
8901         (feedmail-find-eoh): Give an explicit error.
8903 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
8905         * net/newst-treeview.el (newsticker-treeview-face): Change default
8906         family from helvetica to sans.
8907         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
8908         etc/images/newsticker.
8910         * net/newst-reader.el (newsticker-feed-face): Change default
8911         family from helvetica to sans.
8913         * net/newst-plainview.el (newsticker-new-item-face)
8914         (newsticker-old-item-face, newsticker-immortal-item-face)
8915         (newsticker-obsolete-item-face, newsticker-date-face)
8916         (newsticker-statistics-face): Change default family from
8917         helvetica to sans.
8918         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
8919         etc/images/newsticker.
8921         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8922         (newsticker--process-auto-mark-filter-match): : Tell user about
8923         auto-marking.
8925 2011-05-13  Didier Verna  <didier@xemacs.org>
8927         Common Lisp indentation improvements on defmethod and lambda-lists.
8928         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8929         TODO entries.
8930         (lisp-lambda-list-keyword-parameter-indentation)
8931         (lisp-lambda-list-keyword-parameter-alignment)
8932         (lisp-lambda-list-keyword-alignment): New customizable user options.
8933         (lisp-indent-defun-method): Improve docstring.
8934         (extended-loop-p): Fix comment.
8935         (lisp-indent-lambda-list-keywords-regexp): New variable.
8936         (lisp-indent-lambda-list): New function.
8937         (lisp-indent-259): Use it.
8938         (lisp-indent-defmethod): Support for more than one
8939         method qualifier and properly indent methods lambda-lists.
8940         (defgeneric): Provide a missing common-lisp-indent-function property.
8942 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8944         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8945         bounds for the empty string (bug#8667).
8947 2011-05-13  Glenn Morris  <rgm@gnu.org>
8949         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8951         * mail/sendmail.el (sendmail-program): Try executable-find first.
8952         (sendmail-send-it): `sendmail-program' cannot be unbound.
8954         * calendar/appt.el (appt-make-list): Simplify.
8955         (appt-time-msg-list): Doc fix.
8956         (appt-check): Change mode-line message at the time of the appointment.
8958 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
8960         * progmodes/ld-script.el (ld-script-keywords)
8961         (ld-script-builtins): Update keywords list.
8963 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8965         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8967         * shell.el (shell-completion-vars): New function.
8968         (shell-mode):
8969         * simple.el (read-shell-command): Use it.
8970         (blink-matching-open): No need for " [...]" in minibuffer-message.
8972 2011-05-12  Glenn Morris  <rgm@gnu.org>
8974         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8975         (appt-check): Simplify.
8977 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
8979         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
8980         literal "/dev/null".
8982 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8984         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8985         Fix typo.
8987 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
8989         * progmodes/which-func.el (which-function):
8990         Use add-log-current-defun instead of add-log-current-defun-function,
8991         which might not be defined (Bug#8260).
8993 2011-05-12  Glenn Morris  <rgm@gnu.org>
8995         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8996         Let byte-compile-initial-macro-environment always take precedence.
8998 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9000         * net/rcirc.el: Add support for SSL/TLS connections.
9001         (rcirc-server-alist): New field `encryption'.
9002         (rcirc): Check `encryption' settings.
9003         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9004         Merge make-local-variable into `set'.
9005         (rcirc--connection-open-p): New function.
9006         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9007         the process is not a network process (e.g. running gnutls-cli).
9008         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9009         Make rcirc-(en|de)code-coding-system local here.
9010         (rcirc-mode): Merge make-local-variable into `set'.
9011         (rcirc-parent-buffer): Make permanent buffer-local.
9012         (rcirc-multiline-minor-mode): Don't do it here.
9013         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9014         there's no server buffer.
9016 2011-05-11  Glenn Morris  <rgm@gnu.org>
9018         * newcomment.el (comment-kill): Prefix "unused" local.
9020         * term/w32console.el (get-screen-color): Declare.
9022         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9023         Handle symbol elements of byte-compile-initial-macro-environment.
9025 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9027         * bookmark.el (bookmark-bmenu-mode-map):
9028         Bind bookmark-bmenu-search to `/'.
9030         * mail/footnote.el: Convert to utf-8 encoding.
9031         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9032         (Footnote-unicode): New function.
9033         (footnote-style-alist): Add unicode style to the list.
9034         (footnote-style): Doc fix.
9036 2011-05-10  Jim Meyering  <meyering@redhat.com>
9038         Fix doubled-word typos.
9039         * international/quail.el (quail-insert-kbd-layout): and and -> and
9040         * kermit.el: and and -> and
9041         * net/ldap.el (ldap-search-internal): to to -> to
9042         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9043         * progmodes/js.el (js-mode): and and -> and
9044         * textmodes/artist.el (artist-move-to-xy): at at -> at
9045         (artist-draw-region-trim-line-endings): if if -> if
9046         And Safetyc -> Safety.
9047         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9049 2011-05-10  Glenn Morris  <rgm@gnu.org>
9050             Stefan Monnier  <monnier@iro.umontreal.ca>
9052         * files.el (hack-one-local-variable-eval-safep):
9053         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9055 2011-05-10  Glenn Morris  <rgm@gnu.org>
9057         * calendar/diary-lib.el (diary-list-entries-hook)
9058         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9059         (diary-nongregorian-marking-hook, diary-list-entries)
9060         (diary-include-other-diary-files, diary-mark-entries)
9061         (diary-mark-included-diary-files): Doc fixes.
9063 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9065         * misc.el: Require tabulated-list.el during compilation.
9067 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9069         * progmodes/compile.el (compilation-start):
9070         Run compilation-filter-hook for the async case too.
9071         (compilation-filter-hook): Doc fix.
9073 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9075         * wdired.el: Remove outdated installation comment.  Fix usage
9076         comment.
9078 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9080         * misc.el: Implement new command `list-dynamic-libraries'.
9081         (list-dynamic-libraries--loaded-only-p): New variable.
9082         (list-dynamic-libraries--refresh): New function.
9083         (list-dynamic-libraries): New command.
9085 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9087         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9088         Fix the ant regexp to handle end-line and end-column info from jikes.
9089         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9090         higher priority to avoid clobbering by gnu.
9092 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9094         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9095         if the face has existing theme settings (Bug#8454).
9097 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9099         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9100         Only match variables declared via `my' or `our' (Bug#8261).
9102         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9103         special file names `.' and `..' (Bug#8259).
9105 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9107         * progmodes/grep.el (grep-mode-font-lock-keywords):
9108         Remove buffer-changing entries.
9109         (grep-filter): New function.
9110         (grep-mode): Add it to compilation-filter-hook.
9112         * progmodes/compile.el (compilation-filter-hook)
9113         (compilation-filter-start): New defvars.
9114         (compilation-filter): Call compilation-filter-hook prior to
9115         updating the process mark.
9117 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9119         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9121 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9123         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9124         mailclient-send-it even if window-system is nil.  (Bug#8595)
9126         * term/w32console.el (terminal-init-w32console):
9127         Call get-screen-color and use its output to set the frame
9128         background-mode.  (Bug#8597)
9130 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9132         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9133         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9134         New functions.
9135         (defgeneric, eieio--defmethod): Use them.
9136         (eieio-defgeneric): Remove.
9137         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9139 2011-05-07  Glenn Morris  <rgm@gnu.org>
9141         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9142         Use let rather than let*.
9143         (timeclock-find-discrep): Remove unused local.
9145         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9147         * calendar/appt.el (appt-time-msg-list): Doc fix.
9149 2011-05-06  Noah Friedman  <friedman@splode.com>
9151         * apropos.el (apropos-print-doc): Only use
9152         emacs-lisp-docstring-fill-column when it is bound to an integer,
9153         per that variable's documentation.
9155 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9157         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9158         and warnings are not silently discarded (e.g. use -d instead of -P).
9160 2011-05-06  Glenn Morris  <rgm@gnu.org>
9162         * calendar/appt.el (appt-message-warning-time): Doc fix.
9163         (appt-warning-time-regexp): New option.
9164         (appt-make-list): Respect appt-message-warning-time.
9166         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9167         New options.
9168         (diary-add-to-list): Strip comments from the displayed string.
9169         (diary-mode): Set comment-start and comment-end.
9171         * vc/diff-mode.el (smerge-refine-subst): Declare.
9172         (diff-refine-hunk): Don't require smerge-mode when compiling.
9174 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9176         * simple.el (list-processes): Return nil as the docstring says.
9178 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9180         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9181         to "".
9182         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9183         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9184         determining of binary transfer.  (Bug#7383)
9186 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9188         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9189         Fix port computation bug.  (Bug#8618)
9191 2011-05-05  Glenn Morris  <rgm@gnu.org>
9193         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9195         * simple.el (shell-dynamic-complete-functions)
9196         (comint-dynamic-complete-functions): Declare.
9198         * net/network-stream.el (gnutls-negotiate):
9199         * simple.el (tabulated-list-print): Fix declarations.
9201         * progmodes/gud.el (syntax-symbol, syntax-point):
9202         Remove unnecessary and incorrect declarations.
9204         * emacs-lisp/check-declare.el (check-declare-scan):
9205         Handle byte-compile-initial-macro-environment in bytecomp.el
9207 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9209         Fix earlier half-done eieio-defmethod change (bug#8338).
9210         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9211         Streamline and change calling convention.
9212         (defmethod): Adjust accordingly and simplify.
9213         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9214         new eieio--defmethod.
9215         (slot-boundp): Minor CSE simplification.
9217 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9219         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9220         (glasses-make-readable): Use glasses-separate-capital-groups.
9222 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9224         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9225         (warning-series): Doc fix.
9226         (display-warning): Don't try to create the buffer if we just found it.
9228 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9230         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9231         (autoload-find-generated-file): New function.
9232         (generate-file-autoloads): Bind generated-autoload-file to
9233         buffer-file-name.
9234         (update-file-autoloads, update-directory-autoloads):
9235         Use autoload-find-generated-file.  If called interactively, prompt for
9236         output file (Bug#7989).
9237         (batch-update-autoloads): Doc fix.
9239 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9241         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9243 2011-05-04  Glenn Morris  <rgm@gnu.org>
9245         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9246         function, so it follows changes in calendar-date-style.
9247         (diary-fancy-date-matcher): New function.
9248         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9249         (diary-fancy-font-lock-fontify-region-function):
9250         Use diary-fancy-date-pattern as a function.
9252         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9253         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9255 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9257         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9258         instead of positional arguments.  Allow :keylist and :crlfiles
9259         arguments.
9260         (open-gnutls-stream): Call it.
9262         * net/network-stream.el (network-stream-open-starttls): Adjust to
9263         call `gnutls-negotiate' with :process and :hostname arguments.
9265 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9267         * minibuffer.el (completion--message): New function.
9268         (completion--do-completion, minibuffer-complete)
9269         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9270         (completion--do-completion): Don't ignore completion-auto-help when in
9271         icomplete-mode.
9273         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9274         internal encoding (e.g. tibetan zero is not whitespace).
9275         (global-whitespace-mode): Prefer save-current-buffer.
9276         (whitespace-trailing-regexp): Remove useless save-match-data.
9277         (whitespace-empty-at-bob-regexp): Minor simplification.
9279 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9281         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9283 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9285         * textmodes/ispell.el (ispell-add-per-file-word-list):
9286         Use `concat' to create string for insertion.
9288 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9290         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9291         Avoid open-line which runs post-self-insert-hook.
9292         (bibtex-fill-entry): Remove unused `end' var.
9294 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9296         * textmodes/ispell.el (ispell-add-per-file-word-list):
9297         Protect against `nil' value of `comment-start' (Bug#8579).
9299 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9301         * isearch.el (isearch-yank-pop): New command.
9302         (isearch-mode-map): Bind it to `M-y'.
9303         (isearch-forward): Mention it.
9305 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9307         * simple.el (minibuffer-complete-shell-command): Remove.
9308         (minibuffer-local-shell-command-map): Use completion-at-point.
9309         (read-shell-command): Setup completion vars here instead.
9310         (read-expression-map): Bind TAB to symbol completion.
9312         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9313         error directly rather via storing it into `results'.
9315 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9317         * vc/diff.el: Fix description.
9319 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9321         * server.el (server-eval-at): New function.
9323 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9325         * net/network-stream.el (open-network-stream): Take a :nowait
9326         parameter and pass it on to `make-network-process'.
9327         (network-stream-open-plain): Ditto.
9329 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9331         * faces.el (face-spec-set-match-display): Don't match toolkit
9332         options on terminal frames.
9334 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9336         * progmodes/pascal.el: Use lexical binding.
9337         (pascal-mode-map): Remove author preferences.
9339         * pcomplete.el (pcomplete-std-complete): Don't abuse
9340         completion-at-point.
9342 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9344         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9345         removing code that has been dead since 1991 or so.
9347         * startup.el (command-line): When warning about "_emacs", use a
9348         delayed warning to allow the user to filter it out.
9350 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9352         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9353         user has not joined.
9355 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9357         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9358         aren't any completions at point.
9360 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9362         * subr.el (display-delayed-warnings): New function.
9363         (delayed-warnings-hook): New variable.
9365 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9367         * minibuffer.el (completion-at-point, completion-help-at-point):
9368         Don't presume that a given completion-at-point-function will always
9369         use the same calling convention.
9371         * pcomplete.el (pcomplete-completions-at-point):
9372         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9373         pcomplete-seen is non-nil.
9374         (pcomplete-comint-setup): Also recognize the new comint/shell
9375         completion functions.
9376         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9377         pcomplete-seen is non-nil.
9379 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9381         * calendar/icalendar.el (diary-lib): Add require statement.
9382         (icalendar--create-uid): Read out a uid from a text-property on
9383         the first character in the entry.  This allows for code to add its
9384         own uid to the entry.
9385         (icalendar--convert-float-to-ical): Add export of
9386         `diary-float'-entries save for those with the optional DAY
9387         argument.
9389 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9391         * subr.el (shell-quote-argument): Use alternate escaping strategy
9392         when we spot a variable reference in a string.
9394 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9396         * cus-start.el (all): Define customization for debug-on-event.
9398 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9400         * subr.el (shell-quote-argument): Escape correctly under Windows.
9402 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9404         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9406 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9408         * net/tramp.el (tramp-process-actions): Add POS argument.
9409         Delete region between POS and (pos).
9411         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9412         Use `nil' position in `tramp-process-actions' call.
9413         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9415         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9416         position in `tramp-process-actions' call.
9418         * net/trampver.el: Update release number.
9420 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9422         * custom.el (defcustom): Obey lexical-binding.
9424         Fix octave-inf completion problems reported by Alexander Klimov.
9425         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9426         Inherit from octave-mode-syntax-table.
9427         (inferior-octave-mode): Set info-lookup-mode.
9428         (inferior-octave-completion-at-point): New function.
9429         (inferior-octave-complete): Use it and completion-in-region.
9430         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9431         comint-filename-completion.
9432         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9433         symbol elements which shouldn't be word elements.
9434         (octave-font-lock-keywords, octave-beginning-of-defun)
9435         (octave-function-header-regexp): Adjust regexps accordingly.
9436         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9438 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9440         * net/gnutls.el (gnutls-errorp): Declare before first use.
9442 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9444         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9445         verify-error, and verify-hostname-error parameters.  Check whether
9446         default trustfile exists before going to use it.  Add missing
9447         argument to gnutls-message-maybe call.  Return value.
9448         Reported by Claudio Bley <claudio.bley@gmail.com>.
9449         (open-gnutls-stream): Add usage example.
9451         * net/network-stream.el (network-stream-open-starttls): Give host
9452         parameter to `gnutls-negotiate'.
9453         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9454         * subr.el (shell-quote-argument): Escape correctly under Windows.
9456 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
9458         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9459         Use correct match group (bug#8438).
9461 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9463         * emacs-lisp/package.el (package-built-in-p): Fix typo.
9464         (package-menu--generate): New arg specifying packages to show.
9465         (package-menu-refresh, package-menu-execute, list-packages):
9466         Callers changed.
9467         (package-show-package-list): New function, replacing deleted
9468         package--list-packages (renamed because it is non-internal).
9470         * finder.el (finder-list-matches): Use package-show-package-list
9471         instead of deleted package--list-packages.
9473         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9474         Based on a previous implementation by Juanma Barranquero (Bug#8366).
9475         (vc-annotate-mode-map): Bind it to RET.
9477 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9479         * progmodes/etags.el (next-file): Don't use set-buffer to change
9480         buffers (Bug#8478).
9482 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9484         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9486         * apropos.el (apropos-label-face): Avoid variable-pitch face.
9487         (apropos-accumulator): Doc fix.
9488         (apropos-function, apropos-macro, apropos-command)
9489         (apropos-variable, apropos-face, apropos-group, apropos-widget)
9490         (apropos-plist): Add face property.
9491         (apropos-symbols-internal): Fix indentation.
9492         (apropos-print): Simplify help, and recognize apropos-multi-type.
9493         (apropos-print-doc): Use button-type-get to extract the button's
9494         face property.  Fill docstring (Bug#8352).
9496 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
9498         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9500         * play/mpuz.el (mpuz-silent): Doc fix.
9501         (mpuz-mode-map): Use mapc.
9502         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9503         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9504         Fix typos in docstrings.
9506         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9507         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9509         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9511 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
9513         * minibuffer.el (completion--do-completion): Avoid the "Next char
9514         not unique" prompt if icomplete-mode is enabled (Bug#5849).
9516         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9517         mouse-2 into unread-command-events, it is interpreted correctly.
9519         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9520         (image-toggle-display): Doc fix.
9522 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
9524         * textmodes/page.el (what-page): Use line-number-at-pos to
9525         calculate line number (Bug#6825).
9527 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9529         * eshell/esh-mode.el (find-tag-interactive): Declare function.
9530         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9531         Pass argument NO-DEFAULT to `find-tag-interactive'.
9533 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9535         Lexical-binding cleanup.
9537         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9538         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9539         * progmodes/ada-prj.el (ada-prj-initialize-values)
9540         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9541         (ada-prj-show-value):
9542         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9543         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9544         (antlr-invalidate-context-cache, antlr-options-menu-filter)
9545         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9546         * progmodes/bug-reference.el (bug-reference-push-button):
9547         * progmodes/fortran.el (fortran-line-length):
9548         * progmodes/glasses.el (glasses-change):
9549         * progmodes/octave-mod.el (octave-fill-paragraph):
9550         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9551         (python-pdbtrack-grub-for-buffer, python-sentinel):
9552         * progmodes/sql.el (sql-save-connection):
9553         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9554         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9555         Mark unused parameters.
9557         * progmodes/compile.el (compilation--flush-directory-cache)
9558         (compilation--flush-parse, compile-internal): Mark unused parameters.
9559         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9560         (compilation-next-error-function): Remove unused variable `timestamp'.
9562         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9563         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9565         * progmodes/dcl-mode.el (dcl-end-of-command):
9566         Remove unused variable `start'.
9567         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9568         (dcl-option-value-basic, dcl-option-value-offset)
9569         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9570         Mark unused parameters.
9571         (dcl-save-local-variable): Remove unused variable `val'.
9572         (mode): Declare.
9574         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9575         Mark unused parameters.
9576         (delphi-ignore-changes): Move before first use.
9577         (delphi-charset-token-at): Remove unused variable `start'.
9578         (delphi-else-start): Remove unused variable `if-count'.
9579         (delphi-comment-block-start, delphi-comment-block-end):
9580         Remove unused variable `kind'.
9581         (delphi-indent-line): Remove unused variable `new-point'.
9583         * progmodes/ebrowse.el (ebrowse-files-list)
9584         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9585         Mark unused parameters.  Don't quote `lambda'.
9586         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9587         Don't quote `lambda'.
9588         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9589         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9590         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9591         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9592         Use `ignore-errors'.
9593         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9594         (ebrowse-view/find-file-and-search-pattern)
9595         (ebrowse-view/find-member-declaration/definition):
9596         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9597         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9598         Rename parameter PREFIX-ARG to PREFIX.
9599         (ebrowse-tags-read-name): Remove unused variables `start' and
9600         `member-info'.
9601         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9602         to `tags-file'.
9604         * progmodes/etags.el (local-find-tag-hook): Declare.
9605         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9606         Mark unused parameters.
9608         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9609         (executable-interpret): Mark unused parameter.
9611         * progmodes/flymake.el (flymake-process-sentinel)
9612         (flymake-after-change-function)
9613         (flymake-create-temp-with-folder-structure)
9614         (flymake-get-include-dirs-dot): Mark unused parameters.
9615         (flymake-safe-delete-directory): Remove unused variable `err'.
9617         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9618         (speedbar-timer-fn, speedbar-line-text)
9619         (speedbar-change-expand-button-char, speedbar-delete-subblock)
9620         (speedbar-center-buffer-smartly): Declare functions.
9621         (gdb-find-watch-expression): Remove unused variable `array'.
9622         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9623         (gdb-starting): Mark unused parameters.
9624         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9625         (gdb-table-string): Remove unused variable `res'.
9626         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9627         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9628         (gdb-display-buffer): Remove unused variable `cur-size'.
9630         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9631         allow lexical-binding compilation.
9632         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9633         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9634         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9635         Mark unused parameters.
9636         (gud-gdb-marker-filter): Remove unused variable `match'.
9637         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9638         lambda expressions and funcall them, instead of using `fset'.
9640         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9641         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9643         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9644         variable `header-beg'; use `let'.
9646         * progmodes/icon.el (indent-icon-exp): Remove unused variables
9647         `restart', `last-sexp' and `at-do'.
9649         * progmodes/js.el (js--debug): Mark unused parameter.
9650         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9651         (js--splice-into-items): Remove unused variable `item'.
9652         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9654         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9655         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9656         (makefile-complete): Remove unused variable `try'.
9657         (makefile-fill-paragraph, makefile-match-function-end):
9658         Mark unused parameters.
9660         * progmodes/octave-inf.el (inferior-octave-complete):
9661         Remove unused variable `proc'.
9662         (inferior-octave-output-digest): Mark unused parameter.
9664         * progmodes/perl-mode.el (perl-calculate-indent):
9665         Remove unused variable `err'.
9667         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9668         (prolog-indent-line): Mark unused parameters.
9669         (prolog-indent-line): Remove unused variable `beg'.
9671         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9672         (reporter-dont-compact-list): Declare.
9674         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9675         Remove unused variable `char'.
9676         (sh-debug): Mark unused parameter.
9677         (sh-get-indent-info): Remove unused variable `start'.
9678         (sh-calculate-indent): Remove unused variable `var'.
9680         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9681         (simula-electric-keyword): Remove unused variable `null'.
9682         (simula-search-backward, simula-search-forward): Remove unused
9683         variables `begin' and `end'.
9685         * progmodes/vera-mode.el (vera-guess-basic-syntax):
9686         Remove unused variable `pos'.
9687         (vera-electric-tab, vera-comment-uncomment-region):
9688         Mark unused parameters.
9689         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9691 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
9693         * emacs-lisp/package.el (package--builtins, package-alist)
9694         (package-load-descriptor, package-built-in-p, package-activate)
9695         (define-package, package-installed-p)
9696         (package-compute-transaction, package-buffer-info)
9697         (package--push): Doc fix.  Distinguish more clearly between
9698         version strings and version lists.
9700 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
9702         Lexical-binding cleanup.
9704         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9705         (5x5-make-mutate-best):
9706         * play/fortune.el (fortune-in-buffer):
9707         * play/gomoku.el (gomoku-init-display):
9708         * play/solitaire.el (solitaire, solitaire-do-check):
9709         * play/tetris.el (tetris-default-update-speed-function):
9710         Mark unused parameters.
9712         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9713         (bubbles--shift): Remove unused variable `char-org'.
9714         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
9715         (bubbles--show-images): Remove unused variable `char'.
9717         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9718         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9719         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9720         (decipher-analyze-buffer): Use ?\s.
9721         (decipher-make-checkpoint): Remove unused variable `mapping'.
9723         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9725         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9726         Remove unused variable `result'; use `let'.
9728         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9729         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9730         (gametree-children-shown-p, gametree-compute-reduced-score):
9731         Use `ignore-errors'.
9733         * play/handwrite.el (ps-lpr-switches): Declare.
9734         (handwrite): Remove unused variables `pmin' and `lastp'.
9736         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9738         * play/landmark.el (landmark-init-display)
9739         (landmark-update-naught-weights): Mark unused parameters.
9740         (landmark-y): Remove unused variable `noise'.  Simplify.
9741         (landmark-human-plays): Remove unused variable `score'.
9743         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9744         (mpuz-try-proposal): Remove unused variable `game'.
9746         * play/zone.el (life-patterns): Declare.
9748 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
9750         * vc/vc.el (ediff-vc-internal): Declare function.
9752 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9754         * shell.el: Use lexical-binding and std completion UI.
9755         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9756         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9757         comint-preoutput-filter-functions rather than on
9758         comint-output-filter-functions.
9759         (shell-command-completion, shell--command-completion-data)
9760         (shell-filename-completion, shell-environment-variable-completion)
9761         (shell-c-a-p-replace-by-expanded-directory): New functions.
9762         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9763         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9764         (shell-dynamic-complete-environment-variable): Use them.
9765         (shell-dynamic-complete-as-environment-variable)
9766         (shell-dynamic-complete-as-command): Remove.
9767         (shell-match-partial-variable): Match past point.
9768         * comint.el: Clean up use of completion-at-point-functions.
9769         (comint-completion-at-point): New function.
9770         (comint-mode): Use it completion-at-point-functions.
9771         (comint-dynamic-complete): Make it obsolete.
9772         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9773         (comint-c-a-p-replace-by-expanded-history): New function.
9774         (comint-dynamic-complete-functions)
9775         (comint-replace-by-expanded-history): Use it.
9776         * minibuffer.el (completion-table-with-terminator): Allow dynamic
9777         termination strings.  Try harder to avoid second try-completion.
9778         (completion-in-region-mode-map): Disable bindings that don't work yet.
9780         * comint.el: Use lexical-binding.  Require CL.
9781         (comint-dynamic-complete-functions): Use comint-filename-completion.
9782         (comint-completion-addsuffix): Tweak custom type.
9783         (comint-filename-completion, comint--common-suffix)
9784         (comint--common-quoted-suffix, comint--table-subvert)
9785         (comint--complete-file-name-data): New functions.
9786         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9787         (comint-dynamic-list-filename-completions): Use them.
9788         (comint-dynamic-simple-complete): Make obsolete.
9790         * minibuffer.el (completion-in-region-mode):
9791         Keep completion-in-region-mode--predicate global.
9792         (completion-in-region--postch):
9793         Assume completion-in-region-mode--predicate is not null.
9795         * progmodes/flymake.el (flymake-start-syntax-check-process):
9796         Obey `dir'.  Simplify.
9798         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9799         we're in VC after all.
9801 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
9803         * vc/vc.el (vc-diff-build-argument-list-internal)
9804         (vc-version-ediff, vc-ediff): New commands.
9805         (vc-version-diff): Use vc-diff-build-argument-list-internal.
9807 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9809         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9810         add sanity check.
9812         * obsolete/erc-hecomplete.el: Make obsolete.
9813         * obsolete/: Standardize obsolescence info in the header.
9815 2011-04-20  Glenn Morris  <rgm@gnu.org>
9817         * calendar/solar.el (solar-horizontal-coordinates):
9818         Use the longitude argument rather than `calendar-longitude'.
9819         (solar-date-next-longitude): Remove unused locals.
9821 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9823         * whitespace.el: New version 13.2.1.
9825 2011-04-20  felix  <EmacsWiki>  (tiny change)
9827         * whitespace.el (global-whitespace-mode): Keep highlight when
9828         switching between major modes on a file.
9830 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9833         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9834         multi-line comments as well.
9836 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
9838         Lexical-binding cleanup.
9840         * arc-mode.el (archive-mode-revert):
9841         * cmuscheme.el (scheme-interactively-start-process):
9842         * custom.el (custom-initialize-delay):
9843         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9844         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9845         * emacs-lock.el (emacs-lock-clear-sentinel):
9846         * ezimage.el (defezimage):
9847         * follow.el (follow-avoid-tail-recenter):
9848         * fringe.el (set-fringe-mode-1):
9849         * generic-x.el (bat-generic-mode-compile):
9850         * help-mode.el (help-info-variable, help-do-xref)
9851         (help-mode-revert-buffer):
9852         * help.el (view-emacs-todo):
9853         * iswitchb.el (iswitchb-completion-help):
9854         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9855         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9856         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9857         * locate.el (locate-update):
9858         * longlines.el (longlines-encode-region)
9859         (longlines-after-change-function):
9860         * outline.el (outline-isearch-open-invisible):
9861         * ps-def.el (declare-function, charset-dimension, char-width)
9862         (encode-char):
9863         * ps-mule.el (ps-mule-plot-string):
9864         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9865         (recentf-edit-list-select, recentf-edit-list-validate)
9866         (recentf-open-files-action):
9867         * rect.el (delete-whitespace-rectangle-line)
9868         (rectangle-number-line-callback):
9869         * register.el (window-configuration-to-register)
9870         (frame-configuration-to-register):
9871         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9872         * select.el (xselect-convert-to-string, xselect-convert-to-length)
9873         (xselect-convert-to-targets, xselect-convert-to-delete)
9874         (xselect-convert-to-filename, xselect-convert-to-charpos)
9875         (xselect-convert-to-lineno, xselect-convert-to-colno)
9876         (xselect-convert-to-os, xselect-convert-to-host)
9877         (xselect-convert-to-user, xselect-convert-to-class)
9878         (xselect-convert-to-name, xselect-convert-to-integer)
9879         (xselect-convert-to-atom, xselect-convert-to-identity):
9880         * subr.el (declare, ignore, process-kill-without-query)
9881         (text-clone-maintain):
9882         * terminal.el (te-get-char, te-tic-sentinel):
9883         * tool-bar.el (tool-bar-make-keymap):
9884         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9885         * type-break.el (type-break-mode, type-break-noninteractive-query):
9886         * view.el (View-back-to-mark):
9887         * wid-browse.el (widget-browse-action, widget-browse-widget)
9888         (widget-browse-widgets, widget-browse-sexp):
9889         * widget.el (define-widget-keywords):
9890         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9891         Mark unused parameters.
9893         * align.el (align-adjust-col-for-rule): Mark unused parameter.
9894         (align-areas): Remove unused variable `look'.
9895         (align-region): Remove unused variables `real-end' and `pos-list'.
9897         * apropos.el (apropos-score-doc): Remove unused variable `i'.
9899         * bindings.el (mode-line-modified, mode-line-remote):
9900         Mark unused parameters.
9901         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9903         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9904         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9906         * comint.el (comint-history-isearch-pop-state)
9907         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9908         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9909         (comint-substitute-in-file-name): Doc fix.
9911         * completion.el (cmpl-statistics-block): Mark unused parameter.
9912         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9913         (save-completions-to-file, load-completions-from-file):
9914         Remove unused local variable `e'.
9916         * composite.el (compose-chars): Remove unused variable `len'.
9917         (lgstring-insert-glyph): Remove unused variable `g'.
9918         (compose-glyph-string): Remove unused variables `ascent',
9919         `descent', `lbearing' and `rbearing'.
9920         (compose-glyph-string-relative): Remove unused variables
9921         `lbearing', `rbearing' and `wadjust'.
9922         (compose-gstring-for-graphic): Remove unused variables `header',
9923         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
9924         (compose-gstring-for-terminal): Remove unused variables `header'
9925         and `nchars'.  Use `let', not `let*'.
9927         * cus-edit.el (Custom-set, Custom-save, custom-reset)
9928         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9929         (Custom-buffer-done, custom-buffer-create-internal)
9930         (custom-browse-visibility-action, custom-browse-group-tag-action)
9931         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9932         (widget-magic-mouse-down-action, custom-toggle-parent)
9933         (custom-add-parent-links, custom-toggle-hide-variable)
9934         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9935         (custom-toggle-hide-face, face, hook, custom-group-link-action)
9936         (custom-face-menu-create, custom-variable-menu-create, get)
9937         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9938         (custom-reset-standard-save-and-update): Remove unused variable `value'.
9939         (customize-apropos): Remove unused variable `tests'.
9940         (custom-group-value-create): Remove unused variable `hidden-p'.
9941         (sort-fold-case): Declare.
9943         * cus-theme.el (custom-reset-standard-faces-list)
9944         (custom-reset-standard-variables-list): Declare.
9945         (customize-create-theme, custom-theme-revert, custom-theme-write)
9946         (custom-theme-choose-mode, customize-themes, custom-theme-save):
9947         Mark unused parameters.
9949         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9951         * delim-col.el (delimit-columns-max): Move defvar before first use.
9953         * descr-text.el (describe-char-categories): Don't quote `lambda'.
9954         (describe-char): Don't quote `lambda'.  Mark unused parameter.
9956         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9957         (auto-insert): Declare.
9958         (desktop-restore-file-buffer): Rename desktop-* parameters;
9959         mark unused ones.
9960         (desktop-create-buffer): Rename desktop-* parameters and bind them.
9961         (desktop-buffer): Rename desktop-* parameters.
9963         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9964         (dframe-reposition-frame-xemacs, dframe-help-echo)
9965         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9966         Mark unused parameters.
9968         * dired-aux.el (backup-extract-version-start, overwrite-query)
9969         (overwrite-backup-query, rename-regexp-query)
9970         (rename-non-directory-query): Declare.
9971         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9972         (dired-add-entry): Remove unused variable `orig-file-name'.
9973         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9974         Use parameter PRESERVE-TIME instead of accessing dynamic variable
9975         `dired-copy-preserve-time' directly.
9976         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9977         (dired-insert-subdir-newpos): Rename unused variable `pos'.
9979         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9980         (dired-virtual-revert, dired-make-relative-symlink):
9981         Mark unused parameters.
9982         (manual-program): Declare.
9983         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9984         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9985         wrapped in `with-no-warnings' to avoid replacing one warning by another.
9987         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9989         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9991         * echistory.el (electric-history-in-progress, Helper-return-blurb):
9992         Declare.
9994         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9996         * electric.el (Electric-command-loop): Rename parameter
9997         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9999         * expand.el (expand-in-literal): Remove unused variable `here'.
10001         * facemenu.el (facemenu-add-new-color):
10002         Remove unused variable `docstring'.
10004         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10005         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10006         (face-attr-construct): Mark unused parameter.  Doc fix.
10007         (read-color): Remove unused variable `hex-string'.
10009         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10010         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10011         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10012         (display-buffer-other-frame): Remove unused variable `old-window'.
10013         (kill-buffer-hook): Declare.
10014         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10015         Mark unused parameters.
10016         (after-find-file): Pass 1 to `auto-save-mode', not t.
10018         * files-x.el (auto-insert): Declare.
10019         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10021         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10022         variable `buf'.  Mark unused parameter.
10023         (find-lisp-insert-directory): Mark unused parameter.
10025         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10026         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10027         (format-common-tail): Remove, unused.
10028         (format-deannotate-region): Remove unused variable `loc'.
10029         (format-annotate-region): Remove unused variable `p'.
10030         (format-annotate-single-property-change): Remove unused variables
10031         `default' and `tail'.
10033         * forms.el (read-file-filter): Declare.
10034         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10036         * frame.el (frame-creation-function-alist): Mark unused parameter.
10037         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10039         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10040         Remove unused parameters.
10041         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10042         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10044         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10045         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10046         (hfy-prepare-tag-map): Mark unused parameters.
10047         (htmlfontify-buffer): Use `called-interactively-p'.
10049         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10050         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10051         (ibuffer-do-occur): Mark unused parameters.
10052         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10053         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10055         * ibuffer.el: Don't quote `lambda'.
10056         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10057         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10058         Mark unused parameters.
10060         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10061         (ido-completing-read): Mark unused parameters.
10062         (ido-copy-current-word): Mark unused parameters;
10063         remove unused variable `name'.
10064         (ido-sort-merged-list): Remove unused parameter `dirs'.
10066         * ielm.el (ielm-input-sender): Mark unused parameter.
10067         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10068         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10069         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10070         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10071         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10073         * image-dired.el (image-dired-display-thumbs): Remove unused
10074         variables `curr-file' and `count'.
10075         (image-dired-remove-tag): Remove unused variable `start'.
10076         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10077         variable `curr-file'
10078         (image-dired-rotate-original): Remove unused variable `temp-file'.
10079         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10080         Remove unused variable `file'.
10081         (image-dired-gallery-generate): Remove unused variable `curr'.
10082         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10084         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10086         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10088         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10090         * isearch.el (minibuffer-history-symbol): Declare.
10091         (isearch-edit-string): Remove unused variable `err'.
10092         (isearch-message-prefix, isearch-message-suffix):
10093         Mark unused parameters.
10095         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10097         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10099         * makesum.el (double-column): Remove unused variable `cnt'.
10101         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10102         (ido-ignore-item-temp-list): Declare.
10104         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10105         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10106         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10107         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10108         `mouse-col-delta'.
10110         * mouse-sel.el (mouse-extend-internal):
10111         Remove unused variable `orig-window-frame'.
10113         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10114         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10115         Move declarations before first use.
10116         (pcomplete-opt): Mark unused parameters; doc fix.
10118         * proced.el (proced-revert): Mark unused parameter.
10119         (proced-send-signal): Remove unused variable `err'.
10121         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10122         Rename parameter PREFIX-ARG to ARG.
10123         (ps-basic-plot-string, ps-basic-plot-whitespace):
10124         Mark unused parameters.
10126         * replace.el (replace-count): Define.
10127         (occur-revert-function): Mark unused parameters.
10128         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10129         (isearch-case-fold-search, isearch-string): Declare.
10130         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10131         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10132         and simplify.
10133         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10134         COUNT and bind `replace-count'.
10135         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10136         to COUNT.
10138         * savehist.el (print-readably, print-string-length): Declare.
10140         * shadowfile.el (shadow-expand-cluster-in-file-name):
10141         Remove unused variable `cluster'.
10142         (shadow-copy-file): Remove unused variable `i'.
10143         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10144         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10145         (shadow-define-literal-group, shadow-define-regexp-group)
10146         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10148         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10149         (shell): Use `called-interactively-p'.
10150         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10152         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10153         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10154         (delete-backward-char): Remove unused variable `ocol'.
10155         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10156         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10157         (event-apply-hyper-modifier, event-apply-shift-modifier)
10158         (event-apply-control-modifier, event-apply-meta-modifier):
10159         Mark unused parameters.
10160         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10161         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10163         * speedbar.el (speedbar-ignored-directory-expressions)
10164         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10165         (speedbar-find-file, speedbar-dir-follow)
10166         (speedbar-directory-buttons-follow, speedbar-tag-find)
10167         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10168         (speedbar-buffers-line-directory, speedbar-buffer-click):
10169         Mark unused parameters.
10170         (speedbar-tag-file): Remove unused variable `mode'.
10171         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10173         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10175         * talk.el (talk): Remove unused variable `display'.
10177         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10178         (tar-write-region-annotate): Mark unused parameter.
10180         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10181         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10182         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10183         warning by another.
10185         * time-stamp.el (time-stamp-string-preprocess):
10186         Remove unused variable `require-padding'.
10188         * tree-widget.el (widget-glyph-enable): Declare.
10189         (tree-widget-action): Mark unused parameter.
10191         * w32-fns.el (x-get-selection): Mark unused parameter.
10192         (autoload-make-program, generated-autoload-file): Declare.
10194         * wdired.el (wdired-revert): Mark unused parameters.
10195         (wdired-xcase-word): Remove unused variable `err'.
10197         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10198         (whitespace-help-scroll): Remove unused variable `data-help'.
10200         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10201         (widget-image-insert, widget-after-change, default)
10202         (widget-default-format-handler, widget-default-notify)
10203         (widget-default-prompt-value, widget-info-link-action)
10204         (widget-url-link-action, widget-function-link-action)
10205         (widget-variable-link-action, widget-file-link-action)
10206         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10207         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10208         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10209         (widget-insert-button-action, widget-delete-button-action, visibility)
10210         (widget-documentation-link-action, widget-documentation-string-action)
10211         (widget-const-prompt-value, widget-regexp-match, symbol)
10212         (widget-coding-system-prompt-value)
10213         (widget-key-sequence-value-to-external, sexp)
10214         (widget-sexp-value-to-internal, character, vector, cons)
10215         (widget-choice-prompt-value, widget-boolean-prompt-value)
10216         (widget-color--choose-action): Mark unused parameters.
10217         (widget-item-match-inline, widget-choice-match-inline)
10218         (widget-checklist-match, widget-checklist-match-inline)
10219         (widget-group-match): Rename parameter VALUES to VALS.
10220         (widget-field-value-set): Remove unused variable `size'.
10221         (widget-color-action): Remove unused variables `value' and `start'.
10223         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10224         variable `dir'.  Doc fix.
10225         (windmove-find-other-window): Don't pass it.
10227         * window.el (count-windows): Mark unused parameter.
10228         (bw-adjust-window): Remove unused variable `err'.
10230         * woman.el (woman-file-name): Remove unused variable `default'.
10231         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10232         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10233         (global-font-lock-mode): Declare.
10234         (woman-decode-region): Mark unused parameter.
10235         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10237         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10238         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10239         (x-dnd-handle-moz-url): Remove unused variable `title'.
10240         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10242         * xml.el (xml-parse-tag, xml-parse-attlist):
10243         Remove unused variable `pos'.
10245 2011-04-19  Glenn Morris  <rgm@gnu.org>
10247         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10248         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10249         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10250         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10251         * calendar/cal-html.el (cal-html-insert-minical):
10252         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10253         (calendar-mark-date-pattern):
10254         Prefix "unused" locals.
10256         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10257         optional argument `style'.
10259         * calendar/appt.el (appt-make-list):
10260         * calendar/cal-china.el (calendar-chinese-date-string):
10261         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10262         (diary-hebrew-yahrzeit):
10263         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10264         * calendar/calendar.el (calendar-generate-window):
10265         * calendar/time-date.el (time-to-days):
10266         Remove unused local variables.
10268 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10270         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10271         glyphless-char-display table.
10272         (tabulated-list-glyphless-char-display): New var.
10274 2011-04-18  Sam Steingold  <sds@gnu.org>
10276         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10277         to acknowledgments.
10279 2011-04-17  Glenn Morris  <rgm@gnu.org>
10281         * calendar/diary-lib.el (diary-sexp-entry):
10282         * calendar/holidays.el (holiday-sexp):
10283         Set debug-on-error rather than the removed stack-trace-on-error.
10285 2011-04-16  Glenn Morris  <rgm@gnu.org>
10287         * progmodes/f90.el: Use lexical-binding.
10288         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10290 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10292         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10293         (mail-mode): Setup mailalias completion here instead.
10294         * mail/mailalias.el: Use lexical-binding.
10295         (pattern, mailalias-done): Declare dynamic.
10296         (mail-completion-at-point-function): New function, from mail-complete.
10297         (mail-complete): Use it.
10298         (mail-completion-expand): New function.
10299         (mail-get-names): Use it.
10300         (mail-directory, mail-directory-process, mail-directory-stream):
10301         Don't use `pattern' for lexically bound arg.
10303         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10305         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10306         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10307         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10309         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10310         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10311         (byte-interactive-p): Define them again, for use when inlining
10312         old code.
10314 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10316         * loadup.el: Use `string-to-number', not `string-to-int'.
10318 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10321         gud-gdb-complete-command.
10322         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10323         (gud-gdb-completion-at-point): New function.
10324         (gud-gdb-completions): Remove.
10326 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10328         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10329         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10330         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10331         whether `executable-find' is bound.
10333         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10335 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         * minibuffer.el (completion-in-region-mode-predicate)
10338         (completion-in-region-mode--predicate): New vars.
10339         (completion-in-region, completion-in-region--postch)
10340         (completion-in-region-mode): Use them.
10341         (completion--capf-wrapper): Also return the hook function.
10342         (completion-at-point, completion-help-at-point):
10343         Adjust and provide a predicate.
10345         Preserve arg names for advice of subr and lexical functions (bug#8457).
10346         * help-fns.el (help-function-arglist): Consolidate the subr and
10347         new-byte-code cases.  Add argument `preserve-names' to extract names
10348         from the docstring when needed.
10349         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10350         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10351         (ad-arglist): Use help-function-arglist's new arg.
10352         (ad-definition-type): Use cond.
10354 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10356         * autorevert.el (auto-revert-handler):
10357         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10358         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10359         Don't quote lambda.
10361         * image-mode.el (image-transform-set-scale):
10362         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10364 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10366         * net/network-stream.el (network-stream-open-starttls): Only do
10367         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10368         Upgrades via gnutls-cli are too slow to be done opportunistically.
10370 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10372         * dframe.el (dframe-current-frame): Remove spurious quote.
10374 2011-04-12  Glenn Morris  <rgm@gnu.org>
10376         * calendar/cal-tex.el (cal-tex-end-document):
10377         Try to automatically use latin1 input if needed.
10379         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10380         Don't try to cons a mark onto an empty element.
10382 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10384         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10385         buffers.
10386         (ido-kill-buffer-at-head): Support killing virtual buffers.
10388 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10390         * minibuffer.el (completion-show-inline-help): New var.
10391         (completion--do-completion, minibuffer-complete)
10392         (minibuffer-force-complete, minibuffer-complete-word):
10393         Inhibit minibuffer messages if completion-show-inline-help is nil.
10395         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10396         to avoid interference from inline help (Bug#5849).
10398 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10400         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10401         Fix typo.
10403 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10405         * image-mode.el (image-toggle-display-image): Signal an error if
10406         not in Image mode.
10407         (image-transform-mode, image-transform-resize)
10408         (image-transform-set-rotation): Doc fix.
10409         (image-transform-set-resize): Delete.
10410         (image-transform-set-scale, image-transform-fit-to-height)
10411         (image-transform-fit-to-width): Handle image-toggle-display-image
10412         and image-transform-resize directly.
10414 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10416         * doc-view.el (doc-view-fit-width-to-window)
10417         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10418         New functions for fitting the shown image to the Emacs window size.
10419         (doc-view-mode-map): Add bindings for the new functions.
10421 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10423         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10424         Fix typo in docstring.
10426 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10428         * files.el (file-size-human-readable): Produce one digit after
10429         decimal, like "ls -lh" does.
10431         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10432         the file size representation.
10434         * simple.el (list-processes): If async subprocesses are not
10435         available, error out with a clear error message.
10437 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10439         * help.el (help-form-show): New function, to be called from C.
10440         Put help-form output in a buffer named differently than *Help*.
10442 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10444         * files.el (file-size-human-readable): New function.
10446         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10447         computing the representation inline.  Don't require `cl'.
10449 2011-04-08  Glenn Morris  <rgm@gnu.org>
10451         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10453         * net/browse-url.el (browse-url-firefox):
10454         Test system-type, not system-configuration.
10456         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10457         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10458         Use log-edit-empty-buffer-p.  (Bug#7598)
10460         * net/rlogin.el (rlogin-process-connection-type): Simplify.
10461         (rlogin-mode-map): Initialize in the defvar.
10462         (rlogin): Use ignore-errors.
10464         * replace.el (occur-mode-map): Some fixes for menu items.
10466 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10468         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
10470 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10472         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10473         issuing unused warnings.
10475         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10476         macro directly.
10478         * simple.el: Lisp reimplement of list-processes.  Based on an
10479         earlier reimplementation by Leo Liu, but using tabulated-list.el.
10480         (process-menu-mode): New major mode.
10481         (list-processes--refresh, list-processes):
10482         (process-menu-visit-buffer): New functions.
10484         * files.el (save-buffers-kill-emacs): Don't assume any return
10485         value of list-processes, which is undocumented anyway.
10487 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10489         * emacs-lisp/tabulated-list.el: New file.
10491         * emacs-lisp/package.el: Use Tabulated List mode.
10492         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10493         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
10494         table format using Tabulated List mode variables.
10495         (package--push): New macro, replacing package-list-maybe-add.
10496         (package-menu--generate): Use package--push.  Renamed from
10497         package--generate-package-list.
10498         (package-menu-refresh, list-packages): Use it.
10499         (package-menu--print-info): Rename from package-print-package.
10500         Return insertion data instead of inserting it directly.
10501         (package-menu-describe-package, package-menu-execute):
10502         Use tabulated-list-get-id.
10503         (package-menu-mark-delete, package-menu-mark-install)
10504         (package-menu-mark-unmark, package-menu-backup-unmark)
10505         (package-menu-mark-obsolete-for-deletion):
10506         Use tabulated-list-put-tag.
10507         (package--list-packages, package-menu-revert)
10508         (package-menu-get-package, package-menu-get-version)
10509         (package-menu-sort-by-column): Functions deleted.
10510         (package-menu-package-list, package-menu-sort-key): Vars deleted.
10511         (package-menu--status-predicate, package-menu--version-predicate)
10512         (package-menu--name-predicate)
10513         (package-menu--description-predicate): Handle arguments in the
10514         Tabulated List format.
10515         (package-list-packages-no-fetch): Call list-packages.
10517 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
10519         * files.el (after-find-file-from-revert-buffer): Remove variable.
10520         (after-find-file): Don't bind it.
10521         (revert-buffer-in-progress-p): New variable.
10522         (revert-buffer): Bind it.
10523         Pass nil for `after-find-file-from-revert-buffer'.
10525         * saveplace.el (save-place-find-file-hook): Use new variable
10526         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10528 2011-04-06  Glenn Morris  <rgm@gnu.org>
10530         * Makefile.in (AUTOGEN_VCS): New variable.
10531         (autoloads): Use $AUTOGEN_VCS.
10533         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10534         * calendar/calendar.el (calendar-mode-map):
10535         Check for toolkit scroll bars.  (Bug#8305)
10537 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10539         * minibuffer.el (completion-in-region--postch)
10540         (completion-in-region-mode): Remove unnecessary messages.
10542 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
10544         * font-lock.el (font-lock-refresh-defaults):
10545         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10546         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10548         * info.el (Info-directory-list, Info-read-node-name-2)
10549         (Info-split-parameter-string): Doc fixes.
10550         (Info-virtual-nodes): Reflow docstring.
10551         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10552         (Info-apropos-toc-nodes, info-finder, Info-get-token)
10553         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10554         Fix typos in docstrings.
10555         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10556         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10557         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10558         (Info-restore-desktop-buffer): Mark unused parameters.
10559         (Info-directory-find-file, Info-directory-find-node)
10560         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10561         (Info-virtual-index-find-node, Info-apropos-find-file)
10562         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10563         Mark unused parameters; fix typos in docstrings.
10564         (Info-virtual-index): Remove unused local variable `nodename'.
10566 2011-04-05  Deniz Dogan  <deniz@dogan.se>
10568         * net/rcirc.el: Update my e-mail address.
10569         (rcirc-mode-map): Remove M-o binding.
10571 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10573         * startup.el (command-line): Save the cursor's theme-face
10574         directly, instead of using face-override-spec.
10576         * custom.el (load-theme): Minor optimization in assigning faces.
10578 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10580         * help-fns.el (describe-variable): Complete all variables having
10581         documentation, including keywords.
10582         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10584 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10586         Convert to lexical-binding.
10588         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10589         (bs--get-marked-string, bs--get-modified-string)
10590         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10591         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10592         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10594         * ehelp.el (electric-help-execute-extended)
10595         (electric-help-ctrl-x-prefix):
10596         * hexl.el (hexl-revert-buffer-function):
10597         * linum.el (linum-after-change, linum-after-scroll):
10598         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10600         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10602 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
10604         * epa-dired.el:
10605         * epa-mail.el:
10606         * epa-hook.el:
10607         * epa-file.el:
10608         * epa.el:
10609         * epg.el: Use lexical binding.
10611 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
10613         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10615         * textmodes/flyspell.el (flyspell-word): Recognize default
10616         dictionary case for flyspell-mark-duplications-exceptions.
10617         Use regexp matching for languages.
10618         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10619         default dictionary (Bug#7926).
10621 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
10623         * emacs-lisp/package.el (package--with-work-buffer):
10624         Recognize https URLs.
10626         * net/network-stream.el: Move from gnus/proto-stream.el.
10627         Change prefix to network-stream throughout.
10628         (open-protocol-stream): Merge into open-network-stream, leaving
10629         open-protocol-stream as an alias.  Handle nil BUFFER args.
10631         * subr.el (open-network-stream): Move to net/network-stream.el.
10633 2011-04-02  Glenn Morris  <rgm@gnu.org>
10635         * find-dired.el (find-exec-terminator): New option.
10636         (find-ls-option): Test for -ls support.
10637         (find-ls-subdir-switches): Test for -b in find-ls-option.
10638         (find-dired, find-grep-dired): Doc fixes.
10639         (find-dired): Use find-exec-terminator.
10641         * find-dired.el (find-ls-option, find-ls-subdir-switches)
10642         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10643         (find-name-arg): Remove purecopy.
10645         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10646         (grep-compute-defaults): Check for `-exec COMMAND +' support.
10647         Set grep-find-use-xargs, grep-find-command, and grep-find-template
10648         accordingly.  Don't add the null-device if not needed.
10650         * files.el (save-some-buffers): Doc fix.
10652 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
10654         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10656 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
10658         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10659         Use `dolist' rather than `mapcar'.
10661 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10663         Add lexical binding.
10665         * subr.el (apply-partially): Use new closures rather than CL.
10666         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10667         (dolist, dotimes): Use slightly different expansion for lexical code.
10668         (functionp): Move to C.
10669         (letrec): New macro.
10670         (with-wrapper-hook): Use it and apply-partially instead of CL.
10671         (eval-after-load): Preserve lexical-binding.
10672         (save-window-excursion, with-output-to-temp-buffer): Turn them
10673         into macros.
10675         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10677         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10678         than the arglist.
10679         (help-add-fundoc-usage): Don't add `Not documented'.
10680         (help-function-arglist): Handle closures, subroutines, and new
10681         byte-code-functions.
10682         (help-make-usage): Remove leading underscores.
10683         (describe-function-1): Handle closures.
10684         (describe-variable): Use special-variable-p for completion.
10686         * files.el (lexical-binding): Declare safe.
10688         * emacs-lisp/pcase.el: Don't use destructuring-bind.
10689         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
10690         (pcase): Add `let' pattern.
10691         Change memoization so it actually works.
10692         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10693         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10694         <let>: New case.
10696         * emacs-lisp/macroexp.el: Use lexical binding.
10697         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
10698         Don't convert ' to #' without checking that it's indeed quoting
10699         a lambda.
10701         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10702         Use eval-sexp-add-defvars.
10703         (eval-sexp-add-defvars): New fun.
10705         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10707         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10708         Don't autoload.
10709         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10710         than the internal `byte-compile-lambda'.
10711         (defmethod): Don't hide code under quotes.
10712         (eieio-defmethod): New `code' argument.
10714         * emacs-lisp/eieio-comp.el: Remove.
10716         * emacs-lisp/edebug.el (edebug-eval-defun)
10717         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10718         (edebug-toggle): Avoid `eval'.
10720         * emacs-lisp/disass.el (disassemble-internal): Handle new
10721         `closure' objects.
10722         (disassemble-1): Handle new byte codes.
10724         * emacs-lisp/cl.el (pushnew): Silence warning.
10726         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10727         (cl-byte-compile-throw): Remove.
10728         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10730         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10731         closures.
10733         * emacs-lisp/cconv.el: New file.
10735         * emacs-lisp/bytecomp.el: Use lexical binding instead of
10736         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
10737         (byte-compile-initial-macro-environment):
10738         Handle declare-function here.
10739         (byte-compile--lexical-environment): New var.
10740         (byte-stack-ref, byte-stack-set, byte-discardN)
10741         (byte-discardN-preserve-tos): New lap codes.
10742         (byte-interactive-p): Don't use any more.
10743         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10744         New macros.
10745         (byte-compile-lapcode): Use them and handle new lap codes.
10746         (byte-compile-obsolete): Remove.
10747         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10748         (byte-compile-arglist-warn): Check late def of inlinable funs.
10749         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10750         since they should have been expanded by now.
10751         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10752         (byte-compile-from-buffer): Remove unused second arg.
10753         (byte-compile-preprocess): New function.
10754         (byte-compile-toplevel-file-form): New function to distinguish
10755         file-form calls from outside from file-form calls from hunk-handlers.
10756         (byte-compile-file-form): Simplify.
10757         (byte-compile-file-form-defsubst): Remove.
10758         (byte-compile-file-form-defmumble): Simplify now that
10759         byte-compile-lambda always returns a byte-code-function.
10760         (byte-compile): Preprocess.
10761         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10762         Remove, not used any more.
10763         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10764         (byte-compile-make-args-desc): New funs.
10765         (byte-compile-lambda): Handle lexical functions.  Always return
10766         a byte-code-function.
10767         (byte-compile-reserved-constants): New var, to make up room for
10768         closed-over variables.
10769         (byte-compile-constants-vector): Obey it.
10770         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10771         (byte-compile-macroexpand-declare-function): New function.
10772         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10773         byte-code-functions.
10774         (byte-compile-form): Check obsolescence here.
10775         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10776         (byte-compile-variable-ref): Remove.
10777         (byte-compile-dynamic-variable-op): New fun.
10778         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10779         (byte-compile-variable-set): New funs.
10780         (byte-compile-discard): Add 2 args.
10781         (byte-compile-stack-ref, byte-compile-stack-set)
10782         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10783         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10784         macroexpand-all instead.
10785         (byte-compile-quote-form): Remove.
10786         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10787         (byte-compile-bind, byte-compile-unbind): New funs.
10788         (byte-compile-let): Handle let* and lexical binding.
10789         (byte-compile-let*): Remove.
10790         (byte-compile-catch, byte-compile-unwind-protect)
10791         (byte-compile-track-mouse, byte-compile-condition-case):
10792         Handle a new :fun-body form, used for lexical scoping.
10793         (byte-compile-save-window-excursion)
10794         (byte-compile-with-output-to-temp-buffer): Remove.
10795         (byte-compile-defun): Simplify.
10796         (byte-compile-stack-adjustment): New fun.
10797         (byte-compile-out): Use it.
10798         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10800         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10801         handler any more.
10803         * emacs-lisp/byte-opt.el: Use lexical binding.
10804         (byte-inline-lapcode): Remove (to bytecomp).
10805         (byte-compile-inline-expand): Pay attention to inlining to/from
10806         lexically bound code.
10807         (byte-compile-unfold-lambda): Don't handle byte-code-functions
10808         any more.
10809         (byte-optimize-form-code-walker): Don't handle save-window-excursion
10810         any more and don't call compiler-macros.
10811         (byte-compile-splice-in-already-compiled-code): Remove.
10812         (byte-code): Don't inline any more.
10813         (disassemble-offset): Receive `bytes' as argument rather than via
10814         dynamic scoping.
10815         (byte-compile-tag-number): Declare before first use.
10816         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10817         `return' even if make-spliceable.
10818         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10819         obsolete interactive-p.
10820         (byte-optimize-lapcode): Optimize new lap-codes.
10821         Don't trip up on new form of `byte-constant' lap code.
10823         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10825         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10827         * custom.el (custom-initialize-default, custom-declare-variable):
10828         Use `defvar'.
10830         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10831         New variables.
10832         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10833         (COMPILE_FIRST): Add macroexp and cconv.
10834         * makefile.w32-in: Mirror changes in Makefile.in.
10836         * vc/cvs-status.el:
10837         * vc/diff-mode.el:
10838         * vc/log-edit.el:
10839         * vc/log-view.el:
10840         * vc/smerge-mode.el:
10841         * textmodes/bibtex-style.el:
10842         * textmodes/css.el:
10843         * startup.el:
10844         * uniquify.el:
10845         * minibuffer.el:
10846         * newcomment.el:
10847         * reveal.el:
10848         * server.el:
10849         * mpc.el:
10850         * emacs-lisp/smie.el:
10851         * doc-view.el:
10852         * dired.el:
10853         * abbrev.el: Use lexical binding.
10855 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
10857         * info.el (info-display-manual): New function.
10859 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10861         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10863 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
10865         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
10866         an entry for that server in rcirc-authinfo.  (Bug#8385)
10868 2011-03-31  Glenn Morris  <rgm@gnu.org>
10870         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10872         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10874 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
10876         * progmodes/python.el (python-default-interpreter)
10877         (python-python-command-args, python-jython-command-args)
10878         (python-which-shell, python-which-args, python-which-bufname)
10879         (python-file-queue, python-comint-output-filter-function)
10880         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10881         variables and functions.
10883 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10885         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10886         (completion-in-region-mode): New minor mode.
10887         (completion-in-region): Use it.
10888         (completion-in-region--data, completion-in-region-mode-map): New vars.
10889         (completion-in-region--postch): New function.
10890         (completion--capf-misbehave-funs, completion--capf-safe-funs):
10891         New vars.
10892         (completion--capf-wrapper): New function.
10893         (completion-at-point): Use it to track well-behavedness of
10894         hook functions.
10895         (completion-help-at-point): New command.
10897 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
10899         * vc/add-log.el (add-change-log-entry): Don't use whitespace
10900         syntax class to search for whitespace on a single line
10901         (Message-ID: <4D938140.4030905@redhat.com>).
10903 2011-03-30  Leo Liu  <sdl.web@gmail.com>
10905         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10906         New commands.
10907         (edit-abbrevs-map): Bind them here.
10908         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
10910 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
10912         * allout.el (allout-hide-by-annotation, allout-flag-region):
10913         Reduce possibility of overlay leakage by making them volatile.
10915         * allout-widgets.el (allout-widgets-tally): Define as nil so the
10916         hash is not shared between buffers.  Mode initialization is
10917         responsible for giving it a useful starting value.
10918         (allout-item-span): Reduce possibility of overlay leakage by
10919         making them volatile.
10920         (allout-widgets-count-buttons-in-region): Add diagnostic function
10921         for tracking down button overlay leaks.
10923 2011-03-29  Leo Liu  <sdl.web@gmail.com>
10925         * ido.el (ido-read-internal): Use the default history var
10926         minibuffer-history if no HISTORY is specified.
10928 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
10930         * net/imap.el (imap-shell-open, imap-process-connection-type):
10931         Use imap-process-connection-type for 'shell' streams as well as
10932         Kerberos, SSL, other subprocesses.
10934 2011-03-28  Leo Liu  <sdl.web@gmail.com>
10936         * abbrev.el (abbrev-table-empty-p): New function.
10937         (prepare-abbrev-list-buffer): Place empty abbrev tables after
10938         nonempty ones.  (Bug#5937)
10940 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
10942         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10944 2011-03-27  Leo Liu  <sdl.web@gmail.com>
10946         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10947         for foreground and background colors.
10948         (ansi-color-make-color-map): Adapt.
10950 2011-03-25  Leo Liu  <sdl.web@gmail.com>
10952         * midnight.el (midnight-time-float): Remove.  Note it calculates
10953         the microsecond component incorrectly and seconds-to-time does the
10954         same job.
10955         Remove redundant (require 'timer).
10957         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10958         (ido-completions): Remove unused arguments.  (Bug#8329)
10960 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10962         * minibuffer.el (completion--flush-all-sorted-completions):
10963         Remove itself from hook.
10964         (completion-at-point): Let the functions perform the completion
10965         immediately and return nil or t.
10966         * comint.el (comint-dynamic-complete-functions): Now identical to
10967         completion-at-point-functions.
10968         (comint-dynamic-list-input-ring): Remove unused var `index'.
10969         (comint--match-partial-filename, comint--unquote&expand-filename):
10970         New funs, split from comint-match-partial-filename.
10971         (comint-dynamic-complete): Use completion-at-point.
10972         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10974 2011-03-24  Drew Adams  <drew.adams@oracle.com>
10976         * thingatpt.el: Support `defun'.
10978 2011-03-23  Leo Liu  <sdl.web@gmail.com>
10980         * abbrevlist.el: Move to obsolete/abbrevlist.el.
10982         * help-mode.el (help-mode-finish): Tweak regexp.
10984 2011-03-23  Glenn Morris  <rgm@gnu.org>
10986         * eshell/esh-opt.el (eshell-eval-using-options):
10987         Do not bind unused local variable `eshell-option-stub'.
10989         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10991 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
10993         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10994         keymap variable in `with-no-warnings' to avoid a warning when the
10995         keymap has been already `defconst'ed.
10997 2011-03-22  Leo Liu  <sdl.web@gmail.com>
10999         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11000         encode all chars in abbrevs; otherwise use emacs-mule or
11001         utf-8-emacs.  (Bug#8308)
11003 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11005         * simple.el (backward-delete-char-untabify):
11006         Avoid warning about using `delete-backward-char'.
11008         * image.el (image-type-file-name-regexps): Make it variable.
11009         `imagemagick-register-types' modifies it, and the user may want
11010         to add new extensions for known image types.
11011         (imagemagick-register-types): Throw error if not using ImageMagick.
11013 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11015         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11016         located before rcirc-prompt-end-marker.
11017         (rcirc-complete): Error if point is not after rcirc prompt.
11018         Handle the case when table is nil.
11019         (rcirc-user-authenticated): Define to fix compiler warning.
11021 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11023         * custom.el (custom--inhibit-theme-enable): Make it affect only
11024         custom-theme-set-variables and custom-theme-set-faces.
11025         (provide-theme): Ignore custom--inhibit-theme-enable.
11026         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11027         (custom-enabling-themes): Delete variable.
11028         (enable-theme): Accept only loaded themes as arguments.
11029         Ignore the special custom-enabled-themes variable.
11030         (custom-enabled-themes): Forbid themes from setting this.
11031         Eliminate use of custom-enabling-themes.
11032         (custom-push-theme): Quote "changed" custom var entry.
11034 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11036         * ido.el (ido-read-internal): Add ido-selected to history instead
11037         of user input.
11039 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11041         * subr.el (deferred-action-list, deferred-action-function):
11042         Mark obsolete.
11044 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11046         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11047         change on 2011-02-13 (bug#8309).
11049         * minibuffer.el (read-file-name-function): Change default value.
11050         (read-file-name--defaults): Rename from read-file-name-defaults.
11051         (read-file-name-default): Rename from read-file-name.
11052         (read-file-name): Call read-file-name-function.
11054 2011-03-21  Glenn Morris  <rgm@gnu.org>
11056         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11057         Doc fixes.
11059 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11061         * cus-theme.el: Add missing provide statement.
11062         (customize-create-theme): Extract theme value correctly.
11063         (custom-theme-visit-theme): Autoload.
11064         (customize-create-theme): Prompt before inserting default faces.
11066 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11068         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11069         units and musical notes.
11071 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11073         * ido.el (ido-read-internal): Use completing-read-default.
11074         (ido-completing-read): Fix compatibility with completing-read.
11076 2011-03-20  Christian Ohler  <ohler@gnu.org>
11078         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11079         (ert-delete-all-tests): Use `called-interactively-p' rather than
11080         `interactive-p'.
11081         (ert--make-xrefs-region): Respect END.
11083 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11085         * dired-aux.el (dired-create-directory): Signal an error if the
11086         directory already exists (Bug#8246).
11088         * facemenu.el (list-colors-display): Call list-faces-display
11089         inside with-help-window.
11090         (list-colors-print): Use display property to align the final
11091         column, instead of checking window-width.
11093 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11095         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11096         windows-nt systems.
11097         (emerge-protect-metachars): Quote correctly for ms-dos and
11098         windows-nt systems.
11100 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11102         * info.el (info-initialize): Replace all uses of `:' with
11103         path-separator for compatibility with non-Unix systems.
11104         Cache quoting of path-separator.  (Bug#8258)
11106 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11108         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11109         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11110         (mouse-avoidance-mode): Fix typos in docstrings.
11112 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11114         * startup.el (package-subdirectory-regexp): Move from package.el.
11115         Omit \\` and \\', and let callers add them.
11117         * emacs-lisp/package.el (package-strip-version)
11118         (package-load-all-descriptors): Add \\` and \\' to
11119         package-subdirectory-regexp before using it.
11120         (package-untar-buffer): New arg DIR; ensure that file untars only
11121         into this expected directory.  Remove superfluous delete-region.
11122         (package-unpack): Caller changed.
11123         (package-tar-file-info): Use package-subdirectory-regexp.
11125 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11127         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11128         diff-mode-shared-map (bug#8284).
11129         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11131 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11133         * calendar/time-date.el (format-seconds): Use assoc instead of
11134         assoc-string, since assoc-string doesn't exist in XEmacs.
11136 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11138         * custom.el (custom-known-themes): Reflow docstring.
11139         (custom-theme-load-path): Fix typo in docstring.
11140         (load-theme): Fix typo in error message.
11141         (custom-available-themes, custom-variable-theme-value):
11142         Use `let', not `let*'.
11144 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11146         * calc/README: Mention inclusion of musical notes.
11148         * calc/calc-units.el (calc-lu-quant): Rename from
11149         `calc-logunits-quantity'.
11150         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11151         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11152         (calc-db): Rename from `calc-dblevel'.
11153         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11154         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11155         (calc-np): Rename from `calc-nplevel'.
11156         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11157         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11158         (calc-lu-plus): Rename from `calc-logunits-add'.
11159         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11160         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11161         (calc-lu-minus): Rename from `calc-logunits-sub'.
11162         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11163         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11164         (calc-lu-times): Rename from `calc-logunits-mul'.
11165         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11166         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11167         (calc-lu-divide): Rename from `calc-logunits-div'.
11168         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11169         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11171         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11172         functions being autoloaded.
11174         * calc/calc.el (calc-lu-power-reference): Rename from
11175         `calc-logunits-power-reference'.
11176         (calc-lu-field-reference): Rename from
11177         `calc-logunits-field-reference'.
11179         * calc/calc-help.el (calc-l-prefix-help):
11180         Mention musical note functions.
11182 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11184         * minibuffer.el (completion-all-sorted-completions):
11185         Use :completion-cycle-penalty text property if present.
11187 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11189         * allout.el (allout-yank-processing): Adjust for new rebulleting
11190         regime so bullet being yanked is used without prompting the user
11191         for a choice.
11193 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11195         * startup.el (command-line): Warn the user that _emacs is deprecated.
11197 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11199         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11200         (delphi-verbose, delphi-comment-face, delphi-string-face)
11201         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11202         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11203         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11204         (delphi-new-comment-line, delphi-font-lock-defaults)
11205         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11206         Fix typos in docstrings.
11208 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11210         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11211         Invert the roles of character and string values for INSTEAD, so a
11212         string is used for the more common case of a defaulting prompt.
11214 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11216         * progmodes/ruby-mode.el (ruby-backward-sexp):
11217         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11218         * play/gamegrid.el (gamegrid-make-face):
11219         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11220         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11221         * notifications.el (notifications-notify):
11222         * net/xesam.el (xesam-search-engines):
11223         * net/quickurl.el (quickurl-list-insert):
11224         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11226 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11228         * startup.el (command-line): Update package subdirectory regexp.
11230 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11232         * allout.el (allout-abbreviate-flattened-numbering)
11233         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11235         * subr.el (read-char-choice): Only show the cursor after the prompt,
11236         not after the answer.
11238 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11240         * help-fns.el (variable-at-point): Skip leading quotes, if any
11241         (bug#8253).
11243 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11245         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11246         warning message.
11248 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11250         * shell.el (shell): When called interactively, offer to change the
11251         shell file name on remote hosts.
11253 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11255         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11256         integration for LDAP parameters.  The host, base, user or binddn,
11257         and secret tokens can be specified in a netrc file, for instance.
11258         This is optional because an `auth-source' parameter must be
11259         specified in the search attributes.
11261 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11263         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11265 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11267         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11268         into declaration.  Remove redundant and harmful binding.
11270 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11272         * files.el (file-ownership-preserved-p): Pass `integer' as an
11273         explicit 2nd argument to `file-attributes'.  If the file's owner
11274         is the Administrators group on Windows, and the current user is
11275         Administrator, consider that a match.
11277         * server.el (server-ensure-safe-dir): Consider server directory
11278         safe on MS-Windows if its owner is the Administrators group while
11279         the current Emacs user is Administrator.  Use `=' to compare
11280         numerical UIDs, since they could be integers or floats.
11282 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11284         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11286 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11288         Sync with Tramp 2.2.1.
11290         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11292         * net/trampver.el: Update release number.
11294 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11296         * progmodes/compile.el (compilation--previous-directory): Fix up
11297         various nil/dead-marker mismatches (bug#8014).
11298         (compilation-directory-properties, compilation-error-properties):
11299         Don't call it at a position past the one we're about to change.
11301         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11302         Disable obsolescence warnings in the file that declares it.
11304 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11306         * allout-widgets.el (allout-widgets-tally):
11307         Initialize allout-widgets-tally as a hash table rather than nil to
11308         prevent mode-line redisplay warnings.  Also, clarify the module
11309         description and fix a comment typo.
11311 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11313         * help-fns.el (describe-variable): Don't complete keywords.
11314         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11316 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11318         * emacs-lisp/package.el (package-version-join): Impose a standard
11319         string representation for pre/alpha/beta version lists.
11320         (package-unpack-single): Standardize the directory name by passing
11321         it through package-version-join.
11322         (package-strip-rcs-id): Accept any version string that does not
11323         signal an error in version-to-list.
11325 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11327         * simple.el (delete-trailing-whitespace): Return nil for the
11328         benefit of `write-file-functions'.
11330 2011-03-10  Glenn Morris  <rgm@gnu.org>
11332         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11334         * vc/vc-git.el (vc-git-program): New option.
11335         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11336         (vc-git--call): Use it.
11338         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11340         * cus-edit.el (Custom-newline): If no button at point, look
11341         for a subgroup button at start-of-line.  (Bug#2298)
11343         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11345 2011-03-10  Julien Danjou  <julien@danjou.info>
11347         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11348         `cursor-type' is nil.
11350 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11352         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11354 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11356         * allout.el: Change so yank of distinctive-bullet items
11357         preserves the existing header prefix, rebulleting it if necessary,
11358         rather than replacing it.  This is necessary for proper operation
11359         of cooperative addons like allout-widgets.
11360         (allout-make-topic-prefix, allout-rebullet-heading):
11361         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11362         value as alternate bullet to be used, instead of prompting the user
11363         for a bullet character.
11365 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11367         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11368         Do not use `tramp-file-name-port', because this returns also
11369         `tramp-default-port'.
11371 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11373         * net/rcirc.el (rcirc-handler-001): Remove useless
11374         with-rcirc-process-buffer.
11375         (rcirc-check-auth-status): Swap arguments to string-match.
11377 2011-03-09  Glenn Morris  <rgm@gnu.org>
11379         * shell.el (shell-mode):
11380         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11382         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11383         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11385 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11387         * emacs-lisp/package.el (package-refresh-contents)
11388         (package-menu-execute): Use condition-case-no-debug.
11390 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11392         * simple.el (shell-command-to-string): Use `process-file'.
11394         * emacs-lisp/package.el (package-tar-file-info): Handle also
11395         remote files.
11397         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11398         Use `equal' for upload base check.
11400 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11402         * textmodes/texinfo.el (texinfo-environments):
11403         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11405 2011-03-08  Glenn Morris  <rgm@gnu.org>
11407         * cus-start.el (cursor-in-non-selected-windows):
11408         Fix :set quoting oddness.  (Bug#8192)
11410         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11411         in some setf expressions.  (Bug#2159)
11413 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11415         * custom.el (custom-available-themes): Return themes in
11416         alphabetical order.
11418 See ChangeLog.15 for earlier changes.
11420 ;; Local Variables:
11421 ;; coding: utf-8
11422 ;; End:
11424   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11426   This file is part of GNU Emacs.
11428   GNU Emacs is free software: you can redistribute it and/or modify
11429   it under the terms of the GNU General Public License as published by
11430   the Free Software Foundation, either version 3 of the License, or
11431   (at your option) any later version.
11433   GNU Emacs is distributed in the hope that it will be useful,
11434   but WITHOUT ANY WARRANTY; without even the implied warranty of
11435   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11436   GNU General Public License for more details.
11438   You should have received a copy of the GNU General Public License
11439   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.