* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
[emacs.git] / lisp / ChangeLog
blobbde9d54cfa24b925e4fd67cae155e9f2b6ea20e3
1 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4         New function.
5         (js--regexp-literal, js-syntax-propertize-function): Remove.
6         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7         (js-mode-map): Don't rebind electric keys.
8         (js-insert-and-indent): Remove.
9         (js-mode): Setup electric-layout and electric-indent instead.
11         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
15         * epa.el (epa-progress-callback-function): Fix the logic of
16         displaying progress.
17         * epa-file.el (epa-file-insert-file-contents): Make progress
18         display more user-friendly.
19         (epa-file-write-region): Ditto.
21 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
23         * subr.el (string-mark-left-to-right): New function.
25         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
26         Use string-mark-left-to-right.
27         (list-buffers-noselect): Caller changed.
29         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
30         Use string-mark-left-to-right.
31         (tabulated-list-print): Recenter after moving point.
33 2011-08-10  Juri Linkov  <juri@jurta.org>
35         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
36         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
37         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
39 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
41         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
42         (Bug#7554).
44 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
46         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
47         character.  (Bug#6594)
49 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
51         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
52         (image-dired--with-db-file): New macro.
53         (image-dired-write-tags, image-dired-remove-tag)
54         (image-dired-create-gallery-lists, image-dired-write-comments)
55         (image-dired-get-comment, image-dired-mark-tagged-files)
56         (image-dired-list-tags, image-dired-gallery-generate): Use it.
57         (image-dired-gallery-generate): Use insert-file-contents.
59         * time.el (display-time-world-list, display-time-world-display):
60         * time-stamp.el (time-stamp-string):
61         * vc/add-log.el (add-change-log-entry): Use setenv instead of
62         set-time-zone-rule (Bug#7337).
64 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
66         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
67         (epg-error-to-string, epg-errors-to-string): New function.
68         (epg-wait-for-completion): Reverse errors list.
69         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
70         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
71         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
72         (epg-sign-keys, epg-generate-key-from-file)
73         (epg-generate-key-from-string): Format errors by using
74         epg-errors-to-string (bug#9255).
75         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
77 2011-08-07  Juri Linkov  <juri@jurta.org>
79         * faces.el (list-faces-display): Remove extra angle bracket
80         from `help-mode-map'.
82         * info.el (Info-history-toc-nodes): Doc fix.
84         * longlines.el (longlines-mode): Doc fix.
86 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
88         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
89         of statements and in a few more cases (bug#9183).
91         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
92         New functions.
93         (cl-transform-lambda): Use them (bug#9239).
95 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
97         * window.el (display-buffer-same-window)
98         (display-buffer-same-frame, display-buffer-other-window)
99         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
100         (pop-to-buffer-other-window)
101         (pop-to-buffer-same-frame-other-window)
102         (pop-to-buffer-other-frame): Make them defuns.
103         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
105 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
107         * subr.el (make-composed-keymap): Move from C.  Change calling
108         convention, and improve docstring to bring attention to a subtle point.
109         * minibuffer.el (completing-read-default): Adjust accordingly.
111 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
113         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
114         (tramp-open-shell): Use `tramp-shell-quote-argument'.
116         * net/trampver.el: Update release number.
118 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
120         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
121         "in" (bug#9190).
123 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
125         * mail/sendmail.el (sendmail-query-once): Restore the current
126         buffer after querying (bug#9074).
128         * dired.el (dired-flagged): Use different faces for marked and
129         flagged files (bug#6117).
131         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
132         (bug#4433).
134         * ido.el (ido-mode): Switch off the message if called
135         non-interactively.
137         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
138         before 587, since it appears that that's more likely to work for
139         more people.
141         * cus-edit.el (custom-file): When running under emacs -q, always
142         refuse to save the customisations, even if the .emacs file doesn't
143         exist.
145         * info.el: Remove the `Info-beginning-of-buffer' function
146         (bug#8325).
148         * net/network-stream.el (network-stream-open-starttls):
149         Use `starttls-available-p' to see whether starttls.el can be used.
151 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
153         * window.el (display-buffer-in-window): Don't set dedicated status
154         of window here (Bug#9215).
155         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
156         (display-buffer-pop-up-side-window)
157         (display-buffer-in-side-window): Set dedicated status of window here.
159 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
161         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
162         before binding generated-autoload-file.
164 2011-08-01  Deniz Dogan  <deniz@dogan.se>
166         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
168 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
170         Sync with Tramp 2.2.2.
172         * net/trampver.el: Update release number.
174 2011-07-30  Juri Linkov  <juri@jurta.org>
176         * dired-aux.el (dired-touch-initial): Remove function.
177         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
178         current time, and `default' to the last modification time of the
179         current marked file (bug#6887).
181 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
183         * simple.el (goto-line): Use string-to-number to provide a
184         numeric argument to read-number (bug#9163).
186 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
188         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
189         connection process, it could be nil.
191 2011-07-27  Leo Liu  <sdl.web@gmail.com>
193         Simplify url handling in rcirc-mode.
195         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
196         (rcirc-browse-url-at-mouse): Remove.
197         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
199 2011-07-26  Alan Mackenzie  <acm@muc.de>
201         Fontify bitfield declarations properly.
203         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
204         (c-symbol-chars): Now exported as a lang variable.
205         (c-not-primitive-type-keywords): New lang variable.
207         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
208         QT keyword "more" to prevent "more slots: ...." being spuriously
209         parsed as a bitfield declaraion.
211         * progmodes/cc-engine.el (c-beginning-of-statement-1):
212         Refactor and enhance to handle bitfield declarations.
213         (c-punctuation-in): New function.
214         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
215         declarations properly.
217 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
219         * calendar/icalendar.el (icalendar--all-events): Take care of
220         multiple vcalendars in a single file.
221         (icalendar--convert-float-to-ical): Checkdoc fixes.
223 2011-07-25  Deniz Dogan  <deniz@dogan.se>
225         * image.el (insert-image): Clarifying docstring.
227 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
229         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
230         `tramp-send-command-and-check' if there is no error.
231         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
233 2011-07-22  Alan Mackenzie  <acm@muc.de>
235         Prevent cc-langs.elc being loaded at run time.
237         * progmodes/cc-mode.el: Remove two autoload forms which loaded
238         cc-langs.
240         * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
241         "(require 'cc-langs)".  Quote a form so it will evaluate at
242         (cc-mode's) compilation time.
244 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
246         * net/tramp.el (tramp-file-name-handler): Avoid recursive
247         loading.  (Bug#9114)
249 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
251         * window.el (display-buffer-pop-up-window)
252         (display-buffer-pop-up-side-window)
253         (display-buffer-in-side-window): Call display-buffer-set-height
254         and display-buffer-set-width after setting the new window's
255         buffer so `fit-window-to-buffer' and friends work on the right buffer.
257 2011-07-20  Sam Steingold  <sds@gnu.org>
259         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
260         (etags-tags-included-tables): Call `convert-standard-filename' on
261         the file names contained in TAGS so that windows Emacs can handle
262         TAGS files created by cygwin ctags.
264 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
266         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
267         which apparently didn't work.
269 2011-07-19  Roland Winkler  <winkler@gnu.org>
271         * proced.el (proced-send-signal): For *Marked Processes* buffer
272         put point at beginning of buffer.
274 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
276         * proced.el (proced-format): Make header lines align with the text
277         (bug#1779).
279 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
281         * view.el (view-buffer): Allow running in `special' modes if we're
282         visiting a file (bug#8615).
284 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
286         * window.el (display-buffer-alist-of-strings-p)
287         (display-buffer-alist-set-1, display-buffer-alist-set-2):
288         New functions.
289         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
290         more accurately.
292 2011-07-18  Alan Mackenzie  <acm@muc.de>
294         Fontify declarators properly when, e.g., a jit-lock chunk begins
295         inside a declaration.
297         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
299         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
300         New function.
301         (c-complex-decl-matchers): Insert reference to
302         c-font-lock-enclosing-decls.
304         * progmodes/cc-engine.el (c-backward-single-comment):
305         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
306         to nil around calls to (forward-comment -1).
308 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
310         * image.el (put-image): Doc typo fix.
312         * progmodes/etags.el (tags-search): Doc typo fix.
314         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
315         password if we get errors 550 to 554.
317 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
319         * net/gnutls.el (gnutls-log-level): Remove.
321         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
322         indentation character (bug#6380).
324         * files.el (buffer-offer-save): Made permanently local (bug#6241).
326         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
327         to clarify what the problem is (bug#4291).
329         * simple.el (current-kill): Clarify what
330         `interprogram-paste-function' does (bug#7500).
331         (auto-fill-mode): Document `auto-fill-function' in relation to
332         `auto-fill-mode' (bug#2470).
334 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
336         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
337         method if slot is read-only (bug#9035).
339 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
341         * frame.el (select-frame-set-input-focus): New argument NORECORD.
342         * window.el (pop-to-buffer): Select window used even if it was
343         selected before, see discussion of (Bug#8615), (Bug#6954).
344         Pass argument NORECORD on to select-frame-set-input-focus.
346 2011-07-15  Glenn Morris  <rgm@gnu.org>
348         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
349         Respect help-form.
351 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
353         * net/gnutls.el (gnutls-min-prime-bits): New variable.
354         (gnutls-negotiate): Use it.
356 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
358         * net/gnutls.el (gnutls-negotiate):
359         Upcase `gnutls-algorithm-priority'.
361 2011-07-15  Glenn Morris  <rgm@gnu.org>
363         * jka-compr.el (jka-compr-verbose): Move from here...
364         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
365         Add missing :version tag.
366         * info.el: No need to require jka-compr when compiling.
368 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
370         * net/gnutls.el (gnutls-algorithm-priority): New variable.
371         (gnutls-negotiate): Use it.
373         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
375         * info.el (Info-beginning-of-buffer): New command.
376         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
377         announcing `b' as the key (bug#8325).
378         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
380         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
382         * international/mule-cmds.el
383         (describe-specified-language-support): Make the error message
384         clearer (bug#8905).
386         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
388         * isearch.el (isearch-barrier): Add a doc string, since it's
389         mentioned in a function doc string (bug#8678).
391 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
393         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
394         buffer argument (Bug#9083) and self-identifying label argument.
396 2011-07-15  Glenn Morris  <rgm@gnu.org>
398         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
400 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
402         * man.el (Man-fontify-manpage): Fix message when formatting the
403         man page (bug#7929).
405 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
407         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
408         argument LRM; if non-nil, append an invisible LRM character to the
409         buffer name.
410         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
411         last argument non-nil, when formatting buffer names.
412         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
413         paragraph direction.
415 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
417         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
418         the man page name (bug#7929).
420         * image.el (put-image): Mention the `put-image' overlay property
421         (bug#7834).
423         * scroll-bar.el (set-scroll-bar-mode): Mention that
424         `scroll-bar-mode' lists the values (bug#7772).
426         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
427         command (bug#7729).
429         * rect.el (apply-on-rectangle): Return the point after the last
430         operation.
431         (string-rectangle): Go to the point after the last operation
432         (bug#7522).
434         * printing.el (pr-toggle-region): Clarify the documentation
435         slightly (bug#7493).
437         * time.el (display-time-update):
438         Allow `display-time-mail-function' to return nil (bug#7158).
439         Fix suggested by Detlev Zundel.
441         * vc/diff.el (diff): Clarify the order the file names are read
442         (bug#7111).
444         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
445         the doc string (bug#7015).
447         * font-lock.el (font-lock-maximum-decoration): Mention what
448         numeric levels mean (bug#6935).
450         * startup.el (initial-buffer-choice): Don't mention the `none'
451         selection, which is against policy.
453 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
455         * window.el (display-buffer-normalize-special):
456         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
458 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
460         * subr.el (version<, version<=, version=): Mention "-CVS" and
461         "-12345" alpha version numbers.
463 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
465         * bindings.el: Add advertised binding for set-mark-command
466         (Bug#5772).
468 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
470         * bindings.el (mode-line-other-buffer):
471         * bookmark.el (bookmark-bmenu-2-window):
472         * bs.el (bs-cycle-next, bs-cycle-previous):
473         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
474         switch-to-buffer.
476         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
477         Delete.
479 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
481         * follow.el (follow-debug-message, follow-redisplay):
482         * jka-cmpr-hook.el (with-auto-compression-mode):
483         Fix typos in docstrings.
485 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
487         * subr.el (with-silent-modifications): Clarify somewhat what the
488         macro inhibits (bug#6525).
490         * simple.el (eval-expression): Note what it does if called
491         interactively (bug#6495).
493 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
495         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
496         Use pop-to-buffer buffer-or-name if it is nil.
498         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
499         Remove switch-to-buffer.
501 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
503         * files.el (make-directory): Clarify that an error will be raised
504         if there's an error (bug#6397).
506         * startup.el (initial-buffer-choice): Add `none' as a choice
507         (bug#6234).
509         * subr.el (add-hook): Clarify section about buffer-local hooks
510         (bug#6218).
512         * dired.el (dired-flagged): Clarify doc string (bug#6117).
514 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
516         * tabify.el (untabify): Preserve the current column so that point
517         doesn't move (bug#6032).
519 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
521         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
522         Rewrite to avoid awkward possessive "s" (bug#5986).
524 2011-07-13  Glenn Morris  <rgm@gnu.org>
526         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
527         (dired-insert-directory): Give a message the first time
528         if ls is found not to support --dired.
530 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
532         * simple.el (toggle-truncate-lines): Clarify what is toggled
533         (bug#5580).  Text by Drew Adams.
535 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
537         * simple.el (blink-matching-open): Make the error message from the
538         last change less verbose.
540 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
542         * font-lock.el (font-lock-comment-face): Use the high contrast
543         "yellow" color for font-lock-comment-face on low color terminals
544         using a dark background color (bug#4221).
546 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
548         * dired.el (dired-insert-set-properties): Make the doc string
549         reflect what it does now (bug#5325).
551         * simple.el (blink-matching-open): Say that we were unable to find
552         the match within the limit, if we're limited (bug#5122).
554         * international/mule-cmds.el (prefer-coding-system): Add an
555         example (bug#4869).
557         * progmodes/etags.el (tags-search): Document `file-list-form'
558         (bug#4731).
560 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
562         * net/browse-url.el (browse-url-default-browser)
563         (browse-url-browser-function): Make the default browser choice a
564         bit more logical (bug#4300).  Also clean up the doc string.
566 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
568         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
569         binary endings (bug#4440).
571 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
573         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
574         which can be pretty annoying (bug#8971).
576         * jka-compr.el (jka-compr-verbose): New variable, and use
577         throughout (bug#8971).
579         * info.el (Info-find-file): Fall back on the installation
580         directory if we can't find the info node anywhere else.
582 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
584         * vc/vc.el (vc-revert-file):
585         Don't set file time-stamp in the past.  (Bug#5181)
587 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
589         * files.el (after-find-file): Give a better error message when
590         trying to find a symlink that points to a file that doesn't exist
591         (bug#4398).
593         * progmodes/cc-vars.el: Remove (probably) misleading comment
594         (bug#4396).
596 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
598         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
600 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
602         * mouse-sel.el: Hack restoring functionality, while keeping
603         compatibility with 2010-07-03 changes to mouse selection.
604         (mouse-sel-primary-overlay): New var.
605         (mouse-sel-selection-alist): Use it.
606         (mouse-sel-mode): Doc fix; remove points that are default features
607         of mouse.el.
609 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
611         * progmodes/compile.el (compilation-error-regexp-alist-alist):
612         Fix previous fix (bug#2490).
614 2011-07-12  Roland Winkler  <winkler@gnu.org>
616         * textmodes/bibtex.el (bibtex-initialize):
617         Use pop-to-buffer-same-window.
618         (bibtex-search-entries): Fix interactive call.
620 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
622         * progmodes/compile.el (compilation-error-regexp-alist-alist):
623         Fontise bytecomp Error lines more correctly (bug#2490).
624         Fix suggested by Johan BockgÃ¥rd.
626         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
628         * dired-x.el (dired-guess-default): Use `delete-dups'.
630 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
632         * dired.el (dired-mark-prompt):
633         * dired-aux.el (dired-read-shell-command): Doc fix.
635 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
637         * mail/sendmail.el (sendmail-query-once):
638         Use `customize-save-variable' unconditionally, now that it works under
639         emacs -Q.
641         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
643         * cus-edit.el (custom-file): Take an optional no-error variable.
644         (customize-save-variable): Set the variable, and give a warning if
645         running under "emacs -q".
647 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
649         * loadhist.el (unload-feature-special-hooks):
650         Add `auto-coding-functions', `fill-nobreak-predicate' and
651         `find-directory-functions' (bug#5327).
653 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
655         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
657         * cus-edit.el (custom-guess-name-alist): -alist variables should
658         use the `alist' type (bug#3120).  Suggested by Drew Adams.
660         * printing.el: Add documentation to all the `pr-toggle-' commands.
662 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
664         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
665         backends where it makes sense (bug#2623).
667 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
669         * dired-x.el (dired-guess-default): Remove duplicate shell command
670         entries (bug#2028).
671         (dired-guess-default): Fix grammar in doc string (bug#2028).
672         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
674         * subr.el (remove-duplicates): New conveniency function.
676 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
679         (bug#1526).
681 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
683         * window.el (display-buffer-normalize-default): Don't invert
684         meaning of even-window-heights.  Reported by Eli Zaretskii
685         <eliz@gnu.org>.
687 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
689         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
691 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
693         * window.el (display-buffer): Fix arguments to
694         display-buffer-reuse-window in last change.
696         * faces.el (link): Use a less saturated blue on light backgrounds.
698         * startup.el (fancy-startup-text, fancy-about-text)
699         (fancy-startup-tail): Use font-lock faces, for background safety.
701 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
703         * emulation/viper-cmd.el (viper-change-state-to-vi):
704         Limit triggering of abbrev expansion (Bug#9038).
706 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
708         * window.el (display-buffer-default-specifiers): Remove.
709         (display-buffer-macro-specifiers): Remove default specifiers.
710         (display-buffer-alist): Default to nil.
711         (display-buffer-reuse-window): New optional argument other-window.
712         (display-buffer-pop-up-window): Allow splitting internal
713         windows.  Check whether a live window was created.
714         (display-buffer-other-window-means-other-frame)
715         (display-buffer-normalize-arguments): Rename to
716         display-buffer-normalize-argument and rewrite.  Set the
717         other-window specifier.
718         (display-buffer-normalize-special): New function.
719         (display-buffer-normalize-options): Rename to
720         display-buffer-normalize-default and rewrite.
721         (display-buffer-normalize-options-inhibit): Remove.
722         (display-buffer-normalize-specifiers): Rewrite.
723         (display-buffer): Process other-window specifier and call
724         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
725         more faithfully.
726         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
727         (display-buffer-alist-set): Don't handle 'unset default values.
728         (display-buffer-in-window, display-buffer-alist-set):
729         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
730         <tassilo@member.fsf.org>.
732 2011-07-09  Leo Liu  <sdl.web@gmail.com>
734         * register.el (insert-register): Restore accidental change on
735         2011-06-26.  (Bug#9028)
737 2011-07-09  Glenn Morris  <rgm@gnu.org>
739         * subr.el (remq): Handle the empty list.  (Bug#9024)
741 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
743         * mail/sendmail.el (send-mail-function): No longer delay custom
744         initialization.
745         * custom.el (custom-initialize-delay): Doc fix.
747 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
749         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
751 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
753         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
754         human-friendly prompt.
756 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
758         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
759         provided by a particular plugin.
761 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
763         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
764         save customizations (with "emacs -Q"), just set the variable
765         instead of erroring out.
767         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
769 2011-07-08  Juri Linkov  <juri@jurta.org>
771         * arc-mode.el (archive-zip-expunge, archive-zip-update)
772         (archive-zip-update-case): Use 7z if found by `executable-find'.
773         The order of searching the available programs is the same as in
774         `archive-zip-extract' (bug#8968).
776 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
778         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
779         (menu-bar-options-menu): Tweak descriptions.
781 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
783         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
784         menu items into verb phrases (bug#1421).  Also refill to fit under
785         80 columns.
787 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
789         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
790         (Info-read-node-name): Doc fix (Bug#1084).
792         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
793         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
794         (end-of-sexp, beginning-of-sexp)
795         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
796         (forward-symbol, forward-same-syntax, word-at-point)
797         (sentence-at-point): Doc fix (Bug#1144).
799 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
801         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
802         should cover it (bug#1281).
804         * cus-edit.el (custom-show): Mark as obsolete.
806         * net/network-stream.el (network-stream-open-starttls): If gnutls
807         negotiation fails, then possibly try again with a non-encrypted
808         connection (bug#9017).
810         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
811         be used.
813 2011-07-07  Richard Stallman  <rms@gnu.org>
815         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
816         property, and handle its changed format.
817         Look for the correct line number.
818         Use file's line contents (but not past first =) to find
819         correct line in message.
821 2011-07-07  Kenichi Handa  <handa@m17n.org>
823         * international/characters.el (build-unicode-category-table):
824         Delete it.
825         (unicode-category-table): Set it by unicode-property-table-internal.
827         * international/mule-cmds.el (char-code-property-alist): Move to
828         to src/chartab.c.
829         (get-char-code-property): Call unicode-property-table-internal to
830         load a file.  Call get-unicode-property-internal where necessary.
831         (put-char-code-property): Call unicode-property-table-internal to
832         load a file.  Call put-unicode-property-internal where necessary.
833         put-unicode-property-internal where necessary.
834         (char-code-property-description):
835         Call unicode-property-table-internal to load a file.
837         * international/charprop.el:
838         * international/uni-bidi.el:
839         * international/uni-category.el:
840         * international/uni-combining.el:
841         * international/uni-comment.el:
842         * international/uni-decimal.el:
843         * international/uni-decomposition.el:
844         * international/uni-digit.el:
845         * international/uni-lowercase.el:
846         * international/uni-mirrored.el:
847         * international/uni-name.el:
848         * international/uni-numeric.el:
849         * international/uni-old-name.el:
850         * international/uni-titlecase.el:
851         * international/uni-uppercase.el: Regenerate.
853         * loadup.el: Load international/charprop.el before
854         international/characters.
856 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
858         * window.el (next-buffer, previous-buffer): Signal an error if
859         called from a minibuffer window.
861         * bindings.el: Revert 2011-07-04 change.
863 2011-07-06  Richard Stallman  <rms@gnu.org>
865         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
866         (rmail-mime-insert-bulk, rmail-mime-insert-text):
867         Treat markers like ints.
868         (rmail-mime-entity): Doc fix.
870 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
872         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
873         defcustom again for backwards compatibility.
875         * simple.el (shell-command-on-region): Fill.
877         * dired-aux.el (dired-kill-line): Add a doc string.
879         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
880         to "\\sw\\|\\s_" (bug#358).
882         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
883         (dired-unmark-backward): Ditto.
884         (dired-flag-backup-files): Ditto.
886         * dired-x.el (dired-mark-sexp): Ditto.
888 2011-07-06  Richard Stallman  <rms@gnu.org>
890         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
891         (rmail-mime-entity): New arg TRUNCATED.
892         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
893         New functions.
894         (rmail-mime-save): Warn if entity is truncated.
895         (rmail-mime-toggle-hidden): Likewise, for showing.
896         (rmail-mime-process-multipart): Record when an entity is truncated.
898         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
899         if ENTITY is a string.
901 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
903         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
904         of faces when `M-C-x'-ing their definitions (bug#8378).
905         Also clean up the code slightly.
907         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
908         because that makes the colours go away.
910         * mail/sendmail.el (send-mail-function): Change the default to
911         `sendmail-query-once'.
912         (sendmail-query-once): Add an autoload cookie.
914         * net/network-stream.el (network-stream-open-starttls): Try using
915         a plain connection even if the server offered STARTTLS, and we
916         kinda wanted to use it, if Emacs doesn't have any STARTTLS
917         capability.  This should make smtpmail.el work in slightly more
918         configurations.
920 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
922         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
923         New defun.
924         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
926 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
928         * progmodes/sql.el: Version 3.0
929         (sql-product-alist): Add product :completion-object,
930         :completion-column, and :statement attributes.
931         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
932         (sql-mode-syntax-table): Mark all punctuation.
933         (sql-font-lock-keywords-builder): Temporarily remove fallback on
934         ansi keywords.
935         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
936         (sql-mode-oracle-font-lock-keywords): Improve.
937         (sql-oracle-show-reserved-words): New function for development.
938         (sql-product-font-lock): Simplify for source code buffers.
939         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
940         New functions.
941         (sql-highlight-product): Set product specific syntax table.
942         (sql-mode-map): Add statement movement functions.
943         (sql-ansi-statement-starters, sql-oracle-statement-starters):
944         New variable.
945         (sql-statement-regexp, sql-beginning-of-statement)
946         (sql-end-of-statement, sql-signum): New functions.
947         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
948         (sql-show-sqli-buffer): Bug fix.
949         (sql-interactive-mode): Store connection data as buffer local.
950         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
951         with sql-interactive-mode.
952         (sql-save-connection): Save buffer local settings.
953         (sql-connection-menu-filter): Change menu entry name.
954         (sql-product-interactive): Bug fix.
955         (sql-preoutput-hold): New variable.
956         (sql-interactive-remove-continuation-prompt): Bug fixes.
957         (sql-debug-redirect): New variable.
958         (sql-str-literal): New function.
959         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
960         Redesign.
961         (sql-oracle-save-settings, sql-oracle-restore-settings)
962         (sql-oracle-list-all, sql-oracle-list-table): New functions.
963         (sql-completion-object, sql-completion-column)
964         (sql-completion-sqlbuf): New variables.
965         (sql-build-completions-1, sql-build-completions)
966         (sql-try-completion): New functions.
967         (sql-read-table-name): Use them.
968         (sql-contains-names): New buffer local variable.
969         (sql-list-all, sql-list-table): Use it.
970         (sql-oracle-completion-types): New variable.
971         (sql-oracle-completion-object, sql-sqlite-completion-object)
972         (sql-postgres-completion-object): New functions.
974 2011-07-06  Glenn Morris  <rgm@gnu.org>
976         * window.el (pop-to-buffer): Doc fix.
978 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
980         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
982 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
984         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
986         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
988 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
990         * button.el (button): Inherit from link face.  Suggested by Dan
991         Nicolaescu.
993 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
995         * progmodes/gdb-mi.el: Fit in 80 columns.
996         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
997         switch-to-buffer.
999         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1000         if imenu is simply not configured (bug#8941).
1002 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
1004         * allout.el (allout-post-undo-hook): New allout outline-change
1005         event hook to signal undo activity.
1006         (allout-post-command-business): Run allout-post-undo-hook if an
1007         undo just occurred.
1008         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1009         * allout-widgets.el (allout-widgets-after-undo-function):
1010         Ensure the integrity of the current item's decoration after it has been
1011         in the vicinity of an undo.
1012         (allout-widgets-mode): Include allout-widgets-after-undo-function
1013         on the new allout-post-undo-hook.
1015 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1017         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1018         Let define-derived-mode define it.
1019         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1020         cycles of abbrev-table inheritance (bug#8998).
1022 2011-07-05  Roland Winkler  <winkler@gnu.org>
1024         * textmodes/bibtex.el: Add support for biblatex.
1025         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1026         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1027         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1028         (bibtex-entry-alist, bibtex-field-alist): New variables.
1029         (bibtex-entry-field-alist): Obsolete alias for
1030         bibtex-BibTeX-entry-alist.
1031         (bibtex-entry-alist, bibtex-field-alist): New widgets.
1032         (bibtex-set-dialect): New command.
1033         (bibtex-entry-type, bibtex-entry-head)
1034         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1035         Bind via bibtex-set-dialect.
1036         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1037         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1038         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1039         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1040         Define via bibtex-set-dialect.
1041         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1042         Obey bibtex-no-opt-remove-re.
1043         (bibtex-vec-push, bibtex-vec-incr): New functions.
1044         (bibtex-format-entry, bibtex-field-list)
1045         (bibtex-print-help-message, bibtex-validate)
1046         (bibtex-search-entries): Use new format of bibtex-entry-alist.
1048 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1050         * progmodes/compile.el (compilation-goto-locus):
1051         * net/tramp-cmds.el (tramp-append-tramp-buffers):
1052         * bs.el (bs-cycle-next, bs-cycle-previous):
1053         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1054         * bindings.el (mode-line-other-buffer):
1055         * autoinsert.el (auto-insert):
1056         * arc-mode.el (archive-extract):
1057         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1059 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1061         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1062         Fix check of `emacs-lock-unlockable-modes'.
1063         Coerce true values of `emacs-lock--try-unlocking' to t.
1065 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1067         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1068         * emacs-lock.el: New file.
1070 2011-07-05  Julien Danjou  <julien@danjou.info>
1072         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1073         than `boundp' to check if face is set.
1075 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1077         * register.el (registerv-make):
1078         * window.el (window-min-height): Fix typos in docstrings.
1080 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
1082         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1083         Update doc string.
1085 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
1087         * server.el (server-execute): Catch quit and call
1088         `server-return-error' to pass the error back to emacsclient and
1089         close the connection (bug#8942).
1091 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
1093         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1094         insecure exception for current topic.  Also note that auto-saves
1095         are handled differently.
1097         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1098         State variables for tracking auto-save inhibition situation.
1100         (allout-write-contents-hook-handler): Rename from
1101         'allout-write-file-hook-handler', and describe how it depends on
1102         write-contents-functions sensitivity to non-nil value to prevent
1103         file write.
1105         (allout-auto-save-hook-handler): Remove.  auto-save does not check
1106         this in individual buffers, only in the starting buffer, so this
1107         is not the right way for us to inhibit auto-save in a buffer
1108         according to its condition.
1110         (allout-mode): Use new allout-write-contents-hook-handler, and
1111         only with write-contents-functions.  Remove auto-save provisions -
1112         they're implemented elsewhere.
1114         (allout-before-change-handler): If undo is in progress, note that
1115         for attention of allout-post-command-business.
1117         (allout-post-command-business): If the command we're following was
1118         an undo, check for change in the status of encrypted items and
1119         adjust auto-save inhibitions accordingly.
1121         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1122         according to whether there are or aren't any plain-text topics
1123         pending encryption.
1125         (allout-inhibit-auto-save-info-for-decryption):
1126         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
1127         there are plain-text topics pending encryption.
1129         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1130         buffer-saved-size and some allout state to not inhibit auto-saves
1131         if there are no longer any plain-text topics pending encryption.
1133         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1134         No longer provide for exemption of the current topic.
1136 2011-07-04  Juri Linkov  <juri@jurta.org>
1138         Add 7z operations to delete and save changed members (bug#8968).
1139         * arc-mode.el (archive-7z-expunge, archive-7z-update):
1140         New defcustoms.
1141         (archive-7z-write-file-member): New function.
1142         (archive-7z-summarize): Fix the number of dashes in the
1143         listing output.
1145 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1147         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1148         (bug#8958).
1150 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
1152         * bindings.el: Ignore next-buffer and previous-buffer in
1153         minibuffer-local-map.
1155         * font-lock.el (font-lock-builtin-face): Change light background
1156         color to dark slate blue (Bug#6693).
1158 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
1160         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1162 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1164         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1165         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1166         Add switch-to-buffer.
1168 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1170         * isearch.el (isearch-search-fun-function): Clarify further the
1171         meaning of the function returned.
1173 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
1175         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1177         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1178         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1179         Use it.
1180         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
1181         `tramp-default-remote-path' does not exist.
1182         (tramp-send-command-and-read): New optional argument NOERROR.
1183         (tramp-open-connection-setup-interactive-shell)
1184         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1185         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1186         (tramp-process-sentinel): Flush also process' connection property.
1187         (tramp-sh-handle-start-file-process): Do not set process
1188         sentinel.  It is done now ...
1189         (tramp-maybe-open-connection): ... here.  (Bug#8929)
1191 2011-07-04  MON KEY  <monkey@sandpframing.com>
1193         * play/animate.el (animate-string): Doc fixes and allow changing
1194         the buffer name (bug#5417).
1196 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1198         * play/animate.el (animation-buffer-name): Rename from *animate*.
1200 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
1202         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1203         This is simpler and helps future-proof the code.
1204         (timer-until): Use time-subtract and float-time.
1205         (timer--time-less-p): Use time-less-p.
1207 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
1209         * type-break.el (timep): Use the value of `float-time' to avoid a
1210         byte-compiler warning.
1212         * server.el (server-eval-and-print): Return any result, even nil.
1214 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1216         * type-break.el: Accept time formats that the builtins accept.
1217         (timep, type-break-time-difference): Accept any format that
1218         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1219         This is simpler and helps future-proof the code.
1220         (type-break-time-difference): Round rather than ignoring
1221         subseconds components.
1223 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1225         * info.el (Info-apropos-matches): Make non-interactive, since it
1226         doesn't seem to do anything useful as a command (bug#8829).
1228 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
1230         * frame.el (frame-background-mode, frame-set-background-mode):
1231         Move from faces.el.
1232         (frame-default-terminal-background): New function.
1234         * custom.el (custom-push-theme): Don't record faces in `changed'
1235         theme; this doesn't work correctly for per-frame face settings.
1236         (disable-theme): Use face-set-after-frame-default to reset faces.
1237         (custom--frame-color-default): New function.
1239 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1241         * dired.el (dired-flagging-regexp): Remove unused variable
1242         (bug#8769).
1244 2011-03-29  Kevin Ryde  <user42@zip.com.au>
1246         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1247         `perl-Test2' extend to match possible "fail #N" rep count
1248         (bug#8377).
1250 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1252         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1253         `smtpmail-via-smtp' now returns the error instead of nil.
1255         * isearch.el (isearch-search-fun-function): Clarify the doc string
1256         (bug#8101).
1258 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
1260         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1261         unnecessary spaces (bug#8987).
1263 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1265         * net/network-stream.el (open-network-stream): Use the
1266         :end-of-capability command thoughout.
1268 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1270         * net/network-stream.el (open-network-stream): Add the
1271         :end-of-capability command parameter, used by pop3.el.
1273 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1275         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1277         * fringe.el (fringe-query-style): Remove redundant text " (type ?
1278         for list)" (bug#6475).
1280         * files.el (file-expand-wildcards): Ignore non-readable
1281         sub-directories while trying to find matches instead of signalling
1282         an error (bug#6297).
1284         * man.el (Man-reference-regexp): Allow matching possible
1285         word-wrapped references (bug#6289).
1287         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1288         for consistency with the other vc buffers (bug#6197).
1289         (vc-checkin): Ditto.
1291         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1293         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1295 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1297         * custom.el (defcustom): Clarify that :set is only used in the
1298         Customize user interface (bug#6089).
1300         * progmodes/flymake.el (flymake-mode): If the buffer isn't
1301         associated with a file, refuse to run instead of erroring out
1302         (bug#6084).
1304         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1305         the doc string, since it appears that using `fill-column' always
1306         controls the width (bug#7845).
1308         * simple.el (shell-command-on-region): Say where the error output
1309         went if `shell-command-default-error-buffer' is set (bug#6857).
1311 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
1313         * allout.el (allout-yank-processing): Adjust cursor position for
1314         backwards-deleted space.
1316         (allout-rebullet-heading): Register changes with
1317         allout-exposure-changed-hook, so the modified topic is properly
1318         decorated.
1320 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1322         * minibuffer.el (completion-in-region): Document PREDICATE
1323         (bug#7136).
1325         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1326         of keyword/argument pairs (bug#6904).
1328         * replace.el (multi-occur):
1329         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
1331 2011-07-02  Drew Adams  <drew.adams@oracle.com>
1333         * dired.el (dired-mark-if): Make the message about whether it's
1334         marking or unmarking clearer (bug#8523).
1336 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1338         * disp-table.el (display-table-print-array): New function.
1339         (describe-display-table): Use it to print the vectors more pretty
1340         (Bug#8859).
1342 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
1344         * window.el (window-state-get-1): Don't assign clone numbers.
1345         Add clone-of item to list of window parameters.
1346         (window-state-put-2): Don't process clone numbers.
1347         (display-buffer-alist): Fix doc-string.
1349 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * subr.el (remq): Don't allocate if it's not needed.
1352         (keymap--menu-item-binding, keymap--menu-item-with-binding)
1353         (keymap--merge-bindings): New functions.
1354         (keymap-canonicalize): Use them to refine the canonicalization.
1355         * minibuffer.el (minibuffer-local-completion-map)
1356         (minibuffer-local-must-match-map): Move initialization from C.
1357         (minibuffer-local-filename-completion-map): Move initialization from C;
1358         don't inherit from anything here.
1359         (minibuffer-local-filename-must-match-map): Make obsolete.
1360         (completing-read-default): Use make-composed-keymap to combine
1361         minibuffer-local-filename-completion-map with either
1362         minibuffer-local-must-match-map or
1363         minibuffer-local-filename-completion-map.
1365 2011-07-01  Glenn Morris  <rgm@gnu.org>
1367         * type-break.el (type-break-time-sum): Use dolist.
1369         * textmodes/flyspell.el (flyspell-word-search-backward):
1370         Replace CL function.
1372 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1374         * mouse.el (mouse--strip-first-event): New function.
1375         (function-key-map): Use it to map fringe clicks to normal clicks
1376         by default.
1378         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1379         (vc-bzr-revision-completion-table): Add support for annotate and date.
1381         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1382         inherit from parent.
1384 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1386         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
1387         (dired-show-file-type): Doc fixup (bug#8818).
1389         * dired.el (dired-mode): Fix up the doc string as suggested by
1390         Drew Adams (bug#8817).
1392         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1393         cookie, since the manual says that it should be possible to add
1394         this function to `find-file-hook' (bug#8709).
1396 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
1398         * progmodes/cfengine.el: Moved all cfengine3.el functionality
1399         here.  Noted Ted Zlatanov as the maintainer.
1400         (cfengine-common-settings, cfengine-common-syntax): New functions
1401         to set up common things between `cfengine-mode' and
1402         `cfengine3-mode'.
1403         (cfengine3-mode): New mode.
1404         (cfengine3-defuns cfengine3-defuns-regex
1405         (cfengine3-class-selector-regex cfengine3-category-regex)
1406         (cfengine3-vartypes cfengine3-font-lock-keywords)
1407         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
1408         (cfengine3-indent-line): Add from cfengine3.el.
1410 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
1412         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1414         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1416 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
1418         * window.el (same-window-buffer-names, same-window-regexps)
1419         (same-window-p, special-display-frame-alist)
1420         (special-display-popup-frame, special-display-function)
1421         (special-display-buffer-names, special-display-regexps)
1422         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1423         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1424         (split-window-preferred-function, split-height-threshold)
1425         (split-width-threshold, even-window-heights)
1426         (display-buffer-mark-dedicated, window-splittable-p)
1427         (split-window-sensibly, window-safely-shrinkable-p):
1428         Un-obsolete.
1429         (display-buffer): Don't spread args with function specifier
1430         because special-display-popup-frame won't like it.
1432 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
1434         Time-stamp simplifications and fixes.
1435         These improve accuracy slightly, and future-proof the code
1436         against some potential changes to current-time format.
1438         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1439         by using time-since and float-time.
1441         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1442         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
1443         + NNN microseconds".
1445         * type-break.el (type-break-time-sum): Rewrite using time-add.
1447         * play/hanoi.el (hanoi-current-time-float): Remove.
1448         All uses replaced by float-time.
1450         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1451         This yields a more-accurate answer.
1452         (rng-time-to-float): Remove; no longer needed.
1454         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1456         * calendar/timeclock.el (timeclock-seconds-to-time):
1457         Defalias to seconds-to-time, since they're the same thing.
1459         * emacs-lisp/elp.el (elp-elapsed-time):
1460         * emacs-lisp/benchmark.el (benchmark-elapse):
1461         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1463 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1465         * window.el (bury-buffer): Don't iconify the only frame.
1466         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1467         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
1469 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
1471         * eshell/em-smart.el (eshell-smart-display-navigate-list):
1472         Add mouse-yank-primary.
1474 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
1476         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1478 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * emacs-lisp/find-func.el (find-library--load-name): New fun.
1481         (find-library-name): Use it to find relative load names when provided
1482         absolute file name (bug#8803).
1484 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1486         * textmodes/flyspell.el (flyspell-word): Consider words that
1487         differ only in case as potential doublons (bug#5687).
1489         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1490         Remove two rather uninteresting debugging-like messages to make
1491         debbugs.el more silent.
1493         * comint.el (comint-password-prompt-regexp): Accept "Response" as
1494         a password-like phrase.
1496 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
1498         * progmodes/cc-guess.el: New file.
1500         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
1502         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1503         derived from `c-basic-common-init'.
1505         * progmodes/cc-mode.el (top-level): Require cc-guess.
1506         (c-basic-common-init): Use `cc-choose-style-for-mode'.
1508 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
1510         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1512 2011-06-30  Alan Mackenzie  <acm@muc.de>
1514         * progmodes/cc-engine.el (c-guess-continued-construct):
1515         Correct the handling of template-args-cont, particularly for when font
1516         lock is disabled.  Name this case as "CASE G".
1518 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
1520         * allout.el (allout-yank-processing): Fix injection of extra space
1521         between bullet and non-whitespace character in first topic when
1522         pasting, ensuring that the actual spacing in the pasted topic
1523         following the bullet char is preserved.  This extra space was
1524         causing pasted encrypted topics to get a decrypted status even
1525         when the content was actually still encrypted.  Now the decryption
1526         status from before the paste is preserved.
1528         (allout-flag-region): Set all allout overlays so they evaporate
1529         when reduced to zero length (evanescent), to prevent overlay
1530         leakage.
1532 2011-06-30  Glenn Morris  <rgm@gnu.org>
1534         * w32-fns.el (w32-charset-info-alist): Declare.
1536         * find-dired.el (find-grep-options): Simplify.
1538         * term/ns-win.el (ns-set-resource): Declare.
1540         * ses.el (row, col): Declare dynamic variables honestly.
1542         * textmodes/reftex-parse.el (index-tags): Declare.
1544 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
1546         * cus-edit.el (customize-push-and-save): New function.
1548         * files.el (hack-local-variables-confirm): Use it.
1550         * custom.el (load-theme): New arg NO-CONFIRM.
1551         Use customize-push-and-save (Bug#8720).
1552         (custom-enabled-themes): Doc fix.
1554         * cus-theme.el (customize-create-theme)
1555         (custom-theme-merge-theme): Callers to load-theme changed.
1557 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1559         * thingatpt.el (thing-at-point-short-url-regexp): Require that
1560         short URLs have at least one dot in them (bug #7614).
1562         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1563         nil, because using a pty is apparently too slow (bug #895).
1565 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1567         * mail/sendmail.el (sendmail-query-once): New function.
1568         (sendmail-query-once-function): New variable.
1570 2011-06-29  Glenn Morris  <rgm@gnu.org>
1572         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1574         * ses.el (top-level): Require cl when compiling.
1575         (ses-set-localvars): Fix error statement.
1576         Call it at compile time to silence a storm of warnings.
1578 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
1580         * window.el (normalize-live-buffer): Rename to
1581         window-normalize-buffer.
1582         (normalize-live-frame): Rename to window-normalize-frame.
1583         (normalize-any-window): Rename to window-normalize-any-window.
1584         (normalize-live-window): Rename to window-normalize-live-window.
1585         (make-window-atom): Rename to window-make-atom.
1586         (window-resize-reset): Rename to window--resize-reset.
1587         (window-resize-reset-1): Rename to window--resize-reset-1.
1588         (resize-mini-window): Rename to window--resize-mini-window.
1589         (resize-subwindows-skip-p): Rename to
1590         window--resize-subwindows-skip-p.
1591         (resize-subwindows-normal): Rename to
1592         window--resize-subwindows-normal.
1593         (resize-subwindows): Rename to window--resize-subwindows.
1594         (resize-other-windows): Rename to window--resize-siblings.
1595         (resize-this-window): Rename to window--resize-this-window.
1596         (resize-root-window): Rename to window--resize-root-window.
1597         (resize-root-window-vertically): Rename to
1598         window--resize-root-window-vertically.
1599         (normalize-buffer-to-display): Rename to
1600         window-normalize-buffer-to-display.
1601         (normalize-buffer-to-switch-to): Rename to
1602         window-normalize-buffer-to-switch-to.
1603         Correspondingly update all callers of the functions listed
1604         above.
1605         (display-buffer-alist, display-buffer-normalize-arguments)
1606         (display-buffer-normalize-options, display-buffer)
1607         (display-buffer-alist-set): Use "function" instead of
1608         "fun-with-args".
1610 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
1612         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1613         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
1614         debbugs.gnu.org.  Mention acknowledgment email.
1616 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1618         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1619         buffer multibyteness, since it shouldn't matter.
1621 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
1623         * window.el (display-buffer-in-side-window): Handle dedicated
1624         windows as in display-buffer-reuse-window.
1625         (display-buffer-normalize-alist): Use value of override
1626         specifier.
1627         (display-buffer-normalize-specifiers): Use value of
1628         other-window-means-other-frame specifier.
1629         (display-buffer-alist): Rewrite some texts in widgets.
1630         (display-buffer): Spread arguments when calling function
1631         specified by fun-with-args.
1633 2011-06-28  Deniz Dogan  <deniz@dogan.se>
1635         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1636         Unnest `let'.
1638         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1639         selectors (Bug#5732).
1640         (css-proprietary-nmstart-re): Use `regexp-opt'.
1642 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
1644         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1645         (eshell-ls-date-format): New defcustom.
1646         (eshell-ls-file): Use it.
1648 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1650         * help-fns.el (describe-variable): Fix message for terminal-local vars.
1652 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1654         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1655         (ange-ftp-make-tmp-name): New arg.
1656         (ange-ftp-file-local-copy): Use it.
1658 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
1660         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1661         no-conversion (Bug#8870).
1663 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
1665         * window.el (window-right, window-left, window-child)
1666         (window-child-count, window-last-child)
1667         (window-iso-combination-p, walk-window-tree-1)
1668         (window-atom-check-1, window-tree-1, delete-window)
1669         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1670         new naming conventions - window-vchild, window-hchild,
1671         window-next and window-prev are now called window-top-child,
1672         window-left-child, window-next-sibling and window-prev-sibling
1673         respectively.
1674         (resize-window-reset): Rename to window-resize-reset.
1675         (resize-window-reset-1): Rename to window-resize-reset-1.
1676         (resize-window): Rename to window-resize.
1677         (window-min-height, window-min-width)
1678         (resize-mini-window, resize-this-window, resize-root-window)
1679         (resize-root-window-vertically, adjust-window-trailing-edge)
1680         (enlarge-window, shrink-window, maximize-window)
1681         (minimize-window, delete-window, quit-restore-window)
1682         (split-window, balance-windows, balance-windows-area-adjust)
1683         (balance-windows-area, window-state-put-2)
1684         (display-buffer-even-window-sizes, display-buffer-set-height)
1685         (display-buffer-set-width, set-window-text-height)
1686         (fit-window-to-buffer): Rename all "resize-window" prefixed
1687         calls to use the "window-resize" prefix convention.
1688         (display-buffer-alist): Fix symbol for label specifier.
1689         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1690         corresponding specifier.
1691         Reported by Juanma Barranquero <lekktu@gmail.com>.
1693 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1695         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1696         convention.
1697         (ses-call-printer): Does not pass an empty string to formatter when the
1698         cell is empty to keep from barking printer Calc math-format-value.
1700 2011-06-27  Richard Stallman  <rms@gnu.org>
1702         * battery.el (battery-mode-line-limit): New variable.
1703         (battery-update): Handle it.
1705         * mail/rmailmm.el (rmail-mime-process-multipart):
1706         Handle truncated messages.
1708 2011-06-27  Glenn Morris  <rgm@gnu.org>
1710         * progmodes/flymake.el (flymake-err-line-patterns):
1711         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
1713 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1715         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
1716         (ses--clean-!, ses--clean-_): New functions.
1717         (ses-range): Add configurability of readout order, and conversion
1718         to Calc vector.
1720         * ses.el (ses-repair-cell-reference-all): New function.
1721         (ses-cell-symbol): Set macro as safe, so that it can be used in
1722         formulas.
1724         * ses.el: Update cycle detection algorithm.
1725         (ses-localvars): Add ses--Dijkstra-attempt-nb and
1726         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
1727         (ses-set-localvars): New function.
1728         (ses-make-cell): Add property-list as a cell element.
1729         (ses-cell-property-get-fun, ses-cell-property-get)
1730         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
1731         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1732         New functions.
1733         (ses-cell-property-set, ses-cell-property-pop)
1734         (ses-cell-property-get-handle): New macro.
1735         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1736         New aliases, used for code readability.
1737         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1738         cycle detection.
1739         (ses-self-reference-early-detection): New defcustom.
1740         (ses-formula-references): Robustify against self-refering cells.
1741         (ses-mode): Use ses-set-localvars.
1742         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1743         before lauching the update processing.
1744         (ses-initialize-Dijkstra-attempt): New function.
1745         (ses-recalculate-cell): Update for cycle detection based on
1746         Dijkstra algorithm.
1748         * ses.el: Fix commenting and indenting convention.
1750 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * bs.el (bs-cycle-next): Complete last change.
1754 2011-06-27  Drew Adams  <drew.adams@oracle.com>
1756         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1758 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1760         * net/network-stream.el (network-stream-open-starttls):
1761         Don't re-get capabilities unless we've reestablished connection.
1762         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1764         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1765         to binary to possibly avoid line encoding issues on Windows (among
1766         other things).
1768 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1770         * net/network-stream.el (open-network-stream): Return an :error
1771         saying what the problem was, if possible.
1773         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1774         server.
1776         * net/network-stream.el (network-stream-open-starttls): If we
1777         wanted to use STARTTLS, and the server offered it, but we weren't
1778         able to because we had no STARTTLS support, then close the connection.
1779         (open-network-stream): Return an :error element, if present.
1781 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
1783         * hl-line.el (hl-line-sticky-flag): Doc fix.
1784         (global-hl-line-sticky-flag): New option (Bug#8323).
1785         (global-hl-line-highlight): Obey it.
1787         * vc/vc.el (vc-revert-show-diff): Default to t.
1789 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
1791         * allout-widgets.el (allout-widgets-post-command-business):
1792         Stop decorating intermediate isearch matches.  They're not being
1793         undecorated when an isearch is continued past, and isearch
1794         automatically collapses them.  This leads to "widget leaks", where
1795         decorated items accumulate in collapsed areas.  Lines with lots of
1796         hidden widgets can slow down cursor travel, substantially.
1797         Too much complicated machinery would be needed to ensure undecoration,
1798         so we're doing without this nicety.
1800         (allout-widgets-tally-string): Don't try to do a hash-table-count
1801         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
1802         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1803         *Messages* when allout-widgets-maintain-tally is t.
1805 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
1807         * window.el (display-buffer-normalize-argument): Rename to
1808         display-buffer-normalize-arguments.  Handle special meaning of
1809         LABEL argument.  Respect special-display-function when popping up
1810         a new frame.  Fix code searching for a window showing the buffer
1811         on another frame.
1812         (display-buffer-normalize-specifiers):
1813         Call display-buffer-normalize-arguments.
1814         (display-buffer-in-window): Don't undedicate the window if its
1815         buffer remains the same.
1816         Reported by Drew Adams <drew.adams@oracle.com>.
1817         (display-buffer-alist): Add choice for same-window macro
1818         specfier.
1819         (display-buffer): Mention special meaning of LABEL argument in
1820         doc-string.  Fix quoting.  Don't pop up a new frame even as
1821         fallback.
1823 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
1825         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1826         avoid deleting the current window in some cases (bug#8911).
1828 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
1830         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1831         (Bug#8934)
1833 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1835         * net/network-stream.el (network-stream-open-starttls):
1836         Use built-in TLS support if `gnutls-available-p' is true.
1837         (network-stream-open-tls): Ditto.
1839 2011-06-26  Leo Liu  <sdl.web@gmail.com>
1841         * register.el (registerv): New struct.
1842         (registerv-make): New function.
1843         (jump-to-register, describe-register-1, insert-register):
1844         Support the jump-func, print-func and insert-func slot of a registerv
1845         struct.  (Bug#8415)
1847 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
1849         * vc/vc.el (vc-revert-show-diff): New defcustom.
1850         (vc-diff-internal): New arg specifying diff buffer.
1851         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
1852         reuse an existing *vc-diff* buffer (Bug#8927).
1854         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1856 2011-06-26  Glenn Morris  <rgm@gnu.org>
1858         * progmodes/f90.el (f90-critical-indent): New option.
1859         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1860         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1861         (f90-mode): Doc fix.
1862         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1863         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1864         (f90-beginning-of-block, f90-next-block, f90-indent-region)
1865         (f90-match-end): Handle block, critical.
1867 2011-06-25  Glenn Morris  <rgm@gnu.org>
1869         * calendar/diary-lib.el (diary-included-files): Doc fix.
1870         (diary-include-files): New function, extracted from
1871         diary-include-other-diary-files and diary-mark-included-diary-files.
1872         (diary-include-other-diary-files, diary-mark-included-diary-files):
1873         Just call diary-include-files.
1874         (diary-mark-entries): Reset diary-included-files on first call.
1876         * calendar/diary-lib.el (diary-mark-entries)
1877         (diary-mark-included-diary-files):
1878         Visit included diary-files in temp buffers.
1880         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1881         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1882         (f90-start-block-re, f90-imenu-generic-expression)
1883         (f90-looking-at-program-block-start, f90-no-block-limit):
1884         Add support for submodules.
1886         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1887         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1889 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
1891         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1892         buffer-file-type before setting its value, to avoid disastrous
1893         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
1895 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
1897         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1899         * ses.el (ses-unload-function):
1900         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1902         * proced.el (proced-unload-function):
1903         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1905 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
1907         * server.el (server-create-window-system-frame): Add parameters arg.
1908         (server-process-filter): Doc fix.  Handle frame-parameters.
1910 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
1912         Fix bug#8730, bug#8781.
1914         * loadhist.el (unload--set-major-mode): New function.
1915         (unload-feature): Use it.
1917         * progmodes/python.el (python-after-info-look): Add autoload cookie.
1918         (python-unload-function): New function.
1920 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1922         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1924 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
1926         * net/browse-url.el (browse-url-firefox-program): Add icecat to
1927         the candidates list.
1929 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
1931         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1933 2011-06-23  Richard Stallman  <rms@gnu.org>
1935         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1936         (rmail-variables): Set next-error-move-function.
1937         (rmail-what-message): Take argument POS.
1938         (rmail-next-error-move): New function.
1940 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1942         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1943         messages for adjacent non-terminals.
1945 2011-06-23  Richard Stallman  <rms@gnu.org>
1947         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
1948         (rmail-show-message-1): Preserve buffer modified flag.
1949         (rmail-start-mail): Don't specify use of rmail-mail-return;
1950         that's done by mail-bury now.
1951         (rmail-mail-return): Handle arg NEWBUF.
1953 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
1955         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1956         SIZE is a number.
1958 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
1960         * window.el (get-lru-window, get-mru-window)
1961         (get-largest-window): Never return a minibuffer window.
1962         (display-buffer-pop-up-window): Fix a bug that could lead to
1963         reusing the minibuffer window.
1964         (display-buffer): Pass original specifier argument to
1965         display-buffer-function instead of the normalized one.
1966         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1968 2011-06-22  Leo Liu  <sdl.web@gmail.com>
1970         * minibuffer.el (completing-read-function)
1971         (completing-read-default): Move from minibuf.c
1973 2011-06-22  Richard Stallman  <rms@gnu.org>
1975         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1976         to Rmail even if not started by a special Rmail command.
1978         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1979         Copy the buffer currently showing just one message.
1981 2011-06-22  Roland Winkler  <winkler@gnu.org>
1983         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1984         (bibtex-clean-entry): First delete the old key so that a
1985         customized algorithm for generating the new key does not get
1986         confused by the old key.
1987         (bibtex-url): Obey regexp of first step.
1988         (bibtex-search-entries): Do not use add-to-list with local
1989         list-var.
1991 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1993         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1994         stored a user name, then query for the password first, instead of
1995         waiting for SMTP to give an error message and the trying again.
1997 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
1999         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2000         BUFFER in call-process.
2002 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2004         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2005         QUIT twice.
2006         (smtpmail-try-auth-methods): Require user name and password from
2007         auth-source.
2009 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
2011         * window.el (display-buffer-default-specifiers)
2012         (display-buffer-alist): Remove entries for pop-up-frame-alist.
2013         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
2014         (split-window): Normalize SIDE argument (Bug#8916).
2016         * frame.el (pop-up-frame-alist, pop-up-frame-function)
2017         (special-display-frame-alist, special-display-popup-frame):
2018         Remove duplicate declarations.  These are now in window.el.
2020 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2022         * mail/smtpmail.el (smtpmail-via-smtp):
2023         Set :use-starttls-if-possible so that we always use STARTTLS if the
2024         server supports it.  SMTP servers that support STARTTLS commonly
2025         require it.
2027         * net/network-stream.el (network-stream-open-starttls): Support
2028         upgrading to STARTTLS always, even if we don't have built-in support.
2029         (open-network-stream): Add the :always-query-capabilies keyword.
2031         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2032         upgrades with `open-network-stream', and rely solely on
2033         auth-source for all credentials.  Big changes throughout the file,
2034         but in particular:
2035         (smtpmail-auth-credentials): Remove.
2036         (smtpmail-starttls-credentials): Remove.
2037         (smtpmail-via-smtp): Check for servers saying they want AUTH after
2038         MAIL FROM, too.
2040         * net/network-stream.el (network-stream-open-starttls):
2041         Provide support for client certificates both for external and built-in
2042         STARTTLS.
2043         (auth-source): Require.
2044         (open-network-stream): Document the :client-certificate keyword.
2045         (network-stream-certificate): Change cert-cert to cert and
2046         cert-key to key.
2048 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
2050         * net/tramp-cache.el (top): Don't load the persistency file when
2051         "emacs -Q" has been called.
2053 2011-06-21  Tim Harper  <timcharper@gmail.com>
2055         * term/ns-win.el (ns-initialize-window-system):
2056         Set application-specific `ApplePressAndHoldEnabled' system
2057         resource to NO as it is not yet supported by the NS port.
2059 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
2061         * misc.el (list-dynamic-libraries--refresh): Compute header here...
2062         (list-dynamic-libraries): ...not here.
2064 2011-06-21  Leo Liu  <sdl.web@gmail.com>
2066         * subr.el (sha1): Implement sha1 using secure-hash.
2068 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
2070         * window.el (display-buffer-alist): In default value do not
2071         enforce searching a window on any but the selected frame.
2072         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2073         (display-buffer-select-window): Remove function.
2074         (display-buffer-in-window): When a window on another frame gets
2075         reused, do not select it any more but just raise its frame if
2076         necessary (Bug#8851) and (Bug#8856).
2077         (display-buffer-normalize-options): Handle pop-up-frames related
2078         options more faithfully.
2079         (pop-to-buffer): Don't rely on `display-buffer' selecting the
2080         window if it is on another frame.
2081         (display-buffer-alist, display-buffer-default-specifiers):
2082         Don't make new frame unsplittable by default.
2083         (display-buffer-normalize-argument): Fix doc-string typo and use
2084         'same-frame-other-window instead of 'other-window when associating
2085         with display-buffer-macro-specifiers.
2087 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
2089         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2090         New functions.
2091         (5x5-mode-map, 5x5-mode-menu): Bind them.
2092         (5x5-draw-grid): Tweak the solver's rendering.
2094 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2096         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2097         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2099 2011-06-21  Drew Adams  <drew.adams@oracle.com>
2101         * menu-bar.el: Use function variable instead of switch-to-buffer.
2102         (menu-bar-select-buffer-function): New variable.
2103         (menu-bar-update-buffers): Use it (bug#8876).
2105 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2108         variable's status.
2110 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
2112         * x-dnd.el (x-dnd-version-from-flags)
2113         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2114         and long as number (Bug#8899).
2115         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2117 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
2120         (completion-try-completion, completion-all-completions): Compute the
2121         metadata argument if it's missing; make it optional (bug#8795).
2123         * wid-edit.el: Use lex-bind and move towards completion-at-point.
2124         (widget-complete): Use new :completion-function property.
2125         (widget-completions-at-point): New function.
2126         (default): Use :completion-function instead of :complete.
2127         (widget-default-completions): Rename from widget-default-complete;
2128         Rewrite.
2129         (widget-string-complete, widget-file-complete, widget-color-complete):
2130         Remove functions.
2131         (file, symbol, function, variable, coding-system, color):
2132         * international/mule-cmds.el (default-input-method, charset)
2133         (language-info-custom-alist):
2134         * cus-edit.el (face): Use new property :completions.
2136         * progmodes/pascal.el (pascal-completions-at-point): New function.
2137         (pascal-mode): Use it.
2138         (pascal-mode-map): Use completion-at-point.
2139         (pascal-toggle-completions): Make obsolete.
2140         (pascal-complete-word, pascal-show-completions):
2141         * progmodes/octave-mod.el (octave-complete-symbol):
2142         Redefine as obsolete alias.
2143         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2144         Signal absence of completion info for old Octave,
2145         (inferior-octave-complete): Redefine as obsolete alias.
2146         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2147         (meta-completions-at-point): Rename from meta-complete-symbol and
2148         adapt it for use on completion-at-point-functions.
2149         (meta-common-mode): Use it.
2150         (meta-looking-at-backward, meta-match-buffer): Remove.
2151         (meta-complete-symbol): Redefine as obsolete alias.
2152         (meta-common-mode-map): Use completion-at-point.
2153         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2154         (makefile-mode-map): Use completion-at-point.
2155         (makefile-completions-at-point): Rename from makefile-complete and
2156         adapt it for use on completion-at-point-functions.
2157         (makefile-mode): Use it.
2158         (makefile-complete): Redefine as obsolete alias.
2160 2011-06-20  Deniz Dogan  <deniz@dogan.se>
2162         * net/rcirc.el: Delete trailing whitespaces once and for all.
2164 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
2166         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2168 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
2170         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2172         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2174 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
2176         * window.el (display-buffer-other-window-means-other-frame):
2177         Call display-buffer-normalize-alist.
2178         (display-buffer-normalize-specifiers-1): Rename to
2179         display-buffer-normalize-argument.  New argument other-frame.
2180         Rewrite.
2181         (display-buffer-normalize-specifiers-2): Rename to
2182         display-buffer-normalize-options.
2183         (display-buffer-normalize-alist-1): New function.
2184         (display-buffer-normalize-specifiers-3): Rename to
2185         display-buffer-normalize-alist.
2186         Call display-buffer-normalize-alist-1.
2187         (display-buffer-normalize-options-inhibit): New variable.
2188         (display-buffer-normalize-specifiers): Rewrite calling
2189         display-buffer-normalize-alist,
2190         display-buffer-normalize-argument, and
2191         display-buffer-normalize-options.  Don't call the latter if
2192         display-buffer-normalize-options-inhibit is non-nil.
2193         (frame-auto-delete): New option.
2194         (window-deletable-p): Use frame-auto-delete.
2195         (window-list-no-nils, window-state-ignored-parameters)
2196         (window-state-get-1, window-state-get, window-state-put-list)
2197         (window-state-put-1, window-state-put-2, window-state-put):
2198         New functions.
2199         (display-buffer-normalize-options): Move special-display-p group
2200         after pop-up-frame group (Bug#8851) and (Bug#8856).
2202 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
2204         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2205         groups (Bug#8776).
2206         (rx-submatch-n): New function.
2207         (rx): Document it.
2209         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2210         (Bug#8768).
2212         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2214         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2216         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2217         anytime existing face settings are present (Bug#8889).
2219         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2220         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2221         Remove unused argument.
2223 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
2225         * window.el (display-buffer-default-specifiers):
2226         Remove pop-up-frame.  Add pop-up-window-min-height,
2227         pop-up-window-min-width, and another reuse-window specifier
2228         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
2229         (display-buffer-normalize-specifiers-2):
2230         Handle split-height-threshold and split-width-threshold also when
2231         pop-up-windows is unset.  Add a reuse-window specifier for the
2232         case popping up a new window fails.
2233         (special-display-popup-frame): Remove double quoting.
2234         (display-buffer-normalize-specifiers-1): Fix thinko.
2236 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2238         * shell.el (shell-completion-vars): Set pcomplete-termination-string
2239         according to comint-completion-addsuffix.
2241         * pcomplete.el: Convert to lexical binding and fix bug#8819.
2242         (pcomplete-suffix-list): Mark as obsolete.
2243         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2244         pcomplete-seen in the closure.
2245         (pcomplete-comint-setup): Setup completion-at-point as well.
2246         (pcomplete--entries): New function.
2247         (pcomplete--env-regexp): New var.
2248         (pcomplete-entries): Rewrite to work with partial-completion and
2249         without relying on pcomplete-suffix-list.
2250         (pcomplete-pare-list): Remove, unused.
2252 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
2254         * window.el (display-buffer-alist): Set pop-up-window-min-height
2255         and pop-up-window-min-width in default value.  Reported by
2256         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
2257         other-window-means-other-frame.
2258         (display-buffer-macro-specifiers): Comment out entry for
2259         other-window specifier.
2260         (display-buffer-other-window-means-other-frame): New function.
2261         (display-buffer-normalize-specifiers-1): New arguments
2262         buffer-name and label.  Treat other-window case specially.
2263         (display-buffer-normalize-specifiers-2): Treat other-window case
2264         specially.
2265         (display-buffer-normalize-specifiers-3): New function.
2266         (display-buffer-normalize-specifiers):
2267         Call display-buffer-normalize-specifiers-3.
2269 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
2271         * window.el (same-window-p): Fix two typos introduced when
2272         adding with-no-warnings.
2273         (display-buffer-normalize-specifiers-1): Don't check
2274         pop-up-frames for 'unset initialization.
2275         (display-buffer-normalize-specifiers-2): Major rewrite using
2276         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2277         (pop-up-frames, display-buffer-reuse-frames)
2278         (display-buffer-mark-dedicated): Don't initialize to 'unset.
2279         Suggested by David Engster <deng@randomsample.de>.
2280         (even-window-heights): Initialize to 'unset.
2281         (display-buffer-alist-set): Handle new 'unset initializations.
2282         (display-buffer-macro-specifiers): Don't pop up a new frame in the
2283         other window case.
2285 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
2287         * window.el (display-buffer-normalize-specifiers-1):
2288         Respect current value of pop-up-frames for most reasonable values of
2289         second argument of display-buffer (Bug#8865).
2290         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2291         (switch-to-buffer-other-window-same-frame)
2292         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
2293         Adams (Bug#8875).
2294         (display-buffer): Don't check noninteractive when calling
2295         display-buffer-pop-up-frame.
2296         (display-buffer-pop-up-frame): Never pop up a frame in
2297         noninteractive mode (Bug#8857).
2298         (enlarge-window, shrink-window): Don't report an error when the
2299         window can't be resized as requested (Bug#8862).
2301 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2303         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2305         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2307         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2309 2011-06-15  Alan Mackenzie  <acm@muc.de>
2311         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2312         for declarators, disable knr checking to speed up for normal files.
2313         2: Refactor, replacing a sequence of nested if forms by a cond form.
2315 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2317         * net/network-stream.el (open-network-stream): Add the keyword
2318         :always-query-capabilities for the case where you want to force a
2319         `plain' network connection, but the protocol still requires the
2320         capabilitiy command (i.e., SMTP and EHLO).
2322         * subr.el (process-live-p): Rename from `process-alive-p' for
2323         consistency with other `-live-p' functions.
2325 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2327         * window.el (same-window-buffer-names, same-window-regexps)
2328         (special-display-frame-alist, special-display-popup-frame)
2329         (special-display-function, special-display-buffer-names)
2330         (special-display-regexps, pop-up-frame-alist)
2331         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2332         (pop-up-windows, split-window-preferred-function)
2333         (split-height-threshold, split-width-threshold, even-window-heights)
2334         (display-buffer-mark-dedicated): Don't encourage the use of
2335         display-buffer-alist from Elisp code.
2337 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
2339         * progmodes/python.el (python-mode): Derive from prog-mode.
2340         * progmodes/ps-mode.el (ps-mode):
2341         * progmodes/mixal-mode.el (mixal-mode):
2342         * progmodes/cfengine.el (cfengine-mode):
2343         * progmodes/ld-script.el (ld-script-mode): Likewise.
2345 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
2347         * window.el (display-buffer-alist): Trim default value to avoid
2348         popping up a new frame (Bug#8857) or reusing an arbitrary window
2349         on another frame.
2350         (display-buffer): Do not fall back on popping up a new frame in
2351         batch mode (Bug#8857).
2353 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
2355         * cus-theme.el (describe-theme-1): Use custom-theme-p.
2356         (custom-theme-summary): New function.
2357         (customize-themes): Use it.
2359 2011-06-13  Glenn Morris  <rgm@gnu.org>
2361         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2363 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
2365         * help.el (help-window): Remove variable.
2366         (help-window-point-marker, temp-buffer-max-height)
2367         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2368         (help-print-return-message): Don't set help-window.
2369         (resize-temp-buffer-window): Rewrite cod eand doc-string.
2370         (help-window-setup-finish): Remove.
2371         (help-window-display-message, help-window-setup)
2372         (with-help-window): Major rewrite based on new
2373         display-buffer-window variable.
2375         * help-mode.el (help-mode-finish): Remove help-window related
2376         code.
2378         * view.el (view-exits-all-viewing-windows): Remove reference to
2379         view-return-to-alist in doc-string.
2380         (view-return-to-alist): Make obsolete.
2381         (view-buffer): Call pop-to-buffer-same-window and remove
2382         undo-window code.
2383         (view-buffer-other-window): Call pop-to-buffer-other-window and
2384         simplify code.  Ignore second argument.
2385         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2386         simplify code.  Ignore second argument.
2387         (view-return-to-alist-update): Make obsolete.
2388         (view-mode-enter): Rename second argument to QUIT-RESTORE.
2389         Rewrite using quit-restore window parameters.
2390         (view-mode-exit): Rename second argument to EXIT-ONLY.
2391         Rewrite using quit-restore-window.
2392         (View-exit, View-exit-and-edit, View-leave, View-quit)
2393         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2394         appropriate arguments.
2395         (view-end-message): Use quit-restore window parameter.
2397         * window.el (display-buffer-function): Rewrite doc-string.
2398         (display-buffer-window, display-buffer-alist): New variables.
2399         (display-buffer-split-specifiers)
2400         (display-buffer-side-specifiers)
2401         (display-buffer-macro-specifiers): New constants.
2402         (display-buffer-even-window-sizes, display-buffer-set-height)
2403         (display-buffer-set-width, display-buffer-select-window)
2404         (display-buffer-in-window, display-buffer-reuse-window)
2405         (display-buffer-split-window-1, display-buffer-split-window)
2406         (display-buffer-split-atom-window, display-buffer-pop-up-window)
2407         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2408         (display-buffer-in-side-window, normalize-buffer-to-display)
2409         (display-buffer-normalize-specifiers-1)
2410         (display-buffer-normalize-specifiers-2)
2411         (display-buffer-normalize-specifiers, display-buffer-frame):
2412         New functions.
2413         (display-buffer): Major rewrite.
2414         (display-buffer-other-window, display-buffer-other-frame)
2415         (pop-to-buffer, switch-to-buffer-other-window)
2416         (switch-to-buffer-other-frame): Rewrite.
2417         (display-buffer-same-window, display-buffer-same-frame)
2418         (display-buffer-same-frame-other-window)
2419         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2420         (pop-to-buffer-other-window)
2421         (pop-to-buffer-same-frame-other-window)
2422         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2423         (switch-to-buffer-other-window-same-frame): New functions.
2424         (same-window-p, special-display-p): Rewrite disabling warnings.
2425         Make obsolete.
2426         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2427         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2428         Make obsolete
2429         (same-window-buffer-names, same-window-regexps)
2430         (special-display-frame-alist, special-display-popup-frame)
2431         (special-display-function, special-display-buffer-names)
2432         (special-display-regexps, pop-up-frame-alist)
2433         (pop-up-frame-function, split-window-preferred-function)
2434         (split-height-threshold, split-width-threshold)
2435         (even-window-heights): Make obsolete.
2437 2011-06-12  Glenn Morris  <rgm@gnu.org>
2439         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
2440         Misc simplifications.
2442 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
2444         * window.el (window-safely-shrinkable-p): Restore function which
2445         was inadvertently removed in change from 2011-06-11.  Declare as
2446         obsolete.
2448         * calendar/calendar.el (calendar-generate-window):
2449         Use window-iso-combined-p instead of combination of one-window-p and
2450         window-safely-shrinkable-p.
2452 2011-06-12  Glenn Morris  <rgm@gnu.org>
2454         * progmodes/fortran.el (fortran-mode-syntax-table):
2455         * progmodes/f90.el (f90-mode-syntax-table):
2456         Set % to punctuation.  (Bug#8820)
2457         (f90-find-tag-default): Remove, no longer needed.
2459 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
2461         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2463 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
2465         * image.el (image-animated-p): Return animation delay in seconds.
2466         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2467         (image-animate-timeout): Remove DELAY argument.  Don't assume
2468         every subimage has the same delay; get it from image-animated-p.
2469         (image-animate): Caller changed.
2471 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
2473         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2474         to ignored backtrace functions.
2476 2011-06-11  Glenn Morris  <rgm@gnu.org>
2478         * calendar/appt.el (appt-disp-window-function): Doc fix.
2479         (appt-check): Handle overlapping appointments.  (Bug#8337)
2481 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
2483         * window.el (window-tree-1, window-tree): New functions, moving
2484         the latter to window.el.
2485         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2486         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2487         (bw-refresh-edges): Remove.
2488         (balance-windows-1, balance-windows-2): New functions.
2489         (balance-windows): Rewrite in terms of window tree functions,
2490         balance-windows-1 and balance-windows-2.
2491         (bw-adjust-window): Remove.
2492         (balance-windows-area-adjust): New function with functionality of
2493         bw-adjust-window but using resize-window.
2494         (set-window-text-height): Rewrite doc-string.
2495         Use normalize-live-window and resize-window.
2496         (enlarge-window-horizontally, shrink-window-horizontally):
2497         Rename argument to DELTA.
2498         (window-buffer-height): New function.
2499         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2500         Rewrite using new window resize routines.
2501         (kill-buffer-and-window, mouse-autoselect-window-select):
2502         Use ignore-errors instead of condition-case.
2503         (quit-window): Call delete-frame instead of delete-windows-on
2504         for the only buffer on frame.
2506 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
2508         * loadup.el (top-level): Load window before files for the sake
2509         of replace-buffer-in-windows.
2511         * files.el (read-buffer-to-switch)
2512         (switch-to-buffer-other-window)
2513         (switch-to-buffer-other-frame, display-buffer-other-frame):
2514         Move to window.el.
2516         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2517         (previous-buffer): Move to window.el.
2519         * bindings.el (unbury-buffer): Move to window.el.
2521         * window.el (delete-other-windows-vertically): Move after
2522         definition of delete-other-windows.
2523         (other-window, delete-windows-on, replace-buffer-in-windows):
2524         Move here from window.c.
2525         (record-window-buffer, unrecord-window-buffer)
2526         (set-window-buffer-start-and-point, switch-to-prev-buffer)
2527         (switch-to-next-buffer): New functions.
2528         (get-next-valid-buffer, last-buffer, next-buffer): Move here
2529         from simple.el.  Call switch-to-next-buffer.
2530         (previous-buffer): Move here from simple.el.
2531         Call switch-to-prev-buffer.
2532         (bury-buffer): Move here from buffer.c.  Switch to previous
2533         buffer when window cannot be deleted.
2534         (unbury-buffer): Move here from bindings.el.
2535         (ctl-x-map): Move binding for other-window from window.c to
2536         here.
2537         (read-buffer-to-switch, switch-to-buffer-other-window)
2538         (switch-to-buffer-other-frame): Move here from files.el.
2539         (normalize-buffer-to-switch-to): New functions.
2540         (switch-to-buffer): Move here from buffer.c.
2541         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
2543 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
2545         * window.el (window-min-height, window-min-width): Move here
2546         from window.c.  Add defcustoms and rewrite doc-strings.
2547         (resize-mini-window, resize-window): New functions.
2548         (adjust-window-trailing-edge, enlarge-window, shrink-window):
2549         Move here from window.c.
2550         (maximize-window, minimize-window): New functions.
2551         (delete-window, delete-other-windows, split-window): Move here
2552         from window.c.
2553         (window-split-min-size): New function.
2554         (split-window-keep-point): Mention split-window-above-each-other
2555         instead of split-window-vertically.
2556         (split-window-above-each-other, split-window-vertically):
2557         Rename split-window-vertically to split-window-above-each-other and
2558         provide defalias for old definition.
2559         (split-window-side-by-side, split-window-horizontally): Rename
2560         split-window-horizontally to split-window-side-by-side and provide
2561         defalias for the old definition.
2562         (ctl-x-map): Move bindings for delete-window,
2563         delete-other-windows and enlarge-window here from window.c.
2564         Replace bindings for split-window-vertically and
2565         split-window-horizontally by bindings for
2566         split-window-above-each-other and split-window-side-by-side.
2568         * cus-start.el (all): Remove entries for window-min-height and
2569         window-min-width.  Add entries for window-splits and
2570         window-nest.
2572 2011-06-09  Glenn Morris  <rgm@gnu.org>
2574         * calendar/appt.el (appt-mode-line): New function.
2575         (appt-check, appt-disp-window): Use it.
2577         * files.el (hack-one-local-variable-eval-safep):
2578         Allow minor-modes with explicit +/-1 arguments.
2580 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
2582         * term/xterm.el (xterm): Add defgroup.
2583         (xterm-extra-capabilities): Add defcustom to supply known xterm
2584         capabilities, skip querying them, or query them (default).
2585         (terminal-init-xterm): Use it.
2586         (terminal-init-xterm-modify-other-keys): New function to set up
2587         modifyOtherKeys support to simplify `terminal-init-xterm'.
2589 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
2591         * window.el (resize-window-reset, resize-window-reset-1)
2592         (resize-subwindows-skip-p, resize-subwindows-normal)
2593         (resize-subwindows, resize-other-windows, resize-this-window)
2594         (resize-root-window, resize-root-window-vertically)
2595         (window-deletable-p, window-or-subwindow-p)
2596         (frame-root-window-p): New functions.
2598 2011-06-09  Glenn Morris  <rgm@gnu.org>
2600         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2601         (ange-ftp-get-files): Use it.
2603 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2605         * mail/sendmail.el (mail-recover-1, mail-recover):
2606         * files.el (recover-file, recover-session):
2607         Handle dired-listing-switches not being just a single short option.
2609 2011-06-09  Glenn Morris  <rgm@gnu.org>
2611         * calendar/appt.el (appt-display-message, appt-disp-window):
2612         Handle lists of appointments.
2614 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
2616         * window.el (one-window-p): Move down in code.
2617         Rewrite doc-string.
2618         (window-current-scroll-bars): Rewrite doc-string.
2619         Normalize live window argument.
2620         (walk-windows, get-window-with-predicate, count-windows):
2621         Rewrite doc-string.  Use window-list-1.
2622         (window-in-direction-2, window-in-direction, get-mru-window):
2623         New functions.
2625 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
2627         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2628         Doc fix (Bug#8713).
2630 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
2632         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2634 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
2636         * loadhist.el (unload-feature-special-hooks):
2637         Add `comint-output-filter-functions'.
2639 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
2641         * calendar/appt.el (appt-check): Move some initializations into the let.
2643 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
2645         * window.el (window-height): Defalias to window-total-height.
2646         (window-width): Defalias to window-body-width.
2648 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
2650         * image-mode.el (image-toggle-animation): New command.
2651         (image-mode-map): Bind it to RET.
2652         (image-mode): Update message.
2653         (image-toggle-display-image): Avoid a spurious cache flush.
2654         (image-transform-rotation): Doc fix.
2655         (image-transform-properties): Return quickly in the normal case.
2656         (image-animate-loop): Rename from image-animate-max-time.
2658         * image.el (image-animate-max-time): Move to image-mode.el.
2659         (create-animated-image): Remove unnecessary function.
2660         (image-animate): Rename from image-animate-start.  New arg.
2661         (image-animate-stop): Remove; just use image-animate-timer.
2662         (image-animate-timer): Use car-safe.
2663         (image-animate-timeout): Rename argument.
2665 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
2667         * window.el (get-lru-window, get-largest-window): Move here from
2668         window.c.  Rename first argument to ALL-FRAMES.
2669         Rephrase doc-strings.
2670         (get-buffer-window-list): Rewrite using window-list-1.
2671         Rephrase doc-string.
2672         (window-safe-min-height, window-safe-min-width): New constants.
2673         (window-size-ignore, window-min-size, window-min-size-1)
2674         (window-sizable, window-sizable-p, window-size-fixed-1)
2675         (window-size-fixed-p, window-min-delta-1, window-min-delta)
2676         (window-max-delta-1, window-max-delta, window-resizable)
2677         (window-resizable-p, window-total-height, window-total-width)
2678         (window-body-width): New functions.
2679         (window-full-height-p, window-full-width-p): Rewrite using
2680         window-total-size.
2681         (window-body-height): Rewrite using window-body-size.
2683 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
2685         * window.el (window-right, window-left, window-child)
2686         (window-child-count, window-last-child, window-any-p)
2687         (normalize-live-buffer, normalize-live-frame)
2688         (normalize-any-window, normalize-live-window)
2689         (window-iso-combination-p, window-iso-combined-p)
2690         (window-iso-combinations)
2691         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2692         (windows-with-parameter, window-with-parameter)
2693         (window-atom-root, make-window-atom, window-atom-check-1)
2694         (window-atom-check, window-side-check, window-check):
2695         New functions.
2696         (ignore-window-parameters, window-sides, window-sides-vertical)
2697         (window-sides-slots): New variables.
2698         (window-size-fixed): Move down in code.  Minor doc-string fix.
2700 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
2702         * comint.el (comint-dynamic-complete-as-filename)
2703         (comint-dynamic-complete-filename): Correctly call
2704         completion-in-region.
2706 2011-06-05  Deniz Dogan  <deniz@dogan.se>
2708         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2709         in last change.
2711 2011-06-05  Deniz Dogan  <deniz@dogan.se>
2713         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2714         (rcirc): Use it to prompt for encryption.
2716 2011-06-05  Roland Winkler  <winkler@gnu.org>
2718         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2719         (bibtex-search-entries): New command bound to C-c C-a.
2720         (bibtex-display-entries): New function.
2722 2011-06-05  Roland Winkler  <winkler@gnu.org>
2724         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2725         (bibtex-insert-kill): After yanking insert newline if necessary.
2726         (bibtex-initialize): Call bibtex-string-files-init only once.
2727         (bibtex-mode): Do not call easy-menu-add.
2728         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2729         (bibtex-yank): Set arg properly if nil.
2731 2011-06-05  Roland Winkler  <winkler@gnu.org>
2733         * textmodes/bibtex.el (bibtex-search-entry-globally):
2734         New variable.
2735         (bibtex-search-entry): Use it.
2737 2011-06-05  Roland Winkler  <winkler@gnu.org>
2739         * textmodes/bibtex.el (bibtex-entry-format): New option
2740         sort-fields.
2741         (bibtex-format-entry, bibtex-reformat): Honor this option.
2742         (bibtex-parse-entry): Return fields in proper order.
2744 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
2746         * doc-view.el (doc-view-remove-if): Move computation of result out
2747         of `dolist' to silence misleading lexical-binding warning.
2749 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
2751         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2752         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2754 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
2756         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2757         "SunOS 5.10".
2759 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
2761         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2762         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2763         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2764         (tramp-parse-putty):
2765         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2766         (tramp-completion-function-alist-ssh)
2767         (tramp-completion-function-alist-telnet)
2768         (tramp-completion-function-alist-su)
2769         (tramp-completion-function-alist-putty): Set `tramp-autoload'
2770         cookie.
2772         * net/tramp-ftp.el:
2773         * net/tramp-sh.el:
2774         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2775         load "tramp.el" `tramp-set-completion-function'.
2777 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2779         * shell.el: Require and use pcomplete.
2780         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2781         (shell-completion-vars): Set pcomplete-default-completion-function.
2783 2011-06-04  Deniz Dogan  <deniz@dogan.se>
2785         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2786         `memq' (Bug#8799).
2788 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2790         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2792 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
2794         * bs.el (bs--mark-unmark, bs--nth-wrapper):
2795         * mpc.el (mpc-select-extend, mpc-songpointer-context):
2796         * vc/log-view.el (log-view-beginning-of-defun):
2797         * vc/smerge-mode.el (smerge-apply-resolution-patch)
2798         (smerge-refine-forward, smerge-refine-chopup-region):
2799         Silence warning for unused `dotimes' counter variables.
2801 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2803         * net/tramp.el (tramp-with-progress-reporter): Rename from
2804         with-progress-reporter.  Use `declare'.
2805         * net/tramp-smb.el:
2806         * net/tramp-sh.el:
2807         * net/tramp-gvfs.el: Update all uses.
2809 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
2811         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2812         buffer isn't killed before making it current.
2814 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2816         Silence various byte-compiler warnings.
2817         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2818         `access-type' and new obsolescence format.
2819         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2820         new format.
2821         (byte-compile-check-variable): New `access-type' argument.
2822         Only warn if the access-type is obsolete.
2823         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2824         (byte-compile-variable-set): Adjust callers.
2825         * help-fns.el (describe-variable): Adjust to new obsolescence format.
2826         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2827         setting it as obsolete.
2828         * simple.el (minibuffer-completing-symbol):
2829         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2830         access as obsolete.
2831         * minibuffer.el (minibuffer-completing-file-name): Don't make it
2832         obsolete yet.
2833         * international/quail.el (quail-mouse-choose-completion): Remove unused
2834         code referring to obsolete var.
2835         (quail-choose-completion-string): Remove.
2836         * server.el (server-clients-with, server-kill-buffer-query-function)
2837         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2838         * proced.el (proced-send-signal):
2839         * emacs-lisp/lisp.el (lisp-complete-symbol):
2840         Replace completion-annotate-function with completion-extra-properties.
2842 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * simple.el (goto-line): Use read-number.
2845         (overriding-map-is-bound): Remove.
2846         (saved-overriding-map): Change default.
2847         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2848         Take the map as argument.
2849         (universal-argument, negative-argument, digit-argument): Use it.
2850         (restore-overriding-map): Adjust.
2851         (do-auto-fill): Use fill-forward-paragraph.
2852         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2854         * minibuffer.el (minibuffer-inactive-mode-map): New var.
2855         (minibuffer-inactive-mode): New major mode.
2856         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2857         the *Messages* buffer" hack.
2858         (mouse-popup-menubar): Don't burp if the event is a normal key.
2860         Miscellaneous tweaks.
2861         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2862         lexical scoping as in subr.el's dolist and dotimes.
2863         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2864         Silence compiler warning.
2865         * thingatpt.el (forward-whitespace): Trivial coding style fix.
2866         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2867         * international/ccl.el (ccl-compile): Trivial simplification.
2868         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2869         * emacs-lisp/testcover.el (testcover-end): Remove spurious
2870         `printflag' argument.
2871         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2872         Purecopy the whole obsolescence data.
2874 2011-06-01  Leo Liu  <sdl.web@gmail.com>
2876         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2877         improve doc-string as suggested by Marco Pessotto
2878         <melmothx@gmail.com>.
2879         (rcirc-print): Fix last change.
2881 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2883         * minibuffer.el (complete-with-action): Return nil for the metadata and
2884         boundaries of non-functional tables.
2885         (completion-table-dynamic): Return nil for the metadata.
2886         (completion-table-with-terminator): Add default case, using
2887         complete-with-action.
2888         (completion--metadata): New function.
2889         (completion-all-sorted-completions, minibuffer-completion-help): Use it
2890         to try and avoid pathological performance problems.
2891         (completion--embedded-envvar-table): Return `category' metadata.
2893 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2895         * subr.el (process-alive-p): New tiny convenience function.
2897 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2900         content but also its previous major mode.
2902 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
2904         * debug.el (debug): Restore the previous content of the
2905         *Backtrace* buffer when we exit with C-M-c.
2907 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * minibuffer.el: Add metadata method to completion tables.
2910         (completion-category-overrides): New defcustom.
2911         (completion-metadata, completion--field-metadata)
2912         (completion-metadata-get, completion--styles)
2913         (completion--cycle-threshold): New functions.
2914         (completion-try-completion, completion-all-completions):
2915         Add `metadata' argument to choose completion-styles.
2916         (completion--do-completion): Use metadata to choose cycling.
2917         (completion-all-sorted-completions): Use metadata for sorting.
2918         Remove :completion-cycle-penalty which is not needed any more.
2919         (completion--try-word-completion): Add `metadata' argument.
2920         (minibuffer-completion-help): Check metadata for annotation function
2921         and sorting.
2922         (completion-file-name-table): Return `category' metadata.
2923         (minibuffer-completing-file-name): Make obsolete.
2924         * simple.el (minibuffer-completing-symbol): Make obsolete.
2925         * icomplete.el (icomplete-completions): Pass new `metadata' param to
2926         completion-try-completion.
2928 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2932 2011-05-30  Leo Liu  <sdl.web@gmail.com>
2934         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
2935         (rcirc-print): Decode all incoming messages (bug#8744).
2936         (rcirc-decode-coding-system): Allow value nil for automatic coding
2937         system detection.
2939 2011-06-01  Glenn Morris  <rgm@gnu.org>
2941         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2943 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
2945         * image.el (image-animate-max-time): Allow nil and t values.
2946         Default to nil.
2947         (create-animated-image): Doc fix.
2948         (image-animate-start): Remove second arg; just use
2949         image-animate-max-time.
2950         (image-animate-timeout): Doc fix.  Args changed.
2952         * image-mode.el (image-toggle-display-image): Ensure that the
2953         image spec passed to the animate timer is the same object as in
2954         the the buffer's display property (Bug#6981).
2955         (image-transform-properties): Doc fix.
2957         * image.el (image-animate-max-time): Default to nil.
2959 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
2961         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2962         entire buffer list (Bug#8184).
2964 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
2966         * image.el (imagemagick-types-inhibit)
2967         (imagemagick-register-types): Doc fix.
2969 2011-05-29  Deniz Dogan  <deniz@dogan.se>
2971         * net/rcirc.el (rcirc): Use the user's stored encryption method by
2972         default.
2974 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
2976         * select.el: Don't perform clipboard-manager saving in hooks;
2977         leave the hooks empty.
2979 2011-05-28  Leo Liu  <sdl.web@gmail.com>
2981         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2982         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
2983         (occur-edit-mode): New major mode (Bug#8463).
2984         (occur-after-change-function): New function.
2985         (occur-engine): Give Occur tags a read-only property.
2987 2011-05-28  Kevin Ryde  <user42@zip.com.au>
2989         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2991 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
2993         * bindings.el (help-echo): Make the initial non-indicator dash
2994         empty on graphical terminals (Bug#7295).
2996         * files.el (auto-mode-alist): Move config rule after the
2997         in-stripping one (Bug#8547).
2999         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3001         * startup.el (normal-splash-screen): Remove gratuitous mode-line
3002         setting (Bug#8740).
3004 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
3006         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3007         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3008         (Bug#8539).
3010 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
3012         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3014 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
3016         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3017         (hs-hide-block-at-point, hs-find-block-beginning)
3018         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3019         (Bug#8279).
3021 2011-05-28  Glenn Morris  <rgm@gnu.org>
3023         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
3025 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
3027         * help-fns.el (describe-function-1): If the function is a derived
3028         major mode, print the parent mode.
3030         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3031         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3033 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3035         * minibuffer.el (completion--capf-wrapper): Check applicability before
3036         retuning non-nil for non-exclusive completion data.
3037         * progmodes/etags.el (tags-completion-at-point-function):
3038         * info-look.el (info-lookup-completions-at-point): Mark as
3039         non-exclusive.
3040         (info-complete): Adjust accordingly.
3042         * info-look.el: Convert to lexical-binding and completion-at-point.
3043         (info-lookup-completions-at-point): New function.
3044         (info-complete): Use it and completion-in-region.
3046 2011-05-28  Drew Adams  <drew.adams@oracle.com>
3048         * isearch.el: Let M-e start with point at the first mismatched char.
3049         (isearch-fail-pos): New function.
3050         (isearch-edit-string): Use it.
3052 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
3054         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3056 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
3058         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
3059         traversal functions for avl-trees.
3060         (avl-tree--stack): New struct.
3061         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3062         (avl-tree-enter): Add optional `updatefun' arg.
3063         (avl-tree--do-enter): Add optional `updatefun' arg.
3064         Change return value.
3065         (avl-tree-delete): Add optional `test' and `nilflag' args.
3066         (avl-tree--do-delete): Add `test' and `nilflag' args.
3067         Change return value.
3068         (avl-tree-member): Add optional `nilflag'
3069         (avl-tree-member-p): New function.
3070         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3071         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3072         (avl-tree-stack-empty-p): New functions.
3074 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
3076         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3077         avl-tree--del-balance1 and make it work both ways.
3078         (avl-tree--del-balance2): Remove.
3079         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3080         make it work both ways.
3081         (avl-tree--enter-balance2): Remove.
3082         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3083         New macros.
3084         (avl-tree--mapc, avl-tree-map): Add direction argument.
3086 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
3088         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3090 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
3092         * select.el: Support clipboard managers with built-in function
3093         x-clipboard-manager-save, via delete-frame-functions and
3094         kill-emacs-hook.
3095         (xselect-convert-to-targets): Add MULTIPLE target to list.
3096         (xselect-convert-to-save-targets): New function.
3098 2011-05-27  Kenichi Handa  <handa@m17n.org>
3100         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3101         let-binding rfc2047-encode-encoded-words to nil.
3103 2011-05-27  Glenn Morris  <rgm@gnu.org>
3105         * mail/emacsbug.el: Don't require url-util.
3107         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
3109         * files.el (set-auto-mode):
3110         Also respect mode: entries at the end of the file.  (Bug#8586)
3112 2011-05-26  Glenn Morris  <rgm@gnu.org>
3114         * files.el (hack-local-variables-prop-line, hack-local-variables):
3115         Downcase mode names, as seems to be traditional.
3116         (hack-local-variables, hack-local-variables-apply): Doc fixes.
3118         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3119         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
3121 2011-05-25  Julien Danjou  <julien@danjou.info>
3123         * textmodes/rst.el (rst-define-level-faces): Do not define face
3124         symbol if it is already defined.
3126 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3128         * play/5x5.el (5x5-new-game, 5x5-randomize):
3129         Reset 5x5-solver-output to nil when a new grid is cast.
3130         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3131         these debugging traces, as defmacro breaks the compiled code.
3133 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
3135         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3137 2011-05-24  Leo Liu  <sdl.web@gmail.com>
3139         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3140         (vc-bzr-sha1): Adapt.
3142         * sha1.el: Remove.  Function `sha1' is now builtin.
3144         * bindings.el: Provide sha1 feature.
3146 2011-05-24  Kenichi Handa  <handa@m17n.org>
3148         * mail/sendmail.el: Require `rfc2047'.
3149         (mail-insert-from-field): Do not perform RFC2047 encoding.
3150         (mail-encode-header): New function.
3151         (sendmail-send-it): Set buffer-file-coding-system of the work
3152         buffer to the return value of select-message-coding-system.
3153         Call mail-encode-header.
3155         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3157 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
3159         * mail/supercite.el (sc-default-cite-frame):
3160         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
3162 2011-05-24  Glenn Morris  <rgm@gnu.org>
3164         * progmodes/python.el (brm-menu): Declare.
3166         * emulation/viper.el (viper-set-hooks): Declare.
3168         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3169         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3170         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3171         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3172         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3173         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3175 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3177         Add an :exit-function for completion-at-point.
3179         * minibuffer.el (completion--done): New fun.
3180         (completion--do-completion): Use it.  New arg `expect-exact'.
3181         (minibuffer-complete, minibuffer-complete-word): Don't output message,
3182         since completion--do-completion does it for us now.
3183         (minibuffer-force-complete): Use completion--done and
3184         completion--replace.  Handle sole-completion case with more care.
3185         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3186         (completion-extra-properties): New var.
3187         (completion-annotate-function): Make obsolete.
3188         (minibuffer-completion-help): Adjust accordingly.
3189         Use completion-list-insert-choice-function.
3190         (completion-at-point, completion-help-at-point):
3191         Bind completion-extra-properties.
3192         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3193         * simple.el (completion-list-insert-choice-function): New var.
3194         (completion-setup-function): Preserve it.
3195         (choose-completion): Pay attention to it, shuffle the code a bit.
3196         (choose-completion-string): New arg `insert-function'.
3198         * textmodes/bibtex.el: Convert to lexical binding.
3199         (bibtex-mode-map): Use completion-at-point.
3200         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3201         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3202         (bibtex-complete): Define as obsolete alias.
3203         (bibtex-complete-internal): Remove.
3204         (bibtex-format-entry): Remove unused sub-group in regexp.
3205         * shell.el (shell--command-completion-data)
3206         (shell-environment-variable-completion):
3207         * pcomplete.el (pcomplete-completions-at-point):
3208         * comint.el (comint--complete-file-name-data): Use :exit-function
3209         instead of completion-table-with-terminator so it also works for
3210         choose-completion.
3212 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3214         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3216         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3217         (bug#8710).
3219         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3221 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
3223         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3224         customization variable and implement: If non-nil, auto-fill will
3225         be inhibited while on topic's header line.
3227 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3229         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
3230         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
3231         always have a solution in grid size = 5 cases.
3232         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3233         (5x5-solver-output, 5x5-log-buffer): New vars.
3234         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3235         Make these variables buffer local to achieve 5x5 multi-session-ness.
3236         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3237         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3238         (5x5-solve-suggest): New funs.
3239         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3240         randomize a grid so that we ensure that there is always a solution.
3241         (5x5-make-random-grid): Allow other movement than flipping.
3243 2011-05-23  Kevin Ryde  <user42@zip.com.au>
3245         * emacs-lisp/advice.el (ad-read-advised-function):
3246         Use `function-called-at-point' as the default default, if it has
3247         advice and passes PREDICATE.
3249 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3251         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3252         byte-compile-lambda if it's actually a lambda.
3254         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3255         Fix function quoting.  Use backquote better.
3257 2011-05-22  Yuanle Song  <sylecn@gmail.com>
3259         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3260         matching (Bug#8516).
3262 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
3264         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3265         different face (Bug#8178).
3267 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
3269         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3270         defface (Bug#8144).
3272 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3274         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3275         funcall as well (bug#8712).  Warn when performing those conversions.
3276         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3278         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3280 2011-05-22  Glenn Morris  <rgm@gnu.org>
3282         * files.el (hack-local-variables-prop-line): Small simplifications.
3283         (hack-local-variables, hack-local-variables-prop-line):
3284         If MODE-ONLY, return the mode, rather than just `t'.
3286 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3288         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3290 2011-05-21  Glenn Morris  <rgm@gnu.org>
3292         * files.el (hack-local-variables-prop-line, hack-local-variables):
3293         If only interested in the mode, don't bother doing the other stuff.
3295         * image-mode.el (image-after-revert-hook):
3296         Redraw all frames on which the image is visible.  (Bug#8567)
3298         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
3300         * wid-edit.el (widget-checklist-match-inline):
3301         Fix 2011-04-19 change.  (Bug#8649)
3303 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3305         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3306         Also allow singlespace after single-letter capitals followed by a dot.
3308         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3309         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3311 2011-05-20  Nix  <nix@esperi.org.uk>
3313         * files.el (basic-save-buffer-2):
3314         Fix handling of break-hardlink-on-save with non-existent files.
3316 2011-05-19  Deniz Dogan  <deniz@dogan.se>
3318         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
3319         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
3321 2011-05-19  Glenn Morris  <rgm@gnu.org>
3323         * progmodes/f90.el (f90-type-def-re):
3324         Handle "type, bind(c)".  (Bug#8691)
3326         * emacs-lisp/autoload.el (batch-update-autoloads):
3327         Set autoload-excludes by parsing loadup.el rather than Makefiles.
3329 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
3331         * net/tramp.el (tramp-process-actions): Set "first-password-request"
3332         property for the correct connection in case of multihops.
3334 2011-05-18  Glenn Morris  <rgm@gnu.org>
3336         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
3337         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3339         Rationalize calendar handling of day and month abbrev-arrays.
3340         * calendar/calendar.el (calendar-customized-p): New function.
3341         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3342         (calendar-day-name-array, calendar-month-name-array): Doc fix.
3343         Add :set function.
3344         (calendar-abbrev-length, calendar-day-abbrev-array)
3345         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3346         (calendar-day-abbrev-array, calendar-month-abbrev-array):
3347         Elements may no longer be nil.
3348         (calendar-day-name, calendar-month-name):
3349         Update for changed nature of abbrev arrays.
3350         * calendar/diary-lib.el (diary-name-pattern):
3351         Update for changed nature of abbrev arrays.
3352         (diary-mark-entries-1): Update calendar-make-alist calls.
3353         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3354         * calendar/cal-html.el (cal-html-day-abbrev-array):
3355         Simply inherit from calendar-day-abbrev-array.
3357 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3359         * progmodes/grep.el (grep-mode): Disable default
3360         compilation-directory-matcher setting (bug#8684).
3362 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
3364         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3365         instead of "head" and "tail".  There were problems with SunOS 5.9,
3366         and it performs better.
3368 2011-05-17  Glenn Morris  <rgm@gnu.org>
3370         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3372         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3373         Replace obsolete function.
3375         * shell.el (pcomplete-parse-arguments-function): Declare.
3377         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3378         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3379         (appt-check): Doc fixes.
3380         (appt-disp-window-function, appt-delete-window-function):
3381         Remove needless special case in custom :type.
3382         (appt-display-count): Default to 0, not nil.
3383         (appt-check): Reset appt-display-count to 0, not nil.
3385 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
3387         * progmodes/python.el (python-font-lock-keywords):
3388         Add the Python 3.X keyword "nonlocal" (bug#8639).
3390 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3392         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3394 2011-05-16  Kevin Ryde  <user42@zip.com.au>
3396         * info-look.el (makefile-automake-mode): New setups, looking in
3397         automake manual, then makefile-mode.
3398         (makefile-mode): Remove automake manual, have it just in
3399         makefile-automake-mode since there's various things different or
3400         not relevant to plain make.
3401         (makefile-mode): Remove "other-modes" non-existent automake-mode,
3402         believe a hypothetical automake-mode would go to makefile-mode,
3403         not the other way around.
3405 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
3407         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3408         hunk-end tags (Bug#8672).
3410         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3411         vc-annotate-show-diff-revision-at-line (Bug#8671).
3413 2011-05-14  Glenn Morris  <rgm@gnu.org>
3415         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3416         in the middle of an existing one with multiple authors.  (Bug#8645)
3417         (change-log-font-lock-keywords): Also handle multiple author lines
3418         with leading tabs.  (Bug#8644)
3420         * calendar/appt.el (appt-check): Rename some local variables.
3421         Some simplification/reordering.
3423         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3424         (feedmail-sendmail-f-doesnt-sell-me-out)
3425         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3426         (feedmail-debug-sit-for, feedmail-queue-express-hook)
3427         (feedmail-queue-runner-message-sender): Set :version.
3428         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3429         (bbdb-dwim-net-address, vm-mail): Declare.
3430         (feedmail-binmail-gnulinuxish-template):
3431         Rename from feedmail-binmail-linuxish-template.
3432         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3433         Use insert-buffer-substring.
3435 2011-05-14  Bill Carpenter  <bill@carpenter.org>
3437         * mail/feedmail.el (feedmail-patch-level): Increase.
3438         (feedmail-debug): New custom group.
3439         (feedmail-confirm-outgoing-timeout)
3440         (feedmail-sendmail-f-doesnt-sell-me-out)
3441         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3442         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3443         (feedmail-sender-line, feedmail-from-line)
3444         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
3445         (feedmail-spray-this-address)
3446         (feedmail-spray-address-fiddle-plex-list)
3447         (feedmail-queue-use-send-time-for-date)
3448         (feedmail-queue-use-send-time-for-message-id)
3449         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3450         (feedmail-buffer-eating-function):
3451         Doc fixes.
3452         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3453         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3454         (feedmail-message-action-scroll-down): New functions.
3455         (feedmail-queue-directory, feedmail-queue-draft-directory):
3456         Use expand-file-name.
3457         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3458         Remove C-v help entry.
3459         (feedmail-queue-buffer-file-name): New variable.
3460         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3461         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3462         (feedmail-message-action-send-strong, feedmail-message-action-edit)
3463         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3464         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3465         (feedmail-message-action-toggle-spray)
3466         (feedmail-run-the-queue-no-prompts)
3467         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3468         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3469         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3470         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3471         (feedmail-envelope-deducer, feedmail-fiddle-from)
3472         (feedmail-fiddle-sender, feedmail-default-date-generator)
3473         (feedmail-fiddle-date, feedmail-fiddle-message-id)
3474         (feedmail-fiddle-spray-address)
3475         (feedmail-fiddle-list-of-spray-fiddle-plexes)
3476         (feedmail-fiddle-list-of-fiddle-plexes)
3477         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3478         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3479         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3480         Change default.  Doc fix.
3481         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3482         (feedmail-binmail-linuxish-template): New constant.
3483         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
3484         Respect feedmail-sendmail-f-doesnt-sell-me-out.
3485         (feedmail-send-it): Add debug call.
3486         Use feedmail-queue-buffer-file-name, and
3487         feedmail-send-it-immediately-wrapper.
3488         (feedmail-message-action-send): Add debug call.
3489         Use feedmail-send-it-immediately-wrapper.
3490         (feedmail-queue-express-to-queue): Add debug call.
3491         Run feedmail-queue-express-hook.
3492         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
3493         (feedmail-message-action-help-blat):
3494         Rename from feedmail-queue-send-edit-prompt-help-first.
3495         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
3496         Check line-endings.  Handle errors better.
3497         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3498         Doc fix.  Add debug call.
3499         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
3500         Use feedmail-queue-send-edit-prompt-inner.
3501         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3502         (feedmail-queue-send-edit-prompt-inner): New function, extracted
3503         from feedmail-queue-send-edit-prompt.
3504         (feedmail-queue-send-edit-prompt-help)
3505         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3506         (feedmail-tidy-up-slug): Add debug call.
3507         Respect feedmail-queue-slug-suspect-regexp.
3508         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3509         (feedmail-dump-message-to-queue): Add debug call.
3510         Expand queue-directory.
3511         (feedmail-dump-message-to-queue): Change message slightly.
3512         Use feedmail-say-chatter.
3513         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
3514         (feedmail-send-it-immediately-wrapper): New function.
3515         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
3516         Insert empty string rather than newline.  Handle full-frame case.
3517         Use catch/throw.  Use feedmail-say-chatter.
3518         (feedmail-fiddle-from): Try mail-host-address.
3519         (feedmail-default-message-id-generator): Doc fix.
3520         Bind system-time-locale.  Handle missing end.
3521         (feedmail-fiddle-x-mailer): Add debug call.
3522         Handle feedmail-x-mailer-line being nil.
3523         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3524         Add debug call.  Use buffer-substring-no-properties.
3525         (feedmail-say-debug, feedmail-say-chatter): New functions.
3526         (feedmail-find-eoh): Give an explicit error.
3528 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
3530         * net/newst-treeview.el (newsticker-treeview-face): Change default
3531         family from helvetica to sans.
3532         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
3533         etc/images/newsticker.
3535         * net/newst-reader.el (newsticker-feed-face): Change default
3536         family from helvetica to sans.
3538         * net/newst-plainview.el (newsticker-new-item-face)
3539         (newsticker-old-item-face, newsticker-immortal-item-face)
3540         (newsticker-obsolete-item-face, newsticker-date-face)
3541         (newsticker-statistics-face): Change default family from
3542         helvetica to sans.
3543         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
3544         etc/images/newsticker.
3546         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3547         (newsticker--process-auto-mark-filter-match): : Tell user about
3548         auto-marking.
3550 2011-05-13  Didier Verna  <didier@xemacs.org>
3552         Common Lisp indentation improvements on defmethod and lambda-lists.
3553         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3554         (lisp-lambda-list-keyword-parameter-indentation)
3555         (lisp-lambda-list-keyword-parameter-alignment)
3556         (lisp-lambda-list-keyword-alignment): New customizable user options.
3557         (lisp-indent-defun-method): Improve docstring.
3558         (extended-loop-p): Fix comment.
3559         (lisp-indent-lambda-list-keywords-regexp): New variable.
3560         (lisp-indent-lambda-list): New function.
3561         (lisp-indent-259): Use it.
3562         (lisp-indent-defmethod): Support for more than one
3563         method qualifier and properly indent methods lambda-lists.
3564         (defgeneric): Provide a missing common-lisp-indent-function property.
3566 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3568         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3569         bounds for the empty string (bug#8667).
3571 2011-05-13  Glenn Morris  <rgm@gnu.org>
3573         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3575         * mail/sendmail.el (sendmail-program): Try executable-find first.
3576         (sendmail-send-it): `sendmail-program' cannot be unbound.
3578         * calendar/appt.el (appt-make-list): Simplify.
3579         (appt-time-msg-list): Doc fix.
3580         (appt-check): Change mode-line message at the time of the appointment.
3582 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3584         * progmodes/ld-script.el (ld-script-keywords)
3585         (ld-script-builtins): Update keywords list.
3587 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3589         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3591         * shell.el (shell-completion-vars): New function.
3592         (shell-mode):
3593         * simple.el (read-shell-command): Use it.
3594         (blink-matching-open): No need for " [...]" in minibuffer-message.
3596 2011-05-12  Glenn Morris  <rgm@gnu.org>
3598         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3599         (appt-check): Simplify.
3601 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
3603         * smerge-mode.el (smerge-resolve): Use null-device rather than a
3604         literal "/dev/null".
3606 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3608         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3609         Fix typo.
3611 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
3613         * progmodes/which-func.el (which-function):
3614         Use add-log-current-defun instead of add-log-current-defun-function,
3615         which might not be defined (Bug#8260).
3617 2011-05-12  Glenn Morris  <rgm@gnu.org>
3619         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3620         Let byte-compile-initial-macro-environment always take precedence.
3622 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3624         * net/rcirc.el: Add support for SSL/TLS connections.
3625         (rcirc-server-alist): New field `encryption'.
3626         (rcirc): Check `encryption' settings.
3627         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
3628         Merge make-local-variable into `set'.
3629         (rcirc--connection-open-p): New function.
3630         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3631         the process is not a network process (e.g. running gnutls-cli).
3632         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3633         Make rcirc-(en|de)code-coding-system local here.
3634         (rcirc-mode): Merge make-local-variable into `set'.
3635         (rcirc-parent-buffer): Make permanent buffer-local.
3636         (rcirc-multiline-minor-mode): Don't do it here.
3637         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3638         there's no server buffer.
3640 2011-05-11  Glenn Morris  <rgm@gnu.org>
3642         * newcomment.el (comment-kill): Prefix "unused" local.
3644         * term/w32console.el (get-screen-color): Declare.
3646         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3647         Handle symbol elements of byte-compile-initial-macro-environment.
3649 2011-05-10  Leo Liu  <sdl.web@gmail.com>
3651         * bookmark.el (bookmark-bmenu-mode-map):
3652         Bind bookmark-bmenu-search to `/'.
3654         * mail/footnote.el: Convert to utf-8 encoding.
3655         (footnote-unicode-string, footnote-unicode-regexp): New variable.
3656         (Footnote-unicode): New function.
3657         (footnote-style-alist): Add unicode style to the list.
3658         (footnote-style): Doc fix.
3660 2011-05-10  Jim Meyering  <meyering@redhat.com>
3662         Fix doubled-word typos.
3663         * international/quail.el (quail-insert-kbd-layout): and and -> and
3664         * kermit.el: and and -> and
3665         * net/ldap.el (ldap-search-internal): to to -> to
3666         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3667         * progmodes/js.el (js-mode): and and -> and
3668         * textmodes/artist.el (artist-move-to-xy): at at -> at
3669         (artist-draw-region-trim-line-endings): if if -> if
3670         And Safetyc -> Safety.
3671         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3673 2011-05-10  Glenn Morris  <rgm@gnu.org>
3674             Stefan Monnier  <monnier@iro.umontreal.ca>
3676         * files.el (hack-one-local-variable-eval-safep):
3677         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
3679 2011-05-10  Glenn Morris  <rgm@gnu.org>
3681         * calendar/diary-lib.el (diary-list-entries-hook)
3682         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3683         (diary-nongregorian-marking-hook, diary-list-entries)
3684         (diary-include-other-diary-files, diary-mark-entries)
3685         (diary-mark-included-diary-files): Doc fixes.
3687 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
3689         * misc.el: Require tabulated-list.el during compilation.
3691 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
3693         * progmodes/compile.el (compilation-start):
3694         Run compilation-filter-hook for the async case too.
3695         (compilation-filter-hook): Doc fix.
3697 2011-05-09  Deniz Dogan  <deniz@dogan.se>
3699         * wdired.el: Remove outdated installation comment.  Fix usage
3700         comment.
3702 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
3704         * misc.el: Implement new command `list-dynamic-libraries'.
3705         (list-dynamic-libraries--loaded-only-p): New variable.
3706         (list-dynamic-libraries--refresh): New function.
3707         (list-dynamic-libraries): New command.
3709 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
3711         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3712         Fix the ant regexp to handle end-line and end-column info from jikes.
3713         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
3714         higher priority to avoid clobbering by gnu.
3716 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
3718         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3719         if the face has existing theme settings (Bug#8454).
3721 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
3723         * progmodes/perl-mode.el (perl-imenu-generic-expression):
3724         Only match variables declared via `my' or `our' (Bug#8261).
3726         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3727         special file names `.' and `..' (Bug#8259).
3729 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
3731         * progmodes/grep.el (grep-mode-font-lock-keywords):
3732         Remove buffer-changing entries.
3733         (grep-filter): New function.
3734         (grep-mode): Add it to compilation-filter-hook.
3736         * progmodes/compile.el (compilation-filter-hook)
3737         (compilation-filter-start): New defvars.
3738         (compilation-filter): Call compilation-filter-hook prior to
3739         updating the process mark.
3741 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3743         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3745 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
3747         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3748         mailclient-send-it even if window-system is nil.  (Bug#8595)
3750         * term/w32console.el (terminal-init-w32console):
3751         Call get-screen-color and use its output to set the frame
3752         background-mode.  (Bug#8597)
3754 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3756         Make bytecomp.el understand that defmethod defines funs (bug#8631).
3757         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3758         New functions.
3759         (defgeneric, eieio--defmethod): Use them.
3760         (eieio-defgeneric): Remove.
3761         (defmethod): Call defgeneric in a way visible to the byte-compiler.
3763 2011-05-07  Glenn Morris  <rgm@gnu.org>
3765         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3766         Use let rather than let*.
3767         (timeclock-find-discrep): Remove unused local.
3769         * calendar/diary-lib.el (diary-comment-start): Doc fix.
3771         * calendar/appt.el (appt-time-msg-list): Doc fix.
3773 2011-05-06  Noah Friedman  <friedman@splode.com>
3775         * apropos.el (apropos-print-doc): Only use
3776         emacs-lisp-docstring-fill-column when it is bound to an integer,
3777         per that variable's documentation.
3779 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3781         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
3782         and warnings are not silently discarded (e.g. use -d instead of -P).
3784 2011-05-06  Glenn Morris  <rgm@gnu.org>
3786         * calendar/appt.el (appt-message-warning-time): Doc fix.
3787         (appt-warning-time-regexp): New option.
3788         (appt-make-list): Respect appt-message-warning-time.
3790         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3791         New options.
3792         (diary-add-to-list): Strip comments from the displayed string.
3793         (diary-mode): Set comment-start and comment-end.
3795         * vc/diff-mode.el (smerge-refine-subst): Declare.
3796         (diff-refine-hunk): Don't require smerge-mode when compiling.
3798 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
3800         * simple.el (list-processes): Return nil as the docstring says.
3802 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
3804         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3805         to "".
3806         (ange-ftp-write-region, ange-ftp-insert-file-contents)
3807         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3808         determining of binary transfer.  (Bug#7383)
3810 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
3812         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3813         Fix port computation bug.  (Bug#8618)
3815 2011-05-05  Glenn Morris  <rgm@gnu.org>
3817         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3819         * simple.el (shell-dynamic-complete-functions)
3820         (comint-dynamic-complete-functions): Declare.
3822         * net/network-stream.el (gnutls-negotiate):
3823         * simple.el (tabulated-list-print): Fix declarations.
3825         * progmodes/gud.el (syntax-symbol, syntax-point):
3826         Remove unnecessary and incorrect declarations.
3828         * emacs-lisp/check-declare.el (check-declare-scan):
3829         Handle byte-compile-initial-macro-environment in bytecomp.el
3831 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3833         Fix earlier half-done eieio-defmethod change (bug#8338).
3834         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3835         Streamline and change calling convention.
3836         (defmethod): Adjust accordingly and simplify.
3837         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3838         new eieio--defmethod.
3839         (slot-boundp): Minor CSE simplification.
3841 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
3843         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3844         (glasses-make-readable): Use glasses-separate-capital-groups.
3846 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
3848         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3849         (warning-series): Doc fix.
3850         (display-warning): Don't try to create the buffer if we just found it.
3852 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
3854         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3855         (autoload-find-generated-file): New function.
3856         (generate-file-autoloads): Bind generated-autoload-file to
3857         buffer-file-name.
3858         (update-file-autoloads, update-directory-autoloads):
3859         Use autoload-find-generated-file.  If called interactively, prompt for
3860         output file (Bug#7989).
3861         (batch-update-autoloads): Doc fix.
3863 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
3865         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3867 2011-05-04  Glenn Morris  <rgm@gnu.org>
3869         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3870         function, so it follows changes in calendar-date-style.
3871         (diary-fancy-date-matcher): New function.
3872         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3873         (diary-fancy-font-lock-fontify-region-function):
3874         Use diary-fancy-date-pattern as a function.
3876         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3877         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
3879 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
3881         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3882         instead of positional arguments.  Allow :keylist and :crlfiles
3883         arguments.
3884         (open-gnutls-stream): Call it.
3886         * net/network-stream.el (network-stream-open-starttls): Adjust to
3887         call `gnutls-negotiate' with :process and :hostname arguments.
3889 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3891         * minibuffer.el (completion--message): New function.
3892         (completion--do-completion, minibuffer-complete)
3893         (minibuffer-force-complete, minibuffer-complete-word): Use it.
3894         (completion--do-completion): Don't ignore completion-auto-help when in
3895         icomplete-mode.
3897         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3898         internal encoding (e.g. tibetan zero is not whitespace).
3899         (global-whitespace-mode): Prefer save-current-buffer.
3900         (whitespace-trailing-regexp): Remove useless save-match-data.
3901         (whitespace-empty-at-bob-regexp): Minor simplification.
3903 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
3905         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3907 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3909         * textmodes/ispell.el (ispell-add-per-file-word-list):
3910         Use `concat' to create string for insertion.
3912 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3914         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3915         Avoid open-line which runs post-self-insert-hook.
3916         (bibtex-fill-entry): Remove unused `end' var.
3918 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
3920         * textmodes/ispell.el (ispell-add-per-file-word-list):
3921         Protect against `nil' value of `comment-start' (Bug#8579).
3923 2011-05-03  Leo Liu  <sdl.web@gmail.com>
3925         * isearch.el (isearch-yank-pop): New command.
3926         (isearch-mode-map): Bind it to `M-y'.
3927         (isearch-forward): Mention it.
3929 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3931         * simple.el (minibuffer-complete-shell-command): Remove.
3932         (minibuffer-local-shell-command-map): Use completion-at-point.
3933         (read-shell-command): Setup completion vars here instead.
3934         (read-expression-map): Bind TAB to symbol completion.
3936         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3937         error directly rather via storing it into `results'.
3939 2011-05-02  Leo Liu  <sdl.web@gmail.com>
3941         * vc/diff.el: Fix description.
3943 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3945         * server.el (server-eval-at): New function.
3947 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3949         * net/network-stream.el (open-network-stream): Take a :nowait
3950         parameter and pass it on to `make-network-process'.
3951         (network-stream-open-plain): Ditto.
3953 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3955         * faces.el (face-spec-set-match-display): Don't match toolkit
3956         options on terminal frames.
3958 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3960         * progmodes/pascal.el: Use lexical binding.
3961         (pascal-mode-map): Remove author preferences.
3963         * pcomplete.el (pcomplete-std-complete): Don't abuse
3964         completion-at-point.
3966 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
3968         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3969         removing code that has been dead since 1991 or so.
3971         * startup.el (command-line): When warning about "_emacs", use a
3972         delayed warning to allow the user to filter it out.
3974 2011-04-28  Deniz Dogan  <deniz@dogan.se>
3976         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3977         user has not joined.
3979 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3981         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3982         aren't any completions at point.
3984 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
3986         * subr.el (display-delayed-warnings): New function.
3987         (delayed-warnings-hook): New variable.
3989 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         * minibuffer.el (completion-at-point, completion-help-at-point):
3992         Don't presume that a given completion-at-point-function will always
3993         use the same calling convention.
3995         * pcomplete.el (pcomplete-completions-at-point):
3996         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
3997         pcomplete-seen is non-nil.
3998         (pcomplete-comint-setup): Also recognize the new comint/shell
3999         completion functions.
4000         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4001         pcomplete-seen is non-nil.
4003 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
4005         * calendar/icalendar.el (diary-lib): Add require statement.
4006         (icalendar--create-uid): Read out a uid from a text-property on
4007         the first character in the entry.  This allows for code to add its
4008         own uid to the entry.
4009         (icalendar--convert-float-to-ical): Add export of
4010         `diary-float'-entries save for those with the optional DAY
4011         argument.
4013 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
4015         * subr.el (shell-quote-argument): Use alternate escaping strategy
4016         when we spot a variable reference in a string.
4018 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
4020         * cus-start.el (all): Define customization for debug-on-event.
4022 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
4024         * subr.el (shell-quote-argument): Escape correctly under Windows.
4026 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4028         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4030 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
4032         * net/tramp.el (tramp-process-actions): Add POS argument.
4033         Delete region between POS and (pos).
4035         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4036         Use `nil' position in `tramp-process-actions' call.
4037         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4039         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4040         position in `tramp-process-actions' call.
4042         * net/trampver.el: Update release number.
4044 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4046         * custom.el (defcustom): Obey lexical-binding.
4048         Fix octave-inf completion problems reported by Alexander Klimov.
4049         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4050         Inherit from octave-mode-syntax-table.
4051         (inferior-octave-mode): Set info-lookup-mode.
4052         (inferior-octave-completion-at-point): New function.
4053         (inferior-octave-complete): Use it and completion-in-region.
4054         (inferior-octave-dynamic-complete-functions): Use it as well, and use
4055         comint-filename-completion.
4056         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4057         symbol elements which shouldn't be word elements.
4058         (octave-font-lock-keywords, octave-beginning-of-defun)
4059         (octave-function-header-regexp): Adjust regexps accordingly.
4060         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4062 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
4064         * net/gnutls.el (gnutls-errorp): Declare before first use.
4066 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
4068         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4069         verify-error, and verify-hostname-error parameters.  Check whether
4070         default trustfile exists before going to use it.  Add missing
4071         argument to gnutls-message-maybe call.  Return return value.
4072         Reported by Claudio Bley <claudio.bley@gmail.com>.
4073         (open-gnutls-stream): Add usage example.
4075         * net/network-stream.el (network-stream-open-starttls): Give host
4076         parameter to `gnutls-negotiate'.
4077         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
4078         * subr.el (shell-quote-argument): Escape correctly under Windows.
4080 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
4082         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4083         Use correct match group (bug#8438).
4085 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
4087         * emacs-lisp/package.el (package-built-in-p): Fix typo.
4088         (package-menu--generate): New arg specifying packages to show.
4089         (package-menu-refresh, package-menu-execute, list-packages):
4090         Callers changed.
4091         (package-show-package-list): New function, replacing deleted
4092         package--list-packages (renamed because it is non-internal).
4094         * finder.el (finder-list-matches): Use package-show-package-list
4095         instead of deleted package--list-packages.
4097         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4098         Based on a previous implementation by Juanma Barranquero (Bug#8366).
4099         (vc-annotate-mode-map): Bind it to RET.
4101 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4103         * progmodes/etags.el (next-file): Don't use set-buffer to change
4104         buffers (Bug#8478).
4106 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
4108         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4110         * apropos.el (apropos-label-face): Avoid variable-pitch face.
4111         (apropos-accumulator): Doc fix.
4112         (apropos-function, apropos-macro, apropos-command)
4113         (apropos-variable, apropos-face, apropos-group, apropos-widget)
4114         (apropos-plist): Add face property.
4115         (apropos-symbols-internal): Fix indentation.
4116         (apropos-print): Simplify help, and recognize apropos-multi-type.
4117         (apropos-print-doc): Use button-type-get to extract the button's
4118         face property.  Fill docstring (Bug#8352).
4120 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
4122         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4124         * play/mpuz.el (mpuz-silent): Doc fix.
4125         (mpuz-mode-map): Use mapc.
4126         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4127         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4128         Fix typos in docstrings.
4130         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4131         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4133         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4135 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
4137         * minibuffer.el (completion--do-completion): Avoid the "Next char
4138         not unique" prompt if icomplete-mode is enabled (Bug#5849).
4140         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4141         mouse-2 into unread-command-events, it is interpreted correctly.
4143         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
4144         (image-toggle-display): Doc fix.
4146 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
4148         * textmodes/page.el (what-page): Use line-number-at-pos to
4149         calculate line number (Bug#6825).
4151 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
4153         * eshell/esh-mode.el (find-tag-interactive): Declare function.
4154         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4155         Pass argument NO-DEFAULT to `find-tag-interactive'.
4157 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
4159         Lexical-binding cleanup.
4161         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4162         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4163         * progmodes/ada-prj.el (ada-prj-initialize-values)
4164         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4165         (ada-prj-show-value):
4166         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4167         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4168         (antlr-invalidate-context-cache, antlr-options-menu-filter)
4169         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4170         * progmodes/bug-reference.el (bug-reference-push-button):
4171         * progmodes/fortran.el (fortran-line-length):
4172         * progmodes/glasses.el (glasses-change):
4173         * progmodes/octave-mod.el (octave-fill-paragraph):
4174         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4175         (python-pdbtrack-grub-for-buffer, python-sentinel):
4176         * progmodes/sql.el (sql-save-connection):
4177         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4178         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4179         Mark unused parameters.
4181         * progmodes/compile.el (compilation--flush-directory-cache)
4182         (compilation--flush-parse, compile-internal): Mark unused parameters.
4183         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4184         (compilation-next-error-function): Remove unused variable `timestamp'.
4186         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4187         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4189         * progmodes/dcl-mode.el (dcl-end-of-command):
4190         Remove unused variable `start'.
4191         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4192         (dcl-option-value-basic, dcl-option-value-offset)
4193         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4194         Mark unused parameters.
4195         (dcl-save-local-variable): Remove unused variable `val'.
4196         (mode): Declare.
4198         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4199         Mark unused parameters.
4200         (delphi-ignore-changes): Move before first use.
4201         (delphi-charset-token-at): Remove unused variable `start'.
4202         (delphi-else-start): Remove unused variable `if-count'.
4203         (delphi-comment-block-start, delphi-comment-block-end):
4204         Remove unused variable `kind'.
4205         (delphi-indent-line): Remove unused variable `new-point'.
4207         * progmodes/ebrowse.el (ebrowse-files-list)
4208         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4209         Mark unused parameters.  Don't quote `lambda'.
4210         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4211         Don't quote `lambda'.
4212         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4213         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4214         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4215         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4216         Use `ignore-errors'.
4217         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4218         (ebrowse-view/find-file-and-search-pattern)
4219         (ebrowse-view/find-member-declaration/definition):
4220         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4221         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4222         Rename parameter PREFIX-ARG to PREFIX.
4223         (ebrowse-tags-read-name): Remove unused variables `start' and
4224         `member-info'.
4225         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4226         to `tags-file'.
4228         * progmodes/etags.el (local-find-tag-hook): Declare.
4229         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4230         Mark unused parameters.
4232         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4233         (executable-interpret): Mark unused parameter.
4235         * progmodes/flymake.el (flymake-process-sentinel)
4236         (flymake-after-change-function)
4237         (flymake-create-temp-with-folder-structure)
4238         (flymake-get-include-dirs-dot): Mark unused parameters.
4239         (flymake-safe-delete-directory): Remove unused variable `err'.
4241         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4242         (speedbar-timer-fn, speedbar-line-text)
4243         (speedbar-change-expand-button-char, speedbar-delete-subblock)
4244         (speedbar-center-buffer-smartly): Declare functions.
4245         (gdb-find-watch-expression): Remove unused variable `array'.
4246         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4247         (gdb-starting): Mark unused parameters.
4248         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4249         (gdb-table-string): Remove unused variable `res'.
4250         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4251         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4252         (gdb-display-buffer): Remove unused variable `cur-size'.
4254         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4255         allow lexical-binding compilation.
4256         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4257         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4258         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4259         Mark unused parameters.
4260         (gud-gdb-marker-filter): Remove unused variable `match'.
4261         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4262         lambda expressions and funcall them, instead of using `fset'.
4264         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4265         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4267         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4268         variable `header-beg'; use `let'.
4270         * progmodes/icon.el (indent-icon-exp): Remove unused variables
4271         `restart', `last-sexp' and `at-do'.
4273         * progmodes/js.el (js--debug): Mark unused parameter.
4274         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4275         (js--splice-into-items): Remove unused variable `item'.
4276         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4278         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4279         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4280         (makefile-complete): Remove unused variable `try'.
4281         (makefile-fill-paragraph, makefile-match-function-end):
4282         Mark unused parameters.
4284         * progmodes/octave-inf.el (inferior-octave-complete):
4285         Remove unused variable `proc'.
4286         (inferior-octave-output-digest): Mark unused parameter.
4288         * progmodes/perl-mode.el (perl-calculate-indent):
4289         Remove unused variable `err'.
4291         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4292         (prolog-indent-line): Mark unused parameters.
4293         (prolog-indent-line): Remove unused variable `beg'.
4295         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4296         (reporter-dont-compact-list): Declare.
4298         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4299         Remove unused variable `char'.
4300         (sh-debug): Mark unused parameter.
4301         (sh-get-indent-info): Remove unused variable `start'.
4302         (sh-calculate-indent): Remove unused variable `var'.
4304         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4305         (simula-electric-keyword): Remove unused variable `null'.
4306         (simula-search-backward, simula-search-forward): Remove unused
4307         variables `begin' and `end'.
4309         * progmodes/vera-mode.el (vera-guess-basic-syntax):
4310         Remove unused variable `pos'.
4311         (vera-electric-tab, vera-comment-uncomment-region):
4312         Mark unused parameters.
4313         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4315 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
4317         * emacs-lisp/package.el (package--builtins, package-alist)
4318         (package-load-descriptor, package-built-in-p, package-activate)
4319         (define-package, package-installed-p)
4320         (package-compute-transaction, package-buffer-info)
4321         (package--push): Doc fix.  Distinguish more clearly between
4322         version strings and version lists.
4324 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
4326         Lexical-binding cleanup.
4328         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4329         (5x5-make-mutate-best):
4330         * play/fortune.el (fortune-in-buffer):
4331         * play/gomoku.el (gomoku-init-display):
4332         * play/solitaire.el (solitaire, solitaire-do-check):
4333         * play/tetris.el (tetris-default-update-speed-function):
4334         Mark unused parameters.
4336         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4337         (bubbles--shift): Remove unused variable `char-org'.
4338         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
4339         (bubbles--show-images): Remove unused variable `char'.
4341         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4342         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4343         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4344         (decipher-analyze-buffer): Use ?\s.
4345         (decipher-make-checkpoint): Remove unused variable `mapping'.
4347         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4349         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4350         Remove unused variable `result'; use `let'.
4352         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4353         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4354         (gametree-children-shown-p, gametree-compute-reduced-score):
4355         Use `ignore-errors'.
4357         * play/handwrite.el (ps-lpr-switches): Declare.
4358         (handwrite): Remove unused variables `pmin' and `lastp'.
4360         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4362         * play/landmark.el (landmark-init-display)
4363         (landmark-update-naught-weights): Mark unused parameters.
4364         (landmark-y): Remove unused variable `noise'.  Simplify.
4365         (landmark-human-plays): Remove unused variable `score'.
4367         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4368         (mpuz-try-proposal): Remove unused variable `game'.
4370         * play/zone.el (life-patterns): Declare.
4372 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
4374         * vc/vc.el (ediff-vc-internal): Declare function.
4376 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * shell.el: Use lexical-binding and std completion UI.
4379         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4380         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4381         comint-preoutput-filter-functions rather than on
4382         comint-output-filter-functions.
4383         (shell-command-completion, shell--command-completion-data)
4384         (shell-filename-completion, shell-environment-variable-completion)
4385         (shell-c-a-p-replace-by-expanded-directory): New functions.
4386         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4387         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4388         (shell-dynamic-complete-environment-variable): Use them.
4389         (shell-dynamic-complete-as-environment-variable)
4390         (shell-dynamic-complete-as-command): Remove.
4391         (shell-match-partial-variable): Match past point.
4392         * comint.el: Clean up use of completion-at-point-functions.
4393         (comint-completion-at-point): New function.
4394         (comint-mode): Use it completion-at-point-functions.
4395         (comint-dynamic-complete): Make it obsolete.
4396         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4397         (comint-c-a-p-replace-by-expanded-history): New function.
4398         (comint-dynamic-complete-functions)
4399         (comint-replace-by-expanded-history): Use it.
4400         * minibuffer.el (completion-table-with-terminator): Allow dynamic
4401         termination strings.  Try harder to avoid second try-completion.
4402         (completion-in-region-mode-map): Disable bindings that don't work yet.
4404         * comint.el: Use lexical-binding.  Require CL.
4405         (comint-dynamic-complete-functions): Use comint-filename-completion.
4406         (comint-completion-addsuffix): Tweak custom type.
4407         (comint-filename-completion, comint--common-suffix)
4408         (comint--common-quoted-suffix, comint--table-subvert)
4409         (comint--complete-file-name-data): New functions.
4410         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4411         (comint-dynamic-list-filename-completions): Use them.
4412         (comint-dynamic-simple-complete): Make obsolete.
4414         * minibuffer.el (completion-in-region-mode):
4415         Keep completion-in-region-mode--predicate global.
4416         (completion-in-region--postch):
4417         Assume completion-in-region-mode--predicate is not null.
4419         * progmodes/flymake.el (flymake-start-syntax-check-process):
4420         Obey `dir'.  Simplify.
4422         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4423         we're in VC after all.
4425 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
4427         * vc/vc.el (vc-diff-build-argument-list-internal)
4428         (vc-version-ediff, vc-ediff): New commands.
4429         (vc-version-diff): Use vc-diff-build-argument-list-internal.
4431 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4433         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4434         add sanity check.
4436         * obsolete/erc-hecomplete.el: Make obsolete.
4437         * obsolete/: Standardize obsolescence info in the header.
4439 2011-04-20  Glenn Morris  <rgm@gnu.org>
4441         * calendar/solar.el (solar-horizontal-coordinates):
4442         Use the longitude argument rather than `calendar-longitude'.
4443         (solar-date-next-longitude): Remove unused locals.
4445 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4447         * whitespace.el: New version 13.2.1.
4449 2011-04-20  felix  <EmacsWiki>  (tiny change)
4451         * whitespace.el (global-whitespace-mode): Keep highlight when
4452         switching between major modes on a file.
4454 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4456         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4457         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4458         multi-line comments as well.
4460 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
4462         Lexical-binding cleanup.
4464         * arc-mode.el (archive-mode-revert):
4465         * cmuscheme.el (scheme-interactively-start-process):
4466         * custom.el (custom-initialize-delay):
4467         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4468         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4469         * emacs-lock.el (emacs-lock-clear-sentinel):
4470         * ezimage.el (defezimage):
4471         * follow.el (follow-avoid-tail-recenter):
4472         * fringe.el (set-fringe-mode-1):
4473         * generic-x.el (bat-generic-mode-compile):
4474         * help-mode.el (help-info-variable, help-do-xref)
4475         (help-mode-revert-buffer):
4476         * help.el (view-emacs-todo):
4477         * iswitchb.el (iswitchb-completion-help):
4478         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4479         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4480         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4481         * locate.el (locate-update):
4482         * longlines.el (longlines-encode-region)
4483         (longlines-after-change-function):
4484         * outline.el (outline-isearch-open-invisible):
4485         * ps-def.el (declare-function, charset-dimension, char-width)
4486         (encode-char):
4487         * ps-mule.el (ps-mule-plot-string):
4488         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4489         (recentf-edit-list-select, recentf-edit-list-validate)
4490         (recentf-open-files-action):
4491         * rect.el (delete-whitespace-rectangle-line)
4492         (rectangle-number-line-callback):
4493         * register.el (window-configuration-to-register)
4494         (frame-configuration-to-register):
4495         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4496         * select.el (xselect-convert-to-string, xselect-convert-to-length)
4497         (xselect-convert-to-targets, xselect-convert-to-delete)
4498         (xselect-convert-to-filename, xselect-convert-to-charpos)
4499         (xselect-convert-to-lineno, xselect-convert-to-colno)
4500         (xselect-convert-to-os, xselect-convert-to-host)
4501         (xselect-convert-to-user, xselect-convert-to-class)
4502         (xselect-convert-to-name, xselect-convert-to-integer)
4503         (xselect-convert-to-atom, xselect-convert-to-identity):
4504         * subr.el (declare, ignore, process-kill-without-query)
4505         (text-clone-maintain):
4506         * terminal.el (te-get-char, te-tic-sentinel):
4507         * tool-bar.el (tool-bar-make-keymap):
4508         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4509         * type-break.el (type-break-mode, type-break-noninteractive-query):
4510         * view.el (View-back-to-mark):
4511         * wid-browse.el (widget-browse-action, widget-browse-widget)
4512         (widget-browse-widgets, widget-browse-sexp):
4513         * widget.el (define-widget-keywords):
4514         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4515         Mark unused parameters.
4517         * align.el (align-adjust-col-for-rule): Mark unused parameter.
4518         (align-areas): Remove unused variable `look'.
4519         (align-region): Remove unused variables `real-end' and `pos-list'.
4521         * apropos.el (apropos-score-doc): Remove unused variable `i'.
4523         * bindings.el (mode-line-modified, mode-line-remote):
4524         Mark unused parameters.
4525         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4527         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4528         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4530         * comint.el (comint-history-isearch-pop-state)
4531         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4532         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4533         (comint-substitute-in-file-name): Doc fix.
4535         * completion.el (cmpl-statistics-block): Mark unused parameter.
4536         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4537         (save-completions-to-file, load-completions-from-file):
4538         Remove unused local variable `e'.
4540         * composite.el (compose-chars): Remove unused variable `len'.
4541         (lgstring-insert-glyph): Remove unused variable `g'.
4542         (compose-glyph-string): Remove unused variables `ascent',
4543         `descent', `lbearing' and `rbearing'.
4544         (compose-glyph-string-relative): Remove unused variables
4545         `lbearing', `rbearing' and `wadjust'.
4546         (compose-gstring-for-graphic): Remove unused variables `header',
4547         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
4548         (compose-gstring-for-terminal): Remove unused variables `header'
4549         and `nchars'.  Use `let', not `let*'.
4551         * cus-edit.el (Custom-set, Custom-save, custom-reset)
4552         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4553         (Custom-buffer-done, custom-buffer-create-internal)
4554         (custom-browse-visibility-action, custom-browse-group-tag-action)
4555         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4556         (widget-magic-mouse-down-action, custom-toggle-parent)
4557         (custom-add-parent-links, custom-toggle-hide-variable)
4558         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4559         (custom-toggle-hide-face, face, hook, custom-group-link-action)
4560         (custom-face-menu-create, custom-variable-menu-create, get)
4561         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4562         (custom-reset-standard-save-and-update): Remove unused variable `value'.
4563         (customize-apropos): Remove unused variable `tests'.
4564         (custom-group-value-create): Remove unused variable `hidden-p'.
4565         (sort-fold-case): Declare.
4567         * cus-theme.el (custom-reset-standard-faces-list)
4568         (custom-reset-standard-variables-list): Declare.
4569         (customize-create-theme, custom-theme-revert, custom-theme-write)
4570         (custom-theme-choose-mode, customize-themes, custom-theme-save):
4571         Mark unused parameters.
4573         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4575         * delim-col.el (delimit-columns-max): Move defvar before first use.
4577         * descr-text.el (describe-char-categories): Don't quote `lambda'.
4578         (describe-char): Don't quote `lambda'.  Mark unused parameter.
4580         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4581         (auto-insert): Declare.
4582         (desktop-restore-file-buffer): Rename desktop-* parameters;
4583         mark unused ones.
4584         (desktop-create-buffer): Rename desktop-* parameters and bind them.
4585         (desktop-buffer): Rename desktop-* parameters.
4587         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4588         (dframe-reposition-frame-xemacs, dframe-help-echo)
4589         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4590         Mark unused parameters.
4592         * dired-aux.el (backup-extract-version-start, overwrite-query)
4593         (overwrite-backup-query, rename-regexp-query)
4594         (rename-non-directory-query): Declare.
4595         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4596         (dired-add-entry): Remove unused variable `orig-file-name'.
4597         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4598         Use parameter PRESERVE-TIME instead of accessing dynamic variable
4599         `dired-copy-preserve-time' directly.
4600         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4601         (dired-insert-subdir-newpos): Rename unused variable `pos'.
4603         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4604         (dired-virtual-revert, dired-make-relative-symlink):
4605         Mark unused parameters.
4606         (manual-program): Declare.
4607         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4608         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4609         wrapped in `with-no-warnings' to avoid replacing one warning by another.
4611         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4613         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4615         * echistory.el (electric-history-in-progress, Helper-return-blurb):
4616         Declare.
4618         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4620         * electric.el (Electric-command-loop): Rename parameter
4621         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4623         * expand.el (expand-in-literal): Remove unused variable `here'.
4625         * facemenu.el (facemenu-add-new-color):
4626         Remove unused variable `docstring'.
4628         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4629         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4630         (face-attr-construct): Mark unused parameter.  Doc fix.
4631         (read-color): Remove unused variable `hex-string'.
4633         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4634         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4635         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4636         (display-buffer-other-frame): Remove unused variable `old-window'.
4637         (kill-buffer-hook): Declare.
4638         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4639         Mark unused parameters.
4640         (after-find-file): Pass 1 to `auto-save-mode', not t.
4642         * files-x.el (auto-insert): Declare.
4643         (modify-file-local-variable-prop-line): Remove unused variable `val'.
4645         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
4646         variable `buf'.  Mark unused parameter.
4647         (find-lisp-insert-directory): Mark unused parameter.
4649         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4650         (format-encode-region): Remove unused variables `cur-buf' and `result'.
4651         (format-common-tail): Remove, unused.
4652         (format-deannotate-region): Remove unused variable `loc'.
4653         (format-annotate-region): Remove unused variable `p'.
4654         (format-annotate-single-property-change): Remove unused variables
4655         `default' and `tail'.
4657         * forms.el (read-file-filter): Declare.
4658         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4660         * frame.el (frame-creation-function-alist): Mark unused parameter.
4661         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4663         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4664         Remove unused parameters.
4665         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4666         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4668         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4669         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4670         (hfy-prepare-tag-map): Mark unused parameters.
4671         (htmlfontify-buffer): Use `called-interactively-p'.
4673         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4674         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4675         (ibuffer-do-occur): Mark unused parameters.
4676         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4677         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4679         * ibuffer.el: Don't quote `lambda'.
4680         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4681         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4682         Mark unused parameters.
4684         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4685         (ido-completing-read): Mark unused parameters.
4686         (ido-copy-current-word): Mark unused parameters;
4687         remove unused variable `name'.
4688         (ido-sort-merged-list): Remove unused parameter `dirs'.
4690         * ielm.el (ielm-input-sender): Mark unused parameter.
4691         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4692         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4693         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4694         `ielm-string' as a dynamic variable accessible from the IELM prompt.
4695         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
4697         * image-dired.el (image-dired-display-thumbs): Remove unused
4698         variables `curr-file' and `count'.
4699         (image-dired-remove-tag): Remove unused variable `start'.
4700         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4701         variable `curr-file'
4702         (image-dired-rotate-original): Remove unused variable `temp-file'.
4703         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4704         Remove unused variable `file'.
4705         (image-dired-gallery-generate): Remove unused variable `curr'.
4706         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4708         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4710         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4712         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4714         * isearch.el (minibuffer-history-symbol): Declare.
4715         (isearch-edit-string): Remove unused variable `err'.
4716         (isearch-message-prefix, isearch-message-suffix):
4717         Mark unused parameters.
4719         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4721         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4723         * makesum.el (double-column): Remove unused variable `cnt'.
4725         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4726         (ido-ignore-item-temp-list): Declare.
4728         * mouse-drag.el (mouse-drag-throw): Remove unused variables
4729         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4730         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4731         (mouse-drag-drag): Remove unused variables `mouse-delta' and
4732         `mouse-col-delta'.
4734         * mouse-sel.el (mouse-extend-internal):
4735         Remove unused variable `orig-window-frame'.
4737         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4738         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4739         Move declarations before first use.
4740         (pcomplete-opt): Mark unused parameters; doc fix.
4742         * proced.el (proced-revert): Mark unused parameter.
4743         (proced-send-signal): Remove unused variable `err'.
4745         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4746         Rename parameter PREFIX-ARG to ARG.
4747         (ps-basic-plot-string, ps-basic-plot-whitespace):
4748         Mark unused parameters.
4750         * replace.el (replace-count): Define.
4751         (occur-revert-function): Mark unused parameters.
4752         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4753         (isearch-case-fold-search, isearch-string): Declare.
4754         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4755         bind `case-fold-search'.  Remove unused variables `beg' and `end',
4756         and simplify.
4757         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4758         COUNT and bind `replace-count'.
4759         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4760         to COUNT.
4762         * savehist.el (print-readably, print-string-length): Declare.
4764         * shadowfile.el (shadow-expand-cluster-in-file-name):
4765         Remove unused variable `cluster'.
4766         (shadow-copy-file): Remove unused variable `i'.
4767         (shadow-noquery, shadow-clusters, shadow-site-cluster)
4768         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4769         (shadow-define-literal-group, shadow-define-regexp-group)
4770         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4772         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4773         (shell): Use `called-interactively-p'.
4774         (shell-directory-tracker): Remove unused variable `chdir-failure'.
4776         * simple.el (compilation-context-lines, comint-file-name-quote-list)
4777         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4778         (delete-backward-char): Remove unused variable `ocol'.
4779         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4780         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4781         (event-apply-hyper-modifier, event-apply-shift-modifier)
4782         (event-apply-control-modifier, event-apply-meta-modifier):
4783         Mark unused parameters.
4784         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4785         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4787         * speedbar.el (speedbar-ignored-directory-expressions)
4788         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4789         (speedbar-find-file, speedbar-dir-follow)
4790         (speedbar-directory-buttons-follow, speedbar-tag-find)
4791         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4792         (speedbar-buffers-line-directory, speedbar-buffer-click):
4793         Mark unused parameters.
4794         (speedbar-tag-file): Remove unused variable `mode'.
4795         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4797         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4799         * talk.el (talk): Remove unused variable `display'.
4801         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4802         (tar-write-region-annotate): Mark unused parameter.
4804         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4805         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4806         Declare them, wrapped in `with-no-warnings' to avoid replacing one
4807         warning by another.
4809         * time-stamp.el (time-stamp-string-preprocess):
4810         Remove unused variable `require-padding'.
4812         * tree-widget.el (widget-glyph-enable): Declare.
4813         (tree-widget-action): Mark unused parameter.
4815         * w32-fns.el (x-get-selection): Mark unused parameter.
4816         (autoload-make-program, generated-autoload-file): Declare.
4818         * wdired.el (wdired-revert): Mark unused parameters.
4819         (wdired-xcase-word): Remove unused variable `err'.
4821         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4822         (whitespace-help-scroll): Remove unused variable `data-help'.
4824         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4825         (widget-image-insert, widget-after-change, default)
4826         (widget-default-format-handler, widget-default-notify)
4827         (widget-default-prompt-value, widget-info-link-action)
4828         (widget-url-link-action, widget-function-link-action)
4829         (widget-variable-link-action, widget-file-link-action)
4830         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4831         (widget-field-prompt-internal, widget-field-action, widget-field-match)
4832         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4833         (widget-insert-button-action, widget-delete-button-action, visibility)
4834         (widget-documentation-link-action, widget-documentation-string-action)
4835         (widget-const-prompt-value, widget-regexp-match, symbol)
4836         (widget-coding-system-prompt-value)
4837         (widget-key-sequence-value-to-external, sexp)
4838         (widget-sexp-value-to-internal, character, vector, cons)
4839         (widget-choice-prompt-value, widget-boolean-prompt-value)
4840         (widget-color--choose-action): Mark unused parameters.
4841         (widget-item-match-inline, widget-choice-match-inline)
4842         (widget-checklist-match, widget-checklist-match-inline)
4843         (widget-group-match): Rename parameter VALUES to VALS.
4844         (widget-field-value-set): Remove unused variable `size'.
4845         (widget-color-action): Remove unused variables `value' and `start'.
4847         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
4848         variable `dir'.  Doc fix.
4849         (windmove-find-other-window): Don't pass it.
4851         * window.el (count-windows): Mark unused parameter.
4852         (bw-adjust-window): Remove unused variable `err'.
4854         * woman.el (woman-file-name): Remove unused variable `default'.
4855         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4856         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4857         (global-font-lock-mode): Declare.
4858         (woman-decode-region): Mark unused parameter.
4859         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4861         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4862         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4863         (x-dnd-handle-moz-url): Remove unused variable `title'.
4864         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4866         * xml.el (xml-parse-tag, xml-parse-attlist):
4867         Remove unused variable `pos'.
4869 2011-04-19  Glenn Morris  <rgm@gnu.org>
4871         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4872         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4873         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4874         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4875         * calendar/cal-html.el (cal-html-insert-minical):
4876         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4877         (calendar-mark-date-pattern):
4878         Prefix "unused" locals.
4880         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4881         optional argument `style'.
4883         * calendar/appt.el (appt-make-list):
4884         * calendar/cal-china.el (calendar-chinese-date-string):
4885         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4886         (diary-hebrew-yahrzeit):
4887         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4888         * calendar/calendar.el (calendar-generate-window):
4889         * calendar/time-date.el (time-to-days):
4890         Remove unused local variables.
4892 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
4894         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4895         glyphless-char-display table.
4896         (tabulated-list-glyphless-char-display): New var.
4898 2011-04-18  Sam Steingold  <sds@gnu.org>
4900         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4901         to acknowledgments.
4903 2011-04-17  Glenn Morris  <rgm@gnu.org>
4905         * calendar/diary-lib.el (diary-sexp-entry):
4906         * calendar/holidays.el (holiday-sexp):
4907         Set debug-on-error rather than the removed stack-trace-on-error.
4909 2011-04-16  Glenn Morris  <rgm@gnu.org>
4911         * progmodes/f90.el: Use lexical-binding.
4912         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4914 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4916         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4917         (mail-mode): Setup mailalias completion here instead.
4918         * mail/mailalias.el: Use lexical-binding.
4919         (pattern, mailalias-done): Declare dynamic.
4920         (mail-completion-at-point-function): New function, from mail-complete.
4921         (mail-complete): Use it.
4922         (mail-completion-expand): New function.
4923         (mail-get-names): Use it.
4924         (mail-directory, mail-directory-process, mail-directory-stream):
4925         Don't use `pattern' for lexically bound arg.
4927         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4929         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4930         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4931         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4933         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4934         (byte-save-window-excursion, byte-temp-output-buffer-setup)
4935         (byte-interactive-p): Define them again, for use when inlining
4936         old code.
4938 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
4940         * loadup.el: Use `string-to-number', not `string-to-int'.
4942 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4944         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4945         gud-gdb-complete-command.
4946         (gud-gdb-completions): New function, from gud-gdb-complete-command.
4947         (gud-gdb-completion-at-point): New function.
4948         (gud-gdb-completions): Remove.
4950 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
4952         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4953         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
4954         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4955         whether `executable-find' is bound.
4957         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4959 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4961         * minibuffer.el (completion-in-region-mode-predicate)
4962         (completion-in-region-mode--predicate): New vars.
4963         (completion-in-region, completion-in-region--postch)
4964         (completion-in-region-mode): Use them.
4965         (completion--capf-wrapper): Also return the hook function.
4966         (completion-at-point, completion-help-at-point):
4967         Adjust and provide a predicate.
4969         Preserve arg names for advice of subr and lexical functions (bug#8457).
4970         * help-fns.el (help-function-arglist): Consolidate the subr and
4971         new-byte-code cases.  Add argument `preserve-names' to extract names
4972         from the docstring when needed.
4973         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4974         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4975         (ad-arglist): Use help-function-arglist's new arg.
4976         (ad-definition-type): Use cond.
4978 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
4980         * autorevert.el (auto-revert-handler):
4981         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4982         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
4983         Don't quote lambda.
4985         * image-mode.el (image-transform-set-scale):
4986         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
4988 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4990         * net/network-stream.el (network-stream-open-starttls): Only do
4991         opportunistic STARTTLS upgrades if we have built-in gnutls support.
4992         Upgrades via gnutls-cli are too slow to be done opportunistically.
4994 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
4996         * dframe.el (dframe-current-frame): Remove spurious quote.
4998 2011-04-12  Glenn Morris  <rgm@gnu.org>
5000         * calendar/cal-tex.el (cal-tex-end-document):
5001         Try to automatically use latin1 input if needed.
5003         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5004         Don't try to cons a mark onto an empty element.
5006 2011-04-11  Leo Liu  <sdl.web@gmail.com>
5008         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5009         buffers.
5010         (ido-kill-buffer-at-head): Support killing virtual buffers.
5012 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
5014         * minibuffer.el (completion-show-inline-help): New var.
5015         (completion--do-completion, minibuffer-complete)
5016         (minibuffer-force-complete, minibuffer-complete-word):
5017         Inhibit minibuffer messages if completion-show-inline-help is nil.
5019         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5020         to avoid interference from inline help (Bug#5849).
5022 2011-04-10  Leo Liu  <sdl.web@gmail.com>
5024         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5025         Fix typo.
5027 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
5029         * image-mode.el (image-toggle-display-image): Signal an error if
5030         not in Image mode.
5031         (image-transform-mode, image-transform-resize)
5032         (image-transform-set-rotation): Doc fix.
5033         (image-transform-set-resize): Delete.
5034         (image-transform-set-scale, image-transform-fit-to-height)
5035         (image-transform-fit-to-width): Handle image-toggle-display-image
5036         and image-transform-resize directly.
5038 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
5040         * doc-view.el (doc-view-fit-width-to-window)
5041         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5042         New functions for fitting the shown image to the Emacs window size.
5043         (doc-view-mode-map): Add bindings for the new functions.
5045 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
5047         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5048         Fix typo in docstring.
5050 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
5052         * files.el (file-size-human-readable): Produce one digit after
5053         decimal, like "ls -lh" does.
5055         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5056         the file size representation.
5058         * simple.el (list-processes): If async subprocesses are not
5059         available, error out with a clear error message.
5061 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
5063         * help.el (help-form-show): New function, to be called from C.
5064         Put help-form output in a buffer named differently than *Help*.
5066 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
5068         * files.el (file-size-human-readable): New function.
5070         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5071         computing the representation inline.  Don't require `cl'.
5073 2011-04-08  Glenn Morris  <rgm@gnu.org>
5075         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5077         * net/browse-url.el (browse-url-firefox):
5078         Test system-type, not system-configuration.
5080         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5081         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5082         Use log-edit-empty-buffer-p.  (Bug#7598)
5084         * net/rlogin.el (rlogin-process-connection-type): Simplify.
5085         (rlogin-mode-map): Initialize in the defvar.
5086         (rlogin): Use ignore-errors.
5088         * replace.el (occur-mode-map): Some fixes for menu items.
5090 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5092         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
5094 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
5096         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5097         issuing unused warnings.
5099         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5100         macro directly.
5102         * simple.el: Lisp reimplement of list-processes.  Based on an
5103         earlier reimplementation by Leo Liu, but using tabulated-list.el.
5104         (process-menu-mode): New major mode.
5105         (list-processes--refresh, list-processes):
5106         (process-menu-visit-buffer): New functions.
5108         * files.el (save-buffers-kill-emacs): Don't assume any return
5109         value of list-processes, which is undocumented anyway.
5111 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
5113         * emacs-lisp/tabulated-list.el: New file.
5115         * emacs-lisp/package.el: Use Tabulated List mode.
5116         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5117         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
5118         table format using Tabulated List mode variables.
5119         (package--push): New macro, replacing package-list-maybe-add.
5120         (package-menu--generate): Use package--push.  Renamed from
5121         package--generate-package-list.
5122         (package-menu-refresh, list-packages): Use it.
5123         (package-menu--print-info): Rename from package-print-package.
5124         Return insertion data instead of inserting it directly.
5125         (package-menu-describe-package, package-menu-execute):
5126         Use tabulated-list-get-id.
5127         (package-menu-mark-delete, package-menu-mark-install)
5128         (package-menu-mark-unmark, package-menu-backup-unmark)
5129         (package-menu-mark-obsolete-for-deletion):
5130         Use tabulated-list-put-tag.
5131         (package--list-packages, package-menu-revert)
5132         (package-menu-get-package, package-menu-get-version)
5133         (package-menu-sort-by-column): Functions deleted.
5134         (package-menu-package-list, package-menu-sort-key): Vars deleted.
5135         (package-menu--status-predicate, package-menu--version-predicate)
5136         (package-menu--name-predicate)
5137         (package-menu--description-predicate): Handle arguments in the
5138         Tabulated List format.
5139         (package-list-packages-no-fetch): Call list-packages.
5141 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
5143         * files.el (after-find-file-from-revert-buffer): Remove variable.
5144         (after-find-file): Don't bind it.
5145         (revert-buffer-in-progress-p): New variable.
5146         (revert-buffer): Bind it.
5147         Pass nil for `after-find-file-from-revert-buffer'.
5149         * saveplace.el (save-place-find-file-hook): Use new variable
5150         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5152 2011-04-06  Glenn Morris  <rgm@gnu.org>
5154         * Makefile.in (AUTOGEN_VCS): New variable.
5155         (autoloads): Use $AUTOGEN_VCS.
5157         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5158         * calendar/calendar.el (calendar-mode-map):
5159         Check for toolkit scroll bars.  (Bug#8305)
5161 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
5163         * minibuffer.el (completion-in-region--postch)
5164         (completion-in-region-mode): Remove unnecessary messages.
5166 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
5168         * font-lock.el (font-lock-refresh-defaults):
5169         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5170         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5172         * info.el (Info-directory-list, Info-read-node-name-2)
5173         (Info-split-parameter-string): Doc fixes.
5174         (Info-virtual-nodes): Reflow docstring.
5175         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5176         (Info-apropos-toc-nodes, info-finder, Info-get-token)
5177         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5178         Fix typos in docstrings.
5179         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5180         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5181         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5182         (Info-restore-desktop-buffer): Mark unused parameters.
5183         (Info-directory-find-file, Info-directory-find-node)
5184         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5185         (Info-virtual-index-find-node, Info-apropos-find-file)
5186         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
5187         Mark unused parameters; fix typos in docstrings.
5188         (Info-virtual-index): Remove unused local variable `nodename'.
5190 2011-04-05  Deniz Dogan  <deniz@dogan.se>
5192         * net/rcirc.el: Update my e-mail address.
5193         (rcirc-mode-map): Remove M-o binding.
5195 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
5197         * startup.el (command-line): Save the cursor's theme-face
5198         directly, instead of using face-override-spec.
5200         * custom.el (load-theme): Minor optimization in assigning faces.
5202 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
5204         * help-fns.el (describe-variable): Complete all variables having
5205         documentation, including keywords.
5206         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5208 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
5210         Convert to lexical-binding.
5212         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5213         (bs--get-marked-string, bs--get-modified-string)
5214         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5215         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5216         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5218         * ehelp.el (electric-help-execute-extended)
5219         (electric-help-ctrl-x-prefix):
5220         * hexl.el (hexl-revert-buffer-function):
5221         * linum.el (linum-after-change, linum-after-scroll):
5222         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5224         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5226 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
5228         * epa-dired.el:
5229         * epa-mail.el:
5230         * epa-hook.el:
5231         * epa-file.el:
5232         * epa.el:
5233         * epg.el: Use lexical binding.
5235 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
5237         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5239         * textmodes/flyspell.el (flyspell-word): Recognize default
5240         dictionary case for flyspell-mark-duplications-exceptions.
5241         Use regexp matching for languages.
5242         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5243         default dictionary (Bug#7926).
5245 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
5247         * emacs-lisp/package.el (package--with-work-buffer):
5248         Recognize https URLs.
5250         * net/network-stream.el: Move from gnus/proto-stream.el.
5251         Change prefix to network-stream throughout.
5252         (open-protocol-stream): Merge into open-network-stream, leaving
5253         open-protocol-stream as an alias.  Handle nil BUFFER args.
5255         * subr.el (open-network-stream): Move to net/network-stream.el.
5257 2011-04-02  Glenn Morris  <rgm@gnu.org>
5259         * find-dired.el (find-exec-terminator): New option.
5260         (find-ls-option): Test for -ls support.
5261         (find-ls-subdir-switches): Test for -b in find-ls-option.
5262         (find-dired, find-grep-dired): Doc fixes.
5263         (find-dired): Use find-exec-terminator.
5265         * find-dired.el (find-ls-option, find-ls-subdir-switches)
5266         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5267         (find-name-arg): Remove purecopy.
5269         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5270         (grep-compute-defaults): Check for `-exec COMMAND +' support.
5271         Set grep-find-use-xargs, grep-find-command, and grep-find-template
5272         accordingly.  Don't add the null-device if not needed.
5274         * files.el (save-some-buffers): Doc fix.
5276 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
5278         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5280 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
5282         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5283         Use `dolist' rather than `mapcar'.
5285 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5287         Add lexical binding.
5289         * subr.el (apply-partially): Use new closures rather than CL.
5290         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5291         (dolist, dotimes): Use slightly different expansion for lexical code.
5292         (functionp): Move to C.
5293         (letrec): New macro.
5294         (with-wrapper-hook): Use it and apply-partially instead of CL.
5295         (eval-after-load): Preserve lexical-binding.
5296         (save-window-excursion, with-output-to-temp-buffer): Turn them
5297         into macros.
5299         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5301         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5302         than the arglist.
5303         (help-add-fundoc-usage): Don't add `Not documented'.
5304         (help-function-arglist): Handle closures, subroutines, and new
5305         byte-code-functions.
5306         (help-make-usage): Remove leading underscores.
5307         (describe-function-1): Handle closures.
5308         (describe-variable): Use special-variable-p for completion.
5310         * files.el (lexical-binding): Declare safe.
5312         * emacs-lisp/pcase.el: Don't use destructuring-bind.
5313         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
5314         (pcase): Add `let' pattern.
5315         Change memoization so it actually works.
5316         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5317         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5318         <let>: New case.
5320         * emacs-lisp/macroexp.el: Use lexical binding.
5321         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
5322         Don't convert ' to #' without checking that it's indeed quoting
5323         a lambda.
5325         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
5326         Use eval-sexp-add-defvars.
5327         (eval-sexp-add-defvars): New fun.
5329         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5331         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5332         Don't autoload.
5333         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5334         than the internal `byte-compile-lambda'.
5335         (defmethod): Don't hide code under quotes.
5336         (eieio-defmethod): New `code' argument.
5338         * emacs-lisp/eieio-comp.el: Remove.
5340         * emacs-lisp/edebug.el (edebug-eval-defun)
5341         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5342         (edebug-toggle): Avoid `eval'.
5344         * emacs-lisp/disass.el (disassemble-internal): Handle new
5345         `closure' objects.
5346         (disassemble-1): Handle new byte codes.
5348         * emacs-lisp/cl.el (pushnew): Silence warning.
5350         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5351         (cl-byte-compile-throw): Remove.
5352         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5354         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5355         closures.
5357         * emacs-lisp/cconv.el: New file.
5359         * emacs-lisp/bytecomp.el: Use lexical binding instead of
5360         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
5361         (byte-compile-initial-macro-environment):
5362         Handle declare-function here.
5363         (byte-compile--lexical-environment): New var.
5364         (byte-stack-ref, byte-stack-set, byte-discardN)
5365         (byte-discardN-preserve-tos): New lap codes.
5366         (byte-interactive-p): Don't use any more.
5367         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5368         New macros.
5369         (byte-compile-lapcode): Use them and handle new lap codes.
5370         (byte-compile-obsolete): Remove.
5371         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5372         (byte-compile-arglist-warn): Check late def of inlinable funs.
5373         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5374         since they should have been expanded by now.
5375         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5376         (byte-compile-from-buffer): Remove unused second arg.
5377         (byte-compile-preprocess): New function.
5378         (byte-compile-toplevel-file-form): New function to distinguish
5379         file-form calls from outside from file-form calls from hunk-handlers.
5380         (byte-compile-file-form): Simplify.
5381         (byte-compile-file-form-defsubst): Remove.
5382         (byte-compile-file-form-defmumble): Simplify now that
5383         byte-compile-lambda always returns a byte-code-function.
5384         (byte-compile): Preprocess.
5385         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5386         Remove, not used any more.
5387         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5388         (byte-compile-make-args-desc): New funs.
5389         (byte-compile-lambda): Handle lexical functions.  Always return
5390         a byte-code-function.
5391         (byte-compile-reserved-constants): New var, to make up room for
5392         closed-over variables.
5393         (byte-compile-constants-vector): Obey it.
5394         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5395         (byte-compile-macroexpand-declare-function): New function.
5396         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5397         byte-code-functions.
5398         (byte-compile-form): Check obsolescence here.
5399         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5400         (byte-compile-variable-ref): Remove.
5401         (byte-compile-dynamic-variable-op): New fun.
5402         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5403         (byte-compile-variable-set): New funs.
5404         (byte-compile-discard): Add 2 args.
5405         (byte-compile-stack-ref, byte-compile-stack-set)
5406         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5407         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5408         macroexpand-all instead.
5409         (byte-compile-quote-form): Remove.
5410         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5411         (byte-compile-bind, byte-compile-unbind): New funs.
5412         (byte-compile-let): Handle let* and lexical binding.
5413         (byte-compile-let*): Remove.
5414         (byte-compile-catch, byte-compile-unwind-protect)
5415         (byte-compile-track-mouse, byte-compile-condition-case):
5416         Handle a new :fun-body form, used for lexical scoping.
5417         (byte-compile-save-window-excursion)
5418         (byte-compile-with-output-to-temp-buffer): Remove.
5419         (byte-compile-defun): Simplify.
5420         (byte-compile-stack-adjustment): New fun.
5421         (byte-compile-out): Use it.
5422         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5424         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5425         handler any more.
5427         * emacs-lisp/byte-opt.el: Use lexical binding.
5428         (byte-inline-lapcode): Remove (to bytecomp).
5429         (byte-compile-inline-expand): Pay attention to inlining to/from
5430         lexically bound code.
5431         (byte-compile-unfold-lambda): Don't handle byte-code-functions
5432         any more.
5433         (byte-optimize-form-code-walker): Don't handle save-window-excursion
5434         any more and don't call compiler-macros.
5435         (byte-compile-splice-in-already-compiled-code): Remove.
5436         (byte-code): Don't inline any more.
5437         (disassemble-offset): Receive `bytes' as argument rather than via
5438         dynamic scoping.
5439         (byte-compile-tag-number): Declare before first use.
5440         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5441         `return' even if make-spliceable.
5442         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5443         obsolete interactive-p.
5444         (byte-optimize-lapcode): Optimize new lap-codes.
5445         Don't trip up on new form of `byte-constant' lap code.
5447         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5449         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5451         * custom.el (custom-initialize-default, custom-declare-variable):
5452         Use `defvar'.
5454         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5455         New variables.
5456         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5457         (COMPILE_FIRST): Add macroexp and cconv.
5458         * makefile.w32-in: Mirror changes in Makefile.in.
5460         * vc/cvs-status.el:
5461         * vc/diff-mode.el:
5462         * vc/log-edit.el:
5463         * vc/log-view.el:
5464         * vc/smerge-mode.el:
5465         * textmodes/bibtex-style.el:
5466         * textmodes/css.el:
5467         * startup.el:
5468         * uniquify.el:
5469         * minibuffer.el:
5470         * newcomment.el:
5471         * reveal.el:
5472         * server.el:
5473         * mpc.el:
5474         * emacs-lisp/smie.el:
5475         * doc-view.el:
5476         * dired.el:
5477         * abbrev.el: Use lexical binding.
5479 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
5481         * info.el (info-display-manual): New function.
5483 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5485         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5487 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
5489         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
5490         an entry for that server in rcirc-authinfo.  (Bug#8385)
5492 2011-03-31  Glenn Morris  <rgm@gnu.org>
5494         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5496         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5498 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
5500         * progmodes/python.el (python-default-interpreter)
5501         (python-python-command-args, python-jython-command-args)
5502         (python-which-shell, python-which-args, python-which-bufname)
5503         (python-file-queue, python-comint-output-filter-function)
5504         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5505         variables and functions.
5507 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5509         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5510         (completion-in-region-mode): New minor mode.
5511         (completion-in-region): Use it.
5512         (completion-in-region--data, completion-in-region-mode-map): New vars.
5513         (completion-in-region--postch): New function.
5514         (completion--capf-misbehave-funs, completion--capf-safe-funs):
5515         New vars.
5516         (completion--capf-wrapper): New function.
5517         (completion-at-point): Use it to track well-behavedness of
5518         hook functions.
5519         (completion-help-at-point): New command.
5521 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
5523         * vc/add-log.el (add-change-log-entry): Don't use whitespace
5524         syntax class to search for whitespace on a single line
5525         (Message-ID: <4D938140.4030905@redhat.com>).
5527 2011-03-30  Leo Liu  <sdl.web@gmail.com>
5529         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5530         New commands.
5531         (edit-abbrevs-map): Bind them here.
5532         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
5534 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
5536         * allout.el (allout-hide-by-annotation, allout-flag-region):
5537         Reduce possibility of overlay leakage by making them volatile.
5539         * allout-widgets.el (allout-widgets-tally): Define as nil so the
5540         hash is not shared between buffers.  Mode initialization is
5541         responsible for giving it a useful starting value.
5542         (allout-item-span): Reduce possibility of overlay leakage by
5543         making them volatile.
5544         (allout-widgets-count-buttons-in-region): Add diagnostic function
5545         for tracking down button overlay leaks.
5547 2011-03-29  Leo Liu  <sdl.web@gmail.com>
5549         * ido.el (ido-read-internal): Use the default history var
5550         minibuffer-history if no HISTORY is specified.
5552 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
5554         * net/imap.el (imap-shell-open, imap-process-connection-type):
5555         Use imap-process-connection-type for 'shell' streams as well as
5556         Kerberos, SSL, other subprocesses.
5558 2011-03-28  Leo Liu  <sdl.web@gmail.com>
5560         * abbrev.el (abbrev-table-empty-p): New function.
5561         (prepare-abbrev-list-buffer): Place empty abbrev tables after
5562         nonempty ones.  (Bug#5937)
5564 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
5566         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5568 2011-03-27  Leo Liu  <sdl.web@gmail.com>
5570         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5571         for foreground and background colors.
5572         (ansi-color-make-color-map): Adapt.
5574 2011-03-25  Leo Liu  <sdl.web@gmail.com>
5576         * midnight.el (midnight-time-float): Remove.  Note it calculates
5577         the microsecond component incorrectly and seconds-to-time does the
5578         same job.
5579         Remove redundant (require 'timer).
5581         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5582         (ido-completions): Remove unused arguments.  (Bug#8329)
5584 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5586         * minibuffer.el (completion--flush-all-sorted-completions):
5587         Remove itself from hook.
5588         (completion-at-point): Let the functions perform the completion
5589         immediately and return nil or t.
5590         * comint.el (comint-dynamic-complete-functions): Now identical to
5591         completion-at-point-functions.
5592         (comint-dynamic-list-input-ring): Remove unused var `index'.
5593         (comint--match-partial-filename, comint--unquote&expand-filename):
5594         New funs, split from comint-match-partial-filename.
5595         (comint-dynamic-complete): Use completion-at-point.
5596         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5598 2011-03-24  Drew Adams  <drew.adams@oracle.com>
5600         * thingatpt.el: Support `defun'.
5602 2011-03-23  Leo Liu  <sdl.web@gmail.com>
5604         * abbrevlist.el: Move to obsolete/abbrevlist.el.
5606         * help-mode.el (help-mode-finish): Tweak regexp.
5608 2011-03-23  Glenn Morris  <rgm@gnu.org>
5610         * eshell/esh-opt.el (eshell-eval-using-options):
5611         Do not bind unused local variable `eshell-option-stub'.
5613         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5615 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
5617         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5618         keymap variable in `with-no-warnings' to avoid a warning when the
5619         keymap has been already `defconst'ed.
5621 2011-03-22  Leo Liu  <sdl.web@gmail.com>
5623         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5624         encode all chars in abbrevs; otherwise use emacs-mule or
5625         utf-8-emacs.  (Bug#8308)
5627 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
5629         * simple.el (backward-delete-char-untabify):
5630         Avoid warning about using `delete-backward-char'.
5632         * image.el (image-type-file-name-regexps): Make it variable.
5633         `imagemagick-register-types' modifies it, and the user may want
5634         to add new extensions for known image types.
5635         (imagemagick-register-types): Throw error if not using ImageMagick.
5637 2011-03-22  Leo Liu  <sdl.web@gmail.com>
5639         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5640         located before rcirc-prompt-end-marker.
5641         (rcirc-complete): Error if point is not after rcirc prompt.
5642         Handle the case when table is nil.
5643         (rcirc-user-authenticated): Define to fix compiler warning.
5645 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
5647         * custom.el (custom--inhibit-theme-enable): Make it affect only
5648         custom-theme-set-variables and custom-theme-set-faces.
5649         (provide-theme): Ignore custom--inhibit-theme-enable.
5650         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5651         (custom-enabling-themes): Delete variable.
5652         (enable-theme): Accept only loaded themes as arguments.
5653         Ignore the special custom-enabled-themes variable.
5654         (custom-enabled-themes): Forbid themes from setting this.
5655         Eliminate use of custom-enabling-themes.
5656         (custom-push-theme): Quote "changed" custom var entry.
5658 2011-03-21  Leo Liu  <sdl.web@gmail.com>
5660         * ido.el (ido-read-internal): Add ido-selected to history instead
5661         of user input.
5663 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5665         * subr.el (deferred-action-list, deferred-action-function):
5666         Mark obsolete.
5668 2011-03-21  Leo Liu  <sdl.web@gmail.com>
5670         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5671         change on 2011-02-13 (bug#8309).
5673         * minibuffer.el (read-file-name-function): Change default value.
5674         (read-file-name--defaults): Rename from read-file-name-defaults.
5675         (read-file-name-default): Rename from read-file-name.
5676         (read-file-name): Call read-file-name-function.
5678 2011-03-21  Glenn Morris  <rgm@gnu.org>
5680         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5681         Doc fixes.
5683 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
5685         * cus-theme.el: Add missing provide statement.
5686         (customize-create-theme): Extract theme value correctly.
5687         (custom-theme-visit-theme): Autoload.
5688         (customize-create-theme): Prompt before inserting default faces.
5690 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
5692         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5693         units and musical notes.
5695 2011-03-20  Leo  <sdl.web@gmail.com>
5697         * ido.el (ido-read-internal): Use completing-read-default.
5698         (ido-completing-read): Fix compatibility with completing-read.
5700 2011-03-20  Christian Ohler  <ohler@gnu.org>
5702         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5703         (ert-delete-all-tests): Use `called-interactively-p' rather than
5704         `interactive-p'.
5705         (ert--make-xrefs-region): Respect END.
5707 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
5709         * dired-aux.el (dired-create-directory): Signal an error if the
5710         directory already exists (Bug#8246).
5712         * facemenu.el (list-colors-display): Call list-faces-display
5713         inside with-help-window.
5714         (list-colors-print): Use display property to align the final
5715         column, instead of checking window-width.
5717 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
5719         * emerge.el (emerge-metachars): Separate value for ms-dos and
5720         windows-nt systems.
5721         (emerge-protect-metachars): Quote correctly for ms-dos and
5722         windows-nt systems.
5724 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
5726         * info.el (info-initialize): Replace all uses of `:' with
5727         path-separator for compatibility with non-Unix systems.
5728         Cache quoting of path-separator.  (Bug#8258)
5730 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
5732         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5733         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5734         (mouse-avoidance-mode): Fix typos in docstrings.
5736 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
5738         * startup.el (package-subdirectory-regexp): Move from package.el.
5739         Omit \\` and \\', and let callers add them.
5741         * emacs-lisp/package.el (package-strip-version)
5742         (package-load-all-descriptors): Add \\` and \\' to
5743         package-subdirectory-regexp before using it.
5744         (package-untar-buffer): New arg DIR; ensure that file untars only
5745         into this expected directory.  Remove superfluous delete-region.
5746         (package-unpack): Caller changed.
5747         (package-tar-file-info): Use package-subdirectory-regexp.
5749 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5751         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5752         diff-mode-shared-map (bug#8284).
5753         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
5755 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5757         * calendar/time-date.el (format-seconds): Use assoc instead of
5758         assoc-string, since assoc-string doesn't exist in XEmacs.
5760 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
5762         * custom.el (custom-known-themes): Reflow docstring.
5763         (custom-theme-load-path): Fix typo in docstring.
5764         (load-theme): Fix typo in error message.
5765         (custom-available-themes, custom-variable-theme-value):
5766         Use `let', not `let*'.
5768 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
5770         * calc/README: Mention inclusion of musical notes.
5772         * calc/calc-units.el (calc-lu-quant): Rename from
5773         `calc-logunits-quantity'.
5774         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5775         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5776         (calc-db): Rename from `calc-dblevel'.
5777         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5778         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5779         (calc-np): Rename from `calc-nplevel'.
5780         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5781         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5782         (calc-lu-plus): Rename from `calc-logunits-add'.
5783         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5784         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5785         (calc-lu-minus): Rename from `calc-logunits-sub'.
5786         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5787         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5788         (calc-lu-times): Rename from `calc-logunits-mul'.
5789         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5790         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5791         (calc-lu-divide): Rename from `calc-logunits-div'.
5792         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5793         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5795         * calc/calc-ext.el (calc-init-extensions): Update the names of the
5796         functions being autoloaded.
5798         * calc/calc.el (calc-lu-power-reference): Rename from
5799         `calc-logunits-power-reference'.
5800         (calc-lu-field-reference): Rename from
5801         `calc-logunits-field-reference'.
5803         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5805 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5807         * minibuffer.el (completion-all-sorted-completions):
5808         Use :completion-cycle-penalty text property if present.
5810 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
5812         * allout.el (allout-yank-processing): Adjust for new rebulleting
5813         regime so bullet being yanked is used without prompting the user
5814         for a choice.
5816 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
5818         * startup.el (command-line): Warn the user that _emacs is deprecated.
5820 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
5822         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5823         (delphi-verbose, delphi-comment-face, delphi-string-face)
5824         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5825         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5826         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5827         (delphi-new-comment-line, delphi-font-lock-defaults)
5828         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5829         Fix typos in docstrings.
5831 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
5833         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
5834         Invert the roles of character and string values for INSTEAD, so a
5835         string is used for the more common case of a defaulting prompt.
5837 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * progmodes/ruby-mode.el (ruby-backward-sexp):
5840         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5841         * play/gamegrid.el (gamegrid-make-face):
5842         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5843         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5844         * notifications.el (notifications-notify):
5845         * net/xesam.el (xesam-search-engines):
5846         * net/quickurl.el (quickurl-list-insert):
5847         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5849 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
5851         * startup.el (command-line): Update package subdirectory regexp.
5853 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5855         * allout.el (allout-abbreviate-flattened-numbering)
5856         (allout-mode-deactivate-hook): Fix up obsolescence "date".
5858         * subr.el (read-char-choice): Only show the cursor after the prompt,
5859         not after the answer.
5861 2011-03-15  Kevin Ryde  <user42@zip.com.au>
5863         * help-fns.el (variable-at-point): Skip leading quotes, if any
5864         (bug#8253).
5866 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5868         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5869         warning message.
5871 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
5873         * shell.el (shell): When called interactively, offer to change the
5874         shell file name on remote hosts.
5876 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
5878         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5879         integration for LDAP parameters.  The host, base, user or binddn,
5880         and secret tokens can be specified in a netrc file, for instance.
5881         This is optional because an `auth-source' parameter must be
5882         specified in the search attributes.
5884 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
5886         * help.el (describe-mode): Link to the mode's definition (bug#8185).
5888 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5890         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5891         into declaration.  Remove redundant and harmful binding.
5893 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
5895         * files.el (file-ownership-preserved-p): Pass `integer' as an
5896         explicit 2nd argument to `file-attributes'.  If the file's owner
5897         is the Administrators group on Windows, and the current user is
5898         Administrator, consider that a match.
5900         * server.el (server-ensure-safe-dir): Consider server directory
5901         safe on MS-Windows if its owner is the Administrators group while
5902         the current Emacs user is Administrator.  Use `=' to compare
5903         numerical UIDs, since they could be integers or floats.
5905 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
5907         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5909 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
5911         Sync with Tramp 2.2.1.
5913         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5915         * net/trampver.el: Update release number.
5917 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5919         * progmodes/compile.el (compilation--previous-directory): Fix up
5920         various nil/dead-marker mismatches (bug#8014).
5921         (compilation-directory-properties, compilation-error-properties):
5922         Don't call it at a position past the one we're about to change.
5924         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5925         Disable obsolescence warnings in the file that declares it.
5927 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
5929         * allout-widgets.el (allout-widgets-tally):
5930         Initialize allout-widgets-tally as a hash table rather than nil to
5931         prevent mode-line redisplay warnings.  Also, clarify the module
5932         description and fix a comment typo.
5934 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
5936         * help-fns.el (describe-variable): Don't complete keywords.
5937         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5939 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
5941         * emacs-lisp/package.el (package-version-join): Impose a standard
5942         string representation for pre/alpha/beta version lists.
5943         (package-unpack-single): Standardize the directory name by passing
5944         it through package-version-join.
5945         (package-strip-rcs-id): Accept any version string that does not
5946         signal an error in version-to-list.
5948 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
5950         * simple.el (delete-trailing-whitespace): Return nil for the
5951         benefit of `write-file-functions'.
5953 2011-03-10  Glenn Morris  <rgm@gnu.org>
5955         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5957         * vc/vc-git.el (vc-git-program): New option.
5958         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5959         (vc-git--call): Use it.
5961         * eshell/esh-util.el (eshell-condition-case): Doc fix.
5963         * cus-edit.el (Custom-newline): If no button at point, look
5964         for a subgroup button at start-of-line.  (Bug#2298)
5966         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5968 2011-03-10  Julien Danjou  <julien@danjou.info>
5970         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5971         `cursor-type' is nil.
5973 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
5975         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5977 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
5979         * allout.el Summary: Change so yank of distinctive-bullet items
5980         preserves the existing header prefix, rebulleting it if necessary,
5981         rather than replacing it.  This is necessary for proper operation
5982         of cooperative addons like allout-widgets.
5983         (allout-make-topic-prefix, allout-rebullet-heading): Change
5984         SOLICIT arg to INSTEAD, and interpret additionally a string value
5985         as alternate bullet to be used, instead of prompting the user for
5986         a bullet character.
5988 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
5990         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5991         Do not use `tramp-file-name-port', because this returns also
5992         `tramp-default-port'.
5994 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5996         * net/rcirc.el (rcirc-handler-001): Remove useless
5997         with-rcirc-process-buffer.
5998         (rcirc-check-auth-status): Swap arguments to string-match.
6000 2011-03-09  Glenn Morris  <rgm@gnu.org>
6002         * shell.el (shell-mode):
6003         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
6005         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6006         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
6008 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
6010         * emacs-lisp/package.el (package-refresh-contents)
6011         (package-menu-execute): Use condition-case-no-debug.
6013 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
6015         * simple.el (shell-command-to-string): Use `process-file'.
6017         * emacs-lisp/package.el (package-tar-file-info): Handle also
6018         remote files.
6020         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6021         Use `equal' for upload base check.
6023 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
6025         * textmodes/texinfo.el (texinfo-environments):
6026         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
6028 2011-03-08  Glenn Morris  <rgm@gnu.org>
6030         * cus-start.el (cursor-in-non-selected-windows):
6031         Fix :set quoting oddness.  (Bug#8192)
6033         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6034         in some setf expressions.  (Bug#2159)
6036 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
6038         * custom.el (custom-available-themes): Return themes in
6039         alphabetical order.
6041 See ChangeLog.15 for earlier changes.
6043 ;; Local Variables:
6044 ;; coding: utf-8
6045 ;; End:
6047   Copyright (C) 2011  Free Software Foundation, Inc.
6049   This file is part of GNU Emacs.
6051   GNU Emacs is free software: you can redistribute it and/or modify
6052   it under the terms of the GNU General Public License as published by
6053   the Free Software Foundation, either version 3 of the License, or
6054   (at your option) any later version.
6056   GNU Emacs is distributed in the hope that it will be useful,
6057   but WITHOUT ANY WARRANTY; without even the implied warranty of
6058   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6059   GNU General Public License for more details.
6061   You should have received a copy of the GNU General Public License
6062   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.