Fix bug #9311 with loading on MS-Windows .elc files in root directories.
[emacs.git] / lisp / ChangeLog
blobf3d37a77b24420e6cde733f87917a7bea69e033a
1 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (display-buffer-pop-up-frame): Run frame creation
4         function with BUFFER current (as special-display-popup-frame
5         does).  Reported by Drew Adams.
7 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
9         * epa-mail.el: Simplify GnuPG group expansion using
10         epg-expand-group.
11         (epa-mail-group-alist, epa-mail-group-modtime)
12         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15         Remove.
17 2011-08-16  Feng Li <fengli@gmail.com> (tiny change)
19         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21 2011-08-16  Alan Mackenzie  <acm@muc.de>
23         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
24         Correct, to avoid the inside of macros.
26 2011-08-16  Richard Stallman  <rms@gnu.org>
28         * epa-mail.el: Handle GnuPG group definitions.
29         (epa-mail-group-alist, epa-mail-group-modtime)
30         (epa-mail-gnupg-conf-file): New variables.
31         (epa-mail-parse-groups, epa-mail-sync-groups)
32         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
33         (epa-mail-expand-recipients): New functions.
34         (epa-mail-encrypt): Call epa-mail-expand-recipients.
36         * mail/rmail.el (rmail-epa-decrypt): New command.
38         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
39         Don't bind buffer-read-only, just inhibit-read-only.
40         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
41         (epa-decrypt-armor-in-region): Make error message clearer.
43 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
45         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
46         and "a2b" to "ab" for `prefix'.
48 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
50         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
51         filter groups.
52         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĆ«l
53         Fourquet (Bug#8804).
55 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
57         * startup.el (argi): Declare as global variable (bug#9275).
59 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
61         * subr.el (string-mark-left-to-right): Search the entire string
62         for RTL script, not just the terminating character.  Doc fix.
64 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
67         New function.
68         (js--regexp-literal, js-syntax-propertize-function): Remove.
69         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
70         (js-mode-map): Don't rebind electric keys.
71         (js-insert-and-indent): Remove.
72         (js-mode): Setup electric-layout and electric-indent instead.
74         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
76 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
78         * epa.el (epa-progress-callback-function): Fix the logic of
79         displaying progress.
80         * epa-file.el (epa-file-insert-file-contents): Make progress
81         display more user-friendly.
82         (epa-file-write-region): Ditto.
84 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
86         * subr.el (string-mark-left-to-right): New function.
88         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
89         Use string-mark-left-to-right.
90         (list-buffers-noselect): Caller changed.
92         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
93         Use string-mark-left-to-right.
94         (tabulated-list-print): Recenter after moving point.
96 2011-08-10  Juri Linkov  <juri@jurta.org>
98         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
99         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
100         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
102 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
104         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
105         (Bug#7554).
107 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
109         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
110         character.  (Bug#6594)
112 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
114         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
115         (image-dired--with-db-file): New macro.
116         (image-dired-write-tags, image-dired-remove-tag)
117         (image-dired-create-gallery-lists, image-dired-write-comments)
118         (image-dired-get-comment, image-dired-mark-tagged-files)
119         (image-dired-list-tags, image-dired-gallery-generate): Use it.
120         (image-dired-gallery-generate): Use insert-file-contents.
122         * time.el (display-time-world-list, display-time-world-display):
123         * time-stamp.el (time-stamp-string):
124         * vc/add-log.el (add-change-log-entry): Use setenv instead of
125         set-time-zone-rule (Bug#7337).
127 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
129         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
130         (epg-error-to-string, epg-errors-to-string): New function.
131         (epg-wait-for-completion): Reverse errors list.
132         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
133         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
134         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
135         (epg-sign-keys, epg-generate-key-from-file)
136         (epg-generate-key-from-string): Format errors by using
137         epg-errors-to-string (bug#9255).
138         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
140 2011-08-07  Juri Linkov  <juri@jurta.org>
142         * faces.el (list-faces-display): Remove extra angle bracket
143         from `help-mode-map'.
145         * info.el (Info-history-toc-nodes): Doc fix.
147         * longlines.el (longlines-mode): Doc fix.
149 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
151         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
152         of statements and in a few more cases (bug#9183).
154         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
155         New functions.
156         (cl-transform-lambda): Use them (bug#9239).
158 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
160         * window.el (display-buffer-same-window)
161         (display-buffer-same-frame, display-buffer-other-window)
162         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
163         (pop-to-buffer-other-window)
164         (pop-to-buffer-same-frame-other-window)
165         (pop-to-buffer-other-frame): Make them defuns.
166         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
168 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
170         * subr.el (make-composed-keymap): Move from C.  Change calling
171         convention, and improve docstring to bring attention to a subtle point.
172         * minibuffer.el (completing-read-default): Adjust accordingly.
174 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
176         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
177         (tramp-open-shell): Use `tramp-shell-quote-argument'.
179         * net/trampver.el: Update release number.
181 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
183         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
184         "in" (bug#9190).
186 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
188         * mail/sendmail.el (sendmail-query-once): Restore the current
189         buffer after querying (bug#9074).
191         * dired.el (dired-flagged): Use different faces for marked and
192         flagged files (bug#6117).
194         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
195         (bug#4433).
197         * ido.el (ido-mode): Switch off the message if called
198         non-interactively.
200         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
201         before 587, since it appears that that's more likely to work for
202         more people.
204         * cus-edit.el (custom-file): When running under emacs -q, always
205         refuse to save the customisations, even if the .emacs file doesn't
206         exist.
208         * info.el: Remove the `Info-beginning-of-buffer' function
209         (bug#8325).
211         * net/network-stream.el (network-stream-open-starttls):
212         Use `starttls-available-p' to see whether starttls.el can be used.
214 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
216         * window.el (display-buffer-in-window): Don't set dedicated status
217         of window here (Bug#9215).
218         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
219         (display-buffer-pop-up-side-window)
220         (display-buffer-in-side-window): Set dedicated status of window here.
222 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
224         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
225         before binding generated-autoload-file.
227 2011-08-01  Deniz Dogan  <deniz@dogan.se>
229         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
231 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
233         Sync with Tramp 2.2.2.
235         * net/trampver.el: Update release number.
237 2011-07-30  Juri Linkov  <juri@jurta.org>
239         * dired-aux.el (dired-touch-initial): Remove function.
240         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
241         current time, and `default' to the last modification time of the
242         current marked file (bug#6887).
244 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
246         * simple.el (goto-line): Use string-to-number to provide a
247         numeric argument to read-number (bug#9163).
249 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
251         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
252         connection process, it could be nil.
254 2011-07-27  Leo Liu  <sdl.web@gmail.com>
256         Simplify url handling in rcirc-mode.
258         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
259         (rcirc-browse-url-at-mouse): Remove.
260         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
262 2011-07-26  Alan Mackenzie  <acm@muc.de>
264         Fontify bitfield declarations properly.
266         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
267         (c-symbol-chars): Now exported as a lang variable.
268         (c-not-primitive-type-keywords): New lang variable.
270         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
271         QT keyword "more" to prevent "more slots: ...." being spuriously
272         parsed as a bitfield declaraion.
274         * progmodes/cc-engine.el (c-beginning-of-statement-1):
275         Refactor and enhance to handle bitfield declarations.
276         (c-punctuation-in): New function.
277         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
278         declarations properly.
280 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
282         * calendar/icalendar.el (icalendar--all-events): Take care of
283         multiple vcalendars in a single file.
284         (icalendar--convert-float-to-ical): Checkdoc fixes.
286 2011-07-25  Deniz Dogan  <deniz@dogan.se>
288         * image.el (insert-image): Clarifying docstring.
290 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
292         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
293         `tramp-send-command-and-check' if there is no error.
294         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
296 2011-07-22  Alan Mackenzie  <acm@muc.de>
298         Prevent cc-langs.elc being loaded at run time.
300         * progmodes/cc-mode.el: Remove two autoload forms which loaded
301         cc-langs.
303         * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
304         "(require 'cc-langs)".  Quote a form so it will evaluate at
305         (cc-mode's) compilation time.
307 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
309         * net/tramp.el (tramp-file-name-handler): Avoid recursive
310         loading.  (Bug#9114)
312 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
314         * window.el (display-buffer-pop-up-window)
315         (display-buffer-pop-up-side-window)
316         (display-buffer-in-side-window): Call display-buffer-set-height
317         and display-buffer-set-width after setting the new window's
318         buffer so `fit-window-to-buffer' and friends work on the right buffer.
320 2011-07-20  Sam Steingold  <sds@gnu.org>
322         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
323         (etags-tags-included-tables): Call `convert-standard-filename' on
324         the file names contained in TAGS so that windows Emacs can handle
325         TAGS files created by cygwin ctags.
327 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
329         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
330         which apparently didn't work.
332 2011-07-19  Roland Winkler  <winkler@gnu.org>
334         * proced.el (proced-send-signal): For *Marked Processes* buffer
335         put point at beginning of buffer.
337 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
339         * proced.el (proced-format): Make header lines align with the text
340         (bug#1779).
342 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
344         * view.el (view-buffer): Allow running in `special' modes if we're
345         visiting a file (bug#8615).
347 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
349         * window.el (display-buffer-alist-of-strings-p)
350         (display-buffer-alist-set-1, display-buffer-alist-set-2):
351         New functions.
352         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
353         more accurately.
355 2011-07-18  Alan Mackenzie  <acm@muc.de>
357         Fontify declarators properly when, e.g., a jit-lock chunk begins
358         inside a declaration.
360         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
362         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
363         New function.
364         (c-complex-decl-matchers): Insert reference to
365         c-font-lock-enclosing-decls.
367         * progmodes/cc-engine.el (c-backward-single-comment):
368         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
369         to nil around calls to (forward-comment -1).
371 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
373         * image.el (put-image): Doc typo fix.
375         * progmodes/etags.el (tags-search): Doc typo fix.
377         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
378         password if we get errors 550 to 554.
380 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
382         * net/gnutls.el (gnutls-log-level): Remove.
384         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
385         indentation character (bug#6380).
387         * files.el (buffer-offer-save): Made permanently local (bug#6241).
389         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
390         to clarify what the problem is (bug#4291).
392         * simple.el (current-kill): Clarify what
393         `interprogram-paste-function' does (bug#7500).
394         (auto-fill-mode): Document `auto-fill-function' in relation to
395         `auto-fill-mode' (bug#2470).
397 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
399         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
400         method if slot is read-only (bug#9035).
402 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
404         * frame.el (select-frame-set-input-focus): New argument NORECORD.
405         * window.el (pop-to-buffer): Select window used even if it was
406         selected before, see discussion of (Bug#8615), (Bug#6954).
407         Pass argument NORECORD on to select-frame-set-input-focus.
409 2011-07-15  Glenn Morris  <rgm@gnu.org>
411         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
412         Respect help-form.
414 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
416         * net/gnutls.el (gnutls-min-prime-bits): New variable.
417         (gnutls-negotiate): Use it.
419 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
421         * net/gnutls.el (gnutls-negotiate):
422         Upcase `gnutls-algorithm-priority'.
424 2011-07-15  Glenn Morris  <rgm@gnu.org>
426         * jka-compr.el (jka-compr-verbose): Move from here...
427         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
428         Add missing :version tag.
429         * info.el: No need to require jka-compr when compiling.
431 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
433         * net/gnutls.el (gnutls-algorithm-priority): New variable.
434         (gnutls-negotiate): Use it.
436         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
438         * info.el (Info-beginning-of-buffer): New command.
439         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
440         announcing `b' as the key (bug#8325).
441         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
443         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
445         * international/mule-cmds.el
446         (describe-specified-language-support): Make the error message
447         clearer (bug#8905).
449         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
451         * isearch.el (isearch-barrier): Add a doc string, since it's
452         mentioned in a function doc string (bug#8678).
454 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
456         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
457         buffer argument (Bug#9083) and self-identifying label argument.
459 2011-07-15  Glenn Morris  <rgm@gnu.org>
461         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
463 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
465         * man.el (Man-fontify-manpage): Fix message when formatting the
466         man page (bug#7929).
468 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
470         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
471         argument LRM; if non-nil, append an invisible LRM character to the
472         buffer name.
473         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
474         last argument non-nil, when formatting buffer names.
475         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
476         paragraph direction.
478 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
480         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
481         the man page name (bug#7929).
483         * image.el (put-image): Mention the `put-image' overlay property
484         (bug#7834).
486         * scroll-bar.el (set-scroll-bar-mode): Mention that
487         `scroll-bar-mode' lists the values (bug#7772).
489         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
490         command (bug#7729).
492         * rect.el (apply-on-rectangle): Return the point after the last
493         operation.
494         (string-rectangle): Go to the point after the last operation
495         (bug#7522).
497         * printing.el (pr-toggle-region): Clarify the documentation
498         slightly (bug#7493).
500         * time.el (display-time-update):
501         Allow `display-time-mail-function' to return nil (bug#7158).
502         Fix suggested by Detlev Zundel.
504         * vc/diff.el (diff): Clarify the order the file names are read
505         (bug#7111).
507         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
508         the doc string (bug#7015).
510         * font-lock.el (font-lock-maximum-decoration): Mention what
511         numeric levels mean (bug#6935).
513         * startup.el (initial-buffer-choice): Don't mention the `none'
514         selection, which is against policy.
516 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
518         * window.el (display-buffer-normalize-special):
519         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
521 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
523         * subr.el (version<, version<=, version=): Mention "-CVS" and
524         "-12345" alpha version numbers.
526 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
528         * bindings.el: Add advertised binding for set-mark-command
529         (Bug#5772).
531 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
533         * bindings.el (mode-line-other-buffer):
534         * bookmark.el (bookmark-bmenu-2-window):
535         * bs.el (bs-cycle-next, bs-cycle-previous):
536         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
537         switch-to-buffer.
539         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
540         Delete.
542 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
544         * follow.el (follow-debug-message, follow-redisplay):
545         * jka-cmpr-hook.el (with-auto-compression-mode):
546         Fix typos in docstrings.
548 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
550         * subr.el (with-silent-modifications): Clarify somewhat what the
551         macro inhibits (bug#6525).
553         * simple.el (eval-expression): Note what it does if called
554         interactively (bug#6495).
556 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
558         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
559         Use pop-to-buffer buffer-or-name if it is nil.
561         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
562         Remove switch-to-buffer.
564 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
566         * files.el (make-directory): Clarify that an error will be raised
567         if there's an error (bug#6397).
569         * startup.el (initial-buffer-choice): Add `none' as a choice
570         (bug#6234).
572         * subr.el (add-hook): Clarify section about buffer-local hooks
573         (bug#6218).
575         * dired.el (dired-flagged): Clarify doc string (bug#6117).
577 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
579         * tabify.el (untabify): Preserve the current column so that point
580         doesn't move (bug#6032).
582 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
584         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
585         Rewrite to avoid awkward possessive "s" (bug#5986).
587 2011-07-13  Glenn Morris  <rgm@gnu.org>
589         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
590         (dired-insert-directory): Give a message the first time
591         if ls is found not to support --dired.
593 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
595         * simple.el (toggle-truncate-lines): Clarify what is toggled
596         (bug#5580).  Text by Drew Adams.
598 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
600         * simple.el (blink-matching-open): Make the error message from the
601         last change less verbose.
603 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
605         * font-lock.el (font-lock-comment-face): Use the high contrast
606         "yellow" color for font-lock-comment-face on low color terminals
607         using a dark background color (bug#4221).
609 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
611         * dired.el (dired-insert-set-properties): Make the doc string
612         reflect what it does now (bug#5325).
614         * simple.el (blink-matching-open): Say that we were unable to find
615         the match within the limit, if we're limited (bug#5122).
617         * international/mule-cmds.el (prefer-coding-system): Add an
618         example (bug#4869).
620         * progmodes/etags.el (tags-search): Document `file-list-form'
621         (bug#4731).
623 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
625         * net/browse-url.el (browse-url-default-browser)
626         (browse-url-browser-function): Make the default browser choice a
627         bit more logical (bug#4300).  Also clean up the doc string.
629 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
631         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
632         binary endings (bug#4440).
634 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
636         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
637         which can be pretty annoying (bug#8971).
639         * jka-compr.el (jka-compr-verbose): New variable, and use
640         throughout (bug#8971).
642         * info.el (Info-find-file): Fall back on the installation
643         directory if we can't find the info node anywhere else.
645 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
647         * vc/vc.el (vc-revert-file):
648         Don't set file time-stamp in the past.  (Bug#5181)
650 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
652         * files.el (after-find-file): Give a better error message when
653         trying to find a symlink that points to a file that doesn't exist
654         (bug#4398).
656         * progmodes/cc-vars.el: Remove (probably) misleading comment
657         (bug#4396).
659 2011-07-12  Johan BockgĆ„rd  <bojohan@gnu.org>
661         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
663 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
665         * mouse-sel.el: Hack restoring functionality, while keeping
666         compatibility with 2010-07-03 changes to mouse selection.
667         (mouse-sel-primary-overlay): New var.
668         (mouse-sel-selection-alist): Use it.
669         (mouse-sel-mode): Doc fix; remove points that are default features
670         of mouse.el.
672 2011-07-12  Johan BockgĆ„rd  <bojohan@gnu.org>
674         * progmodes/compile.el (compilation-error-regexp-alist-alist):
675         Fix previous fix (bug#2490).
677 2011-07-12  Roland Winkler  <winkler@gnu.org>
679         * textmodes/bibtex.el (bibtex-initialize):
680         Use pop-to-buffer-same-window.
681         (bibtex-search-entries): Fix interactive call.
683 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
685         * progmodes/compile.el (compilation-error-regexp-alist-alist):
686         Fontise bytecomp Error lines more correctly (bug#2490).
687         Fix suggested by Johan BockgĆ„rd.
689         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
691         * dired-x.el (dired-guess-default): Use `delete-dups'.
693 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
695         * dired.el (dired-mark-prompt):
696         * dired-aux.el (dired-read-shell-command): Doc fix.
698 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
700         * mail/sendmail.el (sendmail-query-once):
701         Use `customize-save-variable' unconditionally, now that it works under
702         emacs -Q.
704         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
706         * cus-edit.el (custom-file): Take an optional no-error variable.
707         (customize-save-variable): Set the variable, and give a warning if
708         running under "emacs -q".
710 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
712         * loadhist.el (unload-feature-special-hooks):
713         Add `auto-coding-functions', `fill-nobreak-predicate' and
714         `find-directory-functions' (bug#5327).
716 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
718         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
720         * cus-edit.el (custom-guess-name-alist): -alist variables should
721         use the `alist' type (bug#3120).  Suggested by Drew Adams.
723         * printing.el: Add documentation to all the `pr-toggle-' commands.
725 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
727         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
728         backends where it makes sense (bug#2623).
730 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
732         * dired-x.el (dired-guess-default): Remove duplicate shell command
733         entries (bug#2028).
734         (dired-guess-default): Fix grammar in doc string (bug#2028).
735         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
737         * subr.el (remove-duplicates): New conveniency function.
739 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
741         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
742         (bug#1526).
744 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
746         * window.el (display-buffer-normalize-default): Don't invert
747         meaning of even-window-heights.  Reported by Eli Zaretskii
748         <eliz@gnu.org>.
750 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
752         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
754 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
756         * window.el (display-buffer): Fix arguments to
757         display-buffer-reuse-window in last change.
759         * faces.el (link): Use a less saturated blue on light backgrounds.
761         * startup.el (fancy-startup-text, fancy-about-text)
762         (fancy-startup-tail): Use font-lock faces, for background safety.
764 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
766         * emulation/viper-cmd.el (viper-change-state-to-vi):
767         Limit triggering of abbrev expansion (Bug#9038).
769 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
771         * window.el (display-buffer-default-specifiers): Remove.
772         (display-buffer-macro-specifiers): Remove default specifiers.
773         (display-buffer-alist): Default to nil.
774         (display-buffer-reuse-window): New optional argument other-window.
775         (display-buffer-pop-up-window): Allow splitting internal
776         windows.  Check whether a live window was created.
777         (display-buffer-other-window-means-other-frame)
778         (display-buffer-normalize-arguments): Rename to
779         display-buffer-normalize-argument and rewrite.  Set the
780         other-window specifier.
781         (display-buffer-normalize-special): New function.
782         (display-buffer-normalize-options): Rename to
783         display-buffer-normalize-default and rewrite.
784         (display-buffer-normalize-options-inhibit): Remove.
785         (display-buffer-normalize-specifiers): Rewrite.
786         (display-buffer): Process other-window specifier and call
787         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
788         more faithfully.
789         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
790         (display-buffer-alist-set): Don't handle 'unset default values.
791         (display-buffer-in-window, display-buffer-alist-set):
792         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
793         <tassilo@member.fsf.org>.
795 2011-07-09  Leo Liu  <sdl.web@gmail.com>
797         * register.el (insert-register): Restore accidental change on
798         2011-06-26.  (Bug#9028)
800 2011-07-09  Glenn Morris  <rgm@gnu.org>
802         * subr.el (remq): Handle the empty list.  (Bug#9024)
804 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
806         * mail/sendmail.el (send-mail-function): No longer delay custom
807         initialization.
808         * custom.el (custom-initialize-delay): Doc fix.
810 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
812         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
814 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
816         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
817         human-friendly prompt.
819 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
821         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
822         provided by a particular plugin.
824 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
826         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
827         save customizations (with "emacs -Q"), just set the variable
828         instead of erroring out.
830         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
832 2011-07-08  Juri Linkov  <juri@jurta.org>
834         * arc-mode.el (archive-zip-expunge, archive-zip-update)
835         (archive-zip-update-case): Use 7z if found by `executable-find'.
836         The order of searching the available programs is the same as in
837         `archive-zip-extract' (bug#8968).
839 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
841         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
842         (menu-bar-options-menu): Tweak descriptions.
844 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
846         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
847         menu items into verb phrases (bug#1421).  Also refill to fit under
848         80 columns.
850 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
852         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
853         (Info-read-node-name): Doc fix (Bug#1084).
855         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
856         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
857         (end-of-sexp, beginning-of-sexp)
858         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
859         (forward-symbol, forward-same-syntax, word-at-point)
860         (sentence-at-point): Doc fix (Bug#1144).
862 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
864         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
865         should cover it (bug#1281).
867         * cus-edit.el (custom-show): Mark as obsolete.
869         * net/network-stream.el (network-stream-open-starttls): If gnutls
870         negotiation fails, then possibly try again with a non-encrypted
871         connection (bug#9017).
873         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
874         be used.
876 2011-07-07  Richard Stallman  <rms@gnu.org>
878         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
879         property, and handle its changed format.
880         Look for the correct line number.
881         Use file's line contents (but not past first =) to find
882         correct line in message.
884 2011-07-07  Kenichi Handa  <handa@m17n.org>
886         * international/characters.el (build-unicode-category-table):
887         Delete it.
888         (unicode-category-table): Set it by unicode-property-table-internal.
890         * international/mule-cmds.el (char-code-property-alist): Move to
891         to src/chartab.c.
892         (get-char-code-property): Call unicode-property-table-internal to
893         load a file.  Call get-unicode-property-internal where necessary.
894         (put-char-code-property): Call unicode-property-table-internal to
895         load a file.  Call put-unicode-property-internal where necessary.
896         put-unicode-property-internal where necessary.
897         (char-code-property-description):
898         Call unicode-property-table-internal to load a file.
900         * international/charprop.el:
901         * international/uni-bidi.el:
902         * international/uni-category.el:
903         * international/uni-combining.el:
904         * international/uni-comment.el:
905         * international/uni-decimal.el:
906         * international/uni-decomposition.el:
907         * international/uni-digit.el:
908         * international/uni-lowercase.el:
909         * international/uni-mirrored.el:
910         * international/uni-name.el:
911         * international/uni-numeric.el:
912         * international/uni-old-name.el:
913         * international/uni-titlecase.el:
914         * international/uni-uppercase.el: Regenerate.
916         * loadup.el: Load international/charprop.el before
917         international/characters.
919 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
921         * window.el (next-buffer, previous-buffer): Signal an error if
922         called from a minibuffer window.
924         * bindings.el: Revert 2011-07-04 change.
926 2011-07-06  Richard Stallman  <rms@gnu.org>
928         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
929         (rmail-mime-insert-bulk, rmail-mime-insert-text):
930         Treat markers like ints.
931         (rmail-mime-entity): Doc fix.
933 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
935         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
936         defcustom again for backwards compatibility.
938         * simple.el (shell-command-on-region): Fill.
940         * dired-aux.el (dired-kill-line): Add a doc string.
942         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
943         to "\\sw\\|\\s_" (bug#358).
945         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
946         (dired-unmark-backward): Ditto.
947         (dired-flag-backup-files): Ditto.
949         * dired-x.el (dired-mark-sexp): Ditto.
951 2011-07-06  Richard Stallman  <rms@gnu.org>
953         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
954         (rmail-mime-entity): New arg TRUNCATED.
955         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
956         New functions.
957         (rmail-mime-save): Warn if entity is truncated.
958         (rmail-mime-toggle-hidden): Likewise, for showing.
959         (rmail-mime-process-multipart): Record when an entity is truncated.
961         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
962         if ENTITY is a string.
964 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
966         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
967         of faces when `M-C-x'-ing their definitions (bug#8378).
968         Also clean up the code slightly.
970         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
971         because that makes the colours go away.
973         * mail/sendmail.el (send-mail-function): Change the default to
974         `sendmail-query-once'.
975         (sendmail-query-once): Add an autoload cookie.
977         * net/network-stream.el (network-stream-open-starttls): Try using
978         a plain connection even if the server offered STARTTLS, and we
979         kinda wanted to use it, if Emacs doesn't have any STARTTLS
980         capability.  This should make smtpmail.el work in slightly more
981         configurations.
983 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
985         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
986         New defun.
987         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
989 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
991         * progmodes/sql.el: Version 3.0
992         (sql-product-alist): Add product :completion-object,
993         :completion-column, and :statement attributes.
994         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
995         (sql-mode-syntax-table): Mark all punctuation.
996         (sql-font-lock-keywords-builder): Temporarily remove fallback on
997         ansi keywords.
998         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
999         (sql-mode-oracle-font-lock-keywords): Improve.
1000         (sql-oracle-show-reserved-words): New function for development.
1001         (sql-product-font-lock): Simplify for source code buffers.
1002         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1003         New functions.
1004         (sql-highlight-product): Set product specific syntax table.
1005         (sql-mode-map): Add statement movement functions.
1006         (sql-ansi-statement-starters, sql-oracle-statement-starters):
1007         New variable.
1008         (sql-statement-regexp, sql-beginning-of-statement)
1009         (sql-end-of-statement, sql-signum): New functions.
1010         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
1011         (sql-show-sqli-buffer): Bug fix.
1012         (sql-interactive-mode): Store connection data as buffer local.
1013         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
1014         with sql-interactive-mode.
1015         (sql-save-connection): Save buffer local settings.
1016         (sql-connection-menu-filter): Change menu entry name.
1017         (sql-product-interactive): Bug fix.
1018         (sql-preoutput-hold): New variable.
1019         (sql-interactive-remove-continuation-prompt): Bug fixes.
1020         (sql-debug-redirect): New variable.
1021         (sql-str-literal): New function.
1022         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
1023         Redesign.
1024         (sql-oracle-save-settings, sql-oracle-restore-settings)
1025         (sql-oracle-list-all, sql-oracle-list-table): New functions.
1026         (sql-completion-object, sql-completion-column)
1027         (sql-completion-sqlbuf): New variables.
1028         (sql-build-completions-1, sql-build-completions)
1029         (sql-try-completion): New functions.
1030         (sql-read-table-name): Use them.
1031         (sql-contains-names): New buffer local variable.
1032         (sql-list-all, sql-list-table): Use it.
1033         (sql-oracle-completion-types): New variable.
1034         (sql-oracle-completion-object, sql-sqlite-completion-object)
1035         (sql-postgres-completion-object): New functions.
1037 2011-07-06  Glenn Morris  <rgm@gnu.org>
1039         * window.el (pop-to-buffer): Doc fix.
1041 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
1043         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1045 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
1047         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1049         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
1051 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
1053         * button.el (button): Inherit from link face.  Suggested by Dan
1054         Nicolaescu.
1056 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1058         * progmodes/gdb-mi.el: Fit in 80 columns.
1059         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1060         switch-to-buffer.
1062         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1063         if imenu is simply not configured (bug#8941).
1065 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
1067         * allout.el (allout-post-undo-hook): New allout outline-change
1068         event hook to signal undo activity.
1069         (allout-post-command-business): Run allout-post-undo-hook if an
1070         undo just occurred.
1071         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1072         * allout-widgets.el (allout-widgets-after-undo-function):
1073         Ensure the integrity of the current item's decoration after it has been
1074         in the vicinity of an undo.
1075         (allout-widgets-mode): Include allout-widgets-after-undo-function
1076         on the new allout-post-undo-hook.
1078 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1081         Let define-derived-mode define it.
1082         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1083         cycles of abbrev-table inheritance (bug#8998).
1085 2011-07-05  Roland Winkler  <winkler@gnu.org>
1087         * textmodes/bibtex.el: Add support for biblatex.
1088         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1089         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1090         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1091         (bibtex-entry-alist, bibtex-field-alist): New variables.
1092         (bibtex-entry-field-alist): Obsolete alias for
1093         bibtex-BibTeX-entry-alist.
1094         (bibtex-entry-alist, bibtex-field-alist): New widgets.
1095         (bibtex-set-dialect): New command.
1096         (bibtex-entry-type, bibtex-entry-head)
1097         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1098         Bind via bibtex-set-dialect.
1099         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1100         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1101         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1102         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1103         Define via bibtex-set-dialect.
1104         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1105         Obey bibtex-no-opt-remove-re.
1106         (bibtex-vec-push, bibtex-vec-incr): New functions.
1107         (bibtex-format-entry, bibtex-field-list)
1108         (bibtex-print-help-message, bibtex-validate)
1109         (bibtex-search-entries): Use new format of bibtex-entry-alist.
1111 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1113         * progmodes/compile.el (compilation-goto-locus):
1114         * net/tramp-cmds.el (tramp-append-tramp-buffers):
1115         * bs.el (bs-cycle-next, bs-cycle-previous):
1116         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1117         * bindings.el (mode-line-other-buffer):
1118         * autoinsert.el (auto-insert):
1119         * arc-mode.el (archive-extract):
1120         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1122 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1124         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1125         Fix check of `emacs-lock-unlockable-modes'.
1126         Coerce true values of `emacs-lock--try-unlocking' to t.
1128 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1130         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1131         * emacs-lock.el: New file.
1133 2011-07-05  Julien Danjou  <julien@danjou.info>
1135         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1136         than `boundp' to check if face is set.
1138 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1140         * register.el (registerv-make):
1141         * window.el (window-min-height): Fix typos in docstrings.
1143 2011-07-05  Jan DjƤrv  <jan.h.d@swipnet.se>
1145         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1146         Update doc string.
1148 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
1150         * server.el (server-execute): Catch quit and call
1151         `server-return-error' to pass the error back to emacsclient and
1152         close the connection (bug#8942).
1154 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
1156         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1157         insecure exception for current topic.  Also note that auto-saves
1158         are handled differently.
1160         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1161         State variables for tracking auto-save inhibition situation.
1163         (allout-write-contents-hook-handler): Rename from
1164         'allout-write-file-hook-handler', and describe how it depends on
1165         write-contents-functions sensitivity to non-nil value to prevent
1166         file write.
1168         (allout-auto-save-hook-handler): Remove.  auto-save does not check
1169         this in individual buffers, only in the starting buffer, so this
1170         is not the right way for us to inhibit auto-save in a buffer
1171         according to its condition.
1173         (allout-mode): Use new allout-write-contents-hook-handler, and
1174         only with write-contents-functions.  Remove auto-save provisions -
1175         they're implemented elsewhere.
1177         (allout-before-change-handler): If undo is in progress, note that
1178         for attention of allout-post-command-business.
1180         (allout-post-command-business): If the command we're following was
1181         an undo, check for change in the status of encrypted items and
1182         adjust auto-save inhibitions accordingly.
1184         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1185         according to whether there are or aren't any plain-text topics
1186         pending encryption.
1188         (allout-inhibit-auto-save-info-for-decryption):
1189         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
1190         there are plain-text topics pending encryption.
1192         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1193         buffer-saved-size and some allout state to not inhibit auto-saves
1194         if there are no longer any plain-text topics pending encryption.
1196         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1197         No longer provide for exemption of the current topic.
1199 2011-07-04  Juri Linkov  <juri@jurta.org>
1201         Add 7z operations to delete and save changed members (bug#8968).
1202         * arc-mode.el (archive-7z-expunge, archive-7z-update):
1203         New defcustoms.
1204         (archive-7z-write-file-member): New function.
1205         (archive-7z-summarize): Fix the number of dashes in the
1206         listing output.
1208 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1210         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1211         (bug#8958).
1213 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
1215         * bindings.el: Ignore next-buffer and previous-buffer in
1216         minibuffer-local-map.
1218         * font-lock.el (font-lock-builtin-face): Change light background
1219         color to dark slate blue (Bug#6693).
1221 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
1223         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1225 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1227         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1228         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1229         Add switch-to-buffer.
1231 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1233         * isearch.el (isearch-search-fun-function): Clarify further the
1234         meaning of the function returned.
1236 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
1238         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1240         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1241         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1242         Use it.
1243         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
1244         `tramp-default-remote-path' does not exist.
1245         (tramp-send-command-and-read): New optional argument NOERROR.
1246         (tramp-open-connection-setup-interactive-shell)
1247         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1248         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1249         (tramp-process-sentinel): Flush also process' connection property.
1250         (tramp-sh-handle-start-file-process): Do not set process
1251         sentinel.  It is done now ...
1252         (tramp-maybe-open-connection): ... here.  (Bug#8929)
1254 2011-07-04  MON KEY  <monkey@sandpframing.com>
1256         * play/animate.el (animate-string): Doc fixes and allow changing
1257         the buffer name (bug#5417).
1259 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1261         * play/animate.el (animation-buffer-name): Rename from *animate*.
1263 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
1265         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1266         This is simpler and helps future-proof the code.
1267         (timer-until): Use time-subtract and float-time.
1268         (timer--time-less-p): Use time-less-p.
1270 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
1272         * type-break.el (timep): Use the value of `float-time' to avoid a
1273         byte-compiler warning.
1275         * server.el (server-eval-and-print): Return any result, even nil.
1277 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1279         * type-break.el: Accept time formats that the builtins accept.
1280         (timep, type-break-time-difference): Accept any format that
1281         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1282         This is simpler and helps future-proof the code.
1283         (type-break-time-difference): Round rather than ignoring
1284         subseconds components.
1286 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1288         * info.el (Info-apropos-matches): Make non-interactive, since it
1289         doesn't seem to do anything useful as a command (bug#8829).
1291 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
1293         * frame.el (frame-background-mode, frame-set-background-mode):
1294         Move from faces.el.
1295         (frame-default-terminal-background): New function.
1297         * custom.el (custom-push-theme): Don't record faces in `changed'
1298         theme; this doesn't work correctly for per-frame face settings.
1299         (disable-theme): Use face-set-after-frame-default to reset faces.
1300         (custom--frame-color-default): New function.
1302 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1304         * dired.el (dired-flagging-regexp): Remove unused variable
1305         (bug#8769).
1307 2011-03-29  Kevin Ryde  <user42@zip.com.au>
1309         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1310         `perl-Test2' extend to match possible "fail #N" rep count
1311         (bug#8377).
1313 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1315         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1316         `smtpmail-via-smtp' now returns the error instead of nil.
1318         * isearch.el (isearch-search-fun-function): Clarify the doc string
1319         (bug#8101).
1321 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
1323         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1324         unnecessary spaces (bug#8987).
1326 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1328         * net/network-stream.el (open-network-stream): Use the
1329         :end-of-capability command thoughout.
1331 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1333         * net/network-stream.el (open-network-stream): Add the
1334         :end-of-capability command parameter, used by pop3.el.
1336 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1338         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1340         * fringe.el (fringe-query-style): Remove redundant text " (type ?
1341         for list)" (bug#6475).
1343         * files.el (file-expand-wildcards): Ignore non-readable
1344         sub-directories while trying to find matches instead of signalling
1345         an error (bug#6297).
1347         * man.el (Man-reference-regexp): Allow matching possible
1348         word-wrapped references (bug#6289).
1350         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1351         for consistency with the other vc buffers (bug#6197).
1352         (vc-checkin): Ditto.
1354         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1356         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1358 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1360         * custom.el (defcustom): Clarify that :set is only used in the
1361         Customize user interface (bug#6089).
1363         * progmodes/flymake.el (flymake-mode): If the buffer isn't
1364         associated with a file, refuse to run instead of erroring out
1365         (bug#6084).
1367         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1368         the doc string, since it appears that using `fill-column' always
1369         controls the width (bug#7845).
1371         * simple.el (shell-command-on-region): Say where the error output
1372         went if `shell-command-default-error-buffer' is set (bug#6857).
1374 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
1376         * allout.el (allout-yank-processing): Adjust cursor position for
1377         backwards-deleted space.
1379         (allout-rebullet-heading): Register changes with
1380         allout-exposure-changed-hook, so the modified topic is properly
1381         decorated.
1383 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1385         * minibuffer.el (completion-in-region): Document PREDICATE
1386         (bug#7136).
1388         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1389         of keyword/argument pairs (bug#6904).
1391         * replace.el (multi-occur):
1392         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
1394 2011-07-02  Drew Adams  <drew.adams@oracle.com>
1396         * dired.el (dired-mark-if): Make the message about whether it's
1397         marking or unmarking clearer (bug#8523).
1399 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1401         * disp-table.el (display-table-print-array): New function.
1402         (describe-display-table): Use it to print the vectors more pretty
1403         (Bug#8859).
1405 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
1407         * window.el (window-state-get-1): Don't assign clone numbers.
1408         Add clone-of item to list of window parameters.
1409         (window-state-put-2): Don't process clone numbers.
1410         (display-buffer-alist): Fix doc-string.
1412 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1414         * subr.el (remq): Don't allocate if it's not needed.
1415         (keymap--menu-item-binding, keymap--menu-item-with-binding)
1416         (keymap--merge-bindings): New functions.
1417         (keymap-canonicalize): Use them to refine the canonicalization.
1418         * minibuffer.el (minibuffer-local-completion-map)
1419         (minibuffer-local-must-match-map): Move initialization from C.
1420         (minibuffer-local-filename-completion-map): Move initialization from C;
1421         don't inherit from anything here.
1422         (minibuffer-local-filename-must-match-map): Make obsolete.
1423         (completing-read-default): Use make-composed-keymap to combine
1424         minibuffer-local-filename-completion-map with either
1425         minibuffer-local-must-match-map or
1426         minibuffer-local-filename-completion-map.
1428 2011-07-01  Glenn Morris  <rgm@gnu.org>
1430         * type-break.el (type-break-time-sum): Use dolist.
1432         * textmodes/flyspell.el (flyspell-word-search-backward):
1433         Replace CL function.
1435 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1437         * mouse.el (mouse--strip-first-event): New function.
1438         (function-key-map): Use it to map fringe clicks to normal clicks
1439         by default.
1441         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1442         (vc-bzr-revision-completion-table): Add support for annotate and date.
1444         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1445         inherit from parent.
1447 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1449         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
1450         (dired-show-file-type): Doc fixup (bug#8818).
1452         * dired.el (dired-mode): Fix up the doc string as suggested by
1453         Drew Adams (bug#8817).
1455         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1456         cookie, since the manual says that it should be possible to add
1457         this function to `find-file-hook' (bug#8709).
1459 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
1461         * progmodes/cfengine.el: Moved all cfengine3.el functionality
1462         here.  Noted Ted Zlatanov as the maintainer.
1463         (cfengine-common-settings, cfengine-common-syntax): New functions
1464         to set up common things between `cfengine-mode' and
1465         `cfengine3-mode'.
1466         (cfengine3-mode): New mode.
1467         (cfengine3-defuns cfengine3-defuns-regex
1468         (cfengine3-class-selector-regex cfengine3-category-regex)
1469         (cfengine3-vartypes cfengine3-font-lock-keywords)
1470         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
1471         (cfengine3-indent-line): Add from cfengine3.el.
1473 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
1475         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1477         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1479 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
1481         * window.el (same-window-buffer-names, same-window-regexps)
1482         (same-window-p, special-display-frame-alist)
1483         (special-display-popup-frame, special-display-function)
1484         (special-display-buffer-names, special-display-regexps)
1485         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1486         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1487         (split-window-preferred-function, split-height-threshold)
1488         (split-width-threshold, even-window-heights)
1489         (display-buffer-mark-dedicated, window-splittable-p)
1490         (split-window-sensibly, window-safely-shrinkable-p):
1491         Un-obsolete.
1492         (display-buffer): Don't spread args with function specifier
1493         because special-display-popup-frame won't like it.
1495 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
1497         Time-stamp simplifications and fixes.
1498         These improve accuracy slightly, and future-proof the code
1499         against some potential changes to current-time format.
1501         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1502         by using time-since and float-time.
1504         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1505         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
1506         + NNN microseconds".
1508         * type-break.el (type-break-time-sum): Rewrite using time-add.
1510         * play/hanoi.el (hanoi-current-time-float): Remove.
1511         All uses replaced by float-time.
1513         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1514         This yields a more-accurate answer.
1515         (rng-time-to-float): Remove; no longer needed.
1517         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1519         * calendar/timeclock.el (timeclock-seconds-to-time):
1520         Defalias to seconds-to-time, since they're the same thing.
1522         * emacs-lisp/elp.el (elp-elapsed-time):
1523         * emacs-lisp/benchmark.el (benchmark-elapse):
1524         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1526 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1528         * window.el (bury-buffer): Don't iconify the only frame.
1529         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1530         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
1532 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
1534         * eshell/em-smart.el (eshell-smart-display-navigate-list):
1535         Add mouse-yank-primary.
1537 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
1539         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1541 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1543         * emacs-lisp/find-func.el (find-library--load-name): New fun.
1544         (find-library-name): Use it to find relative load names when provided
1545         absolute file name (bug#8803).
1547 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1549         * textmodes/flyspell.el (flyspell-word): Consider words that
1550         differ only in case as potential doublons (bug#5687).
1552         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1553         Remove two rather uninteresting debugging-like messages to make
1554         debbugs.el more silent.
1556         * comint.el (comint-password-prompt-regexp): Accept "Response" as
1557         a password-like phrase.
1559 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
1561         * progmodes/cc-guess.el: New file.
1563         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
1565         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1566         derived from `c-basic-common-init'.
1568         * progmodes/cc-mode.el (top-level): Require cc-guess.
1569         (c-basic-common-init): Use `cc-choose-style-for-mode'.
1571 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
1573         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1575 2011-06-30  Alan Mackenzie  <acm@muc.de>
1577         * progmodes/cc-engine.el (c-guess-continued-construct):
1578         Correct the handling of template-args-cont, particularly for when font
1579         lock is disabled.  Name this case as "CASE G".
1581 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
1583         * allout.el (allout-yank-processing): Fix injection of extra space
1584         between bullet and non-whitespace character in first topic when
1585         pasting, ensuring that the actual spacing in the pasted topic
1586         following the bullet char is preserved.  This extra space was
1587         causing pasted encrypted topics to get a decrypted status even
1588         when the content was actually still encrypted.  Now the decryption
1589         status from before the paste is preserved.
1591         (allout-flag-region): Set all allout overlays so they evaporate
1592         when reduced to zero length (evanescent), to prevent overlay
1593         leakage.
1595 2011-06-30  Glenn Morris  <rgm@gnu.org>
1597         * w32-fns.el (w32-charset-info-alist): Declare.
1599         * find-dired.el (find-grep-options): Simplify.
1601         * term/ns-win.el (ns-set-resource): Declare.
1603         * ses.el (row, col): Declare dynamic variables honestly.
1605         * textmodes/reftex-parse.el (index-tags): Declare.
1607 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
1609         * cus-edit.el (customize-push-and-save): New function.
1611         * files.el (hack-local-variables-confirm): Use it.
1613         * custom.el (load-theme): New arg NO-CONFIRM.
1614         Use customize-push-and-save (Bug#8720).
1615         (custom-enabled-themes): Doc fix.
1617         * cus-theme.el (customize-create-theme)
1618         (custom-theme-merge-theme): Callers to load-theme changed.
1620 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1622         * thingatpt.el (thing-at-point-short-url-regexp): Require that
1623         short URLs have at least one dot in them (bug #7614).
1625         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1626         nil, because using a pty is apparently too slow (bug #895).
1628 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1630         * mail/sendmail.el (sendmail-query-once): New function.
1631         (sendmail-query-once-function): New variable.
1633 2011-06-29  Glenn Morris  <rgm@gnu.org>
1635         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1637         * ses.el (top-level): Require cl when compiling.
1638         (ses-set-localvars): Fix error statement.
1639         Call it at compile time to silence a storm of warnings.
1641 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
1643         * window.el (normalize-live-buffer): Rename to
1644         window-normalize-buffer.
1645         (normalize-live-frame): Rename to window-normalize-frame.
1646         (normalize-any-window): Rename to window-normalize-any-window.
1647         (normalize-live-window): Rename to window-normalize-live-window.
1648         (make-window-atom): Rename to window-make-atom.
1649         (window-resize-reset): Rename to window--resize-reset.
1650         (window-resize-reset-1): Rename to window--resize-reset-1.
1651         (resize-mini-window): Rename to window--resize-mini-window.
1652         (resize-subwindows-skip-p): Rename to
1653         window--resize-subwindows-skip-p.
1654         (resize-subwindows-normal): Rename to
1655         window--resize-subwindows-normal.
1656         (resize-subwindows): Rename to window--resize-subwindows.
1657         (resize-other-windows): Rename to window--resize-siblings.
1658         (resize-this-window): Rename to window--resize-this-window.
1659         (resize-root-window): Rename to window--resize-root-window.
1660         (resize-root-window-vertically): Rename to
1661         window--resize-root-window-vertically.
1662         (normalize-buffer-to-display): Rename to
1663         window-normalize-buffer-to-display.
1664         (normalize-buffer-to-switch-to): Rename to
1665         window-normalize-buffer-to-switch-to.
1666         Correspondingly update all callers of the functions listed
1667         above.
1668         (display-buffer-alist, display-buffer-normalize-arguments)
1669         (display-buffer-normalize-options, display-buffer)
1670         (display-buffer-alist-set): Use "function" instead of
1671         "fun-with-args".
1673 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
1675         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1676         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
1677         debbugs.gnu.org.  Mention acknowledgment email.
1679 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1681         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1682         buffer multibyteness, since it shouldn't matter.
1684 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
1686         * window.el (display-buffer-in-side-window): Handle dedicated
1687         windows as in display-buffer-reuse-window.
1688         (display-buffer-normalize-alist): Use value of override
1689         specifier.
1690         (display-buffer-normalize-specifiers): Use value of
1691         other-window-means-other-frame specifier.
1692         (display-buffer-alist): Rewrite some texts in widgets.
1693         (display-buffer): Spread arguments when calling function
1694         specified by fun-with-args.
1696 2011-06-28  Deniz Dogan  <deniz@dogan.se>
1698         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1699         Unnest `let'.
1701         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1702         selectors (Bug#5732).
1703         (css-proprietary-nmstart-re): Use `regexp-opt'.
1705 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
1707         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1708         (eshell-ls-date-format): New defcustom.
1709         (eshell-ls-file): Use it.
1711 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1713         * help-fns.el (describe-variable): Fix message for terminal-local vars.
1715 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1717         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1718         (ange-ftp-make-tmp-name): New arg.
1719         (ange-ftp-file-local-copy): Use it.
1721 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
1723         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1724         no-conversion (Bug#8870).
1726 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
1728         * window.el (window-right, window-left, window-child)
1729         (window-child-count, window-last-child)
1730         (window-iso-combination-p, walk-window-tree-1)
1731         (window-atom-check-1, window-tree-1, delete-window)
1732         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1733         new naming conventions - window-vchild, window-hchild,
1734         window-next and window-prev are now called window-top-child,
1735         window-left-child, window-next-sibling and window-prev-sibling
1736         respectively.
1737         (resize-window-reset): Rename to window-resize-reset.
1738         (resize-window-reset-1): Rename to window-resize-reset-1.
1739         (resize-window): Rename to window-resize.
1740         (window-min-height, window-min-width)
1741         (resize-mini-window, resize-this-window, resize-root-window)
1742         (resize-root-window-vertically, adjust-window-trailing-edge)
1743         (enlarge-window, shrink-window, maximize-window)
1744         (minimize-window, delete-window, quit-restore-window)
1745         (split-window, balance-windows, balance-windows-area-adjust)
1746         (balance-windows-area, window-state-put-2)
1747         (display-buffer-even-window-sizes, display-buffer-set-height)
1748         (display-buffer-set-width, set-window-text-height)
1749         (fit-window-to-buffer): Rename all "resize-window" prefixed
1750         calls to use the "window-resize" prefix convention.
1751         (display-buffer-alist): Fix symbol for label specifier.
1752         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1753         corresponding specifier.
1754         Reported by Juanma Barranquero <lekktu@gmail.com>.
1756 2011-06-27  Vincent BelaĆÆche  <vincentb1@users.sourceforge.net>
1758         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1759         convention.
1760         (ses-call-printer): Does not pass an empty string to formatter when the
1761         cell is empty to keep from barking printer Calc math-format-value.
1763 2011-06-27  Richard Stallman  <rms@gnu.org>
1765         * battery.el (battery-mode-line-limit): New variable.
1766         (battery-update): Handle it.
1768         * mail/rmailmm.el (rmail-mime-process-multipart):
1769         Handle truncated messages.
1771 2011-06-27  Glenn Morris  <rgm@gnu.org>
1773         * progmodes/flymake.el (flymake-err-line-patterns):
1774         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
1776 2011-06-27  Vincent BelaĆÆche  <vincentb1@users.sourceforge.net>
1778         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
1779         (ses--clean-!, ses--clean-_): New functions.
1780         (ses-range): Add configurability of readout order, and conversion
1781         to Calc vector.
1783         * ses.el (ses-repair-cell-reference-all): New function.
1784         (ses-cell-symbol): Set macro as safe, so that it can be used in
1785         formulas.
1787         * ses.el: Update cycle detection algorithm.
1788         (ses-localvars): Add ses--Dijkstra-attempt-nb and
1789         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
1790         (ses-set-localvars): New function.
1791         (ses-make-cell): Add property-list as a cell element.
1792         (ses-cell-property-get-fun, ses-cell-property-get)
1793         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
1794         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1795         New functions.
1796         (ses-cell-property-set, ses-cell-property-pop)
1797         (ses-cell-property-get-handle): New macro.
1798         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1799         New aliases, used for code readability.
1800         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1801         cycle detection.
1802         (ses-self-reference-early-detection): New defcustom.
1803         (ses-formula-references): Robustify against self-refering cells.
1804         (ses-mode): Use ses-set-localvars.
1805         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1806         before lauching the update processing.
1807         (ses-initialize-Dijkstra-attempt): New function.
1808         (ses-recalculate-cell): Update for cycle detection based on
1809         Dijkstra algorithm.
1811         * ses.el: Fix commenting and indenting convention.
1813 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * bs.el (bs-cycle-next): Complete last change.
1817 2011-06-27  Drew Adams  <drew.adams@oracle.com>
1819         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1821 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1823         * net/network-stream.el (network-stream-open-starttls):
1824         Don't re-get capabilities unless we've reestablished connection.
1825         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1827         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1828         to binary to possibly avoid line encoding issues on Windows (among
1829         other things).
1831 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1833         * net/network-stream.el (open-network-stream): Return an :error
1834         saying what the problem was, if possible.
1836         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1837         server.
1839         * net/network-stream.el (network-stream-open-starttls): If we
1840         wanted to use STARTTLS, and the server offered it, but we weren't
1841         able to because we had no STARTTLS support, then close the connection.
1842         (open-network-stream): Return an :error element, if present.
1844 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
1846         * hl-line.el (hl-line-sticky-flag): Doc fix.
1847         (global-hl-line-sticky-flag): New option (Bug#8323).
1848         (global-hl-line-highlight): Obey it.
1850         * vc/vc.el (vc-revert-show-diff): Default to t.
1852 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
1854         * allout-widgets.el (allout-widgets-post-command-business):
1855         Stop decorating intermediate isearch matches.  They're not being
1856         undecorated when an isearch is continued past, and isearch
1857         automatically collapses them.  This leads to "widget leaks", where
1858         decorated items accumulate in collapsed areas.  Lines with lots of
1859         hidden widgets can slow down cursor travel, substantially.
1860         Too much complicated machinery would be needed to ensure undecoration,
1861         so we're doing without this nicety.
1863         (allout-widgets-tally-string): Don't try to do a hash-table-count
1864         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
1865         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1866         *Messages* when allout-widgets-maintain-tally is t.
1868 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
1870         * window.el (display-buffer-normalize-argument): Rename to
1871         display-buffer-normalize-arguments.  Handle special meaning of
1872         LABEL argument.  Respect special-display-function when popping up
1873         a new frame.  Fix code searching for a window showing the buffer
1874         on another frame.
1875         (display-buffer-normalize-specifiers):
1876         Call display-buffer-normalize-arguments.
1877         (display-buffer-in-window): Don't undedicate the window if its
1878         buffer remains the same.
1879         Reported by Drew Adams <drew.adams@oracle.com>.
1880         (display-buffer-alist): Add choice for same-window macro
1881         specfier.
1882         (display-buffer): Mention special meaning of LABEL argument in
1883         doc-string.  Fix quoting.  Don't pop up a new frame even as
1884         fallback.
1886 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
1888         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1889         avoid deleting the current window in some cases (bug#8911).
1891 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
1893         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1894         (Bug#8934)
1896 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1898         * net/network-stream.el (network-stream-open-starttls):
1899         Use built-in TLS support if `gnutls-available-p' is true.
1900         (network-stream-open-tls): Ditto.
1902 2011-06-26  Leo Liu  <sdl.web@gmail.com>
1904         * register.el (registerv): New struct.
1905         (registerv-make): New function.
1906         (jump-to-register, describe-register-1, insert-register):
1907         Support the jump-func, print-func and insert-func slot of a registerv
1908         struct.  (Bug#8415)
1910 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
1912         * vc/vc.el (vc-revert-show-diff): New defcustom.
1913         (vc-diff-internal): New arg specifying diff buffer.
1914         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
1915         reuse an existing *vc-diff* buffer (Bug#8927).
1917         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1919 2011-06-26  Glenn Morris  <rgm@gnu.org>
1921         * progmodes/f90.el (f90-critical-indent): New option.
1922         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1923         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1924         (f90-mode): Doc fix.
1925         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1926         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1927         (f90-beginning-of-block, f90-next-block, f90-indent-region)
1928         (f90-match-end): Handle block, critical.
1930 2011-06-25  Glenn Morris  <rgm@gnu.org>
1932         * calendar/diary-lib.el (diary-included-files): Doc fix.
1933         (diary-include-files): New function, extracted from
1934         diary-include-other-diary-files and diary-mark-included-diary-files.
1935         (diary-include-other-diary-files, diary-mark-included-diary-files):
1936         Just call diary-include-files.
1937         (diary-mark-entries): Reset diary-included-files on first call.
1939         * calendar/diary-lib.el (diary-mark-entries)
1940         (diary-mark-included-diary-files):
1941         Visit included diary-files in temp buffers.
1943         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1944         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1945         (f90-start-block-re, f90-imenu-generic-expression)
1946         (f90-looking-at-program-block-start, f90-no-block-limit):
1947         Add support for submodules.
1949         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1950         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1952 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
1954         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1955         buffer-file-type before setting its value, to avoid disastrous
1956         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
1958 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
1960         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1962         * ses.el (ses-unload-function):
1963         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1965         * proced.el (proced-unload-function):
1966         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1968 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
1970         * server.el (server-create-window-system-frame): Add parameters arg.
1971         (server-process-filter): Doc fix.  Handle frame-parameters.
1973 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
1975         Fix bug#8730, bug#8781.
1977         * loadhist.el (unload--set-major-mode): New function.
1978         (unload-feature): Use it.
1980         * progmodes/python.el (python-after-info-look): Add autoload cookie.
1981         (python-unload-function): New function.
1983 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1985         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1987 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
1989         * net/browse-url.el (browse-url-firefox-program): Add icecat to
1990         the candidates list.
1992 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
1994         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1996 2011-06-23  Richard Stallman  <rms@gnu.org>
1998         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1999         (rmail-variables): Set next-error-move-function.
2000         (rmail-what-message): Take argument POS.
2001         (rmail-next-error-move): New function.
2003 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2005         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2006         messages for adjacent non-terminals.
2008 2011-06-23  Richard Stallman  <rms@gnu.org>
2010         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
2011         (rmail-show-message-1): Preserve buffer modified flag.
2012         (rmail-start-mail): Don't specify use of rmail-mail-return;
2013         that's done by mail-bury now.
2014         (rmail-mail-return): Handle arg NEWBUF.
2016 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
2018         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2019         SIZE is a number.
2021 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
2023         * window.el (get-lru-window, get-mru-window)
2024         (get-largest-window): Never return a minibuffer window.
2025         (display-buffer-pop-up-window): Fix a bug that could lead to
2026         reusing the minibuffer window.
2027         (display-buffer): Pass original specifier argument to
2028         display-buffer-function instead of the normalized one.
2029         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2031 2011-06-22  Leo Liu  <sdl.web@gmail.com>
2033         * minibuffer.el (completing-read-function)
2034         (completing-read-default): Move from minibuf.c
2036 2011-06-22  Richard Stallman  <rms@gnu.org>
2038         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2039         to Rmail even if not started by a special Rmail command.
2041         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2042         Copy the buffer currently showing just one message.
2044 2011-06-22  Roland Winkler  <winkler@gnu.org>
2046         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2047         (bibtex-clean-entry): First delete the old key so that a
2048         customized algorithm for generating the new key does not get
2049         confused by the old key.
2050         (bibtex-url): Obey regexp of first step.
2051         (bibtex-search-entries): Do not use add-to-list with local
2052         list-var.
2054 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2056         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2057         stored a user name, then query for the password first, instead of
2058         waiting for SMTP to give an error message and the trying again.
2060 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
2062         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2063         BUFFER in call-process.
2065 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2067         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2068         QUIT twice.
2069         (smtpmail-try-auth-methods): Require user name and password from
2070         auth-source.
2072 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
2074         * window.el (display-buffer-default-specifiers)
2075         (display-buffer-alist): Remove entries for pop-up-frame-alist.
2076         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
2077         (split-window): Normalize SIDE argument (Bug#8916).
2079         * frame.el (pop-up-frame-alist, pop-up-frame-function)
2080         (special-display-frame-alist, special-display-popup-frame):
2081         Remove duplicate declarations.  These are now in window.el.
2083 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2085         * mail/smtpmail.el (smtpmail-via-smtp):
2086         Set :use-starttls-if-possible so that we always use STARTTLS if the
2087         server supports it.  SMTP servers that support STARTTLS commonly
2088         require it.
2090         * net/network-stream.el (network-stream-open-starttls): Support
2091         upgrading to STARTTLS always, even if we don't have built-in support.
2092         (open-network-stream): Add the :always-query-capabilies keyword.
2094         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2095         upgrades with `open-network-stream', and rely solely on
2096         auth-source for all credentials.  Big changes throughout the file,
2097         but in particular:
2098         (smtpmail-auth-credentials): Remove.
2099         (smtpmail-starttls-credentials): Remove.
2100         (smtpmail-via-smtp): Check for servers saying they want AUTH after
2101         MAIL FROM, too.
2103         * net/network-stream.el (network-stream-open-starttls):
2104         Provide support for client certificates both for external and built-in
2105         STARTTLS.
2106         (auth-source): Require.
2107         (open-network-stream): Document the :client-certificate keyword.
2108         (network-stream-certificate): Change cert-cert to cert and
2109         cert-key to key.
2111 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
2113         * net/tramp-cache.el (top): Don't load the persistency file when
2114         "emacs -Q" has been called.
2116 2011-06-21  Tim Harper  <timcharper@gmail.com>
2118         * term/ns-win.el (ns-initialize-window-system):
2119         Set application-specific `ApplePressAndHoldEnabled' system
2120         resource to NO as it is not yet supported by the NS port.
2122 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
2124         * misc.el (list-dynamic-libraries--refresh): Compute header here...
2125         (list-dynamic-libraries): ...not here.
2127 2011-06-21  Leo Liu  <sdl.web@gmail.com>
2129         * subr.el (sha1): Implement sha1 using secure-hash.
2131 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
2133         * window.el (display-buffer-alist): In default value do not
2134         enforce searching a window on any but the selected frame.
2135         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2136         (display-buffer-select-window): Remove function.
2137         (display-buffer-in-window): When a window on another frame gets
2138         reused, do not select it any more but just raise its frame if
2139         necessary (Bug#8851) and (Bug#8856).
2140         (display-buffer-normalize-options): Handle pop-up-frames related
2141         options more faithfully.
2142         (pop-to-buffer): Don't rely on `display-buffer' selecting the
2143         window if it is on another frame.
2144         (display-buffer-alist, display-buffer-default-specifiers):
2145         Don't make new frame unsplittable by default.
2146         (display-buffer-normalize-argument): Fix doc-string typo and use
2147         'same-frame-other-window instead of 'other-window when associating
2148         with display-buffer-macro-specifiers.
2150 2011-06-21  Vincent BelaĆÆche  <vincent.b.1@hotmail.fr>
2152         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2153         New functions.
2154         (5x5-mode-map, 5x5-mode-menu): Bind them.
2155         (5x5-draw-grid): Tweak the solver's rendering.
2157 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2159         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2160         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2162 2011-06-21  Drew Adams  <drew.adams@oracle.com>
2164         * menu-bar.el: Use function variable instead of switch-to-buffer.
2165         (menu-bar-select-buffer-function): New variable.
2166         (menu-bar-update-buffers): Use it (bug#8876).
2168 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2170         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2171         variable's status.
2173 2011-06-20  Jan DjƤrv  <jan.h.d@swipnet.se>
2175         * x-dnd.el (x-dnd-version-from-flags)
2176         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2177         and long as number (Bug#8899).
2178         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2180 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
2183         (completion-try-completion, completion-all-completions): Compute the
2184         metadata argument if it's missing; make it optional (bug#8795).
2186         * wid-edit.el: Use lex-bind and move towards completion-at-point.
2187         (widget-complete): Use new :completion-function property.
2188         (widget-completions-at-point): New function.
2189         (default): Use :completion-function instead of :complete.
2190         (widget-default-completions): Rename from widget-default-complete;
2191         Rewrite.
2192         (widget-string-complete, widget-file-complete, widget-color-complete):
2193         Remove functions.
2194         (file, symbol, function, variable, coding-system, color):
2195         * international/mule-cmds.el (default-input-method, charset)
2196         (language-info-custom-alist):
2197         * cus-edit.el (face): Use new property :completions.
2199         * progmodes/pascal.el (pascal-completions-at-point): New function.
2200         (pascal-mode): Use it.
2201         (pascal-mode-map): Use completion-at-point.
2202         (pascal-toggle-completions): Make obsolete.
2203         (pascal-complete-word, pascal-show-completions):
2204         * progmodes/octave-mod.el (octave-complete-symbol):
2205         Redefine as obsolete alias.
2206         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2207         Signal absence of completion info for old Octave,
2208         (inferior-octave-complete): Redefine as obsolete alias.
2209         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2210         (meta-completions-at-point): Rename from meta-complete-symbol and
2211         adapt it for use on completion-at-point-functions.
2212         (meta-common-mode): Use it.
2213         (meta-looking-at-backward, meta-match-buffer): Remove.
2214         (meta-complete-symbol): Redefine as obsolete alias.
2215         (meta-common-mode-map): Use completion-at-point.
2216         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2217         (makefile-mode-map): Use completion-at-point.
2218         (makefile-completions-at-point): Rename from makefile-complete and
2219         adapt it for use on completion-at-point-functions.
2220         (makefile-mode): Use it.
2221         (makefile-complete): Redefine as obsolete alias.
2223 2011-06-20  Deniz Dogan  <deniz@dogan.se>
2225         * net/rcirc.el: Delete trailing whitespaces once and for all.
2227 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
2229         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2231 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
2233         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2235         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2237 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
2239         * window.el (display-buffer-other-window-means-other-frame):
2240         Call display-buffer-normalize-alist.
2241         (display-buffer-normalize-specifiers-1): Rename to
2242         display-buffer-normalize-argument.  New argument other-frame.
2243         Rewrite.
2244         (display-buffer-normalize-specifiers-2): Rename to
2245         display-buffer-normalize-options.
2246         (display-buffer-normalize-alist-1): New function.
2247         (display-buffer-normalize-specifiers-3): Rename to
2248         display-buffer-normalize-alist.
2249         Call display-buffer-normalize-alist-1.
2250         (display-buffer-normalize-options-inhibit): New variable.
2251         (display-buffer-normalize-specifiers): Rewrite calling
2252         display-buffer-normalize-alist,
2253         display-buffer-normalize-argument, and
2254         display-buffer-normalize-options.  Don't call the latter if
2255         display-buffer-normalize-options-inhibit is non-nil.
2256         (frame-auto-delete): New option.
2257         (window-deletable-p): Use frame-auto-delete.
2258         (window-list-no-nils, window-state-ignored-parameters)
2259         (window-state-get-1, window-state-get, window-state-put-list)
2260         (window-state-put-1, window-state-put-2, window-state-put):
2261         New functions.
2262         (display-buffer-normalize-options): Move special-display-p group
2263         after pop-up-frame group (Bug#8851) and (Bug#8856).
2265 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
2267         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2268         groups (Bug#8776).
2269         (rx-submatch-n): New function.
2270         (rx): Document it.
2272         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2273         (Bug#8768).
2275         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2277         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2279         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2280         anytime existing face settings are present (Bug#8889).
2282         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2283         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2284         Remove unused argument.
2286 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
2288         * window.el (display-buffer-default-specifiers):
2289         Remove pop-up-frame.  Add pop-up-window-min-height,
2290         pop-up-window-min-width, and another reuse-window specifier
2291         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
2292         (display-buffer-normalize-specifiers-2):
2293         Handle split-height-threshold and split-width-threshold also when
2294         pop-up-windows is unset.  Add a reuse-window specifier for the
2295         case popping up a new window fails.
2296         (special-display-popup-frame): Remove double quoting.
2297         (display-buffer-normalize-specifiers-1): Fix thinko.
2299 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2301         * shell.el (shell-completion-vars): Set pcomplete-termination-string
2302         according to comint-completion-addsuffix.
2304         * pcomplete.el: Convert to lexical binding and fix bug#8819.
2305         (pcomplete-suffix-list): Mark as obsolete.
2306         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2307         pcomplete-seen in the closure.
2308         (pcomplete-comint-setup): Setup completion-at-point as well.
2309         (pcomplete--entries): New function.
2310         (pcomplete--env-regexp): New var.
2311         (pcomplete-entries): Rewrite to work with partial-completion and
2312         without relying on pcomplete-suffix-list.
2313         (pcomplete-pare-list): Remove, unused.
2315 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
2317         * window.el (display-buffer-alist): Set pop-up-window-min-height
2318         and pop-up-window-min-width in default value.  Reported by
2319         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
2320         other-window-means-other-frame.
2321         (display-buffer-macro-specifiers): Comment out entry for
2322         other-window specifier.
2323         (display-buffer-other-window-means-other-frame): New function.
2324         (display-buffer-normalize-specifiers-1): New arguments
2325         buffer-name and label.  Treat other-window case specially.
2326         (display-buffer-normalize-specifiers-2): Treat other-window case
2327         specially.
2328         (display-buffer-normalize-specifiers-3): New function.
2329         (display-buffer-normalize-specifiers):
2330         Call display-buffer-normalize-specifiers-3.
2332 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
2334         * window.el (same-window-p): Fix two typos introduced when
2335         adding with-no-warnings.
2336         (display-buffer-normalize-specifiers-1): Don't check
2337         pop-up-frames for 'unset initialization.
2338         (display-buffer-normalize-specifiers-2): Major rewrite using
2339         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2340         (pop-up-frames, display-buffer-reuse-frames)
2341         (display-buffer-mark-dedicated): Don't initialize to 'unset.
2342         Suggested by David Engster <deng@randomsample.de>.
2343         (even-window-heights): Initialize to 'unset.
2344         (display-buffer-alist-set): Handle new 'unset initializations.
2345         (display-buffer-macro-specifiers): Don't pop up a new frame in the
2346         other window case.
2348 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
2350         * window.el (display-buffer-normalize-specifiers-1):
2351         Respect current value of pop-up-frames for most reasonable values of
2352         second argument of display-buffer (Bug#8865).
2353         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2354         (switch-to-buffer-other-window-same-frame)
2355         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
2356         Adams (Bug#8875).
2357         (display-buffer): Don't check noninteractive when calling
2358         display-buffer-pop-up-frame.
2359         (display-buffer-pop-up-frame): Never pop up a frame in
2360         noninteractive mode (Bug#8857).
2361         (enlarge-window, shrink-window): Don't report an error when the
2362         window can't be resized as requested (Bug#8862).
2364 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2366         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2368         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2370         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2372 2011-06-15  Alan Mackenzie  <acm@muc.de>
2374         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2375         for declarators, disable knr checking to speed up for normal files.
2376         2: Refactor, replacing a sequence of nested if forms by a cond form.
2378 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2380         * net/network-stream.el (open-network-stream): Add the keyword
2381         :always-query-capabilities for the case where you want to force a
2382         `plain' network connection, but the protocol still requires the
2383         capabilitiy command (i.e., SMTP and EHLO).
2385         * subr.el (process-live-p): Rename from `process-alive-p' for
2386         consistency with other `-live-p' functions.
2388 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2390         * window.el (same-window-buffer-names, same-window-regexps)
2391         (special-display-frame-alist, special-display-popup-frame)
2392         (special-display-function, special-display-buffer-names)
2393         (special-display-regexps, pop-up-frame-alist)
2394         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2395         (pop-up-windows, split-window-preferred-function)
2396         (split-height-threshold, split-width-threshold, even-window-heights)
2397         (display-buffer-mark-dedicated): Don't encourage the use of
2398         display-buffer-alist from Elisp code.
2400 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
2402         * progmodes/python.el (python-mode): Derive from prog-mode.
2403         * progmodes/ps-mode.el (ps-mode):
2404         * progmodes/mixal-mode.el (mixal-mode):
2405         * progmodes/cfengine.el (cfengine-mode):
2406         * progmodes/ld-script.el (ld-script-mode): Likewise.
2408 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
2410         * window.el (display-buffer-alist): Trim default value to avoid
2411         popping up a new frame (Bug#8857) or reusing an arbitrary window
2412         on another frame.
2413         (display-buffer): Do not fall back on popping up a new frame in
2414         batch mode (Bug#8857).
2416 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
2418         * cus-theme.el (describe-theme-1): Use custom-theme-p.
2419         (custom-theme-summary): New function.
2420         (customize-themes): Use it.
2422 2011-06-13  Glenn Morris  <rgm@gnu.org>
2424         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2426 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
2428         * help.el (help-window): Remove variable.
2429         (help-window-point-marker, temp-buffer-max-height)
2430         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2431         (help-print-return-message): Don't set help-window.
2432         (resize-temp-buffer-window): Rewrite cod eand doc-string.
2433         (help-window-setup-finish): Remove.
2434         (help-window-display-message, help-window-setup)
2435         (with-help-window): Major rewrite based on new
2436         display-buffer-window variable.
2438         * help-mode.el (help-mode-finish): Remove help-window related
2439         code.
2441         * view.el (view-exits-all-viewing-windows): Remove reference to
2442         view-return-to-alist in doc-string.
2443         (view-return-to-alist): Make obsolete.
2444         (view-buffer): Call pop-to-buffer-same-window and remove
2445         undo-window code.
2446         (view-buffer-other-window): Call pop-to-buffer-other-window and
2447         simplify code.  Ignore second argument.
2448         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2449         simplify code.  Ignore second argument.
2450         (view-return-to-alist-update): Make obsolete.
2451         (view-mode-enter): Rename second argument to QUIT-RESTORE.
2452         Rewrite using quit-restore window parameters.
2453         (view-mode-exit): Rename second argument to EXIT-ONLY.
2454         Rewrite using quit-restore-window.
2455         (View-exit, View-exit-and-edit, View-leave, View-quit)
2456         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2457         appropriate arguments.
2458         (view-end-message): Use quit-restore window parameter.
2460         * window.el (display-buffer-function): Rewrite doc-string.
2461         (display-buffer-window, display-buffer-alist): New variables.
2462         (display-buffer-split-specifiers)
2463         (display-buffer-side-specifiers)
2464         (display-buffer-macro-specifiers): New constants.
2465         (display-buffer-even-window-sizes, display-buffer-set-height)
2466         (display-buffer-set-width, display-buffer-select-window)
2467         (display-buffer-in-window, display-buffer-reuse-window)
2468         (display-buffer-split-window-1, display-buffer-split-window)
2469         (display-buffer-split-atom-window, display-buffer-pop-up-window)
2470         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2471         (display-buffer-in-side-window, normalize-buffer-to-display)
2472         (display-buffer-normalize-specifiers-1)
2473         (display-buffer-normalize-specifiers-2)
2474         (display-buffer-normalize-specifiers, display-buffer-frame):
2475         New functions.
2476         (display-buffer): Major rewrite.
2477         (display-buffer-other-window, display-buffer-other-frame)
2478         (pop-to-buffer, switch-to-buffer-other-window)
2479         (switch-to-buffer-other-frame): Rewrite.
2480         (display-buffer-same-window, display-buffer-same-frame)
2481         (display-buffer-same-frame-other-window)
2482         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2483         (pop-to-buffer-other-window)
2484         (pop-to-buffer-same-frame-other-window)
2485         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2486         (switch-to-buffer-other-window-same-frame): New functions.
2487         (same-window-p, special-display-p): Rewrite disabling warnings.
2488         Make obsolete.
2489         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2490         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2491         Make obsolete
2492         (same-window-buffer-names, same-window-regexps)
2493         (special-display-frame-alist, special-display-popup-frame)
2494         (special-display-function, special-display-buffer-names)
2495         (special-display-regexps, pop-up-frame-alist)
2496         (pop-up-frame-function, split-window-preferred-function)
2497         (split-height-threshold, split-width-threshold)
2498         (even-window-heights): Make obsolete.
2500 2011-06-12  Glenn Morris  <rgm@gnu.org>
2502         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
2503         Misc simplifications.
2505 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
2507         * window.el (window-safely-shrinkable-p): Restore function which
2508         was inadvertently removed in change from 2011-06-11.  Declare as
2509         obsolete.
2511         * calendar/calendar.el (calendar-generate-window):
2512         Use window-iso-combined-p instead of combination of one-window-p and
2513         window-safely-shrinkable-p.
2515 2011-06-12  Glenn Morris  <rgm@gnu.org>
2517         * progmodes/fortran.el (fortran-mode-syntax-table):
2518         * progmodes/f90.el (f90-mode-syntax-table):
2519         Set % to punctuation.  (Bug#8820)
2520         (f90-find-tag-default): Remove, no longer needed.
2522 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
2524         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2526 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
2528         * image.el (image-animated-p): Return animation delay in seconds.
2529         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2530         (image-animate-timeout): Remove DELAY argument.  Don't assume
2531         every subimage has the same delay; get it from image-animated-p.
2532         (image-animate): Caller changed.
2534 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
2536         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2537         to ignored backtrace functions.
2539 2011-06-11  Glenn Morris  <rgm@gnu.org>
2541         * calendar/appt.el (appt-disp-window-function): Doc fix.
2542         (appt-check): Handle overlapping appointments.  (Bug#8337)
2544 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
2546         * window.el (window-tree-1, window-tree): New functions, moving
2547         the latter to window.el.
2548         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2549         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2550         (bw-refresh-edges): Remove.
2551         (balance-windows-1, balance-windows-2): New functions.
2552         (balance-windows): Rewrite in terms of window tree functions,
2553         balance-windows-1 and balance-windows-2.
2554         (bw-adjust-window): Remove.
2555         (balance-windows-area-adjust): New function with functionality of
2556         bw-adjust-window but using resize-window.
2557         (set-window-text-height): Rewrite doc-string.
2558         Use normalize-live-window and resize-window.
2559         (enlarge-window-horizontally, shrink-window-horizontally):
2560         Rename argument to DELTA.
2561         (window-buffer-height): New function.
2562         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2563         Rewrite using new window resize routines.
2564         (kill-buffer-and-window, mouse-autoselect-window-select):
2565         Use ignore-errors instead of condition-case.
2566         (quit-window): Call delete-frame instead of delete-windows-on
2567         for the only buffer on frame.
2569 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
2571         * loadup.el (top-level): Load window before files for the sake
2572         of replace-buffer-in-windows.
2574         * files.el (read-buffer-to-switch)
2575         (switch-to-buffer-other-window)
2576         (switch-to-buffer-other-frame, display-buffer-other-frame):
2577         Move to window.el.
2579         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2580         (previous-buffer): Move to window.el.
2582         * bindings.el (unbury-buffer): Move to window.el.
2584         * window.el (delete-other-windows-vertically): Move after
2585         definition of delete-other-windows.
2586         (other-window, delete-windows-on, replace-buffer-in-windows):
2587         Move here from window.c.
2588         (record-window-buffer, unrecord-window-buffer)
2589         (set-window-buffer-start-and-point, switch-to-prev-buffer)
2590         (switch-to-next-buffer): New functions.
2591         (get-next-valid-buffer, last-buffer, next-buffer): Move here
2592         from simple.el.  Call switch-to-next-buffer.
2593         (previous-buffer): Move here from simple.el.
2594         Call switch-to-prev-buffer.
2595         (bury-buffer): Move here from buffer.c.  Switch to previous
2596         buffer when window cannot be deleted.
2597         (unbury-buffer): Move here from bindings.el.
2598         (ctl-x-map): Move binding for other-window from window.c to
2599         here.
2600         (read-buffer-to-switch, switch-to-buffer-other-window)
2601         (switch-to-buffer-other-frame): Move here from files.el.
2602         (normalize-buffer-to-switch-to): New functions.
2603         (switch-to-buffer): Move here from buffer.c.
2604         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
2606 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
2608         * window.el (window-min-height, window-min-width): Move here
2609         from window.c.  Add defcustoms and rewrite doc-strings.
2610         (resize-mini-window, resize-window): New functions.
2611         (adjust-window-trailing-edge, enlarge-window, shrink-window):
2612         Move here from window.c.
2613         (maximize-window, minimize-window): New functions.
2614         (delete-window, delete-other-windows, split-window): Move here
2615         from window.c.
2616         (window-split-min-size): New function.
2617         (split-window-keep-point): Mention split-window-above-each-other
2618         instead of split-window-vertically.
2619         (split-window-above-each-other, split-window-vertically):
2620         Rename split-window-vertically to split-window-above-each-other and
2621         provide defalias for old definition.
2622         (split-window-side-by-side, split-window-horizontally): Rename
2623         split-window-horizontally to split-window-side-by-side and provide
2624         defalias for the old definition.
2625         (ctl-x-map): Move bindings for delete-window,
2626         delete-other-windows and enlarge-window here from window.c.
2627         Replace bindings for split-window-vertically and
2628         split-window-horizontally by bindings for
2629         split-window-above-each-other and split-window-side-by-side.
2631         * cus-start.el (all): Remove entries for window-min-height and
2632         window-min-width.  Add entries for window-splits and
2633         window-nest.
2635 2011-06-09  Glenn Morris  <rgm@gnu.org>
2637         * calendar/appt.el (appt-mode-line): New function.
2638         (appt-check, appt-disp-window): Use it.
2640         * files.el (hack-one-local-variable-eval-safep):
2641         Allow minor-modes with explicit +/-1 arguments.
2643 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
2645         * term/xterm.el (xterm): Add defgroup.
2646         (xterm-extra-capabilities): Add defcustom to supply known xterm
2647         capabilities, skip querying them, or query them (default).
2648         (terminal-init-xterm): Use it.
2649         (terminal-init-xterm-modify-other-keys): New function to set up
2650         modifyOtherKeys support to simplify `terminal-init-xterm'.
2652 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
2654         * window.el (resize-window-reset, resize-window-reset-1)
2655         (resize-subwindows-skip-p, resize-subwindows-normal)
2656         (resize-subwindows, resize-other-windows, resize-this-window)
2657         (resize-root-window, resize-root-window-vertically)
2658         (window-deletable-p, window-or-subwindow-p)
2659         (frame-root-window-p): New functions.
2661 2011-06-09  Glenn Morris  <rgm@gnu.org>
2663         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2664         (ange-ftp-get-files): Use it.
2666 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
2668         * mail/sendmail.el (mail-recover-1, mail-recover):
2669         * files.el (recover-file, recover-session):
2670         Handle dired-listing-switches not being just a single short option.
2672 2011-06-09  Glenn Morris  <rgm@gnu.org>
2674         * calendar/appt.el (appt-display-message, appt-disp-window):
2675         Handle lists of appointments.
2677 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
2679         * window.el (one-window-p): Move down in code.
2680         Rewrite doc-string.
2681         (window-current-scroll-bars): Rewrite doc-string.
2682         Normalize live window argument.
2683         (walk-windows, get-window-with-predicate, count-windows):
2684         Rewrite doc-string.  Use window-list-1.
2685         (window-in-direction-2, window-in-direction, get-mru-window):
2686         New functions.
2688 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
2690         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2691         Doc fix (Bug#8713).
2693 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
2695         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2697 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
2699         * loadhist.el (unload-feature-special-hooks):
2700         Add `comint-output-filter-functions'.
2702 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
2704         * calendar/appt.el (appt-check): Move some initializations into the let.
2706 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
2708         * window.el (window-height): Defalias to window-total-height.
2709         (window-width): Defalias to window-body-width.
2711 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
2713         * image-mode.el (image-toggle-animation): New command.
2714         (image-mode-map): Bind it to RET.
2715         (image-mode): Update message.
2716         (image-toggle-display-image): Avoid a spurious cache flush.
2717         (image-transform-rotation): Doc fix.
2718         (image-transform-properties): Return quickly in the normal case.
2719         (image-animate-loop): Rename from image-animate-max-time.
2721         * image.el (image-animate-max-time): Move to image-mode.el.
2722         (create-animated-image): Remove unnecessary function.
2723         (image-animate): Rename from image-animate-start.  New arg.
2724         (image-animate-stop): Remove; just use image-animate-timer.
2725         (image-animate-timer): Use car-safe.
2726         (image-animate-timeout): Rename argument.
2728 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
2730         * window.el (get-lru-window, get-largest-window): Move here from
2731         window.c.  Rename first argument to ALL-FRAMES.
2732         Rephrase doc-strings.
2733         (get-buffer-window-list): Rewrite using window-list-1.
2734         Rephrase doc-string.
2735         (window-safe-min-height, window-safe-min-width): New constants.
2736         (window-size-ignore, window-min-size, window-min-size-1)
2737         (window-sizable, window-sizable-p, window-size-fixed-1)
2738         (window-size-fixed-p, window-min-delta-1, window-min-delta)
2739         (window-max-delta-1, window-max-delta, window-resizable)
2740         (window-resizable-p, window-total-height, window-total-width)
2741         (window-body-width): New functions.
2742         (window-full-height-p, window-full-width-p): Rewrite using
2743         window-total-size.
2744         (window-body-height): Rewrite using window-body-size.
2746 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
2748         * window.el (window-right, window-left, window-child)
2749         (window-child-count, window-last-child, window-any-p)
2750         (normalize-live-buffer, normalize-live-frame)
2751         (normalize-any-window, normalize-live-window)
2752         (window-iso-combination-p, window-iso-combined-p)
2753         (window-iso-combinations)
2754         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2755         (windows-with-parameter, window-with-parameter)
2756         (window-atom-root, make-window-atom, window-atom-check-1)
2757         (window-atom-check, window-side-check, window-check):
2758         New functions.
2759         (ignore-window-parameters, window-sides, window-sides-vertical)
2760         (window-sides-slots): New variables.
2761         (window-size-fixed): Move down in code.  Minor doc-string fix.
2763 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
2765         * comint.el (comint-dynamic-complete-as-filename)
2766         (comint-dynamic-complete-filename): Correctly call
2767         completion-in-region.
2769 2011-06-05  Deniz Dogan  <deniz@dogan.se>
2771         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2772         in last change.
2774 2011-06-05  Deniz Dogan  <deniz@dogan.se>
2776         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2777         (rcirc): Use it to prompt for encryption.
2779 2011-06-05  Roland Winkler  <winkler@gnu.org>
2781         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2782         (bibtex-search-entries): New command bound to C-c C-a.
2783         (bibtex-display-entries): New function.
2785 2011-06-05  Roland Winkler  <winkler@gnu.org>
2787         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2788         (bibtex-insert-kill): After yanking insert newline if necessary.
2789         (bibtex-initialize): Call bibtex-string-files-init only once.
2790         (bibtex-mode): Do not call easy-menu-add.
2791         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2792         (bibtex-yank): Set arg properly if nil.
2794 2011-06-05  Roland Winkler  <winkler@gnu.org>
2796         * textmodes/bibtex.el (bibtex-search-entry-globally):
2797         New variable.
2798         (bibtex-search-entry): Use it.
2800 2011-06-05  Roland Winkler  <winkler@gnu.org>
2802         * textmodes/bibtex.el (bibtex-entry-format): New option
2803         sort-fields.
2804         (bibtex-format-entry, bibtex-reformat): Honor this option.
2805         (bibtex-parse-entry): Return fields in proper order.
2807 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
2809         * doc-view.el (doc-view-remove-if): Move computation of result out
2810         of `dolist' to silence misleading lexical-binding warning.
2812 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
2814         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2815         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2817 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
2819         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2820         "SunOS 5.10".
2822 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
2824         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2825         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2826         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2827         (tramp-parse-putty):
2828         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2829         (tramp-completion-function-alist-ssh)
2830         (tramp-completion-function-alist-telnet)
2831         (tramp-completion-function-alist-su)
2832         (tramp-completion-function-alist-putty): Set `tramp-autoload'
2833         cookie.
2835         * net/tramp-ftp.el:
2836         * net/tramp-sh.el:
2837         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2838         load "tramp.el" `tramp-set-completion-function'.
2840 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2842         * shell.el: Require and use pcomplete.
2843         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2844         (shell-completion-vars): Set pcomplete-default-completion-function.
2846 2011-06-04  Deniz Dogan  <deniz@dogan.se>
2848         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2849         `memq' (Bug#8799).
2851 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2855 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
2857         * bs.el (bs--mark-unmark, bs--nth-wrapper):
2858         * mpc.el (mpc-select-extend, mpc-songpointer-context):
2859         * vc/log-view.el (log-view-beginning-of-defun):
2860         * vc/smerge-mode.el (smerge-apply-resolution-patch)
2861         (smerge-refine-forward, smerge-refine-chopup-region):
2862         Silence warning for unused `dotimes' counter variables.
2864 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2866         * net/tramp.el (tramp-with-progress-reporter): Rename from
2867         with-progress-reporter.  Use `declare'.
2868         * net/tramp-smb.el:
2869         * net/tramp-sh.el:
2870         * net/tramp-gvfs.el: Update all uses.
2872 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
2874         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2875         buffer isn't killed before making it current.
2877 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2879         Silence various byte-compiler warnings.
2880         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2881         `access-type' and new obsolescence format.
2882         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2883         new format.
2884         (byte-compile-check-variable): New `access-type' argument.
2885         Only warn if the access-type is obsolete.
2886         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2887         (byte-compile-variable-set): Adjust callers.
2888         * help-fns.el (describe-variable): Adjust to new obsolescence format.
2889         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2890         setting it as obsolete.
2891         * simple.el (minibuffer-completing-symbol):
2892         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2893         access as obsolete.
2894         * minibuffer.el (minibuffer-completing-file-name): Don't make it
2895         obsolete yet.
2896         * international/quail.el (quail-mouse-choose-completion): Remove unused
2897         code referring to obsolete var.
2898         (quail-choose-completion-string): Remove.
2899         * server.el (server-clients-with, server-kill-buffer-query-function)
2900         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2901         * proced.el (proced-send-signal):
2902         * emacs-lisp/lisp.el (lisp-complete-symbol):
2903         Replace completion-annotate-function with completion-extra-properties.
2905 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2907         * simple.el (goto-line): Use read-number.
2908         (overriding-map-is-bound): Remove.
2909         (saved-overriding-map): Change default.
2910         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2911         Take the map as argument.
2912         (universal-argument, negative-argument, digit-argument): Use it.
2913         (restore-overriding-map): Adjust.
2914         (do-auto-fill): Use fill-forward-paragraph.
2915         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2917         * minibuffer.el (minibuffer-inactive-mode-map): New var.
2918         (minibuffer-inactive-mode): New major mode.
2919         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2920         the *Messages* buffer" hack.
2921         (mouse-popup-menubar): Don't burp if the event is a normal key.
2923         Miscellaneous tweaks.
2924         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2925         lexical scoping as in subr.el's dolist and dotimes.
2926         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2927         Silence compiler warning.
2928         * thingatpt.el (forward-whitespace): Trivial coding style fix.
2929         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2930         * international/ccl.el (ccl-compile): Trivial simplification.
2931         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2932         * emacs-lisp/testcover.el (testcover-end): Remove spurious
2933         `printflag' argument.
2934         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2935         Purecopy the whole obsolescence data.
2937 2011-06-01  Leo Liu  <sdl.web@gmail.com>
2939         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2940         improve doc-string as suggested by Marco Pessotto
2941         <melmothx@gmail.com>.
2942         (rcirc-print): Fix last change.
2944 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2946         * minibuffer.el (complete-with-action): Return nil for the metadata and
2947         boundaries of non-functional tables.
2948         (completion-table-dynamic): Return nil for the metadata.
2949         (completion-table-with-terminator): Add default case, using
2950         complete-with-action.
2951         (completion--metadata): New function.
2952         (completion-all-sorted-completions, minibuffer-completion-help): Use it
2953         to try and avoid pathological performance problems.
2954         (completion--embedded-envvar-table): Return `category' metadata.
2956 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2958         * subr.el (process-alive-p): New tiny convenience function.
2960 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2962         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2963         content but also its previous major mode.
2965 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
2967         * debug.el (debug): Restore the previous content of the
2968         *Backtrace* buffer when we exit with C-M-c.
2970 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2972         * minibuffer.el: Add metadata method to completion tables.
2973         (completion-category-overrides): New defcustom.
2974         (completion-metadata, completion--field-metadata)
2975         (completion-metadata-get, completion--styles)
2976         (completion--cycle-threshold): New functions.
2977         (completion-try-completion, completion-all-completions):
2978         Add `metadata' argument to choose completion-styles.
2979         (completion--do-completion): Use metadata to choose cycling.
2980         (completion-all-sorted-completions): Use metadata for sorting.
2981         Remove :completion-cycle-penalty which is not needed any more.
2982         (completion--try-word-completion): Add `metadata' argument.
2983         (minibuffer-completion-help): Check metadata for annotation function
2984         and sorting.
2985         (completion-file-name-table): Return `category' metadata.
2986         (minibuffer-completing-file-name): Make obsolete.
2987         * simple.el (minibuffer-completing-symbol): Make obsolete.
2988         * icomplete.el (icomplete-completions): Pass new `metadata' param to
2989         completion-try-completion.
2991 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2993         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2995 2011-05-30  Leo Liu  <sdl.web@gmail.com>
2997         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
2998         (rcirc-print): Decode all incoming messages (bug#8744).
2999         (rcirc-decode-coding-system): Allow value nil for automatic coding
3000         system detection.
3002 2011-06-01  Glenn Morris  <rgm@gnu.org>
3004         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3006 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
3008         * image.el (image-animate-max-time): Allow nil and t values.
3009         Default to nil.
3010         (create-animated-image): Doc fix.
3011         (image-animate-start): Remove second arg; just use
3012         image-animate-max-time.
3013         (image-animate-timeout): Doc fix.  Args changed.
3015         * image-mode.el (image-toggle-display-image): Ensure that the
3016         image spec passed to the animate timer is the same object as in
3017         the the buffer's display property (Bug#6981).
3018         (image-transform-properties): Doc fix.
3020         * image.el (image-animate-max-time): Default to nil.
3022 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
3024         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3025         entire buffer list (Bug#8184).
3027 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
3029         * image.el (imagemagick-types-inhibit)
3030         (imagemagick-register-types): Doc fix.
3032 2011-05-29  Deniz Dogan  <deniz@dogan.se>
3034         * net/rcirc.el (rcirc): Use the user's stored encryption method by
3035         default.
3037 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
3039         * select.el: Don't perform clipboard-manager saving in hooks;
3040         leave the hooks empty.
3042 2011-05-28  Leo Liu  <sdl.web@gmail.com>
3044         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3045         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
3046         (occur-edit-mode): New major mode (Bug#8463).
3047         (occur-after-change-function): New function.
3048         (occur-engine): Give Occur tags a read-only property.
3050 2011-05-28  Kevin Ryde  <user42@zip.com.au>
3052         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3054 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
3056         * bindings.el (help-echo): Make the initial non-indicator dash
3057         empty on graphical terminals (Bug#7295).
3059         * files.el (auto-mode-alist): Move config rule after the
3060         in-stripping one (Bug#8547).
3062         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3064         * startup.el (normal-splash-screen): Remove gratuitous mode-line
3065         setting (Bug#8740).
3067 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
3069         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3070         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3071         (Bug#8539).
3073 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
3075         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3077 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
3079         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3080         (hs-hide-block-at-point, hs-find-block-beginning)
3081         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3082         (Bug#8279).
3084 2011-05-28  Glenn Morris  <rgm@gnu.org>
3086         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
3088 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
3090         * help-fns.el (describe-function-1): If the function is a derived
3091         major mode, print the parent mode.
3093         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3094         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3096 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * minibuffer.el (completion--capf-wrapper): Check applicability before
3099         retuning non-nil for non-exclusive completion data.
3100         * progmodes/etags.el (tags-completion-at-point-function):
3101         * info-look.el (info-lookup-completions-at-point): Mark as
3102         non-exclusive.
3103         (info-complete): Adjust accordingly.
3105         * info-look.el: Convert to lexical-binding and completion-at-point.
3106         (info-lookup-completions-at-point): New function.
3107         (info-complete): Use it and completion-in-region.
3109 2011-05-28  Drew Adams  <drew.adams@oracle.com>
3111         * isearch.el: Let M-e start with point at the first mismatched char.
3112         (isearch-fail-pos): New function.
3113         (isearch-edit-string): Use it.
3115 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
3117         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3119 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
3121         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
3122         traversal functions for avl-trees.
3123         (avl-tree--stack): New struct.
3124         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3125         (avl-tree-enter): Add optional `updatefun' arg.
3126         (avl-tree--do-enter): Add optional `updatefun' arg.
3127         Change return value.
3128         (avl-tree-delete): Add optional `test' and `nilflag' args.
3129         (avl-tree--do-delete): Add `test' and `nilflag' args.
3130         Change return value.
3131         (avl-tree-member): Add optional `nilflag'
3132         (avl-tree-member-p): New function.
3133         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3134         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3135         (avl-tree-stack-empty-p): New functions.
3137 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
3139         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3140         avl-tree--del-balance1 and make it work both ways.
3141         (avl-tree--del-balance2): Remove.
3142         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3143         make it work both ways.
3144         (avl-tree--enter-balance2): Remove.
3145         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3146         New macros.
3147         (avl-tree--mapc, avl-tree-map): Add direction argument.
3149 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
3151         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3153 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
3155         * select.el: Support clipboard managers with built-in function
3156         x-clipboard-manager-save, via delete-frame-functions and
3157         kill-emacs-hook.
3158         (xselect-convert-to-targets): Add MULTIPLE target to list.
3159         (xselect-convert-to-save-targets): New function.
3161 2011-05-27  Kenichi Handa  <handa@m17n.org>
3163         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3164         let-binding rfc2047-encode-encoded-words to nil.
3166 2011-05-27  Glenn Morris  <rgm@gnu.org>
3168         * mail/emacsbug.el: Don't require url-util.
3170         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
3172         * files.el (set-auto-mode):
3173         Also respect mode: entries at the end of the file.  (Bug#8586)
3175 2011-05-26  Glenn Morris  <rgm@gnu.org>
3177         * files.el (hack-local-variables-prop-line, hack-local-variables):
3178         Downcase mode names, as seems to be traditional.
3179         (hack-local-variables, hack-local-variables-apply): Doc fixes.
3181         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3182         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
3184 2011-05-25  Julien Danjou  <julien@danjou.info>
3186         * textmodes/rst.el (rst-define-level-faces): Do not define face
3187         symbol if it is already defined.
3189 2011-05-24  Vincent BelaĆÆche  <vincentb1@users.sourceforge.net>
3191         * play/5x5.el (5x5-new-game, 5x5-randomize):
3192         Reset 5x5-solver-output to nil when a new grid is cast.
3193         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3194         these debugging traces, as defmacro breaks the compiled code.
3196 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
3198         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3200 2011-05-24  Leo Liu  <sdl.web@gmail.com>
3202         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3203         (vc-bzr-sha1): Adapt.
3205         * sha1.el: Remove.  Function `sha1' is now builtin.
3207         * bindings.el: Provide sha1 feature.
3209 2011-05-24  Kenichi Handa  <handa@m17n.org>
3211         * mail/sendmail.el: Require `rfc2047'.
3212         (mail-insert-from-field): Do not perform RFC2047 encoding.
3213         (mail-encode-header): New function.
3214         (sendmail-send-it): Set buffer-file-coding-system of the work
3215         buffer to the return value of select-message-coding-system.
3216         Call mail-encode-header.
3218         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3220 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
3222         * mail/supercite.el (sc-default-cite-frame):
3223         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
3225 2011-05-24  Glenn Morris  <rgm@gnu.org>
3227         * progmodes/python.el (brm-menu): Declare.
3229         * emulation/viper.el (viper-set-hooks): Declare.
3231         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3232         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3233         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3234         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3235         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3236         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3238 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3240         Add an :exit-function for completion-at-point.
3242         * minibuffer.el (completion--done): New fun.
3243         (completion--do-completion): Use it.  New arg `expect-exact'.
3244         (minibuffer-complete, minibuffer-complete-word): Don't output message,
3245         since completion--do-completion does it for us now.
3246         (minibuffer-force-complete): Use completion--done and
3247         completion--replace.  Handle sole-completion case with more care.
3248         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3249         (completion-extra-properties): New var.
3250         (completion-annotate-function): Make obsolete.
3251         (minibuffer-completion-help): Adjust accordingly.
3252         Use completion-list-insert-choice-function.
3253         (completion-at-point, completion-help-at-point):
3254         Bind completion-extra-properties.
3255         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3256         * simple.el (completion-list-insert-choice-function): New var.
3257         (completion-setup-function): Preserve it.
3258         (choose-completion): Pay attention to it, shuffle the code a bit.
3259         (choose-completion-string): New arg `insert-function'.
3261         * textmodes/bibtex.el: Convert to lexical binding.
3262         (bibtex-mode-map): Use completion-at-point.
3263         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3264         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3265         (bibtex-complete): Define as obsolete alias.
3266         (bibtex-complete-internal): Remove.
3267         (bibtex-format-entry): Remove unused sub-group in regexp.
3268         * shell.el (shell--command-completion-data)
3269         (shell-environment-variable-completion):
3270         * pcomplete.el (pcomplete-completions-at-point):
3271         * comint.el (comint--complete-file-name-data): Use :exit-function
3272         instead of completion-table-with-terminator so it also works for
3273         choose-completion.
3275 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3277         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3279         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3280         (bug#8710).
3282         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3284 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
3286         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3287         customization variable and implement: If non-nil, auto-fill will
3288         be inhibited while on topic's header line.
3290 2011-05-23  Vincent BelaĆÆche  <vincentb1@users.sourceforge.net>
3292         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
3293         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
3294         always have a solution in grid size = 5 cases.
3295         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3296         (5x5-solver-output, 5x5-log-buffer): New vars.
3297         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3298         Make these variables buffer local to achieve 5x5 multi-session-ness.
3299         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3300         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3301         (5x5-solve-suggest): New funs.
3302         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3303         randomize a grid so that we ensure that there is always a solution.
3304         (5x5-make-random-grid): Allow other movement than flipping.
3306 2011-05-23  Kevin Ryde  <user42@zip.com.au>
3308         * emacs-lisp/advice.el (ad-read-advised-function):
3309         Use `function-called-at-point' as the default default, if it has
3310         advice and passes PREDICATE.
3312 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3314         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3315         byte-compile-lambda if it's actually a lambda.
3317         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3318         Fix function quoting.  Use backquote better.
3320 2011-05-22  Yuanle Song  <sylecn@gmail.com>
3322         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3323         matching (Bug#8516).
3325 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
3327         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3328         different face (Bug#8178).
3330 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
3332         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3333         defface (Bug#8144).
3335 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3337         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3338         funcall as well (bug#8712).  Warn when performing those conversions.
3339         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3341         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3343 2011-05-22  Glenn Morris  <rgm@gnu.org>
3345         * files.el (hack-local-variables-prop-line): Small simplifications.
3346         (hack-local-variables, hack-local-variables-prop-line):
3347         If MODE-ONLY, return the mode, rather than just `t'.
3349 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3351         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3353 2011-05-21  Glenn Morris  <rgm@gnu.org>
3355         * files.el (hack-local-variables-prop-line, hack-local-variables):
3356         If only interested in the mode, don't bother doing the other stuff.
3358         * image-mode.el (image-after-revert-hook):
3359         Redraw all frames on which the image is visible.  (Bug#8567)
3361         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
3363         * wid-edit.el (widget-checklist-match-inline):
3364         Fix 2011-04-19 change.  (Bug#8649)
3366 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3368         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3369         Also allow singlespace after single-letter capitals followed by a dot.
3371         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3372         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3374 2011-05-20  Nix  <nix@esperi.org.uk>
3376         * files.el (basic-save-buffer-2):
3377         Fix handling of break-hardlink-on-save with non-existent files.
3379 2011-05-19  Deniz Dogan  <deniz@dogan.se>
3381         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
3382         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
3384 2011-05-19  Glenn Morris  <rgm@gnu.org>
3386         * progmodes/f90.el (f90-type-def-re):
3387         Handle "type, bind(c)".  (Bug#8691)
3389         * emacs-lisp/autoload.el (batch-update-autoloads):
3390         Set autoload-excludes by parsing loadup.el rather than Makefiles.
3392 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
3394         * net/tramp.el (tramp-process-actions): Set "first-password-request"
3395         property for the correct connection in case of multihops.
3397 2011-05-18  Glenn Morris  <rgm@gnu.org>
3399         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
3400         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3402         Rationalize calendar handling of day and month abbrev-arrays.
3403         * calendar/calendar.el (calendar-customized-p): New function.
3404         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3405         (calendar-day-name-array, calendar-month-name-array): Doc fix.
3406         Add :set function.
3407         (calendar-abbrev-length, calendar-day-abbrev-array)
3408         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3409         (calendar-day-abbrev-array, calendar-month-abbrev-array):
3410         Elements may no longer be nil.
3411         (calendar-day-name, calendar-month-name):
3412         Update for changed nature of abbrev arrays.
3413         * calendar/diary-lib.el (diary-name-pattern):
3414         Update for changed nature of abbrev arrays.
3415         (diary-mark-entries-1): Update calendar-make-alist calls.
3416         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3417         * calendar/cal-html.el (cal-html-day-abbrev-array):
3418         Simply inherit from calendar-day-abbrev-array.
3420 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3422         * progmodes/grep.el (grep-mode): Disable default
3423         compilation-directory-matcher setting (bug#8684).
3425 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
3427         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3428         instead of "head" and "tail".  There were problems with SunOS 5.9,
3429         and it performs better.
3431 2011-05-17  Glenn Morris  <rgm@gnu.org>
3433         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3435         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3436         Replace obsolete function.
3438         * shell.el (pcomplete-parse-arguments-function): Declare.
3440         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3441         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3442         (appt-check): Doc fixes.
3443         (appt-disp-window-function, appt-delete-window-function):
3444         Remove needless special case in custom :type.
3445         (appt-display-count): Default to 0, not nil.
3446         (appt-check): Reset appt-display-count to 0, not nil.
3448 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
3450         * progmodes/python.el (python-font-lock-keywords):
3451         Add the Python 3.X keyword "nonlocal" (bug#8639).
3453 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3455         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3457 2011-05-16  Kevin Ryde  <user42@zip.com.au>
3459         * info-look.el (makefile-automake-mode): New setups, looking in
3460         automake manual, then makefile-mode.
3461         (makefile-mode): Remove automake manual, have it just in
3462         makefile-automake-mode since there's various things different or
3463         not relevant to plain make.
3464         (makefile-mode): Remove "other-modes" non-existent automake-mode,
3465         believe a hypothetical automake-mode would go to makefile-mode,
3466         not the other way around.
3468 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
3470         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3471         hunk-end tags (Bug#8672).
3473         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3474         vc-annotate-show-diff-revision-at-line (Bug#8671).
3476 2011-05-14  Glenn Morris  <rgm@gnu.org>
3478         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3479         in the middle of an existing one with multiple authors.  (Bug#8645)
3480         (change-log-font-lock-keywords): Also handle multiple author lines
3481         with leading tabs.  (Bug#8644)
3483         * calendar/appt.el (appt-check): Rename some local variables.
3484         Some simplification/reordering.
3486         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3487         (feedmail-sendmail-f-doesnt-sell-me-out)
3488         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3489         (feedmail-debug-sit-for, feedmail-queue-express-hook)
3490         (feedmail-queue-runner-message-sender): Set :version.
3491         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3492         (bbdb-dwim-net-address, vm-mail): Declare.
3493         (feedmail-binmail-gnulinuxish-template):
3494         Rename from feedmail-binmail-linuxish-template.
3495         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3496         Use insert-buffer-substring.
3498 2011-05-14  Bill Carpenter  <bill@carpenter.org>
3500         * mail/feedmail.el (feedmail-patch-level): Increase.
3501         (feedmail-debug): New custom group.
3502         (feedmail-confirm-outgoing-timeout)
3503         (feedmail-sendmail-f-doesnt-sell-me-out)
3504         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3505         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3506         (feedmail-sender-line, feedmail-from-line)
3507         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
3508         (feedmail-spray-this-address)
3509         (feedmail-spray-address-fiddle-plex-list)
3510         (feedmail-queue-use-send-time-for-date)
3511         (feedmail-queue-use-send-time-for-message-id)
3512         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3513         (feedmail-buffer-eating-function):
3514         Doc fixes.
3515         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3516         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3517         (feedmail-message-action-scroll-down): New functions.
3518         (feedmail-queue-directory, feedmail-queue-draft-directory):
3519         Use expand-file-name.
3520         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3521         Remove C-v help entry.
3522         (feedmail-queue-buffer-file-name): New variable.
3523         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3524         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3525         (feedmail-message-action-send-strong, feedmail-message-action-edit)
3526         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3527         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3528         (feedmail-message-action-toggle-spray)
3529         (feedmail-run-the-queue-no-prompts)
3530         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3531         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3532         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3533         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3534         (feedmail-envelope-deducer, feedmail-fiddle-from)
3535         (feedmail-fiddle-sender, feedmail-default-date-generator)
3536         (feedmail-fiddle-date, feedmail-fiddle-message-id)
3537         (feedmail-fiddle-spray-address)
3538         (feedmail-fiddle-list-of-spray-fiddle-plexes)
3539         (feedmail-fiddle-list-of-fiddle-plexes)
3540         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3541         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3542         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3543         Change default.  Doc fix.
3544         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3545         (feedmail-binmail-linuxish-template): New constant.
3546         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
3547         Respect feedmail-sendmail-f-doesnt-sell-me-out.
3548         (feedmail-send-it): Add debug call.
3549         Use feedmail-queue-buffer-file-name, and
3550         feedmail-send-it-immediately-wrapper.
3551         (feedmail-message-action-send): Add debug call.
3552         Use feedmail-send-it-immediately-wrapper.
3553         (feedmail-queue-express-to-queue): Add debug call.
3554         Run feedmail-queue-express-hook.
3555         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
3556         (feedmail-message-action-help-blat):
3557         Rename from feedmail-queue-send-edit-prompt-help-first.
3558         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
3559         Check line-endings.  Handle errors better.
3560         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3561         Doc fix.  Add debug call.
3562         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
3563         Use feedmail-queue-send-edit-prompt-inner.
3564         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3565         (feedmail-queue-send-edit-prompt-inner): New function, extracted
3566         from feedmail-queue-send-edit-prompt.
3567         (feedmail-queue-send-edit-prompt-help)
3568         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3569         (feedmail-tidy-up-slug): Add debug call.
3570         Respect feedmail-queue-slug-suspect-regexp.
3571         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3572         (feedmail-dump-message-to-queue): Add debug call.
3573         Expand queue-directory.
3574         (feedmail-dump-message-to-queue): Change message slightly.
3575         Use feedmail-say-chatter.
3576         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
3577         (feedmail-send-it-immediately-wrapper): New function.
3578         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
3579         Insert empty string rather than newline.  Handle full-frame case.
3580         Use catch/throw.  Use feedmail-say-chatter.
3581         (feedmail-fiddle-from): Try mail-host-address.
3582         (feedmail-default-message-id-generator): Doc fix.
3583         Bind system-time-locale.  Handle missing end.
3584         (feedmail-fiddle-x-mailer): Add debug call.
3585         Handle feedmail-x-mailer-line being nil.
3586         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3587         Add debug call.  Use buffer-substring-no-properties.
3588         (feedmail-say-debug, feedmail-say-chatter): New functions.
3589         (feedmail-find-eoh): Give an explicit error.
3591 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
3593         * net/newst-treeview.el (newsticker-treeview-face): Change default
3594         family from helvetica to sans.
3595         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
3596         etc/images/newsticker.
3598         * net/newst-reader.el (newsticker-feed-face): Change default
3599         family from helvetica to sans.
3601         * net/newst-plainview.el (newsticker-new-item-face)
3602         (newsticker-old-item-face, newsticker-immortal-item-face)
3603         (newsticker-obsolete-item-face, newsticker-date-face)
3604         (newsticker-statistics-face): Change default family from
3605         helvetica to sans.
3606         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
3607         etc/images/newsticker.
3609         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3610         (newsticker--process-auto-mark-filter-match): : Tell user about
3611         auto-marking.
3613 2011-05-13  Didier Verna  <didier@xemacs.org>
3615         Common Lisp indentation improvements on defmethod and lambda-lists.
3616         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3617         (lisp-lambda-list-keyword-parameter-indentation)
3618         (lisp-lambda-list-keyword-parameter-alignment)
3619         (lisp-lambda-list-keyword-alignment): New customizable user options.
3620         (lisp-indent-defun-method): Improve docstring.
3621         (extended-loop-p): Fix comment.
3622         (lisp-indent-lambda-list-keywords-regexp): New variable.
3623         (lisp-indent-lambda-list): New function.
3624         (lisp-indent-259): Use it.
3625         (lisp-indent-defmethod): Support for more than one
3626         method qualifier and properly indent methods lambda-lists.
3627         (defgeneric): Provide a missing common-lisp-indent-function property.
3629 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3631         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3632         bounds for the empty string (bug#8667).
3634 2011-05-13  Glenn Morris  <rgm@gnu.org>
3636         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3638         * mail/sendmail.el (sendmail-program): Try executable-find first.
3639         (sendmail-send-it): `sendmail-program' cannot be unbound.
3641         * calendar/appt.el (appt-make-list): Simplify.
3642         (appt-time-msg-list): Doc fix.
3643         (appt-check): Change mode-line message at the time of the appointment.
3645 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3647         * progmodes/ld-script.el (ld-script-keywords)
3648         (ld-script-builtins): Update keywords list.
3650 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3652         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3654         * shell.el (shell-completion-vars): New function.
3655         (shell-mode):
3656         * simple.el (read-shell-command): Use it.
3657         (blink-matching-open): No need for " [...]" in minibuffer-message.
3659 2011-05-12  Glenn Morris  <rgm@gnu.org>
3661         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3662         (appt-check): Simplify.
3664 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
3666         * smerge-mode.el (smerge-resolve): Use null-device rather than a
3667         literal "/dev/null".
3669 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3671         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3672         Fix typo.
3674 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
3676         * progmodes/which-func.el (which-function):
3677         Use add-log-current-defun instead of add-log-current-defun-function,
3678         which might not be defined (Bug#8260).
3680 2011-05-12  Glenn Morris  <rgm@gnu.org>
3682         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3683         Let byte-compile-initial-macro-environment always take precedence.
3685 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * net/rcirc.el: Add support for SSL/TLS connections.
3688         (rcirc-server-alist): New field `encryption'.
3689         (rcirc): Check `encryption' settings.
3690         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
3691         Merge make-local-variable into `set'.
3692         (rcirc--connection-open-p): New function.
3693         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3694         the process is not a network process (e.g. running gnutls-cli).
3695         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3696         Make rcirc-(en|de)code-coding-system local here.
3697         (rcirc-mode): Merge make-local-variable into `set'.
3698         (rcirc-parent-buffer): Make permanent buffer-local.
3699         (rcirc-multiline-minor-mode): Don't do it here.
3700         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3701         there's no server buffer.
3703 2011-05-11  Glenn Morris  <rgm@gnu.org>
3705         * newcomment.el (comment-kill): Prefix "unused" local.
3707         * term/w32console.el (get-screen-color): Declare.
3709         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3710         Handle symbol elements of byte-compile-initial-macro-environment.
3712 2011-05-10  Leo Liu  <sdl.web@gmail.com>
3714         * bookmark.el (bookmark-bmenu-mode-map):
3715         Bind bookmark-bmenu-search to `/'.
3717         * mail/footnote.el: Convert to utf-8 encoding.
3718         (footnote-unicode-string, footnote-unicode-regexp): New variable.
3719         (Footnote-unicode): New function.
3720         (footnote-style-alist): Add unicode style to the list.
3721         (footnote-style): Doc fix.
3723 2011-05-10  Jim Meyering  <meyering@redhat.com>
3725         Fix doubled-word typos.
3726         * international/quail.el (quail-insert-kbd-layout): and and -> and
3727         * kermit.el: and and -> and
3728         * net/ldap.el (ldap-search-internal): to to -> to
3729         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3730         * progmodes/js.el (js-mode): and and -> and
3731         * textmodes/artist.el (artist-move-to-xy): at at -> at
3732         (artist-draw-region-trim-line-endings): if if -> if
3733         And Safetyc -> Safety.
3734         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3736 2011-05-10  Glenn Morris  <rgm@gnu.org>
3737             Stefan Monnier  <monnier@iro.umontreal.ca>
3739         * files.el (hack-one-local-variable-eval-safep):
3740         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
3742 2011-05-10  Glenn Morris  <rgm@gnu.org>
3744         * calendar/diary-lib.el (diary-list-entries-hook)
3745         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3746         (diary-nongregorian-marking-hook, diary-list-entries)
3747         (diary-include-other-diary-files, diary-mark-entries)
3748         (diary-mark-included-diary-files): Doc fixes.
3750 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
3752         * misc.el: Require tabulated-list.el during compilation.
3754 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
3756         * progmodes/compile.el (compilation-start):
3757         Run compilation-filter-hook for the async case too.
3758         (compilation-filter-hook): Doc fix.
3760 2011-05-09  Deniz Dogan  <deniz@dogan.se>
3762         * wdired.el: Remove outdated installation comment.  Fix usage
3763         comment.
3765 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
3767         * misc.el: Implement new command `list-dynamic-libraries'.
3768         (list-dynamic-libraries--loaded-only-p): New variable.
3769         (list-dynamic-libraries--refresh): New function.
3770         (list-dynamic-libraries): New command.
3772 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
3774         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3775         Fix the ant regexp to handle end-line and end-column info from jikes.
3776         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
3777         higher priority to avoid clobbering by gnu.
3779 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
3781         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3782         if the face has existing theme settings (Bug#8454).
3784 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
3786         * progmodes/perl-mode.el (perl-imenu-generic-expression):
3787         Only match variables declared via `my' or `our' (Bug#8261).
3789         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3790         special file names `.' and `..' (Bug#8259).
3792 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
3794         * progmodes/grep.el (grep-mode-font-lock-keywords):
3795         Remove buffer-changing entries.
3796         (grep-filter): New function.
3797         (grep-mode): Add it to compilation-filter-hook.
3799         * progmodes/compile.el (compilation-filter-hook)
3800         (compilation-filter-start): New defvars.
3801         (compilation-filter): Call compilation-filter-hook prior to
3802         updating the process mark.
3804 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3806         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3808 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
3810         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3811         mailclient-send-it even if window-system is nil.  (Bug#8595)
3813         * term/w32console.el (terminal-init-w32console):
3814         Call get-screen-color and use its output to set the frame
3815         background-mode.  (Bug#8597)
3817 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3819         Make bytecomp.el understand that defmethod defines funs (bug#8631).
3820         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3821         New functions.
3822         (defgeneric, eieio--defmethod): Use them.
3823         (eieio-defgeneric): Remove.
3824         (defmethod): Call defgeneric in a way visible to the byte-compiler.
3826 2011-05-07  Glenn Morris  <rgm@gnu.org>
3828         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3829         Use let rather than let*.
3830         (timeclock-find-discrep): Remove unused local.
3832         * calendar/diary-lib.el (diary-comment-start): Doc fix.
3834         * calendar/appt.el (appt-time-msg-list): Doc fix.
3836 2011-05-06  Noah Friedman  <friedman@splode.com>
3838         * apropos.el (apropos-print-doc): Only use
3839         emacs-lisp-docstring-fill-column when it is bound to an integer,
3840         per that variable's documentation.
3842 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3844         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
3845         and warnings are not silently discarded (e.g. use -d instead of -P).
3847 2011-05-06  Glenn Morris  <rgm@gnu.org>
3849         * calendar/appt.el (appt-message-warning-time): Doc fix.
3850         (appt-warning-time-regexp): New option.
3851         (appt-make-list): Respect appt-message-warning-time.
3853         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3854         New options.
3855         (diary-add-to-list): Strip comments from the displayed string.
3856         (diary-mode): Set comment-start and comment-end.
3858         * vc/diff-mode.el (smerge-refine-subst): Declare.
3859         (diff-refine-hunk): Don't require smerge-mode when compiling.
3861 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
3863         * simple.el (list-processes): Return nil as the docstring says.
3865 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
3867         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3868         to "".
3869         (ange-ftp-write-region, ange-ftp-insert-file-contents)
3870         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3871         determining of binary transfer.  (Bug#7383)
3873 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
3875         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3876         Fix port computation bug.  (Bug#8618)
3878 2011-05-05  Glenn Morris  <rgm@gnu.org>
3880         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3882         * simple.el (shell-dynamic-complete-functions)
3883         (comint-dynamic-complete-functions): Declare.
3885         * net/network-stream.el (gnutls-negotiate):
3886         * simple.el (tabulated-list-print): Fix declarations.
3888         * progmodes/gud.el (syntax-symbol, syntax-point):
3889         Remove unnecessary and incorrect declarations.
3891         * emacs-lisp/check-declare.el (check-declare-scan):
3892         Handle byte-compile-initial-macro-environment in bytecomp.el
3894 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         Fix earlier half-done eieio-defmethod change (bug#8338).
3897         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3898         Streamline and change calling convention.
3899         (defmethod): Adjust accordingly and simplify.
3900         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3901         new eieio--defmethod.
3902         (slot-boundp): Minor CSE simplification.
3904 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
3906         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3907         (glasses-make-readable): Use glasses-separate-capital-groups.
3909 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
3911         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3912         (warning-series): Doc fix.
3913         (display-warning): Don't try to create the buffer if we just found it.
3915 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
3917         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3918         (autoload-find-generated-file): New function.
3919         (generate-file-autoloads): Bind generated-autoload-file to
3920         buffer-file-name.
3921         (update-file-autoloads, update-directory-autoloads):
3922         Use autoload-find-generated-file.  If called interactively, prompt for
3923         output file (Bug#7989).
3924         (batch-update-autoloads): Doc fix.
3926 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
3928         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3930 2011-05-04  Glenn Morris  <rgm@gnu.org>
3932         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3933         function, so it follows changes in calendar-date-style.
3934         (diary-fancy-date-matcher): New function.
3935         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3936         (diary-fancy-font-lock-fontify-region-function):
3937         Use diary-fancy-date-pattern as a function.
3939         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3940         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
3942 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
3944         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3945         instead of positional arguments.  Allow :keylist and :crlfiles
3946         arguments.
3947         (open-gnutls-stream): Call it.
3949         * net/network-stream.el (network-stream-open-starttls): Adjust to
3950         call `gnutls-negotiate' with :process and :hostname arguments.
3952 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * minibuffer.el (completion--message): New function.
3955         (completion--do-completion, minibuffer-complete)
3956         (minibuffer-force-complete, minibuffer-complete-word): Use it.
3957         (completion--do-completion): Don't ignore completion-auto-help when in
3958         icomplete-mode.
3960         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3961         internal encoding (e.g. tibetan zero is not whitespace).
3962         (global-whitespace-mode): Prefer save-current-buffer.
3963         (whitespace-trailing-regexp): Remove useless save-match-data.
3964         (whitespace-empty-at-bob-regexp): Minor simplification.
3966 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
3968         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3970 2011-05-03  AgustĆ­n MartĆ­n Domingo  <agustin.martin@hispalinux.es>
3972         * textmodes/ispell.el (ispell-add-per-file-word-list):
3973         Use `concat' to create string for insertion.
3975 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3977         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3978         Avoid open-line which runs post-self-insert-hook.
3979         (bibtex-fill-entry): Remove unused `end' var.
3981 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
3983         * textmodes/ispell.el (ispell-add-per-file-word-list):
3984         Protect against `nil' value of `comment-start' (Bug#8579).
3986 2011-05-03  Leo Liu  <sdl.web@gmail.com>
3988         * isearch.el (isearch-yank-pop): New command.
3989         (isearch-mode-map): Bind it to `M-y'.
3990         (isearch-forward): Mention it.
3992 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3994         * simple.el (minibuffer-complete-shell-command): Remove.
3995         (minibuffer-local-shell-command-map): Use completion-at-point.
3996         (read-shell-command): Setup completion vars here instead.
3997         (read-expression-map): Bind TAB to symbol completion.
3999         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4000         error directly rather via storing it into `results'.
4002 2011-05-02  Leo Liu  <sdl.web@gmail.com>
4004         * vc/diff.el: Fix description.
4006 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4008         * server.el (server-eval-at): New function.
4010 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4012         * net/network-stream.el (open-network-stream): Take a :nowait
4013         parameter and pass it on to `make-network-process'.
4014         (network-stream-open-plain): Ditto.
4016 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4018         * faces.el (face-spec-set-match-display): Don't match toolkit
4019         options on terminal frames.
4021 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4023         * progmodes/pascal.el: Use lexical binding.
4024         (pascal-mode-map): Remove author preferences.
4026         * pcomplete.el (pcomplete-std-complete): Don't abuse
4027         completion-at-point.
4029 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
4031         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4032         removing code that has been dead since 1991 or so.
4034         * startup.el (command-line): When warning about "_emacs", use a
4035         delayed warning to allow the user to filter it out.
4037 2011-04-28  Deniz Dogan  <deniz@dogan.se>
4039         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4040         user has not joined.
4042 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4044         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4045         aren't any completions at point.
4047 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
4049         * subr.el (display-delayed-warnings): New function.
4050         (delayed-warnings-hook): New variable.
4052 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4054         * minibuffer.el (completion-at-point, completion-help-at-point):
4055         Don't presume that a given completion-at-point-function will always
4056         use the same calling convention.
4058         * pcomplete.el (pcomplete-completions-at-point):
4059         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
4060         pcomplete-seen is non-nil.
4061         (pcomplete-comint-setup): Also recognize the new comint/shell
4062         completion functions.
4063         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4064         pcomplete-seen is non-nil.
4066 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
4068         * calendar/icalendar.el (diary-lib): Add require statement.
4069         (icalendar--create-uid): Read out a uid from a text-property on
4070         the first character in the entry.  This allows for code to add its
4071         own uid to the entry.
4072         (icalendar--convert-float-to-ical): Add export of
4073         `diary-float'-entries save for those with the optional DAY
4074         argument.
4076 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
4078         * subr.el (shell-quote-argument): Use alternate escaping strategy
4079         when we spot a variable reference in a string.
4081 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
4083         * cus-start.el (all): Define customization for debug-on-event.
4085 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
4087         * subr.el (shell-quote-argument): Escape correctly under Windows.
4089 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4091         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4093 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
4095         * net/tramp.el (tramp-process-actions): Add POS argument.
4096         Delete region between POS and (pos).
4098         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4099         Use `nil' position in `tramp-process-actions' call.
4100         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4102         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4103         position in `tramp-process-actions' call.
4105         * net/trampver.el: Update release number.
4107 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * custom.el (defcustom): Obey lexical-binding.
4111         Fix octave-inf completion problems reported by Alexander Klimov.
4112         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4113         Inherit from octave-mode-syntax-table.
4114         (inferior-octave-mode): Set info-lookup-mode.
4115         (inferior-octave-completion-at-point): New function.
4116         (inferior-octave-complete): Use it and completion-in-region.
4117         (inferior-octave-dynamic-complete-functions): Use it as well, and use
4118         comint-filename-completion.
4119         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4120         symbol elements which shouldn't be word elements.
4121         (octave-font-lock-keywords, octave-beginning-of-defun)
4122         (octave-function-header-regexp): Adjust regexps accordingly.
4123         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4125 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
4127         * net/gnutls.el (gnutls-errorp): Declare before first use.
4129 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
4131         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4132         verify-error, and verify-hostname-error parameters.  Check whether
4133         default trustfile exists before going to use it.  Add missing
4134         argument to gnutls-message-maybe call.  Return return value.
4135         Reported by Claudio Bley <claudio.bley@gmail.com>.
4136         (open-gnutls-stream): Add usage example.
4138         * net/network-stream.el (network-stream-open-starttls): Give host
4139         parameter to `gnutls-negotiate'.
4140         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
4141         * subr.el (shell-quote-argument): Escape correctly under Windows.
4143 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
4145         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4146         Use correct match group (bug#8438).
4148 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
4150         * emacs-lisp/package.el (package-built-in-p): Fix typo.
4151         (package-menu--generate): New arg specifying packages to show.
4152         (package-menu-refresh, package-menu-execute, list-packages):
4153         Callers changed.
4154         (package-show-package-list): New function, replacing deleted
4155         package--list-packages (renamed because it is non-internal).
4157         * finder.el (finder-list-matches): Use package-show-package-list
4158         instead of deleted package--list-packages.
4160         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4161         Based on a previous implementation by Juanma Barranquero (Bug#8366).
4162         (vc-annotate-mode-map): Bind it to RET.
4164 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4166         * progmodes/etags.el (next-file): Don't use set-buffer to change
4167         buffers (Bug#8478).
4169 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
4171         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4173         * apropos.el (apropos-label-face): Avoid variable-pitch face.
4174         (apropos-accumulator): Doc fix.
4175         (apropos-function, apropos-macro, apropos-command)
4176         (apropos-variable, apropos-face, apropos-group, apropos-widget)
4177         (apropos-plist): Add face property.
4178         (apropos-symbols-internal): Fix indentation.
4179         (apropos-print): Simplify help, and recognize apropos-multi-type.
4180         (apropos-print-doc): Use button-type-get to extract the button's
4181         face property.  Fill docstring (Bug#8352).
4183 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
4185         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4187         * play/mpuz.el (mpuz-silent): Doc fix.
4188         (mpuz-mode-map): Use mapc.
4189         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4190         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4191         Fix typos in docstrings.
4193         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4194         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4196         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4198 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
4200         * minibuffer.el (completion--do-completion): Avoid the "Next char
4201         not unique" prompt if icomplete-mode is enabled (Bug#5849).
4203         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4204         mouse-2 into unread-command-events, it is interpreted correctly.
4206         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
4207         (image-toggle-display): Doc fix.
4209 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
4211         * textmodes/page.el (what-page): Use line-number-at-pos to
4212         calculate line number (Bug#6825).
4214 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
4216         * eshell/esh-mode.el (find-tag-interactive): Declare function.
4217         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4218         Pass argument NO-DEFAULT to `find-tag-interactive'.
4220 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
4222         Lexical-binding cleanup.
4224         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4225         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4226         * progmodes/ada-prj.el (ada-prj-initialize-values)
4227         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4228         (ada-prj-show-value):
4229         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4230         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4231         (antlr-invalidate-context-cache, antlr-options-menu-filter)
4232         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4233         * progmodes/bug-reference.el (bug-reference-push-button):
4234         * progmodes/fortran.el (fortran-line-length):
4235         * progmodes/glasses.el (glasses-change):
4236         * progmodes/octave-mod.el (octave-fill-paragraph):
4237         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4238         (python-pdbtrack-grub-for-buffer, python-sentinel):
4239         * progmodes/sql.el (sql-save-connection):
4240         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4241         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4242         Mark unused parameters.
4244         * progmodes/compile.el (compilation--flush-directory-cache)
4245         (compilation--flush-parse, compile-internal): Mark unused parameters.
4246         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4247         (compilation-next-error-function): Remove unused variable `timestamp'.
4249         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4250         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4252         * progmodes/dcl-mode.el (dcl-end-of-command):
4253         Remove unused variable `start'.
4254         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4255         (dcl-option-value-basic, dcl-option-value-offset)
4256         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4257         Mark unused parameters.
4258         (dcl-save-local-variable): Remove unused variable `val'.
4259         (mode): Declare.
4261         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4262         Mark unused parameters.
4263         (delphi-ignore-changes): Move before first use.
4264         (delphi-charset-token-at): Remove unused variable `start'.
4265         (delphi-else-start): Remove unused variable `if-count'.
4266         (delphi-comment-block-start, delphi-comment-block-end):
4267         Remove unused variable `kind'.
4268         (delphi-indent-line): Remove unused variable `new-point'.
4270         * progmodes/ebrowse.el (ebrowse-files-list)
4271         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4272         Mark unused parameters.  Don't quote `lambda'.
4273         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4274         Don't quote `lambda'.
4275         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4276         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4277         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4278         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4279         Use `ignore-errors'.
4280         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4281         (ebrowse-view/find-file-and-search-pattern)
4282         (ebrowse-view/find-member-declaration/definition):
4283         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4284         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4285         Rename parameter PREFIX-ARG to PREFIX.
4286         (ebrowse-tags-read-name): Remove unused variables `start' and
4287         `member-info'.
4288         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4289         to `tags-file'.
4291         * progmodes/etags.el (local-find-tag-hook): Declare.
4292         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4293         Mark unused parameters.
4295         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4296         (executable-interpret): Mark unused parameter.
4298         * progmodes/flymake.el (flymake-process-sentinel)
4299         (flymake-after-change-function)
4300         (flymake-create-temp-with-folder-structure)
4301         (flymake-get-include-dirs-dot): Mark unused parameters.
4302         (flymake-safe-delete-directory): Remove unused variable `err'.
4304         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4305         (speedbar-timer-fn, speedbar-line-text)
4306         (speedbar-change-expand-button-char, speedbar-delete-subblock)
4307         (speedbar-center-buffer-smartly): Declare functions.
4308         (gdb-find-watch-expression): Remove unused variable `array'.
4309         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4310         (gdb-starting): Mark unused parameters.
4311         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4312         (gdb-table-string): Remove unused variable `res'.
4313         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4314         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4315         (gdb-display-buffer): Remove unused variable `cur-size'.
4317         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4318         allow lexical-binding compilation.
4319         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4320         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4321         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4322         Mark unused parameters.
4323         (gud-gdb-marker-filter): Remove unused variable `match'.
4324         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4325         lambda expressions and funcall them, instead of using `fset'.
4327         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4328         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4330         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4331         variable `header-beg'; use `let'.
4333         * progmodes/icon.el (indent-icon-exp): Remove unused variables
4334         `restart', `last-sexp' and `at-do'.
4336         * progmodes/js.el (js--debug): Mark unused parameter.
4337         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4338         (js--splice-into-items): Remove unused variable `item'.
4339         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4341         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4342         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4343         (makefile-complete): Remove unused variable `try'.
4344         (makefile-fill-paragraph, makefile-match-function-end):
4345         Mark unused parameters.
4347         * progmodes/octave-inf.el (inferior-octave-complete):
4348         Remove unused variable `proc'.
4349         (inferior-octave-output-digest): Mark unused parameter.
4351         * progmodes/perl-mode.el (perl-calculate-indent):
4352         Remove unused variable `err'.
4354         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4355         (prolog-indent-line): Mark unused parameters.
4356         (prolog-indent-line): Remove unused variable `beg'.
4358         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4359         (reporter-dont-compact-list): Declare.
4361         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4362         Remove unused variable `char'.
4363         (sh-debug): Mark unused parameter.
4364         (sh-get-indent-info): Remove unused variable `start'.
4365         (sh-calculate-indent): Remove unused variable `var'.
4367         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4368         (simula-electric-keyword): Remove unused variable `null'.
4369         (simula-search-backward, simula-search-forward): Remove unused
4370         variables `begin' and `end'.
4372         * progmodes/vera-mode.el (vera-guess-basic-syntax):
4373         Remove unused variable `pos'.
4374         (vera-electric-tab, vera-comment-uncomment-region):
4375         Mark unused parameters.
4376         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4378 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
4380         * emacs-lisp/package.el (package--builtins, package-alist)
4381         (package-load-descriptor, package-built-in-p, package-activate)
4382         (define-package, package-installed-p)
4383         (package-compute-transaction, package-buffer-info)
4384         (package--push): Doc fix.  Distinguish more clearly between
4385         version strings and version lists.
4387 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
4389         Lexical-binding cleanup.
4391         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4392         (5x5-make-mutate-best):
4393         * play/fortune.el (fortune-in-buffer):
4394         * play/gomoku.el (gomoku-init-display):
4395         * play/solitaire.el (solitaire, solitaire-do-check):
4396         * play/tetris.el (tetris-default-update-speed-function):
4397         Mark unused parameters.
4399         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4400         (bubbles--shift): Remove unused variable `char-org'.
4401         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
4402         (bubbles--show-images): Remove unused variable `char'.
4404         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4405         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4406         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4407         (decipher-analyze-buffer): Use ?\s.
4408         (decipher-make-checkpoint): Remove unused variable `mapping'.
4410         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4412         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4413         Remove unused variable `result'; use `let'.
4415         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4416         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4417         (gametree-children-shown-p, gametree-compute-reduced-score):
4418         Use `ignore-errors'.
4420         * play/handwrite.el (ps-lpr-switches): Declare.
4421         (handwrite): Remove unused variables `pmin' and `lastp'.
4423         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4425         * play/landmark.el (landmark-init-display)
4426         (landmark-update-naught-weights): Mark unused parameters.
4427         (landmark-y): Remove unused variable `noise'.  Simplify.
4428         (landmark-human-plays): Remove unused variable `score'.
4430         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4431         (mpuz-try-proposal): Remove unused variable `game'.
4433         * play/zone.el (life-patterns): Declare.
4435 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
4437         * vc/vc.el (ediff-vc-internal): Declare function.
4439 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4441         * shell.el: Use lexical-binding and std completion UI.
4442         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4443         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4444         comint-preoutput-filter-functions rather than on
4445         comint-output-filter-functions.
4446         (shell-command-completion, shell--command-completion-data)
4447         (shell-filename-completion, shell-environment-variable-completion)
4448         (shell-c-a-p-replace-by-expanded-directory): New functions.
4449         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4450         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4451         (shell-dynamic-complete-environment-variable): Use them.
4452         (shell-dynamic-complete-as-environment-variable)
4453         (shell-dynamic-complete-as-command): Remove.
4454         (shell-match-partial-variable): Match past point.
4455         * comint.el: Clean up use of completion-at-point-functions.
4456         (comint-completion-at-point): New function.
4457         (comint-mode): Use it completion-at-point-functions.
4458         (comint-dynamic-complete): Make it obsolete.
4459         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4460         (comint-c-a-p-replace-by-expanded-history): New function.
4461         (comint-dynamic-complete-functions)
4462         (comint-replace-by-expanded-history): Use it.
4463         * minibuffer.el (completion-table-with-terminator): Allow dynamic
4464         termination strings.  Try harder to avoid second try-completion.
4465         (completion-in-region-mode-map): Disable bindings that don't work yet.
4467         * comint.el: Use lexical-binding.  Require CL.
4468         (comint-dynamic-complete-functions): Use comint-filename-completion.
4469         (comint-completion-addsuffix): Tweak custom type.
4470         (comint-filename-completion, comint--common-suffix)
4471         (comint--common-quoted-suffix, comint--table-subvert)
4472         (comint--complete-file-name-data): New functions.
4473         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4474         (comint-dynamic-list-filename-completions): Use them.
4475         (comint-dynamic-simple-complete): Make obsolete.
4477         * minibuffer.el (completion-in-region-mode):
4478         Keep completion-in-region-mode--predicate global.
4479         (completion-in-region--postch):
4480         Assume completion-in-region-mode--predicate is not null.
4482         * progmodes/flymake.el (flymake-start-syntax-check-process):
4483         Obey `dir'.  Simplify.
4485         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4486         we're in VC after all.
4488 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
4490         * vc/vc.el (vc-diff-build-argument-list-internal)
4491         (vc-version-ediff, vc-ediff): New commands.
4492         (vc-version-diff): Use vc-diff-build-argument-list-internal.
4494 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4496         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4497         add sanity check.
4499         * obsolete/erc-hecomplete.el: Make obsolete.
4500         * obsolete/: Standardize obsolescence info in the header.
4502 2011-04-20  Glenn Morris  <rgm@gnu.org>
4504         * calendar/solar.el (solar-horizontal-coordinates):
4505         Use the longitude argument rather than `calendar-longitude'.
4506         (solar-date-next-longitude): Remove unused locals.
4508 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4510         * whitespace.el: New version 13.2.1.
4512 2011-04-20  felix  <EmacsWiki>  (tiny change)
4514         * whitespace.el (global-whitespace-mode): Keep highlight when
4515         switching between major modes on a file.
4517 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4519         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4520         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4521         multi-line comments as well.
4523 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
4525         Lexical-binding cleanup.
4527         * arc-mode.el (archive-mode-revert):
4528         * cmuscheme.el (scheme-interactively-start-process):
4529         * custom.el (custom-initialize-delay):
4530         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4531         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4532         * emacs-lock.el (emacs-lock-clear-sentinel):
4533         * ezimage.el (defezimage):
4534         * follow.el (follow-avoid-tail-recenter):
4535         * fringe.el (set-fringe-mode-1):
4536         * generic-x.el (bat-generic-mode-compile):
4537         * help-mode.el (help-info-variable, help-do-xref)
4538         (help-mode-revert-buffer):
4539         * help.el (view-emacs-todo):
4540         * iswitchb.el (iswitchb-completion-help):
4541         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4542         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4543         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4544         * locate.el (locate-update):
4545         * longlines.el (longlines-encode-region)
4546         (longlines-after-change-function):
4547         * outline.el (outline-isearch-open-invisible):
4548         * ps-def.el (declare-function, charset-dimension, char-width)
4549         (encode-char):
4550         * ps-mule.el (ps-mule-plot-string):
4551         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4552         (recentf-edit-list-select, recentf-edit-list-validate)
4553         (recentf-open-files-action):
4554         * rect.el (delete-whitespace-rectangle-line)
4555         (rectangle-number-line-callback):
4556         * register.el (window-configuration-to-register)
4557         (frame-configuration-to-register):
4558         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4559         * select.el (xselect-convert-to-string, xselect-convert-to-length)
4560         (xselect-convert-to-targets, xselect-convert-to-delete)
4561         (xselect-convert-to-filename, xselect-convert-to-charpos)
4562         (xselect-convert-to-lineno, xselect-convert-to-colno)
4563         (xselect-convert-to-os, xselect-convert-to-host)
4564         (xselect-convert-to-user, xselect-convert-to-class)
4565         (xselect-convert-to-name, xselect-convert-to-integer)
4566         (xselect-convert-to-atom, xselect-convert-to-identity):
4567         * subr.el (declare, ignore, process-kill-without-query)
4568         (text-clone-maintain):
4569         * terminal.el (te-get-char, te-tic-sentinel):
4570         * tool-bar.el (tool-bar-make-keymap):
4571         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4572         * type-break.el (type-break-mode, type-break-noninteractive-query):
4573         * view.el (View-back-to-mark):
4574         * wid-browse.el (widget-browse-action, widget-browse-widget)
4575         (widget-browse-widgets, widget-browse-sexp):
4576         * widget.el (define-widget-keywords):
4577         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4578         Mark unused parameters.
4580         * align.el (align-adjust-col-for-rule): Mark unused parameter.
4581         (align-areas): Remove unused variable `look'.
4582         (align-region): Remove unused variables `real-end' and `pos-list'.
4584         * apropos.el (apropos-score-doc): Remove unused variable `i'.
4586         * bindings.el (mode-line-modified, mode-line-remote):
4587         Mark unused parameters.
4588         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4590         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4591         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4593         * comint.el (comint-history-isearch-pop-state)
4594         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4595         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4596         (comint-substitute-in-file-name): Doc fix.
4598         * completion.el (cmpl-statistics-block): Mark unused parameter.
4599         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4600         (save-completions-to-file, load-completions-from-file):
4601         Remove unused local variable `e'.
4603         * composite.el (compose-chars): Remove unused variable `len'.
4604         (lgstring-insert-glyph): Remove unused variable `g'.
4605         (compose-glyph-string): Remove unused variables `ascent',
4606         `descent', `lbearing' and `rbearing'.
4607         (compose-glyph-string-relative): Remove unused variables
4608         `lbearing', `rbearing' and `wadjust'.
4609         (compose-gstring-for-graphic): Remove unused variables `header',
4610         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
4611         (compose-gstring-for-terminal): Remove unused variables `header'
4612         and `nchars'.  Use `let', not `let*'.
4614         * cus-edit.el (Custom-set, Custom-save, custom-reset)
4615         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4616         (Custom-buffer-done, custom-buffer-create-internal)
4617         (custom-browse-visibility-action, custom-browse-group-tag-action)
4618         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4619         (widget-magic-mouse-down-action, custom-toggle-parent)
4620         (custom-add-parent-links, custom-toggle-hide-variable)
4621         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4622         (custom-toggle-hide-face, face, hook, custom-group-link-action)
4623         (custom-face-menu-create, custom-variable-menu-create, get)
4624         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4625         (custom-reset-standard-save-and-update): Remove unused variable `value'.
4626         (customize-apropos): Remove unused variable `tests'.
4627         (custom-group-value-create): Remove unused variable `hidden-p'.
4628         (sort-fold-case): Declare.
4630         * cus-theme.el (custom-reset-standard-faces-list)
4631         (custom-reset-standard-variables-list): Declare.
4632         (customize-create-theme, custom-theme-revert, custom-theme-write)
4633         (custom-theme-choose-mode, customize-themes, custom-theme-save):
4634         Mark unused parameters.
4636         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4638         * delim-col.el (delimit-columns-max): Move defvar before first use.
4640         * descr-text.el (describe-char-categories): Don't quote `lambda'.
4641         (describe-char): Don't quote `lambda'.  Mark unused parameter.
4643         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4644         (auto-insert): Declare.
4645         (desktop-restore-file-buffer): Rename desktop-* parameters;
4646         mark unused ones.
4647         (desktop-create-buffer): Rename desktop-* parameters and bind them.
4648         (desktop-buffer): Rename desktop-* parameters.
4650         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4651         (dframe-reposition-frame-xemacs, dframe-help-echo)
4652         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4653         Mark unused parameters.
4655         * dired-aux.el (backup-extract-version-start, overwrite-query)
4656         (overwrite-backup-query, rename-regexp-query)
4657         (rename-non-directory-query): Declare.
4658         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4659         (dired-add-entry): Remove unused variable `orig-file-name'.
4660         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4661         Use parameter PRESERVE-TIME instead of accessing dynamic variable
4662         `dired-copy-preserve-time' directly.
4663         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4664         (dired-insert-subdir-newpos): Rename unused variable `pos'.
4666         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4667         (dired-virtual-revert, dired-make-relative-symlink):
4668         Mark unused parameters.
4669         (manual-program): Declare.
4670         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4671         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4672         wrapped in `with-no-warnings' to avoid replacing one warning by another.
4674         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4676         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4678         * echistory.el (electric-history-in-progress, Helper-return-blurb):
4679         Declare.
4681         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4683         * electric.el (Electric-command-loop): Rename parameter
4684         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4686         * expand.el (expand-in-literal): Remove unused variable `here'.
4688         * facemenu.el (facemenu-add-new-color):
4689         Remove unused variable `docstring'.
4691         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4692         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4693         (face-attr-construct): Mark unused parameter.  Doc fix.
4694         (read-color): Remove unused variable `hex-string'.
4696         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4697         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4698         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4699         (display-buffer-other-frame): Remove unused variable `old-window'.
4700         (kill-buffer-hook): Declare.
4701         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4702         Mark unused parameters.
4703         (after-find-file): Pass 1 to `auto-save-mode', not t.
4705         * files-x.el (auto-insert): Declare.
4706         (modify-file-local-variable-prop-line): Remove unused variable `val'.
4708         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
4709         variable `buf'.  Mark unused parameter.
4710         (find-lisp-insert-directory): Mark unused parameter.
4712         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4713         (format-encode-region): Remove unused variables `cur-buf' and `result'.
4714         (format-common-tail): Remove, unused.
4715         (format-deannotate-region): Remove unused variable `loc'.
4716         (format-annotate-region): Remove unused variable `p'.
4717         (format-annotate-single-property-change): Remove unused variables
4718         `default' and `tail'.
4720         * forms.el (read-file-filter): Declare.
4721         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4723         * frame.el (frame-creation-function-alist): Mark unused parameter.
4724         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4726         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4727         Remove unused parameters.
4728         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4729         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4731         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4732         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4733         (hfy-prepare-tag-map): Mark unused parameters.
4734         (htmlfontify-buffer): Use `called-interactively-p'.
4736         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4737         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4738         (ibuffer-do-occur): Mark unused parameters.
4739         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4740         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4742         * ibuffer.el: Don't quote `lambda'.
4743         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4744         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4745         Mark unused parameters.
4747         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4748         (ido-completing-read): Mark unused parameters.
4749         (ido-copy-current-word): Mark unused parameters;
4750         remove unused variable `name'.
4751         (ido-sort-merged-list): Remove unused parameter `dirs'.
4753         * ielm.el (ielm-input-sender): Mark unused parameter.
4754         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4755         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4756         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4757         `ielm-string' as a dynamic variable accessible from the IELM prompt.
4758         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
4760         * image-dired.el (image-dired-display-thumbs): Remove unused
4761         variables `curr-file' and `count'.
4762         (image-dired-remove-tag): Remove unused variable `start'.
4763         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4764         variable `curr-file'
4765         (image-dired-rotate-original): Remove unused variable `temp-file'.
4766         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4767         Remove unused variable `file'.
4768         (image-dired-gallery-generate): Remove unused variable `curr'.
4769         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4771         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4773         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4775         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4777         * isearch.el (minibuffer-history-symbol): Declare.
4778         (isearch-edit-string): Remove unused variable `err'.
4779         (isearch-message-prefix, isearch-message-suffix):
4780         Mark unused parameters.
4782         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4784         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4786         * makesum.el (double-column): Remove unused variable `cnt'.
4788         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4789         (ido-ignore-item-temp-list): Declare.
4791         * mouse-drag.el (mouse-drag-throw): Remove unused variables
4792         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4793         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4794         (mouse-drag-drag): Remove unused variables `mouse-delta' and
4795         `mouse-col-delta'.
4797         * mouse-sel.el (mouse-extend-internal):
4798         Remove unused variable `orig-window-frame'.
4800         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4801         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4802         Move declarations before first use.
4803         (pcomplete-opt): Mark unused parameters; doc fix.
4805         * proced.el (proced-revert): Mark unused parameter.
4806         (proced-send-signal): Remove unused variable `err'.
4808         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4809         Rename parameter PREFIX-ARG to ARG.
4810         (ps-basic-plot-string, ps-basic-plot-whitespace):
4811         Mark unused parameters.
4813         * replace.el (replace-count): Define.
4814         (occur-revert-function): Mark unused parameters.
4815         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4816         (isearch-case-fold-search, isearch-string): Declare.
4817         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4818         bind `case-fold-search'.  Remove unused variables `beg' and `end',
4819         and simplify.
4820         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4821         COUNT and bind `replace-count'.
4822         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4823         to COUNT.
4825         * savehist.el (print-readably, print-string-length): Declare.
4827         * shadowfile.el (shadow-expand-cluster-in-file-name):
4828         Remove unused variable `cluster'.
4829         (shadow-copy-file): Remove unused variable `i'.
4830         (shadow-noquery, shadow-clusters, shadow-site-cluster)
4831         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4832         (shadow-define-literal-group, shadow-define-regexp-group)
4833         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4835         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4836         (shell): Use `called-interactively-p'.
4837         (shell-directory-tracker): Remove unused variable `chdir-failure'.
4839         * simple.el (compilation-context-lines, comint-file-name-quote-list)
4840         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4841         (delete-backward-char): Remove unused variable `ocol'.
4842         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4843         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4844         (event-apply-hyper-modifier, event-apply-shift-modifier)
4845         (event-apply-control-modifier, event-apply-meta-modifier):
4846         Mark unused parameters.
4847         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4848         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4850         * speedbar.el (speedbar-ignored-directory-expressions)
4851         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4852         (speedbar-find-file, speedbar-dir-follow)
4853         (speedbar-directory-buttons-follow, speedbar-tag-find)
4854         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4855         (speedbar-buffers-line-directory, speedbar-buffer-click):
4856         Mark unused parameters.
4857         (speedbar-tag-file): Remove unused variable `mode'.
4858         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4860         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4862         * talk.el (talk): Remove unused variable `display'.
4864         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4865         (tar-write-region-annotate): Mark unused parameter.
4867         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4868         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4869         Declare them, wrapped in `with-no-warnings' to avoid replacing one
4870         warning by another.
4872         * time-stamp.el (time-stamp-string-preprocess):
4873         Remove unused variable `require-padding'.
4875         * tree-widget.el (widget-glyph-enable): Declare.
4876         (tree-widget-action): Mark unused parameter.
4878         * w32-fns.el (x-get-selection): Mark unused parameter.
4879         (autoload-make-program, generated-autoload-file): Declare.
4881         * wdired.el (wdired-revert): Mark unused parameters.
4882         (wdired-xcase-word): Remove unused variable `err'.
4884         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4885         (whitespace-help-scroll): Remove unused variable `data-help'.
4887         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4888         (widget-image-insert, widget-after-change, default)
4889         (widget-default-format-handler, widget-default-notify)
4890         (widget-default-prompt-value, widget-info-link-action)
4891         (widget-url-link-action, widget-function-link-action)
4892         (widget-variable-link-action, widget-file-link-action)
4893         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4894         (widget-field-prompt-internal, widget-field-action, widget-field-match)
4895         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4896         (widget-insert-button-action, widget-delete-button-action, visibility)
4897         (widget-documentation-link-action, widget-documentation-string-action)
4898         (widget-const-prompt-value, widget-regexp-match, symbol)
4899         (widget-coding-system-prompt-value)
4900         (widget-key-sequence-value-to-external, sexp)
4901         (widget-sexp-value-to-internal, character, vector, cons)
4902         (widget-choice-prompt-value, widget-boolean-prompt-value)
4903         (widget-color--choose-action): Mark unused parameters.
4904         (widget-item-match-inline, widget-choice-match-inline)
4905         (widget-checklist-match, widget-checklist-match-inline)
4906         (widget-group-match): Rename parameter VALUES to VALS.
4907         (widget-field-value-set): Remove unused variable `size'.
4908         (widget-color-action): Remove unused variables `value' and `start'.
4910         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
4911         variable `dir'.  Doc fix.
4912         (windmove-find-other-window): Don't pass it.
4914         * window.el (count-windows): Mark unused parameter.
4915         (bw-adjust-window): Remove unused variable `err'.
4917         * woman.el (woman-file-name): Remove unused variable `default'.
4918         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4919         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4920         (global-font-lock-mode): Declare.
4921         (woman-decode-region): Mark unused parameter.
4922         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4924         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4925         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4926         (x-dnd-handle-moz-url): Remove unused variable `title'.
4927         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4929         * xml.el (xml-parse-tag, xml-parse-attlist):
4930         Remove unused variable `pos'.
4932 2011-04-19  Glenn Morris  <rgm@gnu.org>
4934         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4935         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4936         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4937         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4938         * calendar/cal-html.el (cal-html-insert-minical):
4939         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4940         (calendar-mark-date-pattern):
4941         Prefix "unused" locals.
4943         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4944         optional argument `style'.
4946         * calendar/appt.el (appt-make-list):
4947         * calendar/cal-china.el (calendar-chinese-date-string):
4948         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4949         (diary-hebrew-yahrzeit):
4950         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4951         * calendar/calendar.el (calendar-generate-window):
4952         * calendar/time-date.el (time-to-days):
4953         Remove unused local variables.
4955 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
4957         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4958         glyphless-char-display table.
4959         (tabulated-list-glyphless-char-display): New var.
4961 2011-04-18  Sam Steingold  <sds@gnu.org>
4963         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4964         to acknowledgments.
4966 2011-04-17  Glenn Morris  <rgm@gnu.org>
4968         * calendar/diary-lib.el (diary-sexp-entry):
4969         * calendar/holidays.el (holiday-sexp):
4970         Set debug-on-error rather than the removed stack-trace-on-error.
4972 2011-04-16  Glenn Morris  <rgm@gnu.org>
4974         * progmodes/f90.el: Use lexical-binding.
4975         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4977 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4979         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4980         (mail-mode): Setup mailalias completion here instead.
4981         * mail/mailalias.el: Use lexical-binding.
4982         (pattern, mailalias-done): Declare dynamic.
4983         (mail-completion-at-point-function): New function, from mail-complete.
4984         (mail-complete): Use it.
4985         (mail-completion-expand): New function.
4986         (mail-get-names): Use it.
4987         (mail-directory, mail-directory-process, mail-directory-stream):
4988         Don't use `pattern' for lexically bound arg.
4990         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4992         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4993         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4994         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4996         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4997         (byte-save-window-excursion, byte-temp-output-buffer-setup)
4998         (byte-interactive-p): Define them again, for use when inlining
4999         old code.
5001 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
5003         * loadup.el: Use `string-to-number', not `string-to-int'.
5005 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5007         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5008         gud-gdb-complete-command.
5009         (gud-gdb-completions): New function, from gud-gdb-complete-command.
5010         (gud-gdb-completion-at-point): New function.
5011         (gud-gdb-completions): Remove.
5013 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
5015         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5016         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
5017         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5018         whether `executable-find' is bound.
5020         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5022 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5024         * minibuffer.el (completion-in-region-mode-predicate)
5025         (completion-in-region-mode--predicate): New vars.
5026         (completion-in-region, completion-in-region--postch)
5027         (completion-in-region-mode): Use them.
5028         (completion--capf-wrapper): Also return the hook function.
5029         (completion-at-point, completion-help-at-point):
5030         Adjust and provide a predicate.
5032         Preserve arg names for advice of subr and lexical functions (bug#8457).
5033         * help-fns.el (help-function-arglist): Consolidate the subr and
5034         new-byte-code cases.  Add argument `preserve-names' to extract names
5035         from the docstring when needed.
5036         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5037         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5038         (ad-arglist): Use help-function-arglist's new arg.
5039         (ad-definition-type): Use cond.
5041 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
5043         * autorevert.el (auto-revert-handler):
5044         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5045         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5046         Don't quote lambda.
5048         * image-mode.el (image-transform-set-scale):
5049         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5051 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5053         * net/network-stream.el (network-stream-open-starttls): Only do
5054         opportunistic STARTTLS upgrades if we have built-in gnutls support.
5055         Upgrades via gnutls-cli are too slow to be done opportunistically.
5057 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
5059         * dframe.el (dframe-current-frame): Remove spurious quote.
5061 2011-04-12  Glenn Morris  <rgm@gnu.org>
5063         * calendar/cal-tex.el (cal-tex-end-document):
5064         Try to automatically use latin1 input if needed.
5066         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5067         Don't try to cons a mark onto an empty element.
5069 2011-04-11  Leo Liu  <sdl.web@gmail.com>
5071         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5072         buffers.
5073         (ido-kill-buffer-at-head): Support killing virtual buffers.
5075 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
5077         * minibuffer.el (completion-show-inline-help): New var.
5078         (completion--do-completion, minibuffer-complete)
5079         (minibuffer-force-complete, minibuffer-complete-word):
5080         Inhibit minibuffer messages if completion-show-inline-help is nil.
5082         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5083         to avoid interference from inline help (Bug#5849).
5085 2011-04-10  Leo Liu  <sdl.web@gmail.com>
5087         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5088         Fix typo.
5090 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
5092         * image-mode.el (image-toggle-display-image): Signal an error if
5093         not in Image mode.
5094         (image-transform-mode, image-transform-resize)
5095         (image-transform-set-rotation): Doc fix.
5096         (image-transform-set-resize): Delete.
5097         (image-transform-set-scale, image-transform-fit-to-height)
5098         (image-transform-fit-to-width): Handle image-toggle-display-image
5099         and image-transform-resize directly.
5101 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
5103         * doc-view.el (doc-view-fit-width-to-window)
5104         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5105         New functions for fitting the shown image to the Emacs window size.
5106         (doc-view-mode-map): Add bindings for the new functions.
5108 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
5110         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5111         Fix typo in docstring.
5113 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
5115         * files.el (file-size-human-readable): Produce one digit after
5116         decimal, like "ls -lh" does.
5118         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5119         the file size representation.
5121         * simple.el (list-processes): If async subprocesses are not
5122         available, error out with a clear error message.
5124 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
5126         * help.el (help-form-show): New function, to be called from C.
5127         Put help-form output in a buffer named differently than *Help*.
5129 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
5131         * files.el (file-size-human-readable): New function.
5133         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5134         computing the representation inline.  Don't require `cl'.
5136 2011-04-08  Glenn Morris  <rgm@gnu.org>
5138         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5140         * net/browse-url.el (browse-url-firefox):
5141         Test system-type, not system-configuration.
5143         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5144         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5145         Use log-edit-empty-buffer-p.  (Bug#7598)
5147         * net/rlogin.el (rlogin-process-connection-type): Simplify.
5148         (rlogin-mode-map): Initialize in the defvar.
5149         (rlogin): Use ignore-errors.
5151         * replace.el (occur-mode-map): Some fixes for menu items.
5153 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5155         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
5157 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
5159         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5160         issuing unused warnings.
5162         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5163         macro directly.
5165         * simple.el: Lisp reimplement of list-processes.  Based on an
5166         earlier reimplementation by Leo Liu, but using tabulated-list.el.
5167         (process-menu-mode): New major mode.
5168         (list-processes--refresh, list-processes):
5169         (process-menu-visit-buffer): New functions.
5171         * files.el (save-buffers-kill-emacs): Don't assume any return
5172         value of list-processes, which is undocumented anyway.
5174 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
5176         * emacs-lisp/tabulated-list.el: New file.
5178         * emacs-lisp/package.el: Use Tabulated List mode.
5179         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5180         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
5181         table format using Tabulated List mode variables.
5182         (package--push): New macro, replacing package-list-maybe-add.
5183         (package-menu--generate): Use package--push.  Renamed from
5184         package--generate-package-list.
5185         (package-menu-refresh, list-packages): Use it.
5186         (package-menu--print-info): Rename from package-print-package.
5187         Return insertion data instead of inserting it directly.
5188         (package-menu-describe-package, package-menu-execute):
5189         Use tabulated-list-get-id.
5190         (package-menu-mark-delete, package-menu-mark-install)
5191         (package-menu-mark-unmark, package-menu-backup-unmark)
5192         (package-menu-mark-obsolete-for-deletion):
5193         Use tabulated-list-put-tag.
5194         (package--list-packages, package-menu-revert)
5195         (package-menu-get-package, package-menu-get-version)
5196         (package-menu-sort-by-column): Functions deleted.
5197         (package-menu-package-list, package-menu-sort-key): Vars deleted.
5198         (package-menu--status-predicate, package-menu--version-predicate)
5199         (package-menu--name-predicate)
5200         (package-menu--description-predicate): Handle arguments in the
5201         Tabulated List format.
5202         (package-list-packages-no-fetch): Call list-packages.
5204 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
5206         * files.el (after-find-file-from-revert-buffer): Remove variable.
5207         (after-find-file): Don't bind it.
5208         (revert-buffer-in-progress-p): New variable.
5209         (revert-buffer): Bind it.
5210         Pass nil for `after-find-file-from-revert-buffer'.
5212         * saveplace.el (save-place-find-file-hook): Use new variable
5213         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5215 2011-04-06  Glenn Morris  <rgm@gnu.org>
5217         * Makefile.in (AUTOGEN_VCS): New variable.
5218         (autoloads): Use $AUTOGEN_VCS.
5220         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5221         * calendar/calendar.el (calendar-mode-map):
5222         Check for toolkit scroll bars.  (Bug#8305)
5224 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
5226         * minibuffer.el (completion-in-region--postch)
5227         (completion-in-region-mode): Remove unnecessary messages.
5229 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
5231         * font-lock.el (font-lock-refresh-defaults):
5232         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5233         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5235         * info.el (Info-directory-list, Info-read-node-name-2)
5236         (Info-split-parameter-string): Doc fixes.
5237         (Info-virtual-nodes): Reflow docstring.
5238         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5239         (Info-apropos-toc-nodes, info-finder, Info-get-token)
5240         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5241         Fix typos in docstrings.
5242         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5243         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5244         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5245         (Info-restore-desktop-buffer): Mark unused parameters.
5246         (Info-directory-find-file, Info-directory-find-node)
5247         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5248         (Info-virtual-index-find-node, Info-apropos-find-file)
5249         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
5250         Mark unused parameters; fix typos in docstrings.
5251         (Info-virtual-index): Remove unused local variable `nodename'.
5253 2011-04-05  Deniz Dogan  <deniz@dogan.se>
5255         * net/rcirc.el: Update my e-mail address.
5256         (rcirc-mode-map): Remove M-o binding.
5258 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
5260         * startup.el (command-line): Save the cursor's theme-face
5261         directly, instead of using face-override-spec.
5263         * custom.el (load-theme): Minor optimization in assigning faces.
5265 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
5267         * help-fns.el (describe-variable): Complete all variables having
5268         documentation, including keywords.
5269         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5271 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
5273         Convert to lexical-binding.
5275         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5276         (bs--get-marked-string, bs--get-modified-string)
5277         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5278         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5279         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5281         * ehelp.el (electric-help-execute-extended)
5282         (electric-help-ctrl-x-prefix):
5283         * hexl.el (hexl-revert-buffer-function):
5284         * linum.el (linum-after-change, linum-after-scroll):
5285         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5287         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5289 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
5291         * epa-dired.el:
5292         * epa-mail.el:
5293         * epa-hook.el:
5294         * epa-file.el:
5295         * epa.el:
5296         * epg.el: Use lexical binding.
5298 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
5300         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5302         * textmodes/flyspell.el (flyspell-word): Recognize default
5303         dictionary case for flyspell-mark-duplications-exceptions.
5304         Use regexp matching for languages.
5305         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5306         default dictionary (Bug#7926).
5308 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
5310         * emacs-lisp/package.el (package--with-work-buffer):
5311         Recognize https URLs.
5313         * net/network-stream.el: Move from gnus/proto-stream.el.
5314         Change prefix to network-stream throughout.
5315         (open-protocol-stream): Merge into open-network-stream, leaving
5316         open-protocol-stream as an alias.  Handle nil BUFFER args.
5318         * subr.el (open-network-stream): Move to net/network-stream.el.
5320 2011-04-02  Glenn Morris  <rgm@gnu.org>
5322         * find-dired.el (find-exec-terminator): New option.
5323         (find-ls-option): Test for -ls support.
5324         (find-ls-subdir-switches): Test for -b in find-ls-option.
5325         (find-dired, find-grep-dired): Doc fixes.
5326         (find-dired): Use find-exec-terminator.
5328         * find-dired.el (find-ls-option, find-ls-subdir-switches)
5329         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5330         (find-name-arg): Remove purecopy.
5332         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5333         (grep-compute-defaults): Check for `-exec COMMAND +' support.
5334         Set grep-find-use-xargs, grep-find-command, and grep-find-template
5335         accordingly.  Don't add the null-device if not needed.
5337         * files.el (save-some-buffers): Doc fix.
5339 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
5341         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5343 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
5345         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5346         Use `dolist' rather than `mapcar'.
5348 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5350         Add lexical binding.
5352         * subr.el (apply-partially): Use new closures rather than CL.
5353         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5354         (dolist, dotimes): Use slightly different expansion for lexical code.
5355         (functionp): Move to C.
5356         (letrec): New macro.
5357         (with-wrapper-hook): Use it and apply-partially instead of CL.
5358         (eval-after-load): Preserve lexical-binding.
5359         (save-window-excursion, with-output-to-temp-buffer): Turn them
5360         into macros.
5362         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5364         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5365         than the arglist.
5366         (help-add-fundoc-usage): Don't add `Not documented'.
5367         (help-function-arglist): Handle closures, subroutines, and new
5368         byte-code-functions.
5369         (help-make-usage): Remove leading underscores.
5370         (describe-function-1): Handle closures.
5371         (describe-variable): Use special-variable-p for completion.
5373         * files.el (lexical-binding): Declare safe.
5375         * emacs-lisp/pcase.el: Don't use destructuring-bind.
5376         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
5377         (pcase): Add `let' pattern.
5378         Change memoization so it actually works.
5379         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5380         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5381         <let>: New case.
5383         * emacs-lisp/macroexp.el: Use lexical binding.
5384         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
5385         Don't convert ' to #' without checking that it's indeed quoting
5386         a lambda.
5388         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
5389         Use eval-sexp-add-defvars.
5390         (eval-sexp-add-defvars): New fun.
5392         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5394         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5395         Don't autoload.
5396         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5397         than the internal `byte-compile-lambda'.
5398         (defmethod): Don't hide code under quotes.
5399         (eieio-defmethod): New `code' argument.
5401         * emacs-lisp/eieio-comp.el: Remove.
5403         * emacs-lisp/edebug.el (edebug-eval-defun)
5404         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5405         (edebug-toggle): Avoid `eval'.
5407         * emacs-lisp/disass.el (disassemble-internal): Handle new
5408         `closure' objects.
5409         (disassemble-1): Handle new byte codes.
5411         * emacs-lisp/cl.el (pushnew): Silence warning.
5413         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5414         (cl-byte-compile-throw): Remove.
5415         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5417         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5418         closures.
5420         * emacs-lisp/cconv.el: New file.
5422         * emacs-lisp/bytecomp.el: Use lexical binding instead of
5423         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
5424         (byte-compile-initial-macro-environment):
5425         Handle declare-function here.
5426         (byte-compile--lexical-environment): New var.
5427         (byte-stack-ref, byte-stack-set, byte-discardN)
5428         (byte-discardN-preserve-tos): New lap codes.
5429         (byte-interactive-p): Don't use any more.
5430         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5431         New macros.
5432         (byte-compile-lapcode): Use them and handle new lap codes.
5433         (byte-compile-obsolete): Remove.
5434         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5435         (byte-compile-arglist-warn): Check late def of inlinable funs.
5436         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5437         since they should have been expanded by now.
5438         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5439         (byte-compile-from-buffer): Remove unused second arg.
5440         (byte-compile-preprocess): New function.
5441         (byte-compile-toplevel-file-form): New function to distinguish
5442         file-form calls from outside from file-form calls from hunk-handlers.
5443         (byte-compile-file-form): Simplify.
5444         (byte-compile-file-form-defsubst): Remove.
5445         (byte-compile-file-form-defmumble): Simplify now that
5446         byte-compile-lambda always returns a byte-code-function.
5447         (byte-compile): Preprocess.
5448         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5449         Remove, not used any more.
5450         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5451         (byte-compile-make-args-desc): New funs.
5452         (byte-compile-lambda): Handle lexical functions.  Always return
5453         a byte-code-function.
5454         (byte-compile-reserved-constants): New var, to make up room for
5455         closed-over variables.
5456         (byte-compile-constants-vector): Obey it.
5457         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5458         (byte-compile-macroexpand-declare-function): New function.
5459         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5460         byte-code-functions.
5461         (byte-compile-form): Check obsolescence here.
5462         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5463         (byte-compile-variable-ref): Remove.
5464         (byte-compile-dynamic-variable-op): New fun.
5465         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5466         (byte-compile-variable-set): New funs.
5467         (byte-compile-discard): Add 2 args.
5468         (byte-compile-stack-ref, byte-compile-stack-set)
5469         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5470         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5471         macroexpand-all instead.
5472         (byte-compile-quote-form): Remove.
5473         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5474         (byte-compile-bind, byte-compile-unbind): New funs.
5475         (byte-compile-let): Handle let* and lexical binding.
5476         (byte-compile-let*): Remove.
5477         (byte-compile-catch, byte-compile-unwind-protect)
5478         (byte-compile-track-mouse, byte-compile-condition-case):
5479         Handle a new :fun-body form, used for lexical scoping.
5480         (byte-compile-save-window-excursion)
5481         (byte-compile-with-output-to-temp-buffer): Remove.
5482         (byte-compile-defun): Simplify.
5483         (byte-compile-stack-adjustment): New fun.
5484         (byte-compile-out): Use it.
5485         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5487         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5488         handler any more.
5490         * emacs-lisp/byte-opt.el: Use lexical binding.
5491         (byte-inline-lapcode): Remove (to bytecomp).
5492         (byte-compile-inline-expand): Pay attention to inlining to/from
5493         lexically bound code.
5494         (byte-compile-unfold-lambda): Don't handle byte-code-functions
5495         any more.
5496         (byte-optimize-form-code-walker): Don't handle save-window-excursion
5497         any more and don't call compiler-macros.
5498         (byte-compile-splice-in-already-compiled-code): Remove.
5499         (byte-code): Don't inline any more.
5500         (disassemble-offset): Receive `bytes' as argument rather than via
5501         dynamic scoping.
5502         (byte-compile-tag-number): Declare before first use.
5503         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5504         `return' even if make-spliceable.
5505         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5506         obsolete interactive-p.
5507         (byte-optimize-lapcode): Optimize new lap-codes.
5508         Don't trip up on new form of `byte-constant' lap code.
5510         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5512         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5514         * custom.el (custom-initialize-default, custom-declare-variable):
5515         Use `defvar'.
5517         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5518         New variables.
5519         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5520         (COMPILE_FIRST): Add macroexp and cconv.
5521         * makefile.w32-in: Mirror changes in Makefile.in.
5523         * vc/cvs-status.el:
5524         * vc/diff-mode.el:
5525         * vc/log-edit.el:
5526         * vc/log-view.el:
5527         * vc/smerge-mode.el:
5528         * textmodes/bibtex-style.el:
5529         * textmodes/css.el:
5530         * startup.el:
5531         * uniquify.el:
5532         * minibuffer.el:
5533         * newcomment.el:
5534         * reveal.el:
5535         * server.el:
5536         * mpc.el:
5537         * emacs-lisp/smie.el:
5538         * doc-view.el:
5539         * dired.el:
5540         * abbrev.el: Use lexical binding.
5542 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
5544         * info.el (info-display-manual): New function.
5546 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5548         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5550 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
5552         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
5553         an entry for that server in rcirc-authinfo.  (Bug#8385)
5555 2011-03-31  Glenn Morris  <rgm@gnu.org>
5557         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5559         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5561 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
5563         * progmodes/python.el (python-default-interpreter)
5564         (python-python-command-args, python-jython-command-args)
5565         (python-which-shell, python-which-args, python-which-bufname)
5566         (python-file-queue, python-comint-output-filter-function)
5567         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5568         variables and functions.
5570 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5572         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5573         (completion-in-region-mode): New minor mode.
5574         (completion-in-region): Use it.
5575         (completion-in-region--data, completion-in-region-mode-map): New vars.
5576         (completion-in-region--postch): New function.
5577         (completion--capf-misbehave-funs, completion--capf-safe-funs):
5578         New vars.
5579         (completion--capf-wrapper): New function.
5580         (completion-at-point): Use it to track well-behavedness of
5581         hook functions.
5582         (completion-help-at-point): New command.
5584 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
5586         * vc/add-log.el (add-change-log-entry): Don't use whitespace
5587         syntax class to search for whitespace on a single line
5588         (Message-ID: <4D938140.4030905@redhat.com>).
5590 2011-03-30  Leo Liu  <sdl.web@gmail.com>
5592         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5593         New commands.
5594         (edit-abbrevs-map): Bind them here.
5595         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
5597 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
5599         * allout.el (allout-hide-by-annotation, allout-flag-region):
5600         Reduce possibility of overlay leakage by making them volatile.
5602         * allout-widgets.el (allout-widgets-tally): Define as nil so the
5603         hash is not shared between buffers.  Mode initialization is
5604         responsible for giving it a useful starting value.
5605         (allout-item-span): Reduce possibility of overlay leakage by
5606         making them volatile.
5607         (allout-widgets-count-buttons-in-region): Add diagnostic function
5608         for tracking down button overlay leaks.
5610 2011-03-29  Leo Liu  <sdl.web@gmail.com>
5612         * ido.el (ido-read-internal): Use the default history var
5613         minibuffer-history if no HISTORY is specified.
5615 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
5617         * net/imap.el (imap-shell-open, imap-process-connection-type):
5618         Use imap-process-connection-type for 'shell' streams as well as
5619         Kerberos, SSL, other subprocesses.
5621 2011-03-28  Leo Liu  <sdl.web@gmail.com>
5623         * abbrev.el (abbrev-table-empty-p): New function.
5624         (prepare-abbrev-list-buffer): Place empty abbrev tables after
5625         nonempty ones.  (Bug#5937)
5627 2011-03-27  Jan DjƤrv  <jan.h.d@swipnet.se>
5629         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5631 2011-03-27  Leo Liu  <sdl.web@gmail.com>
5633         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5634         for foreground and background colors.
5635         (ansi-color-make-color-map): Adapt.
5637 2011-03-25  Leo Liu  <sdl.web@gmail.com>
5639         * midnight.el (midnight-time-float): Remove.  Note it calculates
5640         the microsecond component incorrectly and seconds-to-time does the
5641         same job.
5642         Remove redundant (require 'timer).
5644         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5645         (ido-completions): Remove unused arguments.  (Bug#8329)
5647 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * minibuffer.el (completion--flush-all-sorted-completions):
5650         Remove itself from hook.
5651         (completion-at-point): Let the functions perform the completion
5652         immediately and return nil or t.
5653         * comint.el (comint-dynamic-complete-functions): Now identical to
5654         completion-at-point-functions.
5655         (comint-dynamic-list-input-ring): Remove unused var `index'.
5656         (comint--match-partial-filename, comint--unquote&expand-filename):
5657         New funs, split from comint-match-partial-filename.
5658         (comint-dynamic-complete): Use completion-at-point.
5659         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5661 2011-03-24  Drew Adams  <drew.adams@oracle.com>
5663         * thingatpt.el: Support `defun'.
5665 2011-03-23  Leo Liu  <sdl.web@gmail.com>
5667         * abbrevlist.el: Move to obsolete/abbrevlist.el.
5669         * help-mode.el (help-mode-finish): Tweak regexp.
5671 2011-03-23  Glenn Morris  <rgm@gnu.org>
5673         * eshell/esh-opt.el (eshell-eval-using-options):
5674         Do not bind unused local variable `eshell-option-stub'.
5676         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5678 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
5680         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5681         keymap variable in `with-no-warnings' to avoid a warning when the
5682         keymap has been already `defconst'ed.
5684 2011-03-22  Leo Liu  <sdl.web@gmail.com>
5686         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5687         encode all chars in abbrevs; otherwise use emacs-mule or
5688         utf-8-emacs.  (Bug#8308)
5690 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
5692         * simple.el (backward-delete-char-untabify):
5693         Avoid warning about using `delete-backward-char'.
5695         * image.el (image-type-file-name-regexps): Make it variable.
5696         `imagemagick-register-types' modifies it, and the user may want
5697         to add new extensions for known image types.
5698         (imagemagick-register-types): Throw error if not using ImageMagick.
5700 2011-03-22  Leo Liu  <sdl.web@gmail.com>
5702         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5703         located before rcirc-prompt-end-marker.
5704         (rcirc-complete): Error if point is not after rcirc prompt.
5705         Handle the case when table is nil.
5706         (rcirc-user-authenticated): Define to fix compiler warning.
5708 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
5710         * custom.el (custom--inhibit-theme-enable): Make it affect only
5711         custom-theme-set-variables and custom-theme-set-faces.
5712         (provide-theme): Ignore custom--inhibit-theme-enable.
5713         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5714         (custom-enabling-themes): Delete variable.
5715         (enable-theme): Accept only loaded themes as arguments.
5716         Ignore the special custom-enabled-themes variable.
5717         (custom-enabled-themes): Forbid themes from setting this.
5718         Eliminate use of custom-enabling-themes.
5719         (custom-push-theme): Quote "changed" custom var entry.
5721 2011-03-21  Leo Liu  <sdl.web@gmail.com>
5723         * ido.el (ido-read-internal): Add ido-selected to history instead
5724         of user input.
5726 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5728         * subr.el (deferred-action-list, deferred-action-function):
5729         Mark obsolete.
5731 2011-03-21  Leo Liu  <sdl.web@gmail.com>
5733         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5734         change on 2011-02-13 (bug#8309).
5736         * minibuffer.el (read-file-name-function): Change default value.
5737         (read-file-name--defaults): Rename from read-file-name-defaults.
5738         (read-file-name-default): Rename from read-file-name.
5739         (read-file-name): Call read-file-name-function.
5741 2011-03-21  Glenn Morris  <rgm@gnu.org>
5743         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5744         Doc fixes.
5746 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
5748         * cus-theme.el: Add missing provide statement.
5749         (customize-create-theme): Extract theme value correctly.
5750         (custom-theme-visit-theme): Autoload.
5751         (customize-create-theme): Prompt before inserting default faces.
5753 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
5755         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5756         units and musical notes.
5758 2011-03-20  Leo  <sdl.web@gmail.com>
5760         * ido.el (ido-read-internal): Use completing-read-default.
5761         (ido-completing-read): Fix compatibility with completing-read.
5763 2011-03-20  Christian Ohler  <ohler@gnu.org>
5765         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5766         (ert-delete-all-tests): Use `called-interactively-p' rather than
5767         `interactive-p'.
5768         (ert--make-xrefs-region): Respect END.
5770 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
5772         * dired-aux.el (dired-create-directory): Signal an error if the
5773         directory already exists (Bug#8246).
5775         * facemenu.el (list-colors-display): Call list-faces-display
5776         inside with-help-window.
5777         (list-colors-print): Use display property to align the final
5778         column, instead of checking window-width.
5780 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
5782         * emerge.el (emerge-metachars): Separate value for ms-dos and
5783         windows-nt systems.
5784         (emerge-protect-metachars): Quote correctly for ms-dos and
5785         windows-nt systems.
5787 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
5789         * info.el (info-initialize): Replace all uses of `:' with
5790         path-separator for compatibility with non-Unix systems.
5791         Cache quoting of path-separator.  (Bug#8258)
5793 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
5795         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5796         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5797         (mouse-avoidance-mode): Fix typos in docstrings.
5799 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
5801         * startup.el (package-subdirectory-regexp): Move from package.el.
5802         Omit \\` and \\', and let callers add them.
5804         * emacs-lisp/package.el (package-strip-version)
5805         (package-load-all-descriptors): Add \\` and \\' to
5806         package-subdirectory-regexp before using it.
5807         (package-untar-buffer): New arg DIR; ensure that file untars only
5808         into this expected directory.  Remove superfluous delete-region.
5809         (package-unpack): Caller changed.
5810         (package-tar-file-info): Use package-subdirectory-regexp.
5812 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5814         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5815         diff-mode-shared-map (bug#8284).
5816         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
5818 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5820         * calendar/time-date.el (format-seconds): Use assoc instead of
5821         assoc-string, since assoc-string doesn't exist in XEmacs.
5823 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
5825         * custom.el (custom-known-themes): Reflow docstring.
5826         (custom-theme-load-path): Fix typo in docstring.
5827         (load-theme): Fix typo in error message.
5828         (custom-available-themes, custom-variable-theme-value):
5829         Use `let', not `let*'.
5831 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
5833         * calc/README: Mention inclusion of musical notes.
5835         * calc/calc-units.el (calc-lu-quant): Rename from
5836         `calc-logunits-quantity'.
5837         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5838         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5839         (calc-db): Rename from `calc-dblevel'.
5840         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5841         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5842         (calc-np): Rename from `calc-nplevel'.
5843         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5844         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5845         (calc-lu-plus): Rename from `calc-logunits-add'.
5846         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5847         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5848         (calc-lu-minus): Rename from `calc-logunits-sub'.
5849         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5850         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5851         (calc-lu-times): Rename from `calc-logunits-mul'.
5852         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5853         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5854         (calc-lu-divide): Rename from `calc-logunits-div'.
5855         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5856         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5858         * calc/calc-ext.el (calc-init-extensions): Update the names of the
5859         functions being autoloaded.
5861         * calc/calc.el (calc-lu-power-reference): Rename from
5862         `calc-logunits-power-reference'.
5863         (calc-lu-field-reference): Rename from
5864         `calc-logunits-field-reference'.
5866         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5868 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5870         * minibuffer.el (completion-all-sorted-completions):
5871         Use :completion-cycle-penalty text property if present.
5873 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
5875         * allout.el (allout-yank-processing): Adjust for new rebulleting
5876         regime so bullet being yanked is used without prompting the user
5877         for a choice.
5879 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
5881         * startup.el (command-line): Warn the user that _emacs is deprecated.
5883 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
5885         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5886         (delphi-verbose, delphi-comment-face, delphi-string-face)
5887         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5888         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5889         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5890         (delphi-new-comment-line, delphi-font-lock-defaults)
5891         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5892         Fix typos in docstrings.
5894 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
5896         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
5897         Invert the roles of character and string values for INSTEAD, so a
5898         string is used for the more common case of a defaulting prompt.
5900 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5902         * progmodes/ruby-mode.el (ruby-backward-sexp):
5903         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5904         * play/gamegrid.el (gamegrid-make-face):
5905         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5906         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5907         * notifications.el (notifications-notify):
5908         * net/xesam.el (xesam-search-engines):
5909         * net/quickurl.el (quickurl-list-insert):
5910         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5912 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
5914         * startup.el (command-line): Update package subdirectory regexp.
5916 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5918         * allout.el (allout-abbreviate-flattened-numbering)
5919         (allout-mode-deactivate-hook): Fix up obsolescence "date".
5921         * subr.el (read-char-choice): Only show the cursor after the prompt,
5922         not after the answer.
5924 2011-03-15  Kevin Ryde  <user42@zip.com.au>
5926         * help-fns.el (variable-at-point): Skip leading quotes, if any
5927         (bug#8253).
5929 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5931         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5932         warning message.
5934 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
5936         * shell.el (shell): When called interactively, offer to change the
5937         shell file name on remote hosts.
5939 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
5941         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5942         integration for LDAP parameters.  The host, base, user or binddn,
5943         and secret tokens can be specified in a netrc file, for instance.
5944         This is optional because an `auth-source' parameter must be
5945         specified in the search attributes.
5947 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
5949         * help.el (describe-mode): Link to the mode's definition (bug#8185).
5951 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5953         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5954         into declaration.  Remove redundant and harmful binding.
5956 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
5958         * files.el (file-ownership-preserved-p): Pass `integer' as an
5959         explicit 2nd argument to `file-attributes'.  If the file's owner
5960         is the Administrators group on Windows, and the current user is
5961         Administrator, consider that a match.
5963         * server.el (server-ensure-safe-dir): Consider server directory
5964         safe on MS-Windows if its owner is the Administrators group while
5965         the current Emacs user is Administrator.  Use `=' to compare
5966         numerical UIDs, since they could be integers or floats.
5968 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
5970         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5972 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
5974         Sync with Tramp 2.2.1.
5976         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5978         * net/trampver.el: Update release number.
5980 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5982         * progmodes/compile.el (compilation--previous-directory): Fix up
5983         various nil/dead-marker mismatches (bug#8014).
5984         (compilation-directory-properties, compilation-error-properties):
5985         Don't call it at a position past the one we're about to change.
5987         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5988         Disable obsolescence warnings in the file that declares it.
5990 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
5992         * allout-widgets.el (allout-widgets-tally):
5993         Initialize allout-widgets-tally as a hash table rather than nil to
5994         prevent mode-line redisplay warnings.  Also, clarify the module
5995         description and fix a comment typo.
5997 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
5999         * help-fns.el (describe-variable): Don't complete keywords.
6000         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6002 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
6004         * emacs-lisp/package.el (package-version-join): Impose a standard
6005         string representation for pre/alpha/beta version lists.
6006         (package-unpack-single): Standardize the directory name by passing
6007         it through package-version-join.
6008         (package-strip-rcs-id): Accept any version string that does not
6009         signal an error in version-to-list.
6011 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
6013         * simple.el (delete-trailing-whitespace): Return nil for the
6014         benefit of `write-file-functions'.
6016 2011-03-10  Glenn Morris  <rgm@gnu.org>
6018         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6020         * vc/vc-git.el (vc-git-program): New option.
6021         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6022         (vc-git--call): Use it.
6024         * eshell/esh-util.el (eshell-condition-case): Doc fix.
6026         * cus-edit.el (Custom-newline): If no button at point, look
6027         for a subgroup button at start-of-line.  (Bug#2298)
6029         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6031 2011-03-10  Julien Danjou  <julien@danjou.info>
6033         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6034         `cursor-type' is nil.
6036 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
6038         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6040 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
6042         * allout.el Summary: Change so yank of distinctive-bullet items
6043         preserves the existing header prefix, rebulleting it if necessary,
6044         rather than replacing it.  This is necessary for proper operation
6045         of cooperative addons like allout-widgets.
6046         (allout-make-topic-prefix, allout-rebullet-heading): Change
6047         SOLICIT arg to INSTEAD, and interpret additionally a string value
6048         as alternate bullet to be used, instead of prompting the user for
6049         a bullet character.
6051 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
6053         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6054         Do not use `tramp-file-name-port', because this returns also
6055         `tramp-default-port'.
6057 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6059         * net/rcirc.el (rcirc-handler-001): Remove useless
6060         with-rcirc-process-buffer.
6061         (rcirc-check-auth-status): Swap arguments to string-match.
6063 2011-03-09  Glenn Morris  <rgm@gnu.org>
6065         * shell.el (shell-mode):
6066         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
6068         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6069         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
6071 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
6073         * emacs-lisp/package.el (package-refresh-contents)
6074         (package-menu-execute): Use condition-case-no-debug.
6076 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
6078         * simple.el (shell-command-to-string): Use `process-file'.
6080         * emacs-lisp/package.el (package-tar-file-info): Handle also
6081         remote files.
6083         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6084         Use `equal' for upload base check.
6086 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
6088         * textmodes/texinfo.el (texinfo-environments):
6089         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
6091 2011-03-08  Glenn Morris  <rgm@gnu.org>
6093         * cus-start.el (cursor-in-non-selected-windows):
6094         Fix :set quoting oddness.  (Bug#8192)
6096         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6097         in some setf expressions.  (Bug#2159)
6099 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
6101         * custom.el (custom-available-themes): Return themes in
6102         alphabetical order.
6104 See ChangeLog.15 for earlier changes.
6106 ;; Local Variables:
6107 ;; coding: utf-8
6108 ;; End:
6110   Copyright (C) 2011  Free Software Foundation, Inc.
6112   This file is part of GNU Emacs.
6114   GNU Emacs is free software: you can redistribute it and/or modify
6115   it under the terms of the GNU General Public License as published by
6116   the Free Software Foundation, either version 3 of the License, or
6117   (at your option) any later version.
6119   GNU Emacs is distributed in the hope that it will be useful,
6120   but WITHOUT ANY WARRANTY; without even the implied warranty of
6121   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6122   GNU General Public License for more details.
6124   You should have received a copy of the GNU General Public License
6125   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.