In display-buffer-record-window call point for selected window. (Bug#9626)
[emacs.git] / lisp / ChangeLog
blobb217a9093f6d7214bfdd5db3649fa90de73f2e16
1 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (display-buffer-record-window): When WINDOW is the
4         selected window use `point' instead of `window-point'.  (Bug#9626)
6         * startup.el (command-line-1): Use insert-before-markers when
7         inserting initial-scratch-message.  (Bug#9605)
9         * help.el (help-window): Remove variable.
11 2011-09-29  Glenn Morris  <rgm@gnu.org>
13         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
17         * descr-text.el (describe-char-categories): Accept category
18         descriptions more than one line long.
20 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22         * simple.el (delete-trailing-whitespace): Fix last change.
24         * progmodes/perl-mode.el (perl-syntax-propertize-function):
25         Don't confuse "y => 3" as the beginning of a `y' operation.
27         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
28         object has more than 4 slots (bug#9613).
30 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
32         * subr.el (with-output-to-temp-buffer):
33         * net/quickurl.el (quickurl, quickurl-browse-url):
34         Fix typos in docstrings.
36 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
38         * minibuffer.el (completion-styles)
39         (completion-category-overrides): Cross reference each other in doc
40         strings.
42 2011-09-27  Glenn Morris  <rgm@gnu.org>
44         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
45         to split-string.  (Bug#9606)
47 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
49         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
50         (bug#9615).
52 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
54         * emacs-lisp/package.el (list-packages): Fix echo area message.
56 2011-09-27  Leo Liu  <sdl.web@gmail.com>
58         * ido.el (ido-read-internal): Accept cons cell HIST arg.
60 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
62         * net/dbus.el (dbus-unregister-object): Don't release services for
63         registered signals.  (Bug#9581)
65 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
67         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
68         function that picks between cfengine 2 and 3 support
69         automatically.  Update docs accordingly.
71 2011-09-22  Kenichi Handa  <handa@m17n.org>
73         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
74         ZERO.
75         (indian-itrans-v5-table-for-tamil): New variable.
76         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
78 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
80         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
81         that's true if the current command involved collapsing of text.
82         It's reset to false at the beginning of the next command.
83         (allout-post-command-business): Move the cursor to the beginning
84         of entry if the cursor is hidden and collapsing activity just
85         happened.
87 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
89         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
90         tracking (Bug#9541).
92 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
94         * net/newst-reader.el (newsticker-html-renderer)
95         (newsticker-show-news): Automatically
96         load html rendering package if newsticker-html-renderer is
97         set. Fixes "Warning: defvar ignored because w3m-fill-column is
98         let-bound" and the error "Symbol's value as variable is void:
99         w3m-fill-column".
101 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
103         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
104         Release services only if they are defined.  (Bug#9581)
106 2011-09-23  Richard Stallman  <rms@gnu.org>
108         * textmodes/paragraphs.el (forward-sentence): For backwards case,
109         distinguish start of paragraph from start of its text.
111         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
113         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
114         (rmail-generate-viewer-buffer): Put that hook on view buffer.
115         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
117 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
119         * international/mule-diag.el (mule-diag): Insert a newline after
120         each fontset description.
122 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
124         * simple.el (delete-trailing-whitespace):
125         Document last change; simplify.
127 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
129         * simple.el (delete-trailing-whitespace): Also delete
130         extra newlines at the end of the buffer.
132         * textmodes/picture.el: Make motion commands obey shift-select-mode.
133         (picture-newline): Use forward-line so as to ignore fields.
135 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
137         * subr.el (with-wrapper-hook): Fix edebug spec.
139 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
141         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
142         (bug#4538).
144 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
146         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
147         Fix nasty bug using wrong cached values.
149 2011-09-23  Alan Mackenzie  <acm@muc.de>
151         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
153 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
155         * window.el (pop-to-buffer): Ensure right window is selected if we
156         chose another frame.
158 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
160         * simple.el (what-cursor-position): Use get-char-property-change
161         and next-single-char-property-change, to be able to show display
162         properties that come from overlays as well as text properties.
164 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
166         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
168         * cmuscheme.el (run-scheme, switch-to-scheme):
169         * cus-edit.el (customize-group, custom-buffer-create)
170         (customize-browse):
171         * info.el (info):
172         * shell.el (shell):
173         * mail/sendmail.el (mail):
174         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
176 2011-09-22  Richard Stallman  <rms@gnu.org>
178         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
179         move back only to line beg, don't move back over blank lines.
181 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
183         * files.el (copy-directory): Set directory attributes only in case
184         they could be retrieved from the source directory.  (Bug#9565)
186 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
188         * progmodes/hideshow.el (hs-looking-at-block-start-p)
189         (hs-find-block-beginning, hs-hide-level-recursive):
190         Ignore strings as well as comments.  (Bug#9502)
192 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
194         * progmodes/sql.el (sql-comint-postgres):
195         Convert port number to a string.  (Bug#9566)
197 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
199         * window.el (quit-window): Undedicate window when switching to
200         previous buffer.  Reported by Thierry Volpiatto
201         <thierry.volpiatto@gmail.com>.
202         (special-display-popup-frame): When popping up a new frame reset
203         its previous buffers to nil.  Simplify code.
205 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
207         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
208         and process filter, as done also in `shell-command'.
210 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
212         * window.el (set-window-buffer-start-and-point):
213         Call set-window-start with NOFORCE argument t.  Suggested by Thierry
214         Volpiatto <thierry.volpiatto@gmail.com>.
215         (quit-window): Reword doc-string.  Handle new format of
216         quit-restore parameter.  Don't delete window if it has a
217         previous buffer we can show instead of the present one.
218         (display-buffer-record-window): Rewrite using a new format for
219         the quit-restore window parameter
220         (special-display-popup-frame, display-buffer-same-window)
221         (display-buffer-reuse-window, display-buffer-pop-up-frame)
222         (display-buffer-pop-up-window, display-buffer-use-some-window):
223         Adapt symbol passed to display-buffer-record-window.
224         * help.el (help-window-setup): Handle new format of quit-restore
225         parameter.
227 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
229         * faces.el (face-list): Fix docstring (bug#9564).
231         * window.el (display-buffer--action-function-custom-type):
232         Don't include internal functions in the Custom interface.
234 2011-09-20  Juri Linkov  <juri@jurta.org>
236         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
237         (Info-forward-node, Info-backward-node, Info-next-preorder)
238         (Info-last-preorder): Use it.  (Bug#9528)
240 2011-09-20  Juri Linkov  <juri@jurta.org>
242         * info.el (Info-last-preorder): Visit last menu item only when
243         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
245 2011-09-20  Julien Danjou  <julien@danjou.info>
247         * password-cache.el (password-cache-remove): Remove entries even if the
248         value is nil, so that password with a nil value (negative caching) is
249         possible to invalidate.
251 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
253         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
254         all whitespace around breakpoint.  (Bug#9553)
255         (f90-find-breakpoint): Only break at whitespace inside a comment.
257 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
259         * minibuffer.el (completion-file-name-table): Keep track of errors.
260         (completion-table-with-predicate): Handle the case where pred1 is nil.
261         * pcomplete.el (pcomplete-completions-at-point): Simplify.
263 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
265         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
266         (debugger-return-value): Signal an error if the debugging context does
267         not await any return value.
269         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
270         * image-mode.el (image-toggle-display-text)
271         (image-toggle-display-image): Stay away from evil `intangible'.
273 2011-09-19  Leo Liu  <sdl.web@gmail.com>
275         * replace.el (occur-revert-arguments): Make it permanent-local.
276         (occur-mode): Don't call font-lock-defontify.
278 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
280         * net/ldap.el (ldap-search-internal): Don't push empty search
281         result (Bug#9508).
283 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
285         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
287 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
289         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
290         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
292 2011-09-18  Juri Linkov  <juri@jurta.org>
294         * buff-menu.el (Buffer-menu-mode-map):
295         * dired.el (dired-mode-map):
296         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
297         (lisp-interaction-mode-map):
298         * emacs-lisp/package.el (package-menu-mode-map):
299         * epa.el (epa-key-list-mode-map):
300         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
301         (menu-bar-options-menu):
302         * outline.el (outline-mode-menu-bar-map):
303         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
304         * vc/vc-dir.el (vc-dir-menu-map):
305         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
306         Capitalize non-function content words in menu item strings.
308         * dired.el (dired-mode-map): Add menu item for
309         `image-dired-dired-toggle-marked-thumbs'.
311 2011-09-18  Juri Linkov  <juri@jurta.org>
313         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
314         to `isearch-case-fold-search' and restore its original value
315         after the `isearch-mode' call.
317 2011-09-18  Juri Linkov  <juri@jurta.org>
319         * progmodes/grep.el (grep-process-setup): Don't check code for 1
320         because `zgrep' returns 1 for successful matches (bug#9226).
322 2011-09-18  Juri Linkov  <juri@jurta.org>
324         * info.el (Info-extract-menu-node-name): Check the second match
325         for empty string (second test-case of bug#9528).
326         (Info-last-preorder): Let-bind `Info-history' to nil to not add
327         intermediate nodes to the history (first test-case of bug#9528).
329 2011-09-18  Juri Linkov  <juri@jurta.org>
331         * info.el (Info-mode-syntax-table): New variable.
332         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.  (Bug#3312)
334 2011-09-18  Juri Linkov  <juri@jurta.org>
336         * info.el (Info-file-supports-index-cookies): Increment
337         line-beginning-position's arg from 3 to 4 because makeinfo outputs
338         one more line for long file names (bug#4142).
340 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
342         * newcomment.el (comment-normalize-vars): If prompting for
343         comment-start, set comment-start-skip too (Bug#8424).
345 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
347         * icomplete.el: Fix previous fix of Bug#5849.
348         (icomplete-mode): Don't set completion-show-inline-help.
349         (icomplete-minibuffer-setup): Set completion-show-inline-help
350         locally during icompletion.
352 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
354         * woman.el (woman2-process-escapes): Don't delete unrecognized
355         escapes (Bug#7843).
357         * files.el (inhibit-first-line-modes-regexps): Add image files.
358         (hack-local-variables-prop-line): Return nil for malformed
359         prop-lines (Bug#9044).
361 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
363         * net/tramp.el (top): Don't require 'shell.
364         (tramp-methods): Fix docstring.
365         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
366         Return complete remote file name.  Handle "smb" case.
367         Use `tramp-tmpdir', if defined for the respective method.
368         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
370         * net/tramp-compat.el (top): Require 'shell.
372         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
373         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
374         `tramp-current-host'.
375         (tramp-get-remote-tmpdir): Remove.
377         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
378         `tramp-tmpdir' entries.
379         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
380         (tramp-smb-handle-file-attributes): Ignore errors.
381         (tramp-smb-wait-for-output): Check also for process end.
383 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
385         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
386         when sending QUIT (bug#9312).
388 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
390         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
391         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
392         occur-mode-display-occurrence.
393         (occur-edit-mode): Add usage message.
394         (occur-cease-edit): New command.
395         (occur-after-change-function): Use text properties to find the
396         position of the prefix text.
397         (occur-engine): Set stickiness of prefix text properties.
399 2011-09-17  Glenn Morris  <rgm@gnu.org>
401         * progmodes/etags.el (complete-tag):
402         Fix call to completion-in-region.  (Bug#9526)
404 2011-09-17  Juri Linkov  <juri@jurta.org>
406         * textmodes/ispell.el (ispell-word): Add to the error message
407         the word, ispell program name and current dictionary (bug#9121).
408         (ispell-tex-arg-end): Capitalize "error" in the error message.
410 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
412         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
413         check.  (Bug#4251)
415 2011-09-17  Juri Linkov  <juri@jurta.org>
417         * window.el (window-safe-min-height, window-safe-min-width):
418         Fix typos (followup to bug#9522).
420 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
422         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
424 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
426         * simple.el (line-move): If goal-column is set, move by logical
427         lines, not by display lines.  (Bug#971)
428         (next-line, previous-line, goal-column, line-move-visual): Doc fix
429         to reflect the above change.
431 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
433         * image.el (imagemagick-register-types): Use regexp-opt.
435 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
437         * window.el (display-buffer-base-action): Rename from
438         display-buffer-default-action.  Make default value empty.
439         (display-buffer-overriding-action): Convert to defvar.
440         (display-buffer-fallback-action): New var.
442 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
444         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
445         declaration.
446         (package--add-to-archive-contents): If there is a duplicate entry
447         with an older version, remove it.
448         (package-menu-mark-delete, package-menu-mark-install)
449         (package-menu-mark-unmark): Make unused args optional.
450         (package-menu-mark-obsolete-for-deletion):
451         Use package-menu-get-status instead of a regexp search.
452         (package-menu-get-status): Use tabulated-list-entry.
453         (package-menu-mark-upgrades): New command.
454         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
455         (package-menu-execute): Do installation before deletion.
456         (package-menu-refresh, package-menu-execute): Use derived-mode-p
457         instead of checking major-mode.
458         (package-menu--find-upgrades): New function.
460 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
462         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
463         passwords in the log buffer.
464         (smtpmail-process-filter): Update the process marker so that the
465         "broken by peer" status message is inserted in the right place.
467 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
469         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
470         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
471         bibtex-completion-at-point-function.
472         (bibtex-completion-at-point-function): Use them.
474         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
476         * mpc.el (mpc-constraints-tag-lookup): New function.
477         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
478         also to browser "album|playlist".
480 2011-09-14  Juri Linkov  <juri@jurta.org>
482         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
483         (isearch-edit-string): Use length of `isearch-string' when
484         `isearch-fail-pos' returns nil.
485         (isearch-message): Remove duplicate code and call
486         `isearch-fail-pos' with arg `t'.
488 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
490         * replace.el (occur-mode-goto-occurrence): Don't force using other
491         window (Bug#9499).
493         * dired-aux.el (dired-do-chmod): Don't provide initial input.
495 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
497         * window.el (display-buffer-window): Remove.
498         (display-buffer-record-window): Use help-setup window parameter
499         instead of variable display-buffer-window.
500         (display-buffer-function, special-display-buffer-names)
501         (special-display-function): Mention help-setup parameter instead
502         of display-buffer-window in doc-string.
503         * help.el (help-window-setup): New argument help-window.
504         Use help-window-setup parameter instead of display-buffer-window.
505         Reword some messages.
506         (with-help-window): Pass window used for displaying the buffer
507         to help-window-setup.  Don't set display-buffer-window.
509 2011-09-13  Glenn Morris  <rgm@gnu.org>
511         * emacs-lisp/debug.el (debugger-make-xrefs):
512         Preserve point.  (Bug#9462)
514 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
516         * window.el (window-deletable-p): Use next-frame.
518 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
520         * window.el (window-auto-delete): Remove.
521         (window-deletable-p): Remove argument FORCE.  Don't deal with
522         dedicatedness and previous buffers.
523         (switch-to-prev-buffer): Don't delete window.
524         (delete-windows-on): Delete a window's frame if and only if the
525         window is dedicated.
526         (replace-buffer-in-windows): Delete buffer's window or frame if
527         and only if window is dedicated.
528         (quit-window): Handle quit-restore as before last change.
529         (bury-buffer): Delete window only if window-deletable-p returns t.
531 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
533         * window.el (window-deletable-p): Never delete the last frame on a
534         given terminal.
536 2011-09-13  Glenn Morris  <rgm@gnu.org>
538         * help.el (describe-key-briefly): Copy previous standard-output change.
540 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>  (tiny change)
542         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
544 2011-09-13  Glenn Morris  <rgm@gnu.org>
546         * emacs-lisp/lisp-mode.el (lisp-indent-function):
547         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
549 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
551         * dired-aux.el (dired-mark-read-string): Don't return default
552         value on empty input (Bug#9361).
553         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
554         Omit initial minibuffer contents.
555         (dired-do-chmod): Signal an error on empty input.
556         (dired-mark-read-string): Don't return default on empty input.
558         * files.el (file-modes-symbolic-to-number): Doc fix.
560 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
562         * international/mule-cmds.el (ucs-completions): Remove.
563         (read-char-by-name): Use complete-with-action instead; add metadata.
565 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
567         * window.el (display-buffer--action-function-custom-type)
568         (display-buffer--action-custom-type): New vars.
569         (display-buffer-alist, display-buffer-default-action)
570         (display-buffer-overriding-action): Add defcustom types.
572         * frame.el (delete-other-frames): Doc fix (Bug#276).
574 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
576         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
578 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
580         Change modes that used same-window-* vars to use switch-to-buffer.
582         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
583         Use switch-to-buffer.
585         * cus-edit.el (customize-group, custom-buffer-create)
586         (customize-browse, custom-buffer-create-other-window):
587         Use switch-to-buffer or switch-to-buffer-other-window.
589         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
590         (Info-prev, Info-up, Info-speedbar-goto-node)
591         (info-display-manual): Use switch-to-buffer.
592         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
594         * mail/sendmail.el (mail): Use switch-to-buffer.
595         (mail-recover): Use switch-to-buffer-other-window.
597         * cmuscheme.el (run-scheme, switch-to-scheme):
598         * ielm.el (ielm):
599         * shell.el (shell):
600         * net/rlogin.el (rlogin):
601         * net/telnet.el (telnet, rsh):
602         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
604 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
606         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
608 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
610         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
611         so don't mention it (bug#9301).
612         (dired-sort-toggle-or-edit): Clarify string further.
614         * faces.el (face-spec-set-match-display): Make `(type graphic)'
615         match `x', `w32' and `ns', like the manual says (bug#9029).
617         * subr.el (eval-after-load): Doc string clarification (bug#9125).
618         (process-kill-buffer-query-function): Mention the buffer name in
619         the query.
621         * image-mode.el (image-next-line): The line parameter is mandatory
622         (bug#9258).
624         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
625         which can be useful (bug#9301).
627         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
629         * subr.el (match-string): Mention that the current buffer should
630         be the same as the search was done in (bug#9282).
632         * facemenu.el: Disable the remove-* commands if the mark isn't
633         active (bug#9162).
635 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
637         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
638         of display-buffer.
639         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
641         * replace.el (occur-mode-goto-occurrence)
642         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
643         and display-buffer.
645         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
646         display-buffer.
648         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
649         special-display and same-window variables.
650         (mail-other-window): Use switch-to-buffer-other-window.
651         (mail-other-frame): USe switch-to-buffer-other-frame.
653         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
654         Use display-buffer-other-frame.
655         (gdb-display-gdb-buffer): Use pop-to-buffer.
657         * progmodes/gud.el (gud-goto-info): Use info-other-window.
659         * progmodes/python.el: Don't set same-window-buffer-names.
661         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
663         * window.el (display-buffer-alist): Add *Python*.
665 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
667         * window.el (display-buffer-alist): Add entry for buffers
668         previously handled same-window-*.
669         (display-buffer-alist, display-buffer-default-action)
670         (display-buffer-overriding-action): Mark as risky.
671         (display-buffer-alist): Document action function changes.
672         (display-buffer--same-window-action)
673         (display-buffer--other-frame-action): New variables.
674         (switch-to-buffer, display-buffer-other-frame): Use them.
675         (display-buffer): Rename reuse-frame entry to reusable-frames.
676         (display-buffer-reuse-selected-window): Function deleted.
677         (display-buffer-reuse-window): Handle reusable-frames alist entry.
678         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
679         (display-buffer-special): New function.
680         (display-buffer--maybe-pop-up-frame-or-window): Rename from
681         display-buffer-reuse-or-pop-window.  Split off special-display
682         part into display-buffer-special.
683         (display-buffer-use-some-window): Don't perform any special
684         pop-up-frames handling.
685         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
686         (display-buffer--maybe-same-window): Rename from
687         display-buffer-maybe-same-window.
689         * info.el: Don't set same-window-regexps.
690         (info-setup): New function.
691         (info-other-window, info): Call it.
693         * cus-edit.el: Don't set same-window-regexps.
694         (customize-group): New argument.
695         (customize-group-other-window): Use it.
696         (customize-face, customize-face-other-window): Likewise.
697         (custom-buffer-create-other-window): Use pop-to-buffer directly.
699         * net/rlogin.el:
700         * net/telnet.el:
701         * progmodes/gud.el: Don't set same-window-regexps.
703         * cmuscheme.el:
704         * ielm.el:
705         * shell.el:
706         * mail/sendmail.el:
707         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
709 2011-09-10  Juri Linkov  <juri@jurta.org>
711         * isearch.el (isearch-edit-string): Remove obsolete mention of
712         `C-w' (`isearch-yank-word-or-char') from docstring.
713         (isearch-query-replace): Fix typo in docstring (bug#9466).
715 2011-09-10  Juri Linkov  <juri@jurta.org>
717         * paren.el (show-paren-function): Don't show escaped parens.
718         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
720 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
722         * mail/sendmail.el (mml-to-mime, mml-attach-file)
723         (mm-default-file-encoding): Remove autoload forms, they are
724         replaced with autoload cookies in mml.el and mm-encode.el.
725         (mail-add-attachment): New command.
726         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
727         (mail-mode): Mention mail-insert-file and mail-add-attachment in
728         the doc string.
729         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
731 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
733         * simple.el (count-words-region): Use buffer if there's no region
734         (bug#9429).
736 2011-09-09  Juri Linkov  <juri@jurta.org>
738         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
739         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
740         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
742 2011-09-09  Alan Mackenzie  <acm@muc.de>
744         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
745         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
747 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
749         Fix for Savannah bug#9392.
750         * simple.el (mail-encode-mml): New defvar.
752         * mail/rmail.el (mail-encode-mml): Add a defvar.
753         (rmail-enable-mime-composing): Default to t.
754         (rmail-forward): Use MIME method of forwarding only if both
755         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
756         Set mail-encode-mml non-nil if the MIME method was used.
758         * mail/sendmail.el (mml-to-mime): Add autoload form.
759         (mail-encode-mml): Add a defvar.
760         (mail-mode): Make mail-encode-mml buffer-local and initialize it
761         to nil.
762         (mail-send): If mail-encode-mml is non-nil, run the outgoing
763         message through mml-to-mime, and reset mail-encode-mml to nil.
765 2011-09-09  Glenn Morris  <rgm@gnu.org>
767         * woman.el (woman-if-body): When processing an .el block,
768         do not delete the next .el block as well.  (Bug#9447)
769         (woman-special-characters): Add oq, cq, and hy characters.
771 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
773         * window.el (window-deletable-p): Make sure window is live before
774         invoking window-prev-buffers.
776 2011-09-08  Leo Liu  <sdl.web@gmail.com>
778         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
780 2011-09-08  Juri Linkov  <juri@jurta.org>
782         * progmodes/compile.el (compilation-environment): Make it
783         a defcustom (bug#8340).
785 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
787         * window.el (frame-auto-delete): Rename to window-auto-delete.
788         Make it control auto-deletion of windows and/or frames.
789         (window-deletable-p): New argument FORCE.  Rewrite conditions
790         for deleting window/frame.  (Bug#9419)
791         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
792         Rewrite handling of case when window/frame can be deleted.
793         (delete-windows-on): Call window-deletable-p with new FORCE
794         argument t.  (Bug#9456)
796 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
798         * help-mode.el (help-mode): Restore autoload.
800 2011-09-07  Juri Linkov  <juri@jurta.org>
802         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
803         `compilation-environment'.  Set buffer-local
804         `compilation-environment' to `thisenv' later after (funcall mode).
805         (Bug#8340)
807         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
808         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
809         instead of replacing its value.  (Bug#8340)
811 2011-09-07  Juri Linkov  <juri@jurta.org>
813         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
814         based on text properties put by `grep-filter' instead of matching
815         escape sequences.
816         (grep-mode): Set buffer-local `compilation-error-screen-columns'
817         to the value of `grep-error-screen-columns' (bug#9438).
819 2011-09-07  Juri Linkov  <juri@jurta.org>
821         * simple.el (next-error-highlight, next-error-highlight-no-select):
822         Doc fix (bug#9432).
824 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
826         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
827         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
829 2011-09-07  Leo Liu  <sdl.web@gmail.com>
831         * net/rcirc.el (rcirc-mode): Conditionally initialize
832         rcirc-input-ring.
834 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
836         * emacs-lisp/find-func.el (find-function-C-source): Only set
837         find-function-C-source-directory after checking that we found a source
838         file there (bug#9440).
840 2011-09-06  Alan Mackenzie  <acm@muc.de>
842         * isearch.el (isearch-other-meta-char): Wherever a key list is
843         unread, "unread" the prefix arg, too.  This fixes bug #8901.
845 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
847         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
849 2011-09-05  Juri Linkov  <juri@jurta.org>
851         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
853 2011-09-05  Juri Linkov  <juri@jurta.org>
855         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
856         keeping point where processing of grep matches begins, and
857         continue to delete remaining escape sequences from the same point.
858         (grep-filter): Make leading zero optional in "0?1;31m" because
859         git-grep emits "\033[1;31m" escape sequences unlike expected
860         "\033[01;31m" as GNU Grep does (bug#9408).
861         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
863 2011-09-05  Juri Linkov  <juri@jurta.org>
865         * subr.el (y-or-n-p): Capitalize "yes".
867 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
869         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
870         `tramp-cache-unload-hook' where appropriate.
871         (tramp-methods): Rename `tramp-remote-sh' to
872         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
873         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
875         * net/tramp-sh.el (top): Don't require 'shell.
876         (tramp-methods): Add `tramp-remote-shell' and
877         `tramp-remote-shell-args' entries.
878         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
879         (tramp-sh-handle-shell-command): Remove.
880         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
881         Use `tramp-remote-shell'.
883 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
885         * mail/sendmail.el (sendmail-query-once-function): Delete.
886         (sendmail-query-once): Save directly to send-mail-function.
887         Update message-send-mail-function too.
889         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
891 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
893         * progmodes/python.el (python-mode-map): Use correct function to
894         start python interpreter from menu-bar (as reported by Geert
895         Kloosterman).
896         (inferior-python-mode-map): Fix typo.
897         (python-shell-map): Remove.
899 2011-09-03  Deniz Dogan  <deniz@dogan.se>
901         * net/rcirc.el (rcirc-print): Simplify code for
902         rcirc-scroll-show-maximum-output.  There is no need to walk
903         through all windows to find the right one.
905 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
907         * help.el (help-return-method): Doc fix.
909 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
911         * window.el (window-deletable-p): Don't return a non-nil value
912         when there's a buffer that was shown in the window before.
913         (Bug#9419)
914         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
915         Set window's previous buffers to nil.
917 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
919         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
920         newline before and after the tag line, so it doesn't interfere
921         with determining the paragraph direction of bidirectional text.
923 2011-09-03  Leo Liu  <sdl.web@gmail.com>
925         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
927 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
929         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
930         (pop-to-buffer): Change interactive spec.  Pass second argument
931         directly to display-buffer.
932         (display-buffer): Fix interactive spec.  Use functionp to
933         distinguish between a function and a list of functions.
935         * abbrev.el (edit-abbrevs):
936         * arc-mode.el (archive-extract):
937         * autoinsert.el (auto-insert):
938         * bookmark.el (bookmark-bmenu-list):
939         * files.el (find-file):
940         * view.el (view-buffer):
941         * progmodes/compile.el (compilation-goto-locus):
942         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
944 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
946         * window.el (display-buffer-alist): Doc fix.
947         (display-buffer): Add docstring.  Don't treat
948         display-buffer-default specially.
949         (display-buffer-reuse-selected-window)
950         (display-buffer-same-window, display-buffer-maybe-same-window)
951         (display-buffer-reuse-window, display-buffer-pop-up-frame)
952         (display-buffer-pop-up-window)
953         (display-buffer-reuse-or-pop-window)
954         (display-buffer-use-some-window): New functions.
955         (display-buffer-default-action): Use them.
956         (display-buffer-default): Delete.
957         (pop-to-buffer-1): Fix choice of actions.
959 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
961         * minibuffer.el (completion--insert-strings): Don't get confused by
962         completion entries that end with an LF char.
964 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
966         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
968 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
970         * window.el (display-buffer): Restore interactive spec.
971         (display-buffer-same-window, display-buffer-other-window):
972         New functions.
973         (pop-to-buffer-1): New function.  Use the above.
974         (pop-to-buffer, pop-to-buffer-same-window): Use it.
975         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
977         * view.el (view-buffer-other-window, view-buffer-other-frame):
978         Just use pop-to-buffer.
980 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
982         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
984 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
986         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
988 2011-08-31  Richard Stallman  <rms@gnu.org>
990         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
991         of the separation of rmail-view-buffer from rmail-buffer.
992         If you say no to "replace original", the decrypt is in the
993         view buffer.  If you say yes, the decrypt goes into the
994         rmail buffer also.
996 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
998         * window.el (display-buffer-window): Rewrite doc-string.
999         (display-buffer-record-window): New function.
1000         (display-buffer-macro-specifiers)
1001         (display-buffer-even-window-sizes, display-buffer-set-height)
1002         (display-buffer-set-width, display-buffer-in-window)
1003         (display-buffer-reuse-window, display-buffer-split-specifiers)
1004         (display-buffer-side-specifiers, display-buffer-split-window-1)
1005         (display-buffer-split-window, display-buffer-split-atom-window)
1006         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1007         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1008         (display-buffer-other-window-means-other-frame)
1009         (display-buffer-normalize-special)
1010         (display-buffer-normalize-default)
1011         (display-buffer-normalize-argument)
1012         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1013         (display-buffer-normalize-specifiers, display-buffer-frame)
1014         (display-buffer-same-window, display-buffer-same-frame)
1015         (display-buffer-other-window)
1016         (display-buffer-same-frame-other-window)
1017         (display-buffer-other-frame, pop-to-buffer-same-window)
1018         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1019         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1020         (switch-to-buffer-same-frame)
1021         (switch-to-buffer-other-window-same-frame)
1022         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1023         (display-buffer-alist-set-1, display-buffer-alist-set-2)
1024         (display-buffer-alist-set): Remove.
1025         (display-buffer-function, special-display-buffer-names)
1026         (special-display-regexps, special-display-function):
1027         In doc-string refer to display-buffer-window and quit-restore
1028         parameter.
1029         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1030         (special-display-frame-alist, special-display-popup-frame)
1031         (same-window-buffer-names, same-window-regexps, same-window-p)
1032         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1033         (split-window-preferred-function, split-height-threshold)
1034         (split-width-threshold, window-splittable-p)
1035         (split-window-sensibly, window--try-to-split-window)
1036         (window--frame-usable-p, even-window-heights)
1037         (window--even-window-heights, window--display-buffer-1)
1038         (window--display-buffer-2, display-buffer-other-frame):
1039         Restore old Emacs 23 code, order and doc-strings where applicable.
1040         (display-buffer-default, display-buffer-assq-regexp): New functions.
1041         (display-buffer-alist): Rewrite doc-string.
1042         (display-buffer-default-action)
1043         (display-buffer-overriding-action): New variables.
1044         (display-buffer, switch-to-buffer): Rewrite.
1045         (pop-to-buffer): Restore Emacs 23 behavior but use
1046         window-normalize-buffer-to-display.
1047         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1048         Restore Emacs 23 behavior but use
1049         window-normalize-buffer-to-switch-to.
1050         (pop-to-buffer-same-window): Rewrite.
1051         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1052         Rewrite using Emacs 23 options.
1054 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
1056         * net/tramp.el (tramp-root-regexp): Remove.
1057         (tramp-completion-file-name-regexp-unified)
1058         (tramp-completion-file-name-regexp-separate)
1059         (tramp-completion-file-name-regexp-url): Don't use leading volume
1060         letter on win32 systems.  (Bug#5303, Bug#9311)
1061         (tramp-drop-volume-letter): Simplify definition.
1062         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1064 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1067         (bug#9356).
1069 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
1071         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
1073 2011-08-29  Juri Linkov  <juri@jurta.org>
1075         * isearch.el (isearch-done): Don't display message "Mark saved"
1076         when arg `edit' is non-nil to prevent its flicker in the echo area.
1078 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1080         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1081         obsolete packages for deletion.
1083 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
1085         * help-mode.el (help-mode-map): Add special-mode-map to parent.
1086         (help-mode): Derive help-mode from special-mode.  Don't invoke
1087         view-mode from help-mode.
1088         (help-xref-override-view-map): Remove.
1089         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1090         view-mode is not used anymore.
1092 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1094         * server.el (server-port): Doc fix.
1096         * cus-theme.el (custom-theme-choose-mode): Inherit from
1097         special-mode (Bug#9124).
1098         (custom-theme-choose-mode-map): Add special-mode to parent.
1100 2011-08-28  Alan Mackenzie  <acm@muc.de>
1102         * progmodes/cc-fonts.el
1103         (c-make-font-lock-BO-decl-search-function): New function.
1104         (c-basic-matchers-after - "Fontify the clauses after various
1105         keywords"): Extract the three keyword lists for the 3 erroneous
1106         constructs from the list of four, and use the new function above
1107         in place of an old one.
1109 2011-08-28  Deniz Dogan  <deniz@dogan.se>
1111         * net/rcirc.el (rcirc-insert-prev-input)
1112         (rcirc-insert-next-input): Remove unused argument.
1114 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1116         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1118 2011-08-27  Alan Mackenzie  <acm@muc.de>
1120         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1121         handle function pointer parameters properly.
1123 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
1125         * window.el (display-buffer-reuse-window): Fix case where
1126         selected window was reused with non-nil OTHER-WINDOW argument.
1127         (Bug#9381)
1129 2011-08-27  Deniz Dogan  <deniz@dogan.se>
1131         * net/rcirc.el (rcirc-check-auth-status): Adding support for
1132         oftc's NickServ messages.
1134 2011-08-27  Glenn Morris  <rgm@gnu.org>
1136         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
1138 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
1140         * emacs-lisp/package.el (package-install): Call package-initialize
1141         if called interactively.
1143 2011-08-26  Leo Liu  <sdl.web@gmail.com>
1145         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
1147 2011-08-25  Juri Linkov  <juri@jurta.org>
1149         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1150         `search-whitespace-regexp' (bug#9364).
1152 2011-08-25  Juri Linkov  <juri@jurta.org>
1154         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1155         `regexp-search-ring' to their global values to protect from
1156         updating by `read-from-minibuffer' (bug#9185).
1158 2011-08-25  Juri Linkov  <juri@jurta.org>
1160         * textmodes/ispell.el (ispell-command-loop): Add newline
1161         at the end of the "Use option `i'..." line.
1163 2011-08-25  Juri Linkov  <juri@jurta.org>
1165         * battery.el (display-battery-mode): If `battery-status-function'
1166         or `battery-mode-line-format' is nil, display the message and set
1167         `display-battery-mode' to nil (bug#9363).
1169 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
1171         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1172         bidi-string-mark-left-to-right; they are unnecessary now.
1174 2011-08-25  Deniz Dogan  <deniz@dogan.se>
1176         * net/quickurl.el: Documentation typo fixes.
1178 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
1180         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1182 2011-08-25  Glenn Morris  <rgm@gnu.org>
1184         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1186         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1187         (smtpmail-via-smtp): Handle nil response from smtp.
1189 2011-08-24  Juri Linkov  <juri@jurta.org>
1191         * proced.el (proced-marked): Inherit from `error' instead of
1192         `font-lock-warning-face'.
1194         * ibuffer.el (ibuffer-marked-face): Change default face from
1195         `font-lock-warning-face' to `warning'.
1196         (ibuffer-deletion-face): Change default face from
1197         `font-lock-type-face' to `error'.
1199         * battery.el (battery-update): Use the face `error' instead of
1200         `font-lock-warning-face' (bug#6117).
1202 2011-08-24  Juri Linkov  <juri@jurta.org>
1204         * faces.el (success): Change face color from "Green3" to
1205         "ForestGreen" on light background (bug#9353).
1207 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
1209         * window.el (quit-window): Rename from quit-restore-window.
1210         Use same arglist as old quit-window.
1211         (frame-auto-delete): Doc fix.
1213         * view.el (view-mode-exit): Use quit-window.
1215 2011-08-24  Juri Linkov  <juri@jurta.org>
1217         * isearch.el (isearch-ring-adjust1): Start visiting previous
1218         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1219         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1220         for empty search string (when the last search string is reused
1221         automatically) to adjust the isearch ring to the last element and
1222         prepare the correct index for further M-p commands (bug#9185).
1224 2011-08-24  Kenichi Handa  <handa@m17n.org>
1226         * international/ucs-normalize.el: If decomposition property of
1227         CHAR is the default one (i.e. a list of CHAR itself), treat it as
1228         nil.
1229         (nfd, nfkd): Likewise.
1231 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1233         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1234         from process filters aren't reliably transmitted to the surrounding
1235         accept-process-output.
1236         (mpc-proc-check): New function.
1237         (mpc-proc-sync): Use it (bug#8293)
1239 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1241         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1242         Add compatibility functions (bug#9313).
1244 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
1246         * cus-start.el (all): Add entry for bidi-paragraph-direction.
1248         * international/uni-bidi.el: Regenerated.
1250 2011-08-23  Kenichi Handa  <handa@m17n.org>
1252         * international/charprop.el:
1253         * international/uni-bidi.el:
1254         * international/uni-category.el:
1255         * international/uni-combining.el:
1256         * international/uni-comment.el:
1257         * international/uni-decimal.el:
1258         * international/uni-decomposition.el:
1259         * international/uni-digit.el:
1260         * international/uni-lowercase.el:
1261         * international/uni-mirrored.el:
1262         * international/uni-name.el:
1263         * international/uni-numeric.el:
1264         * international/uni-old-name.el:
1265         * international/uni-titlecase.el:
1266         * international/uni-uppercase.el: Regenerate.
1268 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
1270         * help.el (help-window-setup): Fix message displayed when other
1271         window is reused.  (Bug#9341)
1273 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1275         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1276         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1278         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1279         Mark obsolete.
1280         * shell.el (shell-parse-pcomplete-arguments): New function.
1281         (shell-completion-vars): Use it instead (bug#9160).
1283 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1285         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1286         strings and comments (bug#9333).
1288         * emacs-lisp/debug.el (debug-arglist): New function.
1289         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
1290         (debug-on-entry-1): Handle interpreted closures (bug#9120).
1292 2011-08-22  Juri Linkov  <juri@jurta.org>
1294         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1295         Revert regexp that highlights output switches to its old
1296         pre-2010-10-28 value and remove one `?' from it (bug#9319).
1298         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1299         to check for empty output (bug#9226).
1301 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
1303         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1304         symbol-constituent as the default, as that stops font-lock from
1305         working properly (Bug#8843).
1307 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1309         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1310         `coding-system-for-*' around the process open call to avoid
1311         auth-source side effects.
1312         (smtpmail-try-auth-methods): Expand the secret password.
1313         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1314         probe hangs.
1316 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
1318         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1320         * emacs-lisp/find-func.el (find-function-noselect): New arg
1321         lisp-only.
1323         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1324         signal an error for built-in functions (Bug#6664).
1326 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1328         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1329         (smtpmail-try-auth-methods): Use it.
1331 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
1333         * font-lock.el (font-lock-fontify-region)
1334         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1335         (font-lock-default-unfontify-buffer)
1336         (font-lock-default-fontify-region)
1337         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1339         * progmodes/compile.el (compilation-error-properties):
1340         Fix confusion between file struct and message struct (Bug#9319).
1341         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1342         `ant' regexp.
1344         * net/browse-url.el (browse-url-firefox): Don't call
1345         browse-url-firefox-sentinel unless using -remote (Bug#9328).
1347 2011-08-20  Glenn Morris  <rgm@gnu.org>
1349         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1351         * tutorial.el (tutorial--default-keys): Update some default bindings.
1353         * files.el (hack-local-variables): Fully ignore case for "mode:".
1355 2011-08-20  Alan Mackenzie  <acm@muc.de>
1357         Resolve invalid use of a regexp in regexp-opt.
1359         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1360         detection for a java annotation.
1362         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
1363         detection for a java annotation.
1365         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1366         handling for java.
1367         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1369 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
1371         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1372         (Bug#9274).
1374 2011-08-20  Alan Mackenzie  <acm@muc.de>
1376         * Fontify CPP expressions correctly when starting in the middle of
1377         such a construct.  Mainly for when jit-lock etc. starts a chunk
1378         here.
1380         * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1381         variable.
1382         (c-make-font-lock-search-form): new function, extracted from
1383         c-make-font-lock-search-function.
1384         (c-make-font-lock-search-function): Use the above function.
1385         (c-make-font-lock-context-search-function): New function.
1386         (c-cpp-matchers): Enhance the preprocessor expression case with
1387         the above function
1388         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1389         which takes an expression.
1391         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1393 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
1395         * window.el (display-buffer-reuse-window)
1396         (display-buffer-pop-up-window): Don't reuse or split a side
1397         window.
1399 2011-08-19  Glenn Morris  <rgm@gnu.org>
1401         * files.el (hack-local-variables-prop-line, hack-local-variables):
1402         Downcase "Mode:".  (Bug#9331)
1404 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
1406         * international/characters.el: Add L and R categories.
1408         * subr.el (bidi-string-mark-left-to-right): Rename from
1409         string-mark-left-to-right.  Use category search.
1411         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
1413 2011-08-18  Juri Linkov  <juri@jurta.org>
1415         * faces.el (error, warning, success): New faces with definitions
1416         copied from old default values of `font-lock-warning-face',
1417         `compilation-warning', `compilation-info' (bug#6117).
1419         * font-lock.el (font-lock-warning-face): Inherit from `error'.
1421         * progmodes/compile.el (compilation-error): Inherit from `error'.
1422         (compilation-warning): Inherit from `warning'.
1423         (compilation-info): Inherit from `success'.
1425         * dired.el (dired-marked): Inherit from `warning'.
1426         (dired-flagged): Inherit from `error'.
1428 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1430         * mail/smtpmail.el (auth-source): Require to avoid problems with
1431         binding variables (bug#9298).  Also clean up some unused
1432         autoloads.
1434         * net/network-stream.el (network-stream-open-starttls):
1435         Support using starttls.el without using gnutls-cli.
1437 2011-08-17  Juri Linkov  <juri@jurta.org>
1439         * progmodes/grep.el (rgrep): Handle the case when
1440         `grep-find-command' is a cons cell (bug#9278).
1442 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
1444         * window.el (display-buffer-pop-up-frame): Run frame creation
1445         function with BUFFER current (as special-display-popup-frame
1446         does).  Reported by Drew Adams.
1448 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
1450         * epa-mail.el: Simplify GnuPG group expansion using
1451         epg-expand-group.
1452         (epa-mail-group-alist, epa-mail-group-modtime)
1453         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
1454         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
1455         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
1456         Remove.
1458 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
1460         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
1462 2011-08-16  Alan Mackenzie  <acm@muc.de>
1464         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
1465         Correct, to avoid the inside of macros.
1467 2011-08-16  Richard Stallman  <rms@gnu.org>
1469         * epa-mail.el: Handle GnuPG group definitions.
1470         (epa-mail-group-alist, epa-mail-group-modtime)
1471         (epa-mail-gnupg-conf-file): New variables.
1472         (epa-mail-parse-groups, epa-mail-sync-groups)
1473         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
1474         (epa-mail-expand-recipients): New functions.
1475         (epa-mail-encrypt): Call epa-mail-expand-recipients.
1477         * mail/rmail.el (rmail-epa-decrypt): New command.
1479         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
1480         Don't bind buffer-read-only, just inhibit-read-only.
1481         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
1482         (epa-decrypt-armor-in-region): Make error message clearer.
1484 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1486         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
1487         and "a2b" to "ab" for `prefix'.
1489 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
1491         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
1492         filter groups.
1493         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
1494         Fourquet (Bug#8804).
1496 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
1498         * startup.el (argi): Declare as global variable (bug#9275).
1500 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
1502         * subr.el (string-mark-left-to-right): Search the entire string
1503         for RTL script, not just the terminating character.  Doc fix.
1505 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
1508         New function.
1509         (js--regexp-literal, js-syntax-propertize-function): Remove.
1510         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1511         (js-mode-map): Don't rebind electric keys.
1512         (js-insert-and-indent): Remove.
1513         (js-mode): Setup electric-layout and electric-indent instead.
1515         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1517 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
1519         * epa.el (epa-progress-callback-function): Fix the logic of
1520         displaying progress.
1521         * epa-file.el (epa-file-insert-file-contents): Make progress
1522         display more user-friendly.
1523         (epa-file-write-region): Ditto.
1525 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
1527         * subr.el (string-mark-left-to-right): New function.
1529         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1530         Use string-mark-left-to-right.
1531         (list-buffers-noselect): Caller changed.
1533         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1534         Use string-mark-left-to-right.
1535         (tabulated-list-print): Recenter after moving point.
1537 2011-08-10  Juri Linkov  <juri@jurta.org>
1539         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1540         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1541         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1543 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
1545         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1546         (Bug#7554).
1548 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1550         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1551         character.  (Bug#6594)
1553 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
1555         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1556         (image-dired--with-db-file): New macro.
1557         (image-dired-write-tags, image-dired-remove-tag)
1558         (image-dired-create-gallery-lists, image-dired-write-comments)
1559         (image-dired-get-comment, image-dired-mark-tagged-files)
1560         (image-dired-list-tags, image-dired-gallery-generate): Use it.
1561         (image-dired-gallery-generate): Use insert-file-contents.
1563         * time.el (display-time-world-list, display-time-world-display):
1564         * time-stamp.el (time-stamp-string):
1565         * vc/add-log.el (add-change-log-entry): Use setenv instead of
1566         set-time-zone-rule (Bug#7337).
1568 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
1570         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1571         (epg-error-to-string, epg-errors-to-string): New function.
1572         (epg-wait-for-completion): Reverse errors list.
1573         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1574         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1575         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1576         (epg-sign-keys, epg-generate-key-from-file)
1577         (epg-generate-key-from-string): Format errors by using
1578         epg-errors-to-string (bug#9255).
1579         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1581 2011-08-07  Juri Linkov  <juri@jurta.org>
1583         * faces.el (list-faces-display): Remove extra angle bracket
1584         from `help-mode-map'.
1586         * info.el (Info-history-toc-nodes): Doc fix.
1588         * longlines.el (longlines-mode): Doc fix.
1590 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1592         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1593         of statements and in a few more cases (bug#9183).
1595         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1596         New functions.
1597         (cl-transform-lambda): Use them (bug#9239).
1599 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
1601         * window.el (display-buffer-same-window)
1602         (display-buffer-same-frame, display-buffer-other-window)
1603         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1604         (pop-to-buffer-other-window)
1605         (pop-to-buffer-same-frame-other-window)
1606         (pop-to-buffer-other-frame): Make them defuns.
1607         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1609 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1611         * subr.el (make-composed-keymap): Move from C.  Change calling
1612         convention, and improve docstring to bring attention to a subtle point.
1613         * minibuffer.el (completing-read-default): Adjust accordingly.
1615 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
1617         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1618         (tramp-open-shell): Use `tramp-shell-quote-argument'.
1620         * net/trampver.el: Update release number.
1622 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1624         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1625         "in" (bug#9190).
1627 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1629         * mail/sendmail.el (sendmail-query-once): Restore the current
1630         buffer after querying (bug#9074).
1632         * dired.el (dired-flagged): Use different faces for marked and
1633         flagged files (bug#6117).
1635         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1636         (bug#4433).
1638         * ido.el (ido-mode): Switch off the message if called
1639         non-interactively.
1641         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1642         before 587, since it appears that that's more likely to work for
1643         more people.
1645         * cus-edit.el (custom-file): When running under emacs -q, always
1646         refuse to save the customisations, even if the .emacs file doesn't
1647         exist.
1649         * info.el: Remove the `Info-beginning-of-buffer' function
1650         (bug#8325).
1652         * net/network-stream.el (network-stream-open-starttls):
1653         Use `starttls-available-p' to see whether starttls.el can be used.
1655 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
1657         * window.el (display-buffer-in-window): Don't set dedicated status
1658         of window here (Bug#9215).
1659         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1660         (display-buffer-pop-up-side-window)
1661         (display-buffer-in-side-window): Set dedicated status of window here.
1663 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1665         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1666         before binding generated-autoload-file.
1668 2011-08-01  Deniz Dogan  <deniz@dogan.se>
1670         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1672 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
1674         Sync with Tramp 2.2.2.
1676         * net/trampver.el: Update release number.
1678 2011-07-30  Juri Linkov  <juri@jurta.org>
1680         * dired-aux.el (dired-touch-initial): Remove function.
1681         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1682         current time, and `default' to the last modification time of the
1683         current marked file (bug#6887).
1685 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
1687         * simple.el (goto-line): Use string-to-number to provide a
1688         numeric argument to read-number (bug#9163).
1690 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
1692         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1693         connection process, it could be nil.
1695 2011-07-27  Leo Liu  <sdl.web@gmail.com>
1697         Simplify url handling in rcirc-mode.
1699         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1700         (rcirc-browse-url-at-mouse): Remove.
1701         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1703 2011-07-26  Alan Mackenzie  <acm@muc.de>
1705         Fontify bitfield declarations properly.
1707         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1708         (c-symbol-chars): Now exported as a lang variable.
1709         (c-not-primitive-type-keywords): New lang variable.
1711         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1712         QT keyword "more" to prevent "more slots: ...." being spuriously
1713         parsed as a bitfield declaraion.
1715         * progmodes/cc-engine.el (c-beginning-of-statement-1):
1716         Refactor and enhance to handle bitfield declarations.
1717         (c-punctuation-in): New function.
1718         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1719         declarations properly.
1721 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
1723         * calendar/icalendar.el (icalendar--all-events): Take care of
1724         multiple vcalendars in a single file.
1725         (icalendar--convert-float-to-ical): Checkdoc fixes.
1727 2011-07-25  Deniz Dogan  <deniz@dogan.se>
1729         * image.el (insert-image): Clarifying docstring.
1731 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
1733         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1734         `tramp-send-command-and-check' if there is no error.
1735         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1737 2011-07-22  Alan Mackenzie  <acm@muc.de>
1739         Prevent cc-langs.elc being loaded at run time.
1741         * progmodes/cc-mode.el: Remove two autoload forms which loaded
1742         cc-langs.
1744         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
1745         "(require 'cc-langs)".  Quote a form so it will evaluate at
1746         (cc-mode's) compilation time.
1748 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
1750         * net/tramp.el (tramp-file-name-handler): Avoid recursive
1751         loading.  (Bug#9114)
1753 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
1755         * window.el (display-buffer-pop-up-window)
1756         (display-buffer-pop-up-side-window)
1757         (display-buffer-in-side-window): Call display-buffer-set-height
1758         and display-buffer-set-width after setting the new window's
1759         buffer so `fit-window-to-buffer' and friends work on the right buffer.
1761 2011-07-20  Sam Steingold  <sds@gnu.org>
1763         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1764         (etags-tags-included-tables): Call `convert-standard-filename' on
1765         the file names contained in TAGS so that windows Emacs can handle
1766         TAGS files created by cygwin ctags.
1768 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1770         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1771         which apparently didn't work.
1773 2011-07-19  Roland Winkler  <winkler@gnu.org>
1775         * proced.el (proced-send-signal): For *Marked Processes* buffer
1776         put point at beginning of buffer.
1778 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
1780         * proced.el (proced-format): Make header lines align with the text
1781         (bug#1779).
1783 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1785         * view.el (view-buffer): Allow running in `special' modes if we're
1786         visiting a file (bug#8615).
1788 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
1790         * window.el (display-buffer-alist-of-strings-p)
1791         (display-buffer-alist-set-1, display-buffer-alist-set-2):
1792         New functions.
1793         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1794         more accurately.
1796 2011-07-18  Alan Mackenzie  <acm@muc.de>
1798         Fontify declarators properly when, e.g., a jit-lock chunk begins
1799         inside a declaration.
1801         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1803         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1804         New function.
1805         (c-complex-decl-matchers): Insert reference to
1806         c-font-lock-enclosing-decls.
1808         * progmodes/cc-engine.el (c-backward-single-comment):
1809         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1810         to nil around calls to (forward-comment -1).
1812 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1814         * image.el (put-image): Doc typo fix.
1816         * progmodes/etags.el (tags-search): Doc typo fix.
1818         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1819         password if we get errors 550 to 554.
1821 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1823         * net/gnutls.el (gnutls-log-level): Remove.
1825         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1826         indentation character (bug#6380).
1828         * files.el (buffer-offer-save): Made permanently local (bug#6241).
1830         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1831         to clarify what the problem is (bug#4291).
1833         * simple.el (current-kill): Clarify what
1834         `interprogram-paste-function' does (bug#7500).
1835         (auto-fill-mode): Document `auto-fill-function' in relation to
1836         `auto-fill-mode' (bug#2470).
1838 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
1840         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1841         method if slot is read-only (bug#9035).
1843 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
1845         * frame.el (select-frame-set-input-focus): New argument NORECORD.
1846         * window.el (pop-to-buffer): Select window used even if it was
1847         selected before, see discussion of (Bug#8615), (Bug#6954).
1848         Pass argument NORECORD on to select-frame-set-input-focus.
1850 2011-07-15  Glenn Morris  <rgm@gnu.org>
1852         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
1853         Respect help-form.
1855 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
1857         * net/gnutls.el (gnutls-min-prime-bits): New variable.
1858         (gnutls-negotiate): Use it.
1860 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1862         * net/gnutls.el (gnutls-negotiate):
1863         Upcase `gnutls-algorithm-priority'.
1865 2011-07-15  Glenn Morris  <rgm@gnu.org>
1867         * jka-compr.el (jka-compr-verbose): Move from here...
1868         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
1869         Add missing :version tag.
1870         * info.el: No need to require jka-compr when compiling.
1872 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1874         * net/gnutls.el (gnutls-algorithm-priority): New variable.
1875         (gnutls-negotiate): Use it.
1877         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1879         * info.el (Info-beginning-of-buffer): New command.
1880         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1881         announcing `b' as the key (bug#8325).
1882         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
1884         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1886         * international/mule-cmds.el
1887         (describe-specified-language-support): Make the error message
1888         clearer (bug#8905).
1890         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1892         * isearch.el (isearch-barrier): Add a doc string, since it's
1893         mentioned in a function doc string (bug#8678).
1895 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
1897         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1898         buffer argument (Bug#9083) and self-identifying label argument.
1900 2011-07-15  Glenn Morris  <rgm@gnu.org>
1902         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
1904 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1906         * man.el (Man-fontify-manpage): Fix message when formatting the
1907         man page (bug#7929).
1909 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
1911         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1912         argument LRM; if non-nil, append an invisible LRM character to the
1913         buffer name.
1914         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1915         last argument non-nil, when formatting buffer names.
1916         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1917         paragraph direction.
1919 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1921         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1922         the man page name (bug#7929).
1924         * image.el (put-image): Mention the `put-image' overlay property
1925         (bug#7834).
1927         * scroll-bar.el (set-scroll-bar-mode): Mention that
1928         `scroll-bar-mode' lists the values (bug#7772).
1930         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1931         command (bug#7729).
1933         * rect.el (apply-on-rectangle): Return the point after the last
1934         operation.
1935         (string-rectangle): Go to the point after the last operation
1936         (bug#7522).
1938         * printing.el (pr-toggle-region): Clarify the documentation
1939         slightly (bug#7493).
1941         * time.el (display-time-update):
1942         Allow `display-time-mail-function' to return nil (bug#7158).
1943         Fix suggested by Detlev Zundel.
1945         * vc/diff.el (diff): Clarify the order the file names are read
1946         (bug#7111).
1948         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1949         the doc string (bug#7015).
1951         * font-lock.el (font-lock-maximum-decoration): Mention what
1952         numeric levels mean (bug#6935).
1954         * startup.el (initial-buffer-choice): Don't mention the `none'
1955         selection, which is against policy.
1957 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
1959         * window.el (display-buffer-normalize-special):
1960         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
1962 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
1964         * subr.el (version<, version<=, version=): Mention "-CVS" and
1965         "-12345" alpha version numbers.
1967 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
1969         * bindings.el: Add advertised binding for set-mark-command
1970         (Bug#5772).
1972 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
1974         * bindings.el (mode-line-other-buffer):
1975         * bookmark.el (bookmark-bmenu-2-window):
1976         * bs.el (bs-cycle-next, bs-cycle-previous):
1977         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1978         switch-to-buffer.
1980         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1981         Delete.
1983 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
1985         * follow.el (follow-debug-message, follow-redisplay):
1986         * jka-cmpr-hook.el (with-auto-compression-mode):
1987         Fix typos in docstrings.
1989 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1991         * subr.el (with-silent-modifications): Clarify somewhat what the
1992         macro inhibits (bug#6525).
1994         * simple.el (eval-expression): Note what it does if called
1995         interactively (bug#6495).
1997 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
1999         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2000         Use pop-to-buffer buffer-or-name if it is nil.
2002         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2003         Remove switch-to-buffer.
2005 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2007         * files.el (make-directory): Clarify that an error will be raised
2008         if there's an error (bug#6397).
2010         * startup.el (initial-buffer-choice): Add `none' as a choice
2011         (bug#6234).
2013         * subr.el (add-hook): Clarify section about buffer-local hooks
2014         (bug#6218).
2016         * dired.el (dired-flagged): Clarify doc string (bug#6117).
2018 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2020         * tabify.el (untabify): Preserve the current column so that point
2021         doesn't move (bug#6032).
2023 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2025         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2026         Rewrite to avoid awkward possessive "s" (bug#5986).
2028 2011-07-13  Glenn Morris  <rgm@gnu.org>
2030         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
2031         (dired-insert-directory): Give a message the first time
2032         if ls is found not to support --dired.
2034 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2036         * simple.el (toggle-truncate-lines): Clarify what is toggled
2037         (bug#5580).  Text by Drew Adams.
2039 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
2041         * simple.el (blink-matching-open): Make the error message from the
2042         last change less verbose.
2044 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
2046         * font-lock.el (font-lock-comment-face): Use the high contrast
2047         "yellow" color for font-lock-comment-face on low color terminals
2048         using a dark background color (bug#4221).
2050 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2052         * dired.el (dired-insert-set-properties): Make the doc string
2053         reflect what it does now (bug#5325).
2055         * simple.el (blink-matching-open): Say that we were unable to find
2056         the match within the limit, if we're limited (bug#5122).
2058         * international/mule-cmds.el (prefer-coding-system): Add an
2059         example (bug#4869).
2061         * progmodes/etags.el (tags-search): Document `file-list-form'
2062         (bug#4731).
2064 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
2066         * net/browse-url.el (browse-url-default-browser)
2067         (browse-url-browser-function): Make the default browser choice a
2068         bit more logical (bug#4300).  Also clean up the doc string.
2070 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2072         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2073         binary endings (bug#4440).
2075 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2077         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2078         which can be pretty annoying (bug#8971).
2080         * jka-compr.el (jka-compr-verbose): New variable, and use
2081         throughout (bug#8971).
2083         * info.el (Info-find-file): Fall back on the installation
2084         directory if we can't find the info node anywhere else.
2086 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
2088         * vc/vc.el (vc-revert-file):
2089         Don't set file time-stamp in the past.  (Bug#5181)
2091 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2093         * files.el (after-find-file): Give a better error message when
2094         trying to find a symlink that points to a file that doesn't exist
2095         (bug#4398).
2097         * progmodes/cc-vars.el: Remove (probably) misleading comment
2098         (bug#4396).
2100 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
2102         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2104 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2106         * mouse-sel.el: Hack restoring functionality, while keeping
2107         compatibility with 2010-07-03 changes to mouse selection.
2108         (mouse-sel-primary-overlay): New var.
2109         (mouse-sel-selection-alist): Use it.
2110         (mouse-sel-mode): Doc fix; remove points that are default features
2111         of mouse.el.
2113 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
2115         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2116         Fix previous fix (bug#2490).
2118 2011-07-12  Roland Winkler  <winkler@gnu.org>
2120         * textmodes/bibtex.el (bibtex-initialize):
2121         Use pop-to-buffer-same-window.
2122         (bibtex-search-entries): Fix interactive call.
2124 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2126         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2127         Fontise bytecomp Error lines more correctly (bug#2490).
2128         Fix suggested by Johan BockgÃ¥rd.
2130         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2132         * dired-x.el (dired-guess-default): Use `delete-dups'.
2134 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2136         * dired.el (dired-mark-prompt):
2137         * dired-aux.el (dired-read-shell-command): Doc fix.
2139 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2141         * mail/sendmail.el (sendmail-query-once):
2142         Use `customize-save-variable' unconditionally, now that it works under
2143         emacs -Q.
2145         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2147         * cus-edit.el (custom-file): Take an optional no-error variable.
2148         (customize-save-variable): Set the variable, and give a warning if
2149         running under "emacs -q".
2151 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
2153         * loadhist.el (unload-feature-special-hooks):
2154         Add `auto-coding-functions', `fill-nobreak-predicate' and
2155         `find-directory-functions' (bug#5327).
2157 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2159         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2161         * cus-edit.el (custom-guess-name-alist): -alist variables should
2162         use the `alist' type (bug#3120).  Suggested by Drew Adams.
2164         * printing.el: Add documentation to all the `pr-toggle-' commands.
2166 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
2168         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2169         backends where it makes sense (bug#2623).
2171 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2173         * dired-x.el (dired-guess-default): Remove duplicate shell command
2174         entries (bug#2028).
2175         (dired-guess-default): Fix grammar in doc string (bug#2028).
2176         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
2178         * subr.el (remove-duplicates): New conveniency function.
2180 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2182         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2183         (bug#1526).
2185 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
2187         * window.el (display-buffer-normalize-default): Don't invert
2188         meaning of even-window-heights.  Reported by Eli Zaretskii
2189         <eliz@gnu.org>.
2191 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
2193         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2195 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
2197         * window.el (display-buffer): Fix arguments to
2198         display-buffer-reuse-window in last change.
2200         * faces.el (link): Use a less saturated blue on light backgrounds.
2202         * startup.el (fancy-startup-text, fancy-about-text)
2203         (fancy-startup-tail): Use font-lock faces, for background safety.
2205 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
2207         * emulation/viper-cmd.el (viper-change-state-to-vi):
2208         Limit triggering of abbrev expansion (Bug#9038).
2210 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
2212         * window.el (display-buffer-default-specifiers): Remove.
2213         (display-buffer-macro-specifiers): Remove default specifiers.
2214         (display-buffer-alist): Default to nil.
2215         (display-buffer-reuse-window): New optional argument other-window.
2216         (display-buffer-pop-up-window): Allow splitting internal
2217         windows.  Check whether a live window was created.
2218         (display-buffer-other-window-means-other-frame)
2219         (display-buffer-normalize-arguments): Rename to
2220         display-buffer-normalize-argument and rewrite.  Set the
2221         other-window specifier.
2222         (display-buffer-normalize-special): New function.
2223         (display-buffer-normalize-options): Rename to
2224         display-buffer-normalize-default and rewrite.
2225         (display-buffer-normalize-options-inhibit): Remove.
2226         (display-buffer-normalize-specifiers): Rewrite.
2227         (display-buffer): Process other-window specifier and call
2228         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
2229         more faithfully.
2230         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
2231         (display-buffer-alist-set): Don't handle 'unset default values.
2232         (display-buffer-in-window, display-buffer-alist-set):
2233         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
2234         <tassilo@member.fsf.org>.
2236 2011-07-09  Leo Liu  <sdl.web@gmail.com>
2238         * register.el (insert-register): Restore accidental change on
2239         2011-06-26.  (Bug#9028)
2241 2011-07-09  Glenn Morris  <rgm@gnu.org>
2243         * subr.el (remq): Handle the empty list.  (Bug#9024)
2245 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
2247         * mail/sendmail.el (send-mail-function): No longer delay custom
2248         initialization.
2249         * custom.el (custom-initialize-delay): Doc fix.
2251 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2253         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2255 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
2257         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2258         human-friendly prompt.
2260 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2262         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2263         provided by a particular plugin.
2265 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2267         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2268         save customizations (with "emacs -Q"), just set the variable
2269         instead of erroring out.
2271         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2273 2011-07-08  Juri Linkov  <juri@jurta.org>
2275         * arc-mode.el (archive-zip-expunge, archive-zip-update)
2276         (archive-zip-update-case): Use 7z if found by `executable-find'.
2277         The order of searching the available programs is the same as in
2278         `archive-zip-extract' (bug#8968).
2280 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2282         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2283         (menu-bar-options-menu): Tweak descriptions.
2285 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2287         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2288         menu items into verb phrases (bug#1421).  Also refill to fit under
2289         80 columns.
2291 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2293         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2294         (Info-read-node-name): Doc fix (Bug#1084).
2296         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2297         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2298         (end-of-sexp, beginning-of-sexp)
2299         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2300         (forward-symbol, forward-same-syntax, word-at-point)
2301         (sentence-at-point): Doc fix (Bug#1144).
2303 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2305         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2306         should cover it (bug#1281).
2308         * cus-edit.el (custom-show): Mark as obsolete.
2310         * net/network-stream.el (network-stream-open-starttls): If gnutls
2311         negotiation fails, then possibly try again with a non-encrypted
2312         connection (bug#9017).
2314         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2315         be used.
2317 2011-07-07  Richard Stallman  <rms@gnu.org>
2319         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2320         property, and handle its changed format.
2321         Look for the correct line number.
2322         Use file's line contents (but not past first =) to find
2323         correct line in message.
2325 2011-07-07  Kenichi Handa  <handa@m17n.org>
2327         * international/characters.el (build-unicode-category-table):
2328         Delete it.
2329         (unicode-category-table): Set it by unicode-property-table-internal.
2331         * international/mule-cmds.el (char-code-property-alist): Move to
2332         to src/chartab.c.
2333         (get-char-code-property): Call unicode-property-table-internal to
2334         load a file.  Call get-unicode-property-internal where necessary.
2335         (put-char-code-property): Call unicode-property-table-internal to
2336         load a file.  Call put-unicode-property-internal where necessary.
2337         put-unicode-property-internal where necessary.
2338         (char-code-property-description):
2339         Call unicode-property-table-internal to load a file.
2341         * international/charprop.el:
2342         * international/uni-bidi.el:
2343         * international/uni-category.el:
2344         * international/uni-combining.el:
2345         * international/uni-comment.el:
2346         * international/uni-decimal.el:
2347         * international/uni-decomposition.el:
2348         * international/uni-digit.el:
2349         * international/uni-lowercase.el:
2350         * international/uni-mirrored.el:
2351         * international/uni-name.el:
2352         * international/uni-numeric.el:
2353         * international/uni-old-name.el:
2354         * international/uni-titlecase.el:
2355         * international/uni-uppercase.el: Regenerate.
2357         * loadup.el: Load international/charprop.el before
2358         international/characters.
2360 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2362         * window.el (next-buffer, previous-buffer): Signal an error if
2363         called from a minibuffer window.
2365         * bindings.el: Revert 2011-07-04 change.
2367 2011-07-06  Richard Stallman  <rms@gnu.org>
2369         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2370         (rmail-mime-insert-bulk, rmail-mime-insert-text):
2371         Treat markers like ints.
2372         (rmail-mime-entity): Doc fix.
2374 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2376         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2377         defcustom again for backwards compatibility.
2379         * simple.el (shell-command-on-region): Fill.
2381         * dired-aux.el (dired-kill-line): Add a doc string.
2383         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2384         to "\\sw\\|\\s_" (bug#358).
2386         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2387         (dired-unmark-backward): Ditto.
2388         (dired-flag-backup-files): Ditto.
2390         * dired-x.el (dired-mark-sexp): Ditto.
2392 2011-07-06  Richard Stallman  <rms@gnu.org>
2394         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
2395         (rmail-mime-entity): New arg TRUNCATED.
2396         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
2397         New functions.
2398         (rmail-mime-save): Warn if entity is truncated.
2399         (rmail-mime-toggle-hidden): Likewise, for showing.
2400         (rmail-mime-process-multipart): Record when an entity is truncated.
2402         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
2403         if ENTITY is a string.
2405 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2407         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
2408         of faces when `M-C-x'-ing their definitions (bug#8378).
2409         Also clean up the code slightly.
2411         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
2412         because that makes the colours go away.
2414         * mail/sendmail.el (send-mail-function): Change the default to
2415         `sendmail-query-once'.
2416         (sendmail-query-once): Add an autoload cookie.
2418         * net/network-stream.el (network-stream-open-starttls): Try using
2419         a plain connection even if the server offered STARTTLS, and we
2420         kinda wanted to use it, if Emacs doesn't have any STARTTLS
2421         capability.  This should make smtpmail.el work in slightly more
2422         configurations.
2424 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
2426         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2427         New defun.
2428         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2430 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
2432         * progmodes/sql.el: Version 3.0
2433         (sql-product-alist): Add product :completion-object,
2434         :completion-column, and :statement attributes.
2435         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
2436         (sql-mode-syntax-table): Mark all punctuation.
2437         (sql-font-lock-keywords-builder): Temporarily remove fallback on
2438         ansi keywords.
2439         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
2440         (sql-mode-oracle-font-lock-keywords): Improve.
2441         (sql-oracle-show-reserved-words): New function for development.
2442         (sql-product-font-lock): Simplify for source code buffers.
2443         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
2444         New functions.
2445         (sql-highlight-product): Set product specific syntax table.
2446         (sql-mode-map): Add statement movement functions.
2447         (sql-ansi-statement-starters, sql-oracle-statement-starters):
2448         New variable.
2449         (sql-statement-regexp, sql-beginning-of-statement)
2450         (sql-end-of-statement, sql-signum): New functions.
2451         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
2452         (sql-show-sqli-buffer): Bug fix.
2453         (sql-interactive-mode): Store connection data as buffer local.
2454         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
2455         with sql-interactive-mode.
2456         (sql-save-connection): Save buffer local settings.
2457         (sql-connection-menu-filter): Change menu entry name.
2458         (sql-product-interactive): Bug fix.
2459         (sql-preoutput-hold): New variable.
2460         (sql-interactive-remove-continuation-prompt): Bug fixes.
2461         (sql-debug-redirect): New variable.
2462         (sql-str-literal): New function.
2463         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
2464         Redesign.
2465         (sql-oracle-save-settings, sql-oracle-restore-settings)
2466         (sql-oracle-list-all, sql-oracle-list-table): New functions.
2467         (sql-completion-object, sql-completion-column)
2468         (sql-completion-sqlbuf): New variables.
2469         (sql-build-completions-1, sql-build-completions)
2470         (sql-try-completion): New functions.
2471         (sql-read-table-name): Use them.
2472         (sql-contains-names): New buffer local variable.
2473         (sql-list-all, sql-list-table): Use it.
2474         (sql-oracle-completion-types): New variable.
2475         (sql-oracle-completion-object, sql-sqlite-completion-object)
2476         (sql-postgres-completion-object): New functions.
2478 2011-07-06  Glenn Morris  <rgm@gnu.org>
2480         * window.el (pop-to-buffer): Doc fix.
2482 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
2484         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
2486 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
2488         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2490         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
2492 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
2494         * button.el (button): Inherit from link face.  Suggested by Dan
2495         Nicolaescu.
2497 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2499         * progmodes/gdb-mi.el: Fit in 80 columns.
2500         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
2501         switch-to-buffer.
2503         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
2504         if imenu is simply not configured (bug#8941).
2506 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
2508         * allout.el (allout-post-undo-hook): New allout outline-change
2509         event hook to signal undo activity.
2510         (allout-post-command-business): Run allout-post-undo-hook if an
2511         undo just occurred.
2512         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2513         * allout-widgets.el (allout-widgets-after-undo-function):
2514         Ensure the integrity of the current item's decoration after it has been
2515         in the vicinity of an undo.
2516         (allout-widgets-mode): Include allout-widgets-after-undo-function
2517         on the new allout-post-undo-hook.
2519 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2521         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2522         Let define-derived-mode define it.
2523         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2524         cycles of abbrev-table inheritance (bug#8998).
2526 2011-07-05  Roland Winkler  <winkler@gnu.org>
2528         * textmodes/bibtex.el: Add support for biblatex.
2529         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2530         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2531         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2532         (bibtex-entry-alist, bibtex-field-alist): New variables.
2533         (bibtex-entry-field-alist): Obsolete alias for
2534         bibtex-BibTeX-entry-alist.
2535         (bibtex-entry-alist, bibtex-field-alist): New widgets.
2536         (bibtex-set-dialect): New command.
2537         (bibtex-entry-type, bibtex-entry-head)
2538         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2539         Bind via bibtex-set-dialect.
2540         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2541         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2542         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2543         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2544         Define via bibtex-set-dialect.
2545         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2546         Obey bibtex-no-opt-remove-re.
2547         (bibtex-vec-push, bibtex-vec-incr): New functions.
2548         (bibtex-format-entry, bibtex-field-list)
2549         (bibtex-print-help-message, bibtex-validate)
2550         (bibtex-search-entries): Use new format of bibtex-entry-alist.
2552 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2554         * progmodes/compile.el (compilation-goto-locus):
2555         * net/tramp-cmds.el (tramp-append-tramp-buffers):
2556         * bs.el (bs-cycle-next, bs-cycle-previous):
2557         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2558         * bindings.el (mode-line-other-buffer):
2559         * autoinsert.el (auto-insert):
2560         * arc-mode.el (archive-extract):
2561         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2563 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2565         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2566         Fix check of `emacs-lock-unlockable-modes'.
2567         Coerce true values of `emacs-lock--try-unlocking' to t.
2569 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2571         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2572         * emacs-lock.el: New file.
2574 2011-07-05  Julien Danjou  <julien@danjou.info>
2576         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2577         than `boundp' to check if face is set.
2579 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2581         * register.el (registerv-make):
2582         * window.el (window-min-height): Fix typos in docstrings.
2584 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
2586         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2587         Update doc string.
2589 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
2591         * server.el (server-execute): Catch quit and call
2592         `server-return-error' to pass the error back to emacsclient and
2593         close the connection (bug#8942).
2595 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
2597         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2598         insecure exception for current topic.  Also note that auto-saves
2599         are handled differently.
2601         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2602         State variables for tracking auto-save inhibition situation.
2604         (allout-write-contents-hook-handler): Rename from
2605         'allout-write-file-hook-handler', and describe how it depends on
2606         write-contents-functions sensitivity to non-nil value to prevent
2607         file write.
2609         (allout-auto-save-hook-handler): Remove.  auto-save does not check
2610         this in individual buffers, only in the starting buffer, so this
2611         is not the right way for us to inhibit auto-save in a buffer
2612         according to its condition.
2614         (allout-mode): Use new allout-write-contents-hook-handler, and
2615         only with write-contents-functions.  Remove auto-save provisions -
2616         they're implemented elsewhere.
2618         (allout-before-change-handler): If undo is in progress, note that
2619         for attention of allout-post-command-business.
2621         (allout-post-command-business): If the command we're following was
2622         an undo, check for change in the status of encrypted items and
2623         adjust auto-save inhibitions accordingly.
2625         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2626         according to whether there are or aren't any plain-text topics
2627         pending encryption.
2629         (allout-inhibit-auto-save-info-for-decryption):
2630         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
2631         there are plain-text topics pending encryption.
2633         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2634         buffer-saved-size and some allout state to not inhibit auto-saves
2635         if there are no longer any plain-text topics pending encryption.
2637         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2638         No longer provide for exemption of the current topic.
2640 2011-07-04  Juri Linkov  <juri@jurta.org>
2642         Add 7z operations to delete and save changed members (bug#8968).
2643         * arc-mode.el (archive-7z-expunge, archive-7z-update):
2644         New defcustoms.
2645         (archive-7z-write-file-member): New function.
2646         (archive-7z-summarize): Fix the number of dashes in the
2647         listing output.
2649 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2651         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2652         (bug#8958).
2654 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
2656         * bindings.el: Ignore next-buffer and previous-buffer in
2657         minibuffer-local-map.
2659         * font-lock.el (font-lock-builtin-face): Change light background
2660         color to dark slate blue (Bug#6693).
2662 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
2664         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2666 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2668         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2669         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2670         Add switch-to-buffer.
2672 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2674         * isearch.el (isearch-search-fun-function): Clarify further the
2675         meaning of the function returned.
2677 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
2679         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2681         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2682         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2683         Use it.
2684         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
2685         `tramp-default-remote-path' does not exist.
2686         (tramp-send-command-and-read): New optional argument NOERROR.
2687         (tramp-open-connection-setup-interactive-shell)
2688         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2689         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2690         (tramp-process-sentinel): Flush also process' connection property.
2691         (tramp-sh-handle-start-file-process): Do not set process
2692         sentinel.  It is done now ...
2693         (tramp-maybe-open-connection): ... here.  (Bug#8929)
2695 2011-07-04  MON KEY  <monkey@sandpframing.com>
2697         * play/animate.el (animate-string): Doc fixes and allow changing
2698         the buffer name (bug#5417).
2700 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2702         * play/animate.el (animation-buffer-name): Rename from *animate*.
2704 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
2706         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2707         This is simpler and helps future-proof the code.
2708         (timer-until): Use time-subtract and float-time.
2709         (timer--time-less-p): Use time-less-p.
2711 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
2713         * type-break.el (timep): Use the value of `float-time' to avoid a
2714         byte-compiler warning.
2716         * server.el (server-eval-and-print): Return any result, even nil.
2718 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2720         * type-break.el: Accept time formats that the builtins accept.
2721         (timep, type-break-time-difference): Accept any format that
2722         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2723         This is simpler and helps future-proof the code.
2724         (type-break-time-difference): Round rather than ignoring
2725         subseconds components.
2727 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2729         * info.el (Info-apropos-matches): Make non-interactive, since it
2730         doesn't seem to do anything useful as a command (bug#8829).
2732 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
2734         * frame.el (frame-background-mode, frame-set-background-mode):
2735         Move from faces.el.
2736         (frame-default-terminal-background): New function.
2738         * custom.el (custom-push-theme): Don't record faces in `changed'
2739         theme; this doesn't work correctly for per-frame face settings.
2740         (disable-theme): Use face-set-after-frame-default to reset faces.
2741         (custom--frame-color-default): New function.
2743 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2745         * dired.el (dired-flagging-regexp): Remove unused variable
2746         (bug#8769).
2748 2011-03-29  Kevin Ryde  <user42@zip.com.au>
2750         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2751         `perl-Test2' extend to match possible "fail #N" rep count
2752         (bug#8377).
2754 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2756         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2757         `smtpmail-via-smtp' now returns the error instead of nil.
2759         * isearch.el (isearch-search-fun-function): Clarify the doc string
2760         (bug#8101).
2762 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
2764         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2765         unnecessary spaces (bug#8987).
2767 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2769         * net/network-stream.el (open-network-stream): Use the
2770         :end-of-capability command thoughout.
2772 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
2774         * net/network-stream.el (open-network-stream): Add the
2775         :end-of-capability command parameter, used by pop3.el.
2777 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2779         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2781         * fringe.el (fringe-query-style): Remove redundant text " (type ?
2782         for list)" (bug#6475).
2784         * files.el (file-expand-wildcards): Ignore non-readable
2785         sub-directories while trying to find matches instead of signalling
2786         an error (bug#6297).
2788         * man.el (Man-reference-regexp): Allow matching possible
2789         word-wrapped references (bug#6289).
2791         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2792         for consistency with the other vc buffers (bug#6197).
2793         (vc-checkin): Ditto.
2795         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2797         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2799 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2801         * custom.el (defcustom): Clarify that :set is only used in the
2802         Customize user interface (bug#6089).
2804         * progmodes/flymake.el (flymake-mode): If the buffer isn't
2805         associated with a file, refuse to run instead of erroring out
2806         (bug#6084).
2808         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2809         the doc string, since it appears that using `fill-column' always
2810         controls the width (bug#7845).
2812         * simple.el (shell-command-on-region): Say where the error output
2813         went if `shell-command-default-error-buffer' is set (bug#6857).
2815 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
2817         * allout.el (allout-yank-processing): Adjust cursor position for
2818         backwards-deleted space.
2820         (allout-rebullet-heading): Register changes with
2821         allout-exposure-changed-hook, so the modified topic is properly
2822         decorated.
2824 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2826         * minibuffer.el (completion-in-region): Document PREDICATE
2827         (bug#7136).
2829         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2830         of keyword/argument pairs (bug#6904).
2832         * replace.el (multi-occur):
2833         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
2835 2011-07-02  Drew Adams  <drew.adams@oracle.com>
2837         * dired.el (dired-mark-if): Make the message about whether it's
2838         marking or unmarking clearer (bug#8523).
2840 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2842         * disp-table.el (display-table-print-array): New function.
2843         (describe-display-table): Use it to print the vectors more pretty
2844         (Bug#8859).
2846 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
2848         * window.el (window-state-get-1): Don't assign clone numbers.
2849         Add clone-of item to list of window parameters.
2850         (window-state-put-2): Don't process clone numbers.
2851         (display-buffer-alist): Fix doc-string.
2853 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2855         * subr.el (remq): Don't allocate if it's not needed.
2856         (keymap--menu-item-binding, keymap--menu-item-with-binding)
2857         (keymap--merge-bindings): New functions.
2858         (keymap-canonicalize): Use them to refine the canonicalization.
2859         * minibuffer.el (minibuffer-local-completion-map)
2860         (minibuffer-local-must-match-map): Move initialization from C.
2861         (minibuffer-local-filename-completion-map): Move initialization from C;
2862         don't inherit from anything here.
2863         (minibuffer-local-filename-must-match-map): Make obsolete.
2864         (completing-read-default): Use make-composed-keymap to combine
2865         minibuffer-local-filename-completion-map with either
2866         minibuffer-local-must-match-map or
2867         minibuffer-local-filename-completion-map.
2869 2011-07-01  Glenn Morris  <rgm@gnu.org>
2871         * type-break.el (type-break-time-sum): Use dolist.
2873         * textmodes/flyspell.el (flyspell-word-search-backward):
2874         Replace CL function.
2876 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2878         * mouse.el (mouse--strip-first-event): New function.
2879         (function-key-map): Use it to map fringe clicks to normal clicks
2880         by default.
2882         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2883         (vc-bzr-revision-completion-table): Add support for annotate and date.
2885         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2886         inherit from parent.
2888 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2890         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
2891         (dired-show-file-type): Doc fixup (bug#8818).
2893         * dired.el (dired-mode): Fix up the doc string as suggested by
2894         Drew Adams (bug#8817).
2896         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2897         cookie, since the manual says that it should be possible to add
2898         this function to `find-file-hook' (bug#8709).
2900 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
2902         * progmodes/cfengine.el: Moved all cfengine3.el functionality
2903         here.  Noted Ted Zlatanov as the maintainer.
2904         (cfengine-common-settings, cfengine-common-syntax): New functions
2905         to set up common things between `cfengine-mode' and
2906         `cfengine3-mode'.
2907         (cfengine3-mode): New mode.
2908         (cfengine3-defuns cfengine3-defuns-regex
2909         (cfengine3-class-selector-regex cfengine3-category-regex)
2910         (cfengine3-vartypes cfengine3-font-lock-keywords)
2911         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
2912         (cfengine3-indent-line): Add from cfengine3.el.
2914 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
2916         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2918         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2920 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
2922         * window.el (same-window-buffer-names, same-window-regexps)
2923         (same-window-p, special-display-frame-alist)
2924         (special-display-popup-frame, special-display-function)
2925         (special-display-buffer-names, special-display-regexps)
2926         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2927         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2928         (split-window-preferred-function, split-height-threshold)
2929         (split-width-threshold, even-window-heights)
2930         (display-buffer-mark-dedicated, window-splittable-p)
2931         (split-window-sensibly, window-safely-shrinkable-p):
2932         Un-obsolete.
2933         (display-buffer): Don't spread args with function specifier
2934         because special-display-popup-frame won't like it.
2936 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
2938         Time-stamp simplifications and fixes.
2939         These improve accuracy slightly, and future-proof the code
2940         against some potential changes to current-time format.
2942         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2943         by using time-since and float-time.
2945         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2946         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
2947         + NNN microseconds".
2949         * type-break.el (type-break-time-sum): Rewrite using time-add.
2951         * play/hanoi.el (hanoi-current-time-float): Remove.
2952         All uses replaced by float-time.
2954         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2955         This yields a more-accurate answer.
2956         (rng-time-to-float): Remove; no longer needed.
2958         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2960         * calendar/timeclock.el (timeclock-seconds-to-time):
2961         Defalias to seconds-to-time, since they're the same thing.
2963         * emacs-lisp/elp.el (elp-elapsed-time):
2964         * emacs-lisp/benchmark.el (benchmark-elapse):
2965         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2967 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2969         * window.el (bury-buffer): Don't iconify the only frame.
2970         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2971         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
2973 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
2975         * eshell/em-smart.el (eshell-smart-display-navigate-list):
2976         Add mouse-yank-primary.
2978 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
2980         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2982 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * emacs-lisp/find-func.el (find-library--load-name): New fun.
2985         (find-library-name): Use it to find relative load names when provided
2986         absolute file name (bug#8803).
2988 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2990         * textmodes/flyspell.el (flyspell-word): Consider words that
2991         differ only in case as potential doublons (bug#5687).
2993         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2994         Remove two rather uninteresting debugging-like messages to make
2995         debbugs.el more silent.
2997         * comint.el (comint-password-prompt-regexp): Accept "Response" as
2998         a password-like phrase.
3000 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
3002         * progmodes/cc-guess.el: New file.
3004         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
3006         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3007         derived from `c-basic-common-init'.
3009         * progmodes/cc-mode.el (top-level): Require cc-guess.
3010         (c-basic-common-init): Use `cc-choose-style-for-mode'.
3012 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
3014         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3016 2011-06-30  Alan Mackenzie  <acm@muc.de>
3018         * progmodes/cc-engine.el (c-guess-continued-construct):
3019         Correct the handling of template-args-cont, particularly for when font
3020         lock is disabled.  Name this case as "CASE G".
3022 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
3024         * allout.el (allout-yank-processing): Fix injection of extra space
3025         between bullet and non-whitespace character in first topic when
3026         pasting, ensuring that the actual spacing in the pasted topic
3027         following the bullet char is preserved.  This extra space was
3028         causing pasted encrypted topics to get a decrypted status even
3029         when the content was actually still encrypted.  Now the decryption
3030         status from before the paste is preserved.
3032         (allout-flag-region): Set all allout overlays so they evaporate
3033         when reduced to zero length (evanescent), to prevent overlay
3034         leakage.
3036 2011-06-30  Glenn Morris  <rgm@gnu.org>
3038         * w32-fns.el (w32-charset-info-alist): Declare.
3040         * find-dired.el (find-grep-options): Simplify.
3042         * term/ns-win.el (ns-set-resource): Declare.
3044         * ses.el (row, col): Declare dynamic variables honestly.
3046         * textmodes/reftex-parse.el (index-tags): Declare.
3048 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
3050         * cus-edit.el (customize-push-and-save): New function.
3052         * files.el (hack-local-variables-confirm): Use it.
3054         * custom.el (load-theme): New arg NO-CONFIRM.
3055         Use customize-push-and-save (Bug#8720).
3056         (custom-enabled-themes): Doc fix.
3058         * cus-theme.el (customize-create-theme)
3059         (custom-theme-merge-theme): Callers to load-theme changed.
3061 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3063         * thingatpt.el (thing-at-point-short-url-regexp): Require that
3064         short URLs have at least one dot in them (bug #7614).
3066         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3067         nil, because using a pty is apparently too slow (bug #895).
3069 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3071         * mail/sendmail.el (sendmail-query-once): New function.
3072         (sendmail-query-once-function): New variable.
3074 2011-06-29  Glenn Morris  <rgm@gnu.org>
3076         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3078         * ses.el (top-level): Require cl when compiling.
3079         (ses-set-localvars): Fix error statement.
3080         Call it at compile time to silence a storm of warnings.
3082 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
3084         * window.el (normalize-live-buffer): Rename to
3085         window-normalize-buffer.
3086         (normalize-live-frame): Rename to window-normalize-frame.
3087         (normalize-any-window): Rename to window-normalize-any-window.
3088         (normalize-live-window): Rename to window-normalize-live-window.
3089         (make-window-atom): Rename to window-make-atom.
3090         (window-resize-reset): Rename to window--resize-reset.
3091         (window-resize-reset-1): Rename to window--resize-reset-1.
3092         (resize-mini-window): Rename to window--resize-mini-window.
3093         (resize-subwindows-skip-p): Rename to
3094         window--resize-subwindows-skip-p.
3095         (resize-subwindows-normal): Rename to
3096         window--resize-subwindows-normal.
3097         (resize-subwindows): Rename to window--resize-subwindows.
3098         (resize-other-windows): Rename to window--resize-siblings.
3099         (resize-this-window): Rename to window--resize-this-window.
3100         (resize-root-window): Rename to window--resize-root-window.
3101         (resize-root-window-vertically): Rename to
3102         window--resize-root-window-vertically.
3103         (normalize-buffer-to-display): Rename to
3104         window-normalize-buffer-to-display.
3105         (normalize-buffer-to-switch-to): Rename to
3106         window-normalize-buffer-to-switch-to.
3107         Correspondingly update all callers of the functions listed
3108         above.
3109         (display-buffer-alist, display-buffer-normalize-arguments)
3110         (display-buffer-normalize-options, display-buffer)
3111         (display-buffer-alist-set): Use "function" instead of
3112         "fun-with-args".
3114 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
3116         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3117         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
3118         debbugs.gnu.org.  Mention acknowledgment email.
3120 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3122         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3123         buffer multibyteness, since it shouldn't matter.
3125 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
3127         * window.el (display-buffer-in-side-window): Handle dedicated
3128         windows as in display-buffer-reuse-window.
3129         (display-buffer-normalize-alist): Use value of override
3130         specifier.
3131         (display-buffer-normalize-specifiers): Use value of
3132         other-window-means-other-frame specifier.
3133         (display-buffer-alist): Rewrite some texts in widgets.
3134         (display-buffer): Spread arguments when calling function
3135         specified by fun-with-args.
3137 2011-06-28  Deniz Dogan  <deniz@dogan.se>
3139         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3140         Unnest `let'.
3142         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3143         selectors (Bug#5732).
3144         (css-proprietary-nmstart-re): Use `regexp-opt'.
3146 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
3148         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3149         (eshell-ls-date-format): New defcustom.
3150         (eshell-ls-file): Use it.
3152 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3154         * help-fns.el (describe-variable): Fix message for terminal-local vars.
3156 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3158         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3159         (ange-ftp-make-tmp-name): New arg.
3160         (ange-ftp-file-local-copy): Use it.
3162 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
3164         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3165         no-conversion (Bug#8870).
3167 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
3169         * window.el (window-right, window-left, window-child)
3170         (window-child-count, window-last-child)
3171         (window-iso-combination-p, walk-window-tree-1)
3172         (window-atom-check-1, window-tree-1, delete-window)
3173         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3174         new naming conventions - window-vchild, window-hchild,
3175         window-next and window-prev are now called window-top-child,
3176         window-left-child, window-next-sibling and window-prev-sibling
3177         respectively.
3178         (resize-window-reset): Rename to window-resize-reset.
3179         (resize-window-reset-1): Rename to window-resize-reset-1.
3180         (resize-window): Rename to window-resize.
3181         (window-min-height, window-min-width)
3182         (resize-mini-window, resize-this-window, resize-root-window)
3183         (resize-root-window-vertically, adjust-window-trailing-edge)
3184         (enlarge-window, shrink-window, maximize-window)
3185         (minimize-window, delete-window, quit-restore-window)
3186         (split-window, balance-windows, balance-windows-area-adjust)
3187         (balance-windows-area, window-state-put-2)
3188         (display-buffer-even-window-sizes, display-buffer-set-height)
3189         (display-buffer-set-width, set-window-text-height)
3190         (fit-window-to-buffer): Rename all "resize-window" prefixed
3191         calls to use the "window-resize" prefix convention.
3192         (display-buffer-alist): Fix symbol for label specifier.
3193         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3194         corresponding specifier.
3195         Reported by Juanma Barranquero <lekktu@gmail.com>.
3197 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3199         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3200         convention.
3201         (ses-call-printer): Does not pass an empty string to formatter when the
3202         cell is empty to keep from barking printer Calc math-format-value.
3204 2011-06-27  Richard Stallman  <rms@gnu.org>
3206         * battery.el (battery-mode-line-limit): New variable.
3207         (battery-update): Handle it.
3209         * mail/rmailmm.el (rmail-mime-process-multipart):
3210         Handle truncated messages.
3212 2011-06-27  Glenn Morris  <rgm@gnu.org>
3214         * progmodes/flymake.el (flymake-err-line-patterns):
3215         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
3217 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3219         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
3220         (ses--clean-!, ses--clean-_): New functions.
3221         (ses-range): Add configurability of readout order, and conversion
3222         to Calc vector.
3224         * ses.el (ses-repair-cell-reference-all): New function.
3225         (ses-cell-symbol): Set macro as safe, so that it can be used in
3226         formulas.
3228         * ses.el: Update cycle detection algorithm.
3229         (ses-localvars): Add ses--Dijkstra-attempt-nb and
3230         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
3231         (ses-set-localvars): New function.
3232         (ses-make-cell): Add property-list as a cell element.
3233         (ses-cell-property-get-fun, ses-cell-property-get)
3234         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
3235         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3236         New functions.
3237         (ses-cell-property-set, ses-cell-property-pop)
3238         (ses-cell-property-get-handle): New macro.
3239         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3240         New aliases, used for code readability.
3241         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3242         cycle detection.
3243         (ses-self-reference-early-detection): New defcustom.
3244         (ses-formula-references): Robustify against self-refering cells.
3245         (ses-mode): Use ses-set-localvars.
3246         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3247         before lauching the update processing.
3248         (ses-initialize-Dijkstra-attempt): New function.
3249         (ses-recalculate-cell): Update for cycle detection based on
3250         Dijkstra algorithm.
3252         * ses.el: Fix commenting and indenting convention.
3254 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3256         * bs.el (bs-cycle-next): Complete last change.
3258 2011-06-27  Drew Adams  <drew.adams@oracle.com>
3260         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3262 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3264         * net/network-stream.el (network-stream-open-starttls):
3265         Don't re-get capabilities unless we've reestablished connection.
3266         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3268         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3269         to binary to possibly avoid line encoding issues on Windows (among
3270         other things).
3272 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3274         * net/network-stream.el (open-network-stream): Return an :error
3275         saying what the problem was, if possible.
3277         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3278         server.
3280         * net/network-stream.el (network-stream-open-starttls): If we
3281         wanted to use STARTTLS, and the server offered it, but we weren't
3282         able to because we had no STARTTLS support, then close the connection.
3283         (open-network-stream): Return an :error element, if present.
3285 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
3287         * hl-line.el (hl-line-sticky-flag): Doc fix.
3288         (global-hl-line-sticky-flag): New option (Bug#8323).
3289         (global-hl-line-highlight): Obey it.
3291         * vc/vc.el (vc-revert-show-diff): Default to t.
3293 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
3295         * allout-widgets.el (allout-widgets-post-command-business):
3296         Stop decorating intermediate isearch matches.  They're not being
3297         undecorated when an isearch is continued past, and isearch
3298         automatically collapses them.  This leads to "widget leaks", where
3299         decorated items accumulate in collapsed areas.  Lines with lots of
3300         hidden widgets can slow down cursor travel, substantially.
3301         Too much complicated machinery would be needed to ensure undecoration,
3302         so we're doing without this nicety.
3304         (allout-widgets-tally-string): Don't try to do a hash-table-count
3305         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
3306         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3307         *Messages* when allout-widgets-maintain-tally is t.
3309 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
3311         * window.el (display-buffer-normalize-argument): Rename to
3312         display-buffer-normalize-arguments.  Handle special meaning of
3313         LABEL argument.  Respect special-display-function when popping up
3314         a new frame.  Fix code searching for a window showing the buffer
3315         on another frame.
3316         (display-buffer-normalize-specifiers):
3317         Call display-buffer-normalize-arguments.
3318         (display-buffer-in-window): Don't undedicate the window if its
3319         buffer remains the same.
3320         Reported by Drew Adams <drew.adams@oracle.com>.
3321         (display-buffer-alist): Add choice for same-window macro
3322         specfier.
3323         (display-buffer): Mention special meaning of LABEL argument in
3324         doc-string.  Fix quoting.  Don't pop up a new frame even as
3325         fallback.
3327 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
3329         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3330         avoid deleting the current window in some cases (bug#8911).
3332 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
3334         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3335         (Bug#8934)
3337 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3339         * net/network-stream.el (network-stream-open-starttls):
3340         Use built-in TLS support if `gnutls-available-p' is true.
3341         (network-stream-open-tls): Ditto.
3343 2011-06-26  Leo Liu  <sdl.web@gmail.com>
3345         * register.el (registerv): New struct.
3346         (registerv-make): New function.
3347         (jump-to-register, describe-register-1, insert-register):
3348         Support the jump-func, print-func and insert-func slot of a registerv
3349         struct.  (Bug#8415)
3351 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
3353         * vc/vc.el (vc-revert-show-diff): New defcustom.
3354         (vc-diff-internal): New arg specifying diff buffer.
3355         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
3356         reuse an existing *vc-diff* buffer (Bug#8927).
3358         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3360 2011-06-26  Glenn Morris  <rgm@gnu.org>
3362         * progmodes/f90.el (f90-critical-indent): New option.
3363         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3364         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3365         (f90-mode): Doc fix.
3366         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3367         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3368         (f90-beginning-of-block, f90-next-block, f90-indent-region)
3369         (f90-match-end): Handle block, critical.
3371 2011-06-25  Glenn Morris  <rgm@gnu.org>
3373         * calendar/diary-lib.el (diary-included-files): Doc fix.
3374         (diary-include-files): New function, extracted from
3375         diary-include-other-diary-files and diary-mark-included-diary-files.
3376         (diary-include-other-diary-files, diary-mark-included-diary-files):
3377         Just call diary-include-files.
3378         (diary-mark-entries): Reset diary-included-files on first call.
3380         * calendar/diary-lib.el (diary-mark-entries)
3381         (diary-mark-included-diary-files):
3382         Visit included diary-files in temp buffers.
3384         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3385         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3386         (f90-start-block-re, f90-imenu-generic-expression)
3387         (f90-looking-at-program-block-start, f90-no-block-limit):
3388         Add support for submodules.
3390         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3391         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
3393 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
3395         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
3396         buffer-file-type before setting its value, to avoid disastrous
3397         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
3399 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
3401         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
3403         * ses.el (ses-unload-function):
3404         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
3406         * proced.el (proced-unload-function):
3407         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
3409 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
3411         * server.el (server-create-window-system-frame): Add parameters arg.
3412         (server-process-filter): Doc fix.  Handle frame-parameters.
3414 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
3416         Fix bug#8730, bug#8781.
3418         * loadhist.el (unload--set-major-mode): New function.
3419         (unload-feature): Use it.
3421         * progmodes/python.el (python-after-info-look): Add autoload cookie.
3422         (python-unload-function): New function.
3424 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
3428 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
3430         * net/browse-url.el (browse-url-firefox-program): Add icecat to
3431         the candidates list.
3433 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
3435         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
3437 2011-06-23  Richard Stallman  <rms@gnu.org>
3439         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
3440         (rmail-variables): Set next-error-move-function.
3441         (rmail-what-message): Take argument POS.
3442         (rmail-next-error-move): New function.
3444 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3446         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
3447         messages for adjacent non-terminals.
3449 2011-06-23  Richard Stallman  <rms@gnu.org>
3451         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
3452         (rmail-show-message-1): Preserve buffer modified flag.
3453         (rmail-start-mail): Don't specify use of rmail-mail-return;
3454         that's done by mail-bury now.
3455         (rmail-mail-return): Handle arg NEWBUF.
3457 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
3459         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
3460         SIZE is a number.
3462 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
3464         * window.el (get-lru-window, get-mru-window)
3465         (get-largest-window): Never return a minibuffer window.
3466         (display-buffer-pop-up-window): Fix a bug that could lead to
3467         reusing the minibuffer window.
3468         (display-buffer): Pass original specifier argument to
3469         display-buffer-function instead of the normalized one.
3470         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3472 2011-06-22  Leo Liu  <sdl.web@gmail.com>
3474         * minibuffer.el (completing-read-function)
3475         (completing-read-default): Move from minibuf.c
3477 2011-06-22  Richard Stallman  <rms@gnu.org>
3479         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
3480         to Rmail even if not started by a special Rmail command.
3482         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3483         Copy the buffer currently showing just one message.
3485 2011-06-22  Roland Winkler  <winkler@gnu.org>
3487         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
3488         (bibtex-clean-entry): First delete the old key so that a
3489         customized algorithm for generating the new key does not get
3490         confused by the old key.
3491         (bibtex-url): Obey regexp of first step.
3492         (bibtex-search-entries): Do not use add-to-list with local
3493         list-var.
3495 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3497         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
3498         stored a user name, then query for the password first, instead of
3499         waiting for SMTP to give an error message and the trying again.
3501 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
3503         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
3504         BUFFER in call-process.
3506 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3508         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3509         QUIT twice.
3510         (smtpmail-try-auth-methods): Require user name and password from
3511         auth-source.
3513 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
3515         * window.el (display-buffer-default-specifiers)
3516         (display-buffer-alist): Remove entries for pop-up-frame-alist.
3517         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
3518         (split-window): Normalize SIDE argument (Bug#8916).
3520         * frame.el (pop-up-frame-alist, pop-up-frame-function)
3521         (special-display-frame-alist, special-display-popup-frame):
3522         Remove duplicate declarations.  These are now in window.el.
3524 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3526         * mail/smtpmail.el (smtpmail-via-smtp):
3527         Set :use-starttls-if-possible so that we always use STARTTLS if the
3528         server supports it.  SMTP servers that support STARTTLS commonly
3529         require it.
3531         * net/network-stream.el (network-stream-open-starttls): Support
3532         upgrading to STARTTLS always, even if we don't have built-in support.
3533         (open-network-stream): Add the :always-query-capabilies keyword.
3535         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3536         upgrades with `open-network-stream', and rely solely on
3537         auth-source for all credentials.  Big changes throughout the file,
3538         but in particular:
3539         (smtpmail-auth-credentials): Remove.
3540         (smtpmail-starttls-credentials): Remove.
3541         (smtpmail-via-smtp): Check for servers saying they want AUTH after
3542         MAIL FROM, too.
3544         * net/network-stream.el (network-stream-open-starttls):
3545         Provide support for client certificates both for external and built-in
3546         STARTTLS.
3547         (auth-source): Require.
3548         (open-network-stream): Document the :client-certificate keyword.
3549         (network-stream-certificate): Change cert-cert to cert and
3550         cert-key to key.
3552 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
3554         * net/tramp-cache.el (top): Don't load the persistency file when
3555         "emacs -Q" has been called.
3557 2011-06-21  Tim Harper  <timcharper@gmail.com>
3559         * term/ns-win.el (ns-initialize-window-system):
3560         Set application-specific `ApplePressAndHoldEnabled' system
3561         resource to NO as it is not yet supported by the NS port.
3563 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
3565         * misc.el (list-dynamic-libraries--refresh): Compute header here...
3566         (list-dynamic-libraries): ...not here.
3568 2011-06-21  Leo Liu  <sdl.web@gmail.com>
3570         * subr.el (sha1): Implement sha1 using secure-hash.
3572 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
3574         * window.el (display-buffer-alist): In default value do not
3575         enforce searching a window on any but the selected frame.
3576         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3577         (display-buffer-select-window): Remove function.
3578         (display-buffer-in-window): When a window on another frame gets
3579         reused, do not select it any more but just raise its frame if
3580         necessary (Bug#8851) and (Bug#8856).
3581         (display-buffer-normalize-options): Handle pop-up-frames related
3582         options more faithfully.
3583         (pop-to-buffer): Don't rely on `display-buffer' selecting the
3584         window if it is on another frame.
3585         (display-buffer-alist, display-buffer-default-specifiers):
3586         Don't make new frame unsplittable by default.
3587         (display-buffer-normalize-argument): Fix doc-string typo and use
3588         'same-frame-other-window instead of 'other-window when associating
3589         with display-buffer-macro-specifiers.
3591 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
3593         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3594         New functions.
3595         (5x5-mode-map, 5x5-mode-menu): Bind them.
3596         (5x5-draw-grid): Tweak the solver's rendering.
3598 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3600         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3601         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3603 2011-06-21  Drew Adams  <drew.adams@oracle.com>
3605         * menu-bar.el: Use function variable instead of switch-to-buffer.
3606         (menu-bar-select-buffer-function): New variable.
3607         (menu-bar-update-buffers): Use it (bug#8876).
3609 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3611         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3612         variable's status.
3614 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
3616         * x-dnd.el (x-dnd-version-from-flags)
3617         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3618         and long as number (Bug#8899).
3619         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3621 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3623         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
3624         (completion-try-completion, completion-all-completions): Compute the
3625         metadata argument if it's missing; make it optional (bug#8795).
3627         * wid-edit.el: Use lex-bind and move towards completion-at-point.
3628         (widget-complete): Use new :completion-function property.
3629         (widget-completions-at-point): New function.
3630         (default): Use :completion-function instead of :complete.
3631         (widget-default-completions): Rename from widget-default-complete;
3632         Rewrite.
3633         (widget-string-complete, widget-file-complete, widget-color-complete):
3634         Remove functions.
3635         (file, symbol, function, variable, coding-system, color):
3636         * international/mule-cmds.el (default-input-method, charset)
3637         (language-info-custom-alist):
3638         * cus-edit.el (face): Use new property :completions.
3640         * progmodes/pascal.el (pascal-completions-at-point): New function.
3641         (pascal-mode): Use it.
3642         (pascal-mode-map): Use completion-at-point.
3643         (pascal-toggle-completions): Make obsolete.
3644         (pascal-complete-word, pascal-show-completions):
3645         * progmodes/octave-mod.el (octave-complete-symbol):
3646         Redefine as obsolete alias.
3647         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3648         Signal absence of completion info for old Octave,
3649         (inferior-octave-complete): Redefine as obsolete alias.
3650         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3651         (meta-completions-at-point): Rename from meta-complete-symbol and
3652         adapt it for use on completion-at-point-functions.
3653         (meta-common-mode): Use it.
3654         (meta-looking-at-backward, meta-match-buffer): Remove.
3655         (meta-complete-symbol): Redefine as obsolete alias.
3656         (meta-common-mode-map): Use completion-at-point.
3657         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3658         (makefile-mode-map): Use completion-at-point.
3659         (makefile-completions-at-point): Rename from makefile-complete and
3660         adapt it for use on completion-at-point-functions.
3661         (makefile-mode): Use it.
3662         (makefile-complete): Redefine as obsolete alias.
3664 2011-06-20  Deniz Dogan  <deniz@dogan.se>
3666         * net/rcirc.el: Delete trailing whitespaces once and for all.
3668 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
3670         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3672 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
3674         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3676         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3678 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
3680         * window.el (display-buffer-other-window-means-other-frame):
3681         Call display-buffer-normalize-alist.
3682         (display-buffer-normalize-specifiers-1): Rename to
3683         display-buffer-normalize-argument.  New argument other-frame.
3684         Rewrite.
3685         (display-buffer-normalize-specifiers-2): Rename to
3686         display-buffer-normalize-options.
3687         (display-buffer-normalize-alist-1): New function.
3688         (display-buffer-normalize-specifiers-3): Rename to
3689         display-buffer-normalize-alist.
3690         Call display-buffer-normalize-alist-1.
3691         (display-buffer-normalize-options-inhibit): New variable.
3692         (display-buffer-normalize-specifiers): Rewrite calling
3693         display-buffer-normalize-alist,
3694         display-buffer-normalize-argument, and
3695         display-buffer-normalize-options.  Don't call the latter if
3696         display-buffer-normalize-options-inhibit is non-nil.
3697         (frame-auto-delete): New option.
3698         (window-deletable-p): Use frame-auto-delete.
3699         (window-list-no-nils, window-state-ignored-parameters)
3700         (window-state-get-1, window-state-get, window-state-put-list)
3701         (window-state-put-1, window-state-put-2, window-state-put):
3702         New functions.
3703         (display-buffer-normalize-options): Move special-display-p group
3704         after pop-up-frame group (Bug#8851) and (Bug#8856).
3706 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
3708         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3709         groups (Bug#8776).
3710         (rx-submatch-n): New function.
3711         (rx): Document it.
3713         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3714         (Bug#8768).
3716         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3718         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3720         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3721         anytime existing face settings are present (Bug#8889).
3723         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3724         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3725         Remove unused argument.
3727 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
3729         * window.el (display-buffer-default-specifiers):
3730         Remove pop-up-frame.  Add pop-up-window-min-height,
3731         pop-up-window-min-width, and another reuse-window specifier
3732         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
3733         (display-buffer-normalize-specifiers-2):
3734         Handle split-height-threshold and split-width-threshold also when
3735         pop-up-windows is unset.  Add a reuse-window specifier for the
3736         case popping up a new window fails.
3737         (special-display-popup-frame): Remove double quoting.
3738         (display-buffer-normalize-specifiers-1): Fix thinko.
3740 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3742         * shell.el (shell-completion-vars): Set pcomplete-termination-string
3743         according to comint-completion-addsuffix.
3745         * pcomplete.el: Convert to lexical binding and fix bug#8819.
3746         (pcomplete-suffix-list): Mark as obsolete.
3747         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3748         pcomplete-seen in the closure.
3749         (pcomplete-comint-setup): Setup completion-at-point as well.
3750         (pcomplete--entries): New function.
3751         (pcomplete--env-regexp): New var.
3752         (pcomplete-entries): Rewrite to work with partial-completion and
3753         without relying on pcomplete-suffix-list.
3754         (pcomplete-pare-list): Remove, unused.
3756 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
3758         * window.el (display-buffer-alist): Set pop-up-window-min-height
3759         and pop-up-window-min-width in default value.  Reported by
3760         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
3761         other-window-means-other-frame.
3762         (display-buffer-macro-specifiers): Comment out entry for
3763         other-window specifier.
3764         (display-buffer-other-window-means-other-frame): New function.
3765         (display-buffer-normalize-specifiers-1): New arguments
3766         buffer-name and label.  Treat other-window case specially.
3767         (display-buffer-normalize-specifiers-2): Treat other-window case
3768         specially.
3769         (display-buffer-normalize-specifiers-3): New function.
3770         (display-buffer-normalize-specifiers):
3771         Call display-buffer-normalize-specifiers-3.
3773 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
3775         * window.el (same-window-p): Fix two typos introduced when
3776         adding with-no-warnings.
3777         (display-buffer-normalize-specifiers-1): Don't check
3778         pop-up-frames for 'unset initialization.
3779         (display-buffer-normalize-specifiers-2): Major rewrite using
3780         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3781         (pop-up-frames, display-buffer-reuse-frames)
3782         (display-buffer-mark-dedicated): Don't initialize to 'unset.
3783         Suggested by David Engster <deng@randomsample.de>.
3784         (even-window-heights): Initialize to 'unset.
3785         (display-buffer-alist-set): Handle new 'unset initializations.
3786         (display-buffer-macro-specifiers): Don't pop up a new frame in the
3787         other window case.
3789 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
3791         * window.el (display-buffer-normalize-specifiers-1):
3792         Respect current value of pop-up-frames for most reasonable values of
3793         second argument of display-buffer (Bug#8865).
3794         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3795         (switch-to-buffer-other-window-same-frame)
3796         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
3797         Adams (Bug#8875).
3798         (display-buffer): Don't check noninteractive when calling
3799         display-buffer-pop-up-frame.
3800         (display-buffer-pop-up-frame): Never pop up a frame in
3801         noninteractive mode (Bug#8857).
3802         (enlarge-window, shrink-window): Don't report an error when the
3803         window can't be resized as requested (Bug#8862).
3805 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3807         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3809         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3811         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3813 2011-06-15  Alan Mackenzie  <acm@muc.de>
3815         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3816         for declarators, disable knr checking to speed up for normal files.
3817         2: Refactor, replacing a sequence of nested if forms by a cond form.
3819 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3821         * net/network-stream.el (open-network-stream): Add the keyword
3822         :always-query-capabilities for the case where you want to force a
3823         `plain' network connection, but the protocol still requires the
3824         capabilitiy command (i.e., SMTP and EHLO).
3826         * subr.el (process-live-p): Rename from `process-alive-p' for
3827         consistency with other `-live-p' functions.
3829 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * window.el (same-window-buffer-names, same-window-regexps)
3832         (special-display-frame-alist, special-display-popup-frame)
3833         (special-display-function, special-display-buffer-names)
3834         (special-display-regexps, pop-up-frame-alist)
3835         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3836         (pop-up-windows, split-window-preferred-function)
3837         (split-height-threshold, split-width-threshold, even-window-heights)
3838         (display-buffer-mark-dedicated): Don't encourage the use of
3839         display-buffer-alist from Elisp code.
3841 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
3843         * progmodes/python.el (python-mode): Derive from prog-mode.
3844         * progmodes/ps-mode.el (ps-mode):
3845         * progmodes/mixal-mode.el (mixal-mode):
3846         * progmodes/cfengine.el (cfengine-mode):
3847         * progmodes/ld-script.el (ld-script-mode): Likewise.
3849 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
3851         * window.el (display-buffer-alist): Trim default value to avoid
3852         popping up a new frame (Bug#8857) or reusing an arbitrary window
3853         on another frame.
3854         (display-buffer): Do not fall back on popping up a new frame in
3855         batch mode (Bug#8857).
3857 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
3859         * cus-theme.el (describe-theme-1): Use custom-theme-p.
3860         (custom-theme-summary): New function.
3861         (customize-themes): Use it.
3863 2011-06-13  Glenn Morris  <rgm@gnu.org>
3865         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3867 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
3869         * help.el (help-window): Remove variable.
3870         (help-window-point-marker, temp-buffer-max-height)
3871         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3872         (help-print-return-message): Don't set help-window.
3873         (resize-temp-buffer-window): Rewrite cod eand doc-string.
3874         (help-window-setup-finish): Remove.
3875         (help-window-display-message, help-window-setup)
3876         (with-help-window): Major rewrite based on new
3877         display-buffer-window variable.
3879         * help-mode.el (help-mode-finish): Remove help-window related
3880         code.
3882         * view.el (view-exits-all-viewing-windows): Remove reference to
3883         view-return-to-alist in doc-string.
3884         (view-return-to-alist): Make obsolete.
3885         (view-buffer): Call pop-to-buffer-same-window and remove
3886         undo-window code.
3887         (view-buffer-other-window): Call pop-to-buffer-other-window and
3888         simplify code.  Ignore second argument.
3889         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3890         simplify code.  Ignore second argument.
3891         (view-return-to-alist-update): Make obsolete.
3892         (view-mode-enter): Rename second argument to QUIT-RESTORE.
3893         Rewrite using quit-restore window parameters.
3894         (view-mode-exit): Rename second argument to EXIT-ONLY.
3895         Rewrite using quit-restore-window.
3896         (View-exit, View-exit-and-edit, View-leave, View-quit)
3897         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3898         appropriate arguments.
3899         (view-end-message): Use quit-restore window parameter.
3901         * window.el (display-buffer-function): Rewrite doc-string.
3902         (display-buffer-window, display-buffer-alist): New variables.
3903         (display-buffer-split-specifiers)
3904         (display-buffer-side-specifiers)
3905         (display-buffer-macro-specifiers): New constants.
3906         (display-buffer-even-window-sizes, display-buffer-set-height)
3907         (display-buffer-set-width, display-buffer-select-window)
3908         (display-buffer-in-window, display-buffer-reuse-window)
3909         (display-buffer-split-window-1, display-buffer-split-window)
3910         (display-buffer-split-atom-window, display-buffer-pop-up-window)
3911         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3912         (display-buffer-in-side-window, normalize-buffer-to-display)
3913         (display-buffer-normalize-specifiers-1)
3914         (display-buffer-normalize-specifiers-2)
3915         (display-buffer-normalize-specifiers, display-buffer-frame):
3916         New functions.
3917         (display-buffer): Major rewrite.
3918         (display-buffer-other-window, display-buffer-other-frame)
3919         (pop-to-buffer, switch-to-buffer-other-window)
3920         (switch-to-buffer-other-frame): Rewrite.
3921         (display-buffer-same-window, display-buffer-same-frame)
3922         (display-buffer-same-frame-other-window)
3923         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3924         (pop-to-buffer-other-window)
3925         (pop-to-buffer-same-frame-other-window)
3926         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3927         (switch-to-buffer-other-window-same-frame): New functions.
3928         (same-window-p, special-display-p): Rewrite disabling warnings.
3929         Make obsolete.
3930         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3931         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3932         Make obsolete
3933         (same-window-buffer-names, same-window-regexps)
3934         (special-display-frame-alist, special-display-popup-frame)
3935         (special-display-function, special-display-buffer-names)
3936         (special-display-regexps, pop-up-frame-alist)
3937         (pop-up-frame-function, split-window-preferred-function)
3938         (split-height-threshold, split-width-threshold)
3939         (even-window-heights): Make obsolete.
3941 2011-06-12  Glenn Morris  <rgm@gnu.org>
3943         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
3944         Misc simplifications.
3946 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
3948         * window.el (window-safely-shrinkable-p): Restore function which
3949         was inadvertently removed in change from 2011-06-11.  Declare as
3950         obsolete.
3952         * calendar/calendar.el (calendar-generate-window):
3953         Use window-iso-combined-p instead of combination of one-window-p and
3954         window-safely-shrinkable-p.
3956 2011-06-12  Glenn Morris  <rgm@gnu.org>
3958         * progmodes/fortran.el (fortran-mode-syntax-table):
3959         * progmodes/f90.el (f90-mode-syntax-table):
3960         Set % to punctuation.  (Bug#8820)
3961         (f90-find-tag-default): Remove, no longer needed.
3963 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
3965         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3967 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
3969         * image.el (image-animated-p): Return animation delay in seconds.
3970         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3971         (image-animate-timeout): Remove DELAY argument.  Don't assume
3972         every subimage has the same delay; get it from image-animated-p.
3973         (image-animate): Caller changed.
3975 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
3977         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3978         to ignored backtrace functions.
3980 2011-06-11  Glenn Morris  <rgm@gnu.org>
3982         * calendar/appt.el (appt-disp-window-function): Doc fix.
3983         (appt-check): Handle overlapping appointments.  (Bug#8337)
3985 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
3987         * window.el (window-tree-1, window-tree): New functions, moving
3988         the latter to window.el.
3989         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3990         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3991         (bw-refresh-edges): Remove.
3992         (balance-windows-1, balance-windows-2): New functions.
3993         (balance-windows): Rewrite in terms of window tree functions,
3994         balance-windows-1 and balance-windows-2.
3995         (bw-adjust-window): Remove.
3996         (balance-windows-area-adjust): New function with functionality of
3997         bw-adjust-window but using resize-window.
3998         (set-window-text-height): Rewrite doc-string.
3999         Use normalize-live-window and resize-window.
4000         (enlarge-window-horizontally, shrink-window-horizontally):
4001         Rename argument to DELTA.
4002         (window-buffer-height): New function.
4003         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4004         Rewrite using new window resize routines.
4005         (kill-buffer-and-window, mouse-autoselect-window-select):
4006         Use ignore-errors instead of condition-case.
4007         (quit-window): Call delete-frame instead of delete-windows-on
4008         for the only buffer on frame.
4010 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4012         * loadup.el (top-level): Load window before files for the sake
4013         of replace-buffer-in-windows.
4015         * files.el (read-buffer-to-switch)
4016         (switch-to-buffer-other-window)
4017         (switch-to-buffer-other-frame, display-buffer-other-frame):
4018         Move to window.el.
4020         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4021         (previous-buffer): Move to window.el.
4023         * bindings.el (unbury-buffer): Move to window.el.
4025         * window.el (delete-other-windows-vertically): Move after
4026         definition of delete-other-windows.
4027         (other-window, delete-windows-on, replace-buffer-in-windows):
4028         Move here from window.c.
4029         (record-window-buffer, unrecord-window-buffer)
4030         (set-window-buffer-start-and-point, switch-to-prev-buffer)
4031         (switch-to-next-buffer): New functions.
4032         (get-next-valid-buffer, last-buffer, next-buffer): Move here
4033         from simple.el.  Call switch-to-next-buffer.
4034         (previous-buffer): Move here from simple.el.
4035         Call switch-to-prev-buffer.
4036         (bury-buffer): Move here from buffer.c.  Switch to previous
4037         buffer when window cannot be deleted.
4038         (unbury-buffer): Move here from bindings.el.
4039         (ctl-x-map): Move binding for other-window from window.c to
4040         here.
4041         (read-buffer-to-switch, switch-to-buffer-other-window)
4042         (switch-to-buffer-other-frame): Move here from files.el.
4043         (normalize-buffer-to-switch-to): New functions.
4044         (switch-to-buffer): Move here from buffer.c.
4045         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
4047 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4049         * window.el (window-min-height, window-min-width): Move here
4050         from window.c.  Add defcustoms and rewrite doc-strings.
4051         (resize-mini-window, resize-window): New functions.
4052         (adjust-window-trailing-edge, enlarge-window, shrink-window):
4053         Move here from window.c.
4054         (maximize-window, minimize-window): New functions.
4055         (delete-window, delete-other-windows, split-window): Move here
4056         from window.c.
4057         (window-split-min-size): New function.
4058         (split-window-keep-point): Mention split-window-above-each-other
4059         instead of split-window-vertically.
4060         (split-window-above-each-other, split-window-vertically):
4061         Rename split-window-vertically to split-window-above-each-other and
4062         provide defalias for old definition.
4063         (split-window-side-by-side, split-window-horizontally): Rename
4064         split-window-horizontally to split-window-side-by-side and provide
4065         defalias for the old definition.
4066         (ctl-x-map): Move bindings for delete-window,
4067         delete-other-windows and enlarge-window here from window.c.
4068         Replace bindings for split-window-vertically and
4069         split-window-horizontally by bindings for
4070         split-window-above-each-other and split-window-side-by-side.
4072         * cus-start.el (all): Remove entries for window-min-height and
4073         window-min-width.  Add entries for window-splits and
4074         window-nest.
4076 2011-06-09  Glenn Morris  <rgm@gnu.org>
4078         * calendar/appt.el (appt-mode-line): New function.
4079         (appt-check, appt-disp-window): Use it.
4081         * files.el (hack-one-local-variable-eval-safep):
4082         Allow minor-modes with explicit +/-1 arguments.
4084 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
4086         * term/xterm.el (xterm): Add defgroup.
4087         (xterm-extra-capabilities): Add defcustom to supply known xterm
4088         capabilities, skip querying them, or query them (default).
4089         (terminal-init-xterm): Use it.
4090         (terminal-init-xterm-modify-other-keys): New function to set up
4091         modifyOtherKeys support to simplify `terminal-init-xterm'.
4093 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
4095         * window.el (resize-window-reset, resize-window-reset-1)
4096         (resize-subwindows-skip-p, resize-subwindows-normal)
4097         (resize-subwindows, resize-other-windows, resize-this-window)
4098         (resize-root-window, resize-root-window-vertically)
4099         (window-deletable-p, window-or-subwindow-p)
4100         (frame-root-window-p): New functions.
4102 2011-06-09  Glenn Morris  <rgm@gnu.org>
4104         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4105         (ange-ftp-get-files): Use it.
4107 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4109         * mail/sendmail.el (mail-recover-1, mail-recover):
4110         * files.el (recover-file, recover-session):
4111         Handle dired-listing-switches not being just a single short option.
4113 2011-06-09  Glenn Morris  <rgm@gnu.org>
4115         * calendar/appt.el (appt-display-message, appt-disp-window):
4116         Handle lists of appointments.
4118 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
4120         * window.el (one-window-p): Move down in code.
4121         Rewrite doc-string.
4122         (window-current-scroll-bars): Rewrite doc-string.
4123         Normalize live window argument.
4124         (walk-windows, get-window-with-predicate, count-windows):
4125         Rewrite doc-string.  Use window-list-1.
4126         (window-in-direction-2, window-in-direction, get-mru-window):
4127         New functions.
4129 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
4131         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4132         Doc fix (Bug#8713).
4134 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
4136         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4138 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
4140         * loadhist.el (unload-feature-special-hooks):
4141         Add `comint-output-filter-functions'.
4143 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
4145         * calendar/appt.el (appt-check): Move some initializations into the let.
4147 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
4149         * window.el (window-height): Defalias to window-total-height.
4150         (window-width): Defalias to window-body-width.
4152 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
4154         * image-mode.el (image-toggle-animation): New command.
4155         (image-mode-map): Bind it to RET.
4156         (image-mode): Update message.
4157         (image-toggle-display-image): Avoid a spurious cache flush.
4158         (image-transform-rotation): Doc fix.
4159         (image-transform-properties): Return quickly in the normal case.
4160         (image-animate-loop): Rename from image-animate-max-time.
4162         * image.el (image-animate-max-time): Move to image-mode.el.
4163         (create-animated-image): Remove unnecessary function.
4164         (image-animate): Rename from image-animate-start.  New arg.
4165         (image-animate-stop): Remove; just use image-animate-timer.
4166         (image-animate-timer): Use car-safe.
4167         (image-animate-timeout): Rename argument.
4169 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
4171         * window.el (get-lru-window, get-largest-window): Move here from
4172         window.c.  Rename first argument to ALL-FRAMES.
4173         Rephrase doc-strings.
4174         (get-buffer-window-list): Rewrite using window-list-1.
4175         Rephrase doc-string.
4176         (window-safe-min-height, window-safe-min-width): New constants.
4177         (window-size-ignore, window-min-size, window-min-size-1)
4178         (window-sizable, window-sizable-p, window-size-fixed-1)
4179         (window-size-fixed-p, window-min-delta-1, window-min-delta)
4180         (window-max-delta-1, window-max-delta, window-resizable)
4181         (window-resizable-p, window-total-height, window-total-width)
4182         (window-body-width): New functions.
4183         (window-full-height-p, window-full-width-p): Rewrite using
4184         window-total-size.
4185         (window-body-height): Rewrite using window-body-size.
4187 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
4189         * window.el (window-right, window-left, window-child)
4190         (window-child-count, window-last-child, window-any-p)
4191         (normalize-live-buffer, normalize-live-frame)
4192         (normalize-any-window, normalize-live-window)
4193         (window-iso-combination-p, window-iso-combined-p)
4194         (window-iso-combinations)
4195         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4196         (windows-with-parameter, window-with-parameter)
4197         (window-atom-root, make-window-atom, window-atom-check-1)
4198         (window-atom-check, window-side-check, window-check):
4199         New functions.
4200         (ignore-window-parameters, window-sides, window-sides-vertical)
4201         (window-sides-slots): New variables.
4202         (window-size-fixed): Move down in code.  Minor doc-string fix.
4204 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
4206         * comint.el (comint-dynamic-complete-as-filename)
4207         (comint-dynamic-complete-filename): Correctly call
4208         completion-in-region.
4210 2011-06-05  Deniz Dogan  <deniz@dogan.se>
4212         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4213         in last change.
4215 2011-06-05  Deniz Dogan  <deniz@dogan.se>
4217         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4218         (rcirc): Use it to prompt for encryption.
4220 2011-06-05  Roland Winkler  <winkler@gnu.org>
4222         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4223         (bibtex-search-entries): New command bound to C-c C-a.
4224         (bibtex-display-entries): New function.
4226 2011-06-05  Roland Winkler  <winkler@gnu.org>
4228         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4229         (bibtex-insert-kill): After yanking insert newline if necessary.
4230         (bibtex-initialize): Call bibtex-string-files-init only once.
4231         (bibtex-mode): Do not call easy-menu-add.
4232         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4233         (bibtex-yank): Set arg properly if nil.
4235 2011-06-05  Roland Winkler  <winkler@gnu.org>
4237         * textmodes/bibtex.el (bibtex-search-entry-globally):
4238         New variable.
4239         (bibtex-search-entry): Use it.
4241 2011-06-05  Roland Winkler  <winkler@gnu.org>
4243         * textmodes/bibtex.el (bibtex-entry-format): New option
4244         sort-fields.
4245         (bibtex-format-entry, bibtex-reformat): Honor this option.
4246         (bibtex-parse-entry): Return fields in proper order.
4248 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
4250         * doc-view.el (doc-view-remove-if): Move computation of result out
4251         of `dolist' to silence misleading lexical-binding warning.
4253 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
4255         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4256         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4258 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
4260         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4261         "SunOS 5.10".
4263 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
4265         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4266         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4267         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4268         (tramp-parse-putty):
4269         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4270         (tramp-completion-function-alist-ssh)
4271         (tramp-completion-function-alist-telnet)
4272         (tramp-completion-function-alist-su)
4273         (tramp-completion-function-alist-putty): Set `tramp-autoload'
4274         cookie.
4276         * net/tramp-ftp.el:
4277         * net/tramp-sh.el:
4278         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4279         load "tramp.el" `tramp-set-completion-function'.
4281 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4283         * shell.el: Require and use pcomplete.
4284         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4285         (shell-completion-vars): Set pcomplete-default-completion-function.
4287 2011-06-04  Deniz Dogan  <deniz@dogan.se>
4289         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4290         `memq' (Bug#8799).
4292 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4294         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4296 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
4298         * bs.el (bs--mark-unmark, bs--nth-wrapper):
4299         * mpc.el (mpc-select-extend, mpc-songpointer-context):
4300         * vc/log-view.el (log-view-beginning-of-defun):
4301         * vc/smerge-mode.el (smerge-apply-resolution-patch)
4302         (smerge-refine-forward, smerge-refine-chopup-region):
4303         Silence warning for unused `dotimes' counter variables.
4305 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4307         * net/tramp.el (tramp-with-progress-reporter): Rename from
4308         with-progress-reporter.  Use `declare'.
4309         * net/tramp-smb.el:
4310         * net/tramp-sh.el:
4311         * net/tramp-gvfs.el: Update all uses.
4313 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
4315         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4316         buffer isn't killed before making it current.
4318 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4320         Silence various byte-compiler warnings.
4321         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4322         `access-type' and new obsolescence format.
4323         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4324         new format.
4325         (byte-compile-check-variable): New `access-type' argument.
4326         Only warn if the access-type is obsolete.
4327         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4328         (byte-compile-variable-set): Adjust callers.
4329         * help-fns.el (describe-variable): Adjust to new obsolescence format.
4330         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4331         setting it as obsolete.
4332         * simple.el (minibuffer-completing-symbol):
4333         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4334         access as obsolete.
4335         * minibuffer.el (minibuffer-completing-file-name): Don't make it
4336         obsolete yet.
4337         * international/quail.el (quail-mouse-choose-completion): Remove unused
4338         code referring to obsolete var.
4339         (quail-choose-completion-string): Remove.
4340         * server.el (server-clients-with, server-kill-buffer-query-function)
4341         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4342         * proced.el (proced-send-signal):
4343         * emacs-lisp/lisp.el (lisp-complete-symbol):
4344         Replace completion-annotate-function with completion-extra-properties.
4346 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4348         * simple.el (goto-line): Use read-number.
4349         (overriding-map-is-bound): Remove.
4350         (saved-overriding-map): Change default.
4351         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4352         Take the map as argument.
4353         (universal-argument, negative-argument, digit-argument): Use it.
4354         (restore-overriding-map): Adjust.
4355         (do-auto-fill): Use fill-forward-paragraph.
4356         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4358         * minibuffer.el (minibuffer-inactive-mode-map): New var.
4359         (minibuffer-inactive-mode): New major mode.
4360         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4361         the *Messages* buffer" hack.
4362         (mouse-popup-menubar): Don't burp if the event is a normal key.
4364         Miscellaneous tweaks.
4365         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4366         lexical scoping as in subr.el's dolist and dotimes.
4367         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4368         Silence compiler warning.
4369         * thingatpt.el (forward-whitespace): Trivial coding style fix.
4370         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4371         * international/ccl.el (ccl-compile): Trivial simplification.
4372         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4373         * emacs-lisp/testcover.el (testcover-end): Remove spurious
4374         `printflag' argument.
4375         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4376         Purecopy the whole obsolescence data.
4378 2011-06-01  Leo Liu  <sdl.web@gmail.com>
4380         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4381         improve doc-string as suggested by Marco Pessotto
4382         <melmothx@gmail.com>.
4383         (rcirc-print): Fix last change.
4385 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * minibuffer.el (complete-with-action): Return nil for the metadata and
4388         boundaries of non-functional tables.
4389         (completion-table-dynamic): Return nil for the metadata.
4390         (completion-table-with-terminator): Add default case, using
4391         complete-with-action.
4392         (completion--metadata): New function.
4393         (completion-all-sorted-completions, minibuffer-completion-help): Use it
4394         to try and avoid pathological performance problems.
4395         (completion--embedded-envvar-table): Return `category' metadata.
4397 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4399         * subr.el (process-alive-p): New tiny convenience function.
4401 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4403         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
4404         content but also its previous major mode.
4406 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
4408         * emacs-lisp/debug.el (debug): Restore the previous content of the
4409         *Backtrace* buffer when we exit with C-M-c.
4411 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4413         * minibuffer.el: Add metadata method to completion tables.
4414         (completion-category-overrides): New defcustom.
4415         (completion-metadata, completion--field-metadata)
4416         (completion-metadata-get, completion--styles)
4417         (completion--cycle-threshold): New functions.
4418         (completion-try-completion, completion-all-completions):
4419         Add `metadata' argument to choose completion-styles.
4420         (completion--do-completion): Use metadata to choose cycling.
4421         (completion-all-sorted-completions): Use metadata for sorting.
4422         Remove :completion-cycle-penalty which is not needed any more.
4423         (completion--try-word-completion): Add `metadata' argument.
4424         (minibuffer-completion-help): Check metadata for annotation function
4425         and sorting.
4426         (completion-file-name-table): Return `category' metadata.
4427         (minibuffer-completing-file-name): Make obsolete.
4428         * simple.el (minibuffer-completing-symbol): Make obsolete.
4429         * icomplete.el (icomplete-completions): Pass new `metadata' param to
4430         completion-try-completion.
4432 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4434         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
4436 2011-05-30  Leo Liu  <sdl.web@gmail.com>
4438         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
4439         (rcirc-print): Decode all incoming messages (bug#8744).
4440         (rcirc-decode-coding-system): Allow value nil for automatic coding
4441         system detection.
4443 2011-06-01  Glenn Morris  <rgm@gnu.org>
4445         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
4447 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4449         * image.el (image-animate-max-time): Allow nil and t values.
4450         Default to nil.
4451         (create-animated-image): Doc fix.
4452         (image-animate-start): Remove second arg; just use
4453         image-animate-max-time.
4454         (image-animate-timeout): Doc fix.  Args changed.
4456         * image-mode.el (image-toggle-display-image): Ensure that the
4457         image spec passed to the animate timer is the same object as in
4458         the the buffer's display property (Bug#6981).
4459         (image-transform-properties): Doc fix.
4461         * image.el (image-animate-max-time): Default to nil.
4463 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
4465         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
4466         entire buffer list (Bug#8184).
4468 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4470         * image.el (imagemagick-types-inhibit)
4471         (imagemagick-register-types): Doc fix.
4473 2011-05-29  Deniz Dogan  <deniz@dogan.se>
4475         * net/rcirc.el (rcirc): Use the user's stored encryption method by
4476         default.
4478 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4480         * select.el: Don't perform clipboard-manager saving in hooks;
4481         leave the hooks empty.
4483 2011-05-28  Leo Liu  <sdl.web@gmail.com>
4485         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
4486         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
4487         (occur-edit-mode): New major mode (Bug#8463).
4488         (occur-after-change-function): New function.
4489         (occur-engine): Give Occur tags a read-only property.
4491 2011-05-28  Kevin Ryde  <user42@zip.com.au>
4493         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4495 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4497         * bindings.el (help-echo): Make the initial non-indicator dash
4498         empty on graphical terminals (Bug#7295).
4500         * files.el (auto-mode-alist): Move config rule after the
4501         in-stripping one (Bug#8547).
4503         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
4505         * startup.el (normal-splash-screen): Remove gratuitous mode-line
4506         setting (Bug#8740).
4508 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
4510         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4511         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4512         (Bug#8539).
4514 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4516         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4518 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
4520         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4521         (hs-hide-block-at-point, hs-find-block-beginning)
4522         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4523         (Bug#8279).
4525 2011-05-28  Glenn Morris  <rgm@gnu.org>
4527         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
4529 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4531         * help-fns.el (describe-function-1): If the function is a derived
4532         major mode, print the parent mode.
4534         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4535         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4537 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4539         * minibuffer.el (completion--capf-wrapper): Check applicability before
4540         retuning non-nil for non-exclusive completion data.
4541         * progmodes/etags.el (tags-completion-at-point-function):
4542         * info-look.el (info-lookup-completions-at-point): Mark as
4543         non-exclusive.
4544         (info-complete): Adjust accordingly.
4546         * info-look.el: Convert to lexical-binding and completion-at-point.
4547         (info-lookup-completions-at-point): New function.
4548         (info-complete): Use it and completion-in-region.
4550 2011-05-28  Drew Adams  <drew.adams@oracle.com>
4552         * isearch.el: Let M-e start with point at the first mismatched char.
4553         (isearch-fail-pos): New function.
4554         (isearch-edit-string): Use it.
4556 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
4558         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4560 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
4562         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
4563         traversal functions for avl-trees.
4564         (avl-tree--stack): New struct.
4565         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4566         (avl-tree-enter): Add optional `updatefun' arg.
4567         (avl-tree--do-enter): Add optional `updatefun' arg.
4568         Change return value.
4569         (avl-tree-delete): Add optional `test' and `nilflag' args.
4570         (avl-tree--do-delete): Add `test' and `nilflag' args.
4571         Change return value.
4572         (avl-tree-member): Add optional `nilflag'
4573         (avl-tree-member-p): New function.
4574         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4575         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4576         (avl-tree-stack-empty-p): New functions.
4578 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
4580         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4581         avl-tree--del-balance1 and make it work both ways.
4582         (avl-tree--del-balance2): Remove.
4583         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4584         make it work both ways.
4585         (avl-tree--enter-balance2): Remove.
4586         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4587         New macros.
4588         (avl-tree--mapc, avl-tree-map): Add direction argument.
4590 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
4592         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4594 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
4596         * select.el: Support clipboard managers with built-in function
4597         x-clipboard-manager-save, via delete-frame-functions and
4598         kill-emacs-hook.
4599         (xselect-convert-to-targets): Add MULTIPLE target to list.
4600         (xselect-convert-to-save-targets): New function.
4602 2011-05-27  Kenichi Handa  <handa@m17n.org>
4604         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4605         let-binding rfc2047-encode-encoded-words to nil.
4607 2011-05-27  Glenn Morris  <rgm@gnu.org>
4609         * mail/emacsbug.el: Don't require url-util.
4611         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
4613         * files.el (set-auto-mode):
4614         Also respect mode: entries at the end of the file.  (Bug#8586)
4616 2011-05-26  Glenn Morris  <rgm@gnu.org>
4618         * files.el (hack-local-variables-prop-line, hack-local-variables):
4619         Downcase mode names, as seems to be traditional.
4620         (hack-local-variables, hack-local-variables-apply): Doc fixes.
4622         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4623         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
4625 2011-05-25  Julien Danjou  <julien@danjou.info>
4627         * textmodes/rst.el (rst-define-level-faces): Do not define face
4628         symbol if it is already defined.
4630 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4632         * play/5x5.el (5x5-new-game, 5x5-randomize):
4633         Reset 5x5-solver-output to nil when a new grid is cast.
4634         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4635         these debugging traces, as defmacro breaks the compiled code.
4637 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
4639         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4641 2011-05-24  Leo Liu  <sdl.web@gmail.com>
4643         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4644         (vc-bzr-sha1): Adapt.
4646         * sha1.el: Remove.  Function `sha1' is now builtin.
4648         * bindings.el: Provide sha1 feature.
4650 2011-05-24  Kenichi Handa  <handa@m17n.org>
4652         * mail/sendmail.el: Require `rfc2047'.
4653         (mail-insert-from-field): Do not perform RFC2047 encoding.
4654         (mail-encode-header): New function.
4655         (sendmail-send-it): Set buffer-file-coding-system of the work
4656         buffer to the return value of select-message-coding-system.
4657         Call mail-encode-header.
4659         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4661 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
4663         * mail/supercite.el (sc-default-cite-frame):
4664         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
4666 2011-05-24  Glenn Morris  <rgm@gnu.org>
4668         * progmodes/python.el (brm-menu): Declare.
4670         * emulation/viper.el (viper-set-hooks): Declare.
4672         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4673         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4674         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4675         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4676         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4677         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4679 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4681         Add an :exit-function for completion-at-point.
4683         * minibuffer.el (completion--done): New fun.
4684         (completion--do-completion): Use it.  New arg `expect-exact'.
4685         (minibuffer-complete, minibuffer-complete-word): Don't output message,
4686         since completion--do-completion does it for us now.
4687         (minibuffer-force-complete): Use completion--done and
4688         completion--replace.  Handle sole-completion case with more care.
4689         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4690         (completion-extra-properties): New var.
4691         (completion-annotate-function): Make obsolete.
4692         (minibuffer-completion-help): Adjust accordingly.
4693         Use completion-list-insert-choice-function.
4694         (completion-at-point, completion-help-at-point):
4695         Bind completion-extra-properties.
4696         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4697         * simple.el (completion-list-insert-choice-function): New var.
4698         (completion-setup-function): Preserve it.
4699         (choose-completion): Pay attention to it, shuffle the code a bit.
4700         (choose-completion-string): New arg `insert-function'.
4702         * textmodes/bibtex.el: Convert to lexical binding.
4703         (bibtex-mode-map): Use completion-at-point.
4704         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4705         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4706         (bibtex-complete): Define as obsolete alias.
4707         (bibtex-complete-internal): Remove.
4708         (bibtex-format-entry): Remove unused sub-group in regexp.
4709         * shell.el (shell--command-completion-data)
4710         (shell-environment-variable-completion):
4711         * pcomplete.el (pcomplete-completions-at-point):
4712         * comint.el (comint--complete-file-name-data): Use :exit-function
4713         instead of completion-table-with-terminator so it also works for
4714         choose-completion.
4716 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4718         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4720         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4721         (bug#8710).
4723         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4725 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
4727         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4728         customization variable and implement: If non-nil, auto-fill will
4729         be inhibited while on topic's header line.
4731 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4733         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
4734         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
4735         always have a solution in grid size = 5 cases.
4736         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4737         (5x5-solver-output, 5x5-log-buffer): New vars.
4738         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4739         Make these variables buffer local to achieve 5x5 multi-session-ness.
4740         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4741         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4742         (5x5-solve-suggest): New funs.
4743         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4744         randomize a grid so that we ensure that there is always a solution.
4745         (5x5-make-random-grid): Allow other movement than flipping.
4747 2011-05-23  Kevin Ryde  <user42@zip.com.au>
4749         * emacs-lisp/advice.el (ad-read-advised-function):
4750         Use `function-called-at-point' as the default default, if it has
4751         advice and passes PREDICATE.
4753 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4755         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4756         byte-compile-lambda if it's actually a lambda.
4758         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4759         Fix function quoting.  Use backquote better.
4761 2011-05-22  Yuanle Song  <sylecn@gmail.com>
4763         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4764         matching (Bug#8516).
4766 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
4768         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4769         different face (Bug#8178).
4771 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
4773         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4774         defface (Bug#8144).
4776 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4778         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4779         funcall as well (bug#8712).  Warn when performing those conversions.
4780         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4782         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4784 2011-05-22  Glenn Morris  <rgm@gnu.org>
4786         * files.el (hack-local-variables-prop-line): Small simplifications.
4787         (hack-local-variables, hack-local-variables-prop-line):
4788         If MODE-ONLY, return the mode, rather than just `t'.
4790 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4792         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4794 2011-05-21  Glenn Morris  <rgm@gnu.org>
4796         * files.el (hack-local-variables-prop-line, hack-local-variables):
4797         If only interested in the mode, don't bother doing the other stuff.
4799         * image-mode.el (image-after-revert-hook):
4800         Redraw all frames on which the image is visible.  (Bug#8567)
4802         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
4804         * wid-edit.el (widget-checklist-match-inline):
4805         Fix 2011-04-19 change.  (Bug#8649)
4807 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4809         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4810         Also allow singlespace after single-letter capitals followed by a dot.
4812         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4813         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4815 2011-05-20  Nix  <nix@esperi.org.uk>
4817         * files.el (basic-save-buffer-2):
4818         Fix handling of break-hardlink-on-save with non-existent files.
4820 2011-05-19  Deniz Dogan  <deniz@dogan.se>
4822         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
4823         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
4825 2011-05-19  Glenn Morris  <rgm@gnu.org>
4827         * progmodes/f90.el (f90-type-def-re):
4828         Handle "type, bind(c)".  (Bug#8691)
4830         * emacs-lisp/autoload.el (batch-update-autoloads):
4831         Set autoload-excludes by parsing loadup.el rather than Makefiles.
4833 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
4835         * net/tramp.el (tramp-process-actions): Set "first-password-request"
4836         property for the correct connection in case of multihops.
4838 2011-05-18  Glenn Morris  <rgm@gnu.org>
4840         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
4841         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4843         Rationalize calendar handling of day and month abbrev-arrays.
4844         * calendar/calendar.el (calendar-customized-p): New function.
4845         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4846         (calendar-day-name-array, calendar-month-name-array): Doc fix.
4847         Add :set function.
4848         (calendar-abbrev-length, calendar-day-abbrev-array)
4849         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4850         (calendar-day-abbrev-array, calendar-month-abbrev-array):
4851         Elements may no longer be nil.
4852         (calendar-day-name, calendar-month-name):
4853         Update for changed nature of abbrev arrays.
4854         * calendar/diary-lib.el (diary-name-pattern):
4855         Update for changed nature of abbrev arrays.
4856         (diary-mark-entries-1): Update calendar-make-alist calls.
4857         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4858         * calendar/cal-html.el (cal-html-day-abbrev-array):
4859         Simply inherit from calendar-day-abbrev-array.
4861 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4863         * progmodes/grep.el (grep-mode): Disable default
4864         compilation-directory-matcher setting (bug#8684).
4866 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
4868         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4869         instead of "head" and "tail".  There were problems with SunOS 5.9,
4870         and it performs better.
4872 2011-05-17  Glenn Morris  <rgm@gnu.org>
4874         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4876         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4877         Replace obsolete function.
4879         * shell.el (pcomplete-parse-arguments-function): Declare.
4881         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4882         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4883         (appt-check): Doc fixes.
4884         (appt-disp-window-function, appt-delete-window-function):
4885         Remove needless special case in custom :type.
4886         (appt-display-count): Default to 0, not nil.
4887         (appt-check): Reset appt-display-count to 0, not nil.
4889 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
4891         * progmodes/python.el (python-font-lock-keywords):
4892         Add the Python 3.X keyword "nonlocal" (bug#8639).
4894 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4898 2011-05-16  Kevin Ryde  <user42@zip.com.au>
4900         * info-look.el (makefile-automake-mode): New setups, looking in
4901         automake manual, then makefile-mode.
4902         (makefile-mode): Remove automake manual, have it just in
4903         makefile-automake-mode since there's various things different or
4904         not relevant to plain make.
4905         (makefile-mode): Remove "other-modes" non-existent automake-mode,
4906         believe a hypothetical automake-mode would go to makefile-mode,
4907         not the other way around.
4909 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
4911         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4912         hunk-end tags (Bug#8672).
4914         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4915         vc-annotate-show-diff-revision-at-line (Bug#8671).
4917 2011-05-14  Glenn Morris  <rgm@gnu.org>
4919         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4920         in the middle of an existing one with multiple authors.  (Bug#8645)
4921         (change-log-font-lock-keywords): Also handle multiple author lines
4922         with leading tabs.  (Bug#8644)
4924         * calendar/appt.el (appt-check): Rename some local variables.
4925         Some simplification/reordering.
4927         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4928         (feedmail-sendmail-f-doesnt-sell-me-out)
4929         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4930         (feedmail-debug-sit-for, feedmail-queue-express-hook)
4931         (feedmail-queue-runner-message-sender): Set :version.
4932         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4933         (bbdb-dwim-net-address, vm-mail): Declare.
4934         (feedmail-binmail-gnulinuxish-template):
4935         Rename from feedmail-binmail-linuxish-template.
4936         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4937         Use insert-buffer-substring.
4939 2011-05-14  Bill Carpenter  <bill@carpenter.org>
4941         * mail/feedmail.el (feedmail-patch-level): Increase.
4942         (feedmail-debug): New custom group.
4943         (feedmail-confirm-outgoing-timeout)
4944         (feedmail-sendmail-f-doesnt-sell-me-out)
4945         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4946         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4947         (feedmail-sender-line, feedmail-from-line)
4948         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
4949         (feedmail-spray-this-address)
4950         (feedmail-spray-address-fiddle-plex-list)
4951         (feedmail-queue-use-send-time-for-date)
4952         (feedmail-queue-use-send-time-for-message-id)
4953         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4954         (feedmail-buffer-eating-function):
4955         Doc fixes.
4956         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4957         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4958         (feedmail-message-action-scroll-down): New functions.
4959         (feedmail-queue-directory, feedmail-queue-draft-directory):
4960         Use expand-file-name.
4961         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4962         Remove C-v help entry.
4963         (feedmail-queue-buffer-file-name): New variable.
4964         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4965         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4966         (feedmail-message-action-send-strong, feedmail-message-action-edit)
4967         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4968         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4969         (feedmail-message-action-toggle-spray)
4970         (feedmail-run-the-queue-no-prompts)
4971         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4972         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4973         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4974         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4975         (feedmail-envelope-deducer, feedmail-fiddle-from)
4976         (feedmail-fiddle-sender, feedmail-default-date-generator)
4977         (feedmail-fiddle-date, feedmail-fiddle-message-id)
4978         (feedmail-fiddle-spray-address)
4979         (feedmail-fiddle-list-of-spray-fiddle-plexes)
4980         (feedmail-fiddle-list-of-fiddle-plexes)
4981         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4982         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4983         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4984         Change default.  Doc fix.
4985         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4986         (feedmail-binmail-linuxish-template): New constant.
4987         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
4988         Respect feedmail-sendmail-f-doesnt-sell-me-out.
4989         (feedmail-send-it): Add debug call.
4990         Use feedmail-queue-buffer-file-name, and
4991         feedmail-send-it-immediately-wrapper.
4992         (feedmail-message-action-send): Add debug call.
4993         Use feedmail-send-it-immediately-wrapper.
4994         (feedmail-queue-express-to-queue): Add debug call.
4995         Run feedmail-queue-express-hook.
4996         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
4997         (feedmail-message-action-help-blat):
4998         Rename from feedmail-queue-send-edit-prompt-help-first.
4999         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
5000         Check line-endings.  Handle errors better.
5001         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5002         Doc fix.  Add debug call.
5003         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
5004         Use feedmail-queue-send-edit-prompt-inner.
5005         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5006         (feedmail-queue-send-edit-prompt-inner): New function, extracted
5007         from feedmail-queue-send-edit-prompt.
5008         (feedmail-queue-send-edit-prompt-help)
5009         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5010         (feedmail-tidy-up-slug): Add debug call.
5011         Respect feedmail-queue-slug-suspect-regexp.
5012         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5013         (feedmail-dump-message-to-queue): Add debug call.
5014         Expand queue-directory.
5015         (feedmail-dump-message-to-queue): Change message slightly.
5016         Use feedmail-say-chatter.
5017         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
5018         (feedmail-send-it-immediately-wrapper): New function.
5019         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
5020         Insert empty string rather than newline.  Handle full-frame case.
5021         Use catch/throw.  Use feedmail-say-chatter.
5022         (feedmail-fiddle-from): Try mail-host-address.
5023         (feedmail-default-message-id-generator): Doc fix.
5024         Bind system-time-locale.  Handle missing end.
5025         (feedmail-fiddle-x-mailer): Add debug call.
5026         Handle feedmail-x-mailer-line being nil.
5027         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5028         Add debug call.  Use buffer-substring-no-properties.
5029         (feedmail-say-debug, feedmail-say-chatter): New functions.
5030         (feedmail-find-eoh): Give an explicit error.
5032 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
5034         * net/newst-treeview.el (newsticker-treeview-face): Change default
5035         family from helvetica to sans.
5036         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
5037         etc/images/newsticker.
5039         * net/newst-reader.el (newsticker-feed-face): Change default
5040         family from helvetica to sans.
5042         * net/newst-plainview.el (newsticker-new-item-face)
5043         (newsticker-old-item-face, newsticker-immortal-item-face)
5044         (newsticker-obsolete-item-face, newsticker-date-face)
5045         (newsticker-statistics-face): Change default family from
5046         helvetica to sans.
5047         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
5048         etc/images/newsticker.
5050         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5051         (newsticker--process-auto-mark-filter-match): : Tell user about
5052         auto-marking.
5054 2011-05-13  Didier Verna  <didier@xemacs.org>
5056         Common Lisp indentation improvements on defmethod and lambda-lists.
5057         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5058         TODO entries.
5059         (lisp-lambda-list-keyword-parameter-indentation)
5060         (lisp-lambda-list-keyword-parameter-alignment)
5061         (lisp-lambda-list-keyword-alignment): New customizable user options.
5062         (lisp-indent-defun-method): Improve docstring.
5063         (extended-loop-p): Fix comment.
5064         (lisp-indent-lambda-list-keywords-regexp): New variable.
5065         (lisp-indent-lambda-list): New function.
5066         (lisp-indent-259): Use it.
5067         (lisp-indent-defmethod): Support for more than one
5068         method qualifier and properly indent methods lambda-lists.
5069         (defgeneric): Provide a missing common-lisp-indent-function property.
5071 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5074         bounds for the empty string (bug#8667).
5076 2011-05-13  Glenn Morris  <rgm@gnu.org>
5078         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5080         * mail/sendmail.el (sendmail-program): Try executable-find first.
5081         (sendmail-send-it): `sendmail-program' cannot be unbound.
5083         * calendar/appt.el (appt-make-list): Simplify.
5084         (appt-time-msg-list): Doc fix.
5085         (appt-check): Change mode-line message at the time of the appointment.
5087 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5089         * progmodes/ld-script.el (ld-script-keywords)
5090         (ld-script-builtins): Update keywords list.
5092 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5094         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5096         * shell.el (shell-completion-vars): New function.
5097         (shell-mode):
5098         * simple.el (read-shell-command): Use it.
5099         (blink-matching-open): No need for " [...]" in minibuffer-message.
5101 2011-05-12  Glenn Morris  <rgm@gnu.org>
5103         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5104         (appt-check): Simplify.
5106 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
5108         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
5109         literal "/dev/null".
5111 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5113         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5114         Fix typo.
5116 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
5118         * progmodes/which-func.el (which-function):
5119         Use add-log-current-defun instead of add-log-current-defun-function,
5120         which might not be defined (Bug#8260).
5122 2011-05-12  Glenn Morris  <rgm@gnu.org>
5124         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5125         Let byte-compile-initial-macro-environment always take precedence.
5127 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * net/rcirc.el: Add support for SSL/TLS connections.
5130         (rcirc-server-alist): New field `encryption'.
5131         (rcirc): Check `encryption' settings.
5132         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
5133         Merge make-local-variable into `set'.
5134         (rcirc--connection-open-p): New function.
5135         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5136         the process is not a network process (e.g. running gnutls-cli).
5137         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5138         Make rcirc-(en|de)code-coding-system local here.
5139         (rcirc-mode): Merge make-local-variable into `set'.
5140         (rcirc-parent-buffer): Make permanent buffer-local.
5141         (rcirc-multiline-minor-mode): Don't do it here.
5142         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5143         there's no server buffer.
5145 2011-05-11  Glenn Morris  <rgm@gnu.org>
5147         * newcomment.el (comment-kill): Prefix "unused" local.
5149         * term/w32console.el (get-screen-color): Declare.
5151         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5152         Handle symbol elements of byte-compile-initial-macro-environment.
5154 2011-05-10  Leo Liu  <sdl.web@gmail.com>
5156         * bookmark.el (bookmark-bmenu-mode-map):
5157         Bind bookmark-bmenu-search to `/'.
5159         * mail/footnote.el: Convert to utf-8 encoding.
5160         (footnote-unicode-string, footnote-unicode-regexp): New variable.
5161         (Footnote-unicode): New function.
5162         (footnote-style-alist): Add unicode style to the list.
5163         (footnote-style): Doc fix.
5165 2011-05-10  Jim Meyering  <meyering@redhat.com>
5167         Fix doubled-word typos.
5168         * international/quail.el (quail-insert-kbd-layout): and and -> and
5169         * kermit.el: and and -> and
5170         * net/ldap.el (ldap-search-internal): to to -> to
5171         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5172         * progmodes/js.el (js-mode): and and -> and
5173         * textmodes/artist.el (artist-move-to-xy): at at -> at
5174         (artist-draw-region-trim-line-endings): if if -> if
5175         And Safetyc -> Safety.
5176         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5178 2011-05-10  Glenn Morris  <rgm@gnu.org>
5179             Stefan Monnier  <monnier@iro.umontreal.ca>
5181         * files.el (hack-one-local-variable-eval-safep):
5182         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
5184 2011-05-10  Glenn Morris  <rgm@gnu.org>
5186         * calendar/diary-lib.el (diary-list-entries-hook)
5187         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5188         (diary-nongregorian-marking-hook, diary-list-entries)
5189         (diary-include-other-diary-files, diary-mark-entries)
5190         (diary-mark-included-diary-files): Doc fixes.
5192 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
5194         * misc.el: Require tabulated-list.el during compilation.
5196 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
5198         * progmodes/compile.el (compilation-start):
5199         Run compilation-filter-hook for the async case too.
5200         (compilation-filter-hook): Doc fix.
5202 2011-05-09  Deniz Dogan  <deniz@dogan.se>
5204         * wdired.el: Remove outdated installation comment.  Fix usage
5205         comment.
5207 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
5209         * misc.el: Implement new command `list-dynamic-libraries'.
5210         (list-dynamic-libraries--loaded-only-p): New variable.
5211         (list-dynamic-libraries--refresh): New function.
5212         (list-dynamic-libraries): New command.
5214 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
5216         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5217         Fix the ant regexp to handle end-line and end-column info from jikes.
5218         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
5219         higher priority to avoid clobbering by gnu.
5221 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
5223         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5224         if the face has existing theme settings (Bug#8454).
5226 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
5228         * progmodes/perl-mode.el (perl-imenu-generic-expression):
5229         Only match variables declared via `my' or `our' (Bug#8261).
5231         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5232         special file names `.' and `..' (Bug#8259).
5234 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
5236         * progmodes/grep.el (grep-mode-font-lock-keywords):
5237         Remove buffer-changing entries.
5238         (grep-filter): New function.
5239         (grep-mode): Add it to compilation-filter-hook.
5241         * progmodes/compile.el (compilation-filter-hook)
5242         (compilation-filter-start): New defvars.
5243         (compilation-filter): Call compilation-filter-hook prior to
5244         updating the process mark.
5246 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5248         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5250 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
5252         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5253         mailclient-send-it even if window-system is nil.  (Bug#8595)
5255         * term/w32console.el (terminal-init-w32console):
5256         Call get-screen-color and use its output to set the frame
5257         background-mode.  (Bug#8597)
5259 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5261         Make bytecomp.el understand that defmethod defines funs (bug#8631).
5262         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5263         New functions.
5264         (defgeneric, eieio--defmethod): Use them.
5265         (eieio-defgeneric): Remove.
5266         (defmethod): Call defgeneric in a way visible to the byte-compiler.
5268 2011-05-07  Glenn Morris  <rgm@gnu.org>
5270         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5271         Use let rather than let*.
5272         (timeclock-find-discrep): Remove unused local.
5274         * calendar/diary-lib.el (diary-comment-start): Doc fix.
5276         * calendar/appt.el (appt-time-msg-list): Doc fix.
5278 2011-05-06  Noah Friedman  <friedman@splode.com>
5280         * apropos.el (apropos-print-doc): Only use
5281         emacs-lisp-docstring-fill-column when it is bound to an integer,
5282         per that variable's documentation.
5284 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5286         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
5287         and warnings are not silently discarded (e.g. use -d instead of -P).
5289 2011-05-06  Glenn Morris  <rgm@gnu.org>
5291         * calendar/appt.el (appt-message-warning-time): Doc fix.
5292         (appt-warning-time-regexp): New option.
5293         (appt-make-list): Respect appt-message-warning-time.
5295         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5296         New options.
5297         (diary-add-to-list): Strip comments from the displayed string.
5298         (diary-mode): Set comment-start and comment-end.
5300         * vc/diff-mode.el (smerge-refine-subst): Declare.
5301         (diff-refine-hunk): Don't require smerge-mode when compiling.
5303 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
5305         * simple.el (list-processes): Return nil as the docstring says.
5307 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
5309         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5310         to "".
5311         (ange-ftp-write-region, ange-ftp-insert-file-contents)
5312         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5313         determining of binary transfer.  (Bug#7383)
5315 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
5317         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5318         Fix port computation bug.  (Bug#8618)
5320 2011-05-05  Glenn Morris  <rgm@gnu.org>
5322         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5324         * simple.el (shell-dynamic-complete-functions)
5325         (comint-dynamic-complete-functions): Declare.
5327         * net/network-stream.el (gnutls-negotiate):
5328         * simple.el (tabulated-list-print): Fix declarations.
5330         * progmodes/gud.el (syntax-symbol, syntax-point):
5331         Remove unnecessary and incorrect declarations.
5333         * emacs-lisp/check-declare.el (check-declare-scan):
5334         Handle byte-compile-initial-macro-environment in bytecomp.el
5336 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5338         Fix earlier half-done eieio-defmethod change (bug#8338).
5339         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5340         Streamline and change calling convention.
5341         (defmethod): Adjust accordingly and simplify.
5342         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5343         new eieio--defmethod.
5344         (slot-boundp): Minor CSE simplification.
5346 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
5348         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5349         (glasses-make-readable): Use glasses-separate-capital-groups.
5351 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
5353         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5354         (warning-series): Doc fix.
5355         (display-warning): Don't try to create the buffer if we just found it.
5357 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
5359         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5360         (autoload-find-generated-file): New function.
5361         (generate-file-autoloads): Bind generated-autoload-file to
5362         buffer-file-name.
5363         (update-file-autoloads, update-directory-autoloads):
5364         Use autoload-find-generated-file.  If called interactively, prompt for
5365         output file (Bug#7989).
5366         (batch-update-autoloads): Doc fix.
5368 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
5370         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5372 2011-05-04  Glenn Morris  <rgm@gnu.org>
5374         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5375         function, so it follows changes in calendar-date-style.
5376         (diary-fancy-date-matcher): New function.
5377         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5378         (diary-fancy-font-lock-fontify-region-function):
5379         Use diary-fancy-date-pattern as a function.
5381         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5382         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
5384 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
5386         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5387         instead of positional arguments.  Allow :keylist and :crlfiles
5388         arguments.
5389         (open-gnutls-stream): Call it.
5391         * net/network-stream.el (network-stream-open-starttls): Adjust to
5392         call `gnutls-negotiate' with :process and :hostname arguments.
5394 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * minibuffer.el (completion--message): New function.
5397         (completion--do-completion, minibuffer-complete)
5398         (minibuffer-force-complete, minibuffer-complete-word): Use it.
5399         (completion--do-completion): Don't ignore completion-auto-help when in
5400         icomplete-mode.
5402         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
5403         internal encoding (e.g. tibetan zero is not whitespace).
5404         (global-whitespace-mode): Prefer save-current-buffer.
5405         (whitespace-trailing-regexp): Remove useless save-match-data.
5406         (whitespace-empty-at-bob-regexp): Minor simplification.
5408 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
5410         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
5412 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5414         * textmodes/ispell.el (ispell-add-per-file-word-list):
5415         Use `concat' to create string for insertion.
5417 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5419         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
5420         Avoid open-line which runs post-self-insert-hook.
5421         (bibtex-fill-entry): Remove unused `end' var.
5423 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
5425         * textmodes/ispell.el (ispell-add-per-file-word-list):
5426         Protect against `nil' value of `comment-start' (Bug#8579).
5428 2011-05-03  Leo Liu  <sdl.web@gmail.com>
5430         * isearch.el (isearch-yank-pop): New command.
5431         (isearch-mode-map): Bind it to `M-y'.
5432         (isearch-forward): Mention it.
5434 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5436         * simple.el (minibuffer-complete-shell-command): Remove.
5437         (minibuffer-local-shell-command-map): Use completion-at-point.
5438         (read-shell-command): Setup completion vars here instead.
5439         (read-expression-map): Bind TAB to symbol completion.
5441         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
5442         error directly rather via storing it into `results'.
5444 2011-05-02  Leo Liu  <sdl.web@gmail.com>
5446         * vc/diff.el: Fix description.
5448 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5450         * server.el (server-eval-at): New function.
5452 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5454         * net/network-stream.el (open-network-stream): Take a :nowait
5455         parameter and pass it on to `make-network-process'.
5456         (network-stream-open-plain): Ditto.
5458 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5460         * faces.el (face-spec-set-match-display): Don't match toolkit
5461         options on terminal frames.
5463 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * progmodes/pascal.el: Use lexical binding.
5466         (pascal-mode-map): Remove author preferences.
5468         * pcomplete.el (pcomplete-std-complete): Don't abuse
5469         completion-at-point.
5471 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
5473         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
5474         removing code that has been dead since 1991 or so.
5476         * startup.el (command-line): When warning about "_emacs", use a
5477         delayed warning to allow the user to filter it out.
5479 2011-04-28  Deniz Dogan  <deniz@dogan.se>
5481         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
5482         user has not joined.
5484 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5486         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
5487         aren't any completions at point.
5489 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
5491         * subr.el (display-delayed-warnings): New function.
5492         (delayed-warnings-hook): New variable.
5494 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5496         * minibuffer.el (completion-at-point, completion-help-at-point):
5497         Don't presume that a given completion-at-point-function will always
5498         use the same calling convention.
5500         * pcomplete.el (pcomplete-completions-at-point):
5501         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
5502         pcomplete-seen is non-nil.
5503         (pcomplete-comint-setup): Also recognize the new comint/shell
5504         completion functions.
5505         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
5506         pcomplete-seen is non-nil.
5508 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
5510         * calendar/icalendar.el (diary-lib): Add require statement.
5511         (icalendar--create-uid): Read out a uid from a text-property on
5512         the first character in the entry.  This allows for code to add its
5513         own uid to the entry.
5514         (icalendar--convert-float-to-ical): Add export of
5515         `diary-float'-entries save for those with the optional DAY
5516         argument.
5518 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
5520         * subr.el (shell-quote-argument): Use alternate escaping strategy
5521         when we spot a variable reference in a string.
5523 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
5525         * cus-start.el (all): Define customization for debug-on-event.
5527 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
5529         * subr.el (shell-quote-argument): Escape correctly under Windows.
5531 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5533         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
5535 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
5537         * net/tramp.el (tramp-process-actions): Add POS argument.
5538         Delete region between POS and (pos).
5540         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5541         Use `nil' position in `tramp-process-actions' call.
5542         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
5544         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
5545         position in `tramp-process-actions' call.
5547         * net/trampver.el: Update release number.
5549 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * custom.el (defcustom): Obey lexical-binding.
5553         Fix octave-inf completion problems reported by Alexander Klimov.
5554         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5555         Inherit from octave-mode-syntax-table.
5556         (inferior-octave-mode): Set info-lookup-mode.
5557         (inferior-octave-completion-at-point): New function.
5558         (inferior-octave-complete): Use it and completion-in-region.
5559         (inferior-octave-dynamic-complete-functions): Use it as well, and use
5560         comint-filename-completion.
5561         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
5562         symbol elements which shouldn't be word elements.
5563         (octave-font-lock-keywords, octave-beginning-of-defun)
5564         (octave-function-header-regexp): Adjust regexps accordingly.
5565         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
5567 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
5569         * net/gnutls.el (gnutls-errorp): Declare before first use.
5571 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
5573         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
5574         verify-error, and verify-hostname-error parameters.  Check whether
5575         default trustfile exists before going to use it.  Add missing
5576         argument to gnutls-message-maybe call.  Return return value.
5577         Reported by Claudio Bley <claudio.bley@gmail.com>.
5578         (open-gnutls-stream): Add usage example.
5580         * net/network-stream.el (network-stream-open-starttls): Give host
5581         parameter to `gnutls-negotiate'.
5582         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
5583         * subr.el (shell-quote-argument): Escape correctly under Windows.
5585 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
5587         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5588         Use correct match group (bug#8438).
5590 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
5592         * emacs-lisp/package.el (package-built-in-p): Fix typo.
5593         (package-menu--generate): New arg specifying packages to show.
5594         (package-menu-refresh, package-menu-execute, list-packages):
5595         Callers changed.
5596         (package-show-package-list): New function, replacing deleted
5597         package--list-packages (renamed because it is non-internal).
5599         * finder.el (finder-list-matches): Use package-show-package-list
5600         instead of deleted package--list-packages.
5602         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5603         Based on a previous implementation by Juanma Barranquero (Bug#8366).
5604         (vc-annotate-mode-map): Bind it to RET.
5606 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5608         * progmodes/etags.el (next-file): Don't use set-buffer to change
5609         buffers (Bug#8478).
5611 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
5613         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5615         * apropos.el (apropos-label-face): Avoid variable-pitch face.
5616         (apropos-accumulator): Doc fix.
5617         (apropos-function, apropos-macro, apropos-command)
5618         (apropos-variable, apropos-face, apropos-group, apropos-widget)
5619         (apropos-plist): Add face property.
5620         (apropos-symbols-internal): Fix indentation.
5621         (apropos-print): Simplify help, and recognize apropos-multi-type.
5622         (apropos-print-doc): Use button-type-get to extract the button's
5623         face property.  Fill docstring (Bug#8352).
5625 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
5627         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5629         * play/mpuz.el (mpuz-silent): Doc fix.
5630         (mpuz-mode-map): Use mapc.
5631         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5632         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5633         Fix typos in docstrings.
5635         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5636         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5638         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5640 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
5642         * minibuffer.el (completion--do-completion): Avoid the "Next char
5643         not unique" prompt if icomplete-mode is enabled (Bug#5849).
5645         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5646         mouse-2 into unread-command-events, it is interpreted correctly.
5648         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
5649         (image-toggle-display): Doc fix.
5651 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
5653         * textmodes/page.el (what-page): Use line-number-at-pos to
5654         calculate line number (Bug#6825).
5656 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
5658         * eshell/esh-mode.el (find-tag-interactive): Declare function.
5659         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5660         Pass argument NO-DEFAULT to `find-tag-interactive'.
5662 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
5664         Lexical-binding cleanup.
5666         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5667         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5668         * progmodes/ada-prj.el (ada-prj-initialize-values)
5669         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5670         (ada-prj-show-value):
5671         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5672         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5673         (antlr-invalidate-context-cache, antlr-options-menu-filter)
5674         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5675         * progmodes/bug-reference.el (bug-reference-push-button):
5676         * progmodes/fortran.el (fortran-line-length):
5677         * progmodes/glasses.el (glasses-change):
5678         * progmodes/octave-mod.el (octave-fill-paragraph):
5679         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5680         (python-pdbtrack-grub-for-buffer, python-sentinel):
5681         * progmodes/sql.el (sql-save-connection):
5682         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5683         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5684         Mark unused parameters.
5686         * progmodes/compile.el (compilation--flush-directory-cache)
5687         (compilation--flush-parse, compile-internal): Mark unused parameters.
5688         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5689         (compilation-next-error-function): Remove unused variable `timestamp'.
5691         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5692         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5694         * progmodes/dcl-mode.el (dcl-end-of-command):
5695         Remove unused variable `start'.
5696         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5697         (dcl-option-value-basic, dcl-option-value-offset)
5698         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5699         Mark unused parameters.
5700         (dcl-save-local-variable): Remove unused variable `val'.
5701         (mode): Declare.
5703         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5704         Mark unused parameters.
5705         (delphi-ignore-changes): Move before first use.
5706         (delphi-charset-token-at): Remove unused variable `start'.
5707         (delphi-else-start): Remove unused variable `if-count'.
5708         (delphi-comment-block-start, delphi-comment-block-end):
5709         Remove unused variable `kind'.
5710         (delphi-indent-line): Remove unused variable `new-point'.
5712         * progmodes/ebrowse.el (ebrowse-files-list)
5713         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5714         Mark unused parameters.  Don't quote `lambda'.
5715         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5716         Don't quote `lambda'.
5717         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5718         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5719         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5720         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5721         Use `ignore-errors'.
5722         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5723         (ebrowse-view/find-file-and-search-pattern)
5724         (ebrowse-view/find-member-declaration/definition):
5725         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5726         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5727         Rename parameter PREFIX-ARG to PREFIX.
5728         (ebrowse-tags-read-name): Remove unused variables `start' and
5729         `member-info'.
5730         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5731         to `tags-file'.
5733         * progmodes/etags.el (local-find-tag-hook): Declare.
5734         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
5735         Mark unused parameters.
5737         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
5738         (executable-interpret): Mark unused parameter.
5740         * progmodes/flymake.el (flymake-process-sentinel)
5741         (flymake-after-change-function)
5742         (flymake-create-temp-with-folder-structure)
5743         (flymake-get-include-dirs-dot): Mark unused parameters.
5744         (flymake-safe-delete-directory): Remove unused variable `err'.
5746         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
5747         (speedbar-timer-fn, speedbar-line-text)
5748         (speedbar-change-expand-button-char, speedbar-delete-subblock)
5749         (speedbar-center-buffer-smartly): Declare functions.
5750         (gdb-find-watch-expression): Remove unused variable `array'.
5751         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
5752         (gdb-starting): Mark unused parameters.
5753         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
5754         (gdb-table-string): Remove unused variable `res'.
5755         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
5756         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
5757         (gdb-display-buffer): Remove unused variable `cur-size'.
5759         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
5760         allow lexical-binding compilation.
5761         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
5762         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
5763         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
5764         Mark unused parameters.
5765         (gud-gdb-marker-filter): Remove unused variable `match'.
5766         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
5767         lambda expressions and funcall them, instead of using `fset'.
5769         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
5770         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
5772         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
5773         variable `header-beg'; use `let'.
5775         * progmodes/icon.el (indent-icon-exp): Remove unused variables
5776         `restart', `last-sexp' and `at-do'.
5778         * progmodes/js.el (js--debug): Mark unused parameter.
5779         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
5780         (js--splice-into-items): Remove unused variable `item'.
5781         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
5783         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
5784         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
5785         (makefile-complete): Remove unused variable `try'.
5786         (makefile-fill-paragraph, makefile-match-function-end):
5787         Mark unused parameters.
5789         * progmodes/octave-inf.el (inferior-octave-complete):
5790         Remove unused variable `proc'.
5791         (inferior-octave-output-digest): Mark unused parameter.
5793         * progmodes/perl-mode.el (perl-calculate-indent):
5794         Remove unused variable `err'.
5796         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
5797         (prolog-indent-line): Mark unused parameters.
5798         (prolog-indent-line): Remove unused variable `beg'.
5800         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
5801         (reporter-dont-compact-list): Declare.
5803         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
5804         Remove unused variable `char'.
5805         (sh-debug): Mark unused parameter.
5806         (sh-get-indent-info): Remove unused variable `start'.
5807         (sh-calculate-indent): Remove unused variable `var'.
5809         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
5810         (simula-electric-keyword): Remove unused variable `null'.
5811         (simula-search-backward, simula-search-forward): Remove unused
5812         variables `begin' and `end'.
5814         * progmodes/vera-mode.el (vera-guess-basic-syntax):
5815         Remove unused variable `pos'.
5816         (vera-electric-tab, vera-comment-uncomment-region):
5817         Mark unused parameters.
5818         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
5820 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
5822         * emacs-lisp/package.el (package--builtins, package-alist)
5823         (package-load-descriptor, package-built-in-p, package-activate)
5824         (define-package, package-installed-p)
5825         (package-compute-transaction, package-buffer-info)
5826         (package--push): Doc fix.  Distinguish more clearly between
5827         version strings and version lists.
5829 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
5831         Lexical-binding cleanup.
5833         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5834         (5x5-make-mutate-best):
5835         * play/fortune.el (fortune-in-buffer):
5836         * play/gomoku.el (gomoku-init-display):
5837         * play/solitaire.el (solitaire, solitaire-do-check):
5838         * play/tetris.el (tetris-default-update-speed-function):
5839         Mark unused parameters.
5841         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5842         (bubbles--shift): Remove unused variable `char-org'.
5843         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
5844         (bubbles--show-images): Remove unused variable `char'.
5846         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5847         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5848         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5849         (decipher-analyze-buffer): Use ?\s.
5850         (decipher-make-checkpoint): Remove unused variable `mapping'.
5852         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5854         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5855         Remove unused variable `result'; use `let'.
5857         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5858         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5859         (gametree-children-shown-p, gametree-compute-reduced-score):
5860         Use `ignore-errors'.
5862         * play/handwrite.el (ps-lpr-switches): Declare.
5863         (handwrite): Remove unused variables `pmin' and `lastp'.
5865         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5867         * play/landmark.el (landmark-init-display)
5868         (landmark-update-naught-weights): Mark unused parameters.
5869         (landmark-y): Remove unused variable `noise'.  Simplify.
5870         (landmark-human-plays): Remove unused variable `score'.
5872         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5873         (mpuz-try-proposal): Remove unused variable `game'.
5875         * play/zone.el (life-patterns): Declare.
5877 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
5879         * vc/vc.el (ediff-vc-internal): Declare function.
5881 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5883         * shell.el: Use lexical-binding and std completion UI.
5884         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5885         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5886         comint-preoutput-filter-functions rather than on
5887         comint-output-filter-functions.
5888         (shell-command-completion, shell--command-completion-data)
5889         (shell-filename-completion, shell-environment-variable-completion)
5890         (shell-c-a-p-replace-by-expanded-directory): New functions.
5891         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5892         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5893         (shell-dynamic-complete-environment-variable): Use them.
5894         (shell-dynamic-complete-as-environment-variable)
5895         (shell-dynamic-complete-as-command): Remove.
5896         (shell-match-partial-variable): Match past point.
5897         * comint.el: Clean up use of completion-at-point-functions.
5898         (comint-completion-at-point): New function.
5899         (comint-mode): Use it completion-at-point-functions.
5900         (comint-dynamic-complete): Make it obsolete.
5901         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5902         (comint-c-a-p-replace-by-expanded-history): New function.
5903         (comint-dynamic-complete-functions)
5904         (comint-replace-by-expanded-history): Use it.
5905         * minibuffer.el (completion-table-with-terminator): Allow dynamic
5906         termination strings.  Try harder to avoid second try-completion.
5907         (completion-in-region-mode-map): Disable bindings that don't work yet.
5909         * comint.el: Use lexical-binding.  Require CL.
5910         (comint-dynamic-complete-functions): Use comint-filename-completion.
5911         (comint-completion-addsuffix): Tweak custom type.
5912         (comint-filename-completion, comint--common-suffix)
5913         (comint--common-quoted-suffix, comint--table-subvert)
5914         (comint--complete-file-name-data): New functions.
5915         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5916         (comint-dynamic-list-filename-completions): Use them.
5917         (comint-dynamic-simple-complete): Make obsolete.
5919         * minibuffer.el (completion-in-region-mode):
5920         Keep completion-in-region-mode--predicate global.
5921         (completion-in-region--postch):
5922         Assume completion-in-region-mode--predicate is not null.
5924         * progmodes/flymake.el (flymake-start-syntax-check-process):
5925         Obey `dir'.  Simplify.
5927         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5928         we're in VC after all.
5930 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
5932         * vc/vc.el (vc-diff-build-argument-list-internal)
5933         (vc-version-ediff, vc-ediff): New commands.
5934         (vc-version-diff): Use vc-diff-build-argument-list-internal.
5936 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5938         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5939         add sanity check.
5941         * obsolete/erc-hecomplete.el: Make obsolete.
5942         * obsolete/: Standardize obsolescence info in the header.
5944 2011-04-20  Glenn Morris  <rgm@gnu.org>
5946         * calendar/solar.el (solar-horizontal-coordinates):
5947         Use the longitude argument rather than `calendar-longitude'.
5948         (solar-date-next-longitude): Remove unused locals.
5950 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5952         * whitespace.el: New version 13.2.1.
5954 2011-04-20  felix  <EmacsWiki>  (tiny change)
5956         * whitespace.el (global-whitespace-mode): Keep highlight when
5957         switching between major modes on a file.
5959 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5961         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
5962         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
5963         multi-line comments as well.
5965 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
5967         Lexical-binding cleanup.
5969         * arc-mode.el (archive-mode-revert):
5970         * cmuscheme.el (scheme-interactively-start-process):
5971         * custom.el (custom-initialize-delay):
5972         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
5973         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
5974         * emacs-lock.el (emacs-lock-clear-sentinel):
5975         * ezimage.el (defezimage):
5976         * follow.el (follow-avoid-tail-recenter):
5977         * fringe.el (set-fringe-mode-1):
5978         * generic-x.el (bat-generic-mode-compile):
5979         * help-mode.el (help-info-variable, help-do-xref)
5980         (help-mode-revert-buffer):
5981         * help.el (view-emacs-todo):
5982         * iswitchb.el (iswitchb-completion-help):
5983         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
5984         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
5985         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
5986         * locate.el (locate-update):
5987         * longlines.el (longlines-encode-region)
5988         (longlines-after-change-function):
5989         * outline.el (outline-isearch-open-invisible):
5990         * ps-def.el (declare-function, charset-dimension, char-width)
5991         (encode-char):
5992         * ps-mule.el (ps-mule-plot-string):
5993         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
5994         (recentf-edit-list-select, recentf-edit-list-validate)
5995         (recentf-open-files-action):
5996         * rect.el (delete-whitespace-rectangle-line)
5997         (rectangle-number-line-callback):
5998         * register.el (window-configuration-to-register)
5999         (frame-configuration-to-register):
6000         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6001         * select.el (xselect-convert-to-string, xselect-convert-to-length)
6002         (xselect-convert-to-targets, xselect-convert-to-delete)
6003         (xselect-convert-to-filename, xselect-convert-to-charpos)
6004         (xselect-convert-to-lineno, xselect-convert-to-colno)
6005         (xselect-convert-to-os, xselect-convert-to-host)
6006         (xselect-convert-to-user, xselect-convert-to-class)
6007         (xselect-convert-to-name, xselect-convert-to-integer)
6008         (xselect-convert-to-atom, xselect-convert-to-identity):
6009         * subr.el (declare, ignore, process-kill-without-query)
6010         (text-clone-maintain):
6011         * terminal.el (te-get-char, te-tic-sentinel):
6012         * tool-bar.el (tool-bar-make-keymap):
6013         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6014         * type-break.el (type-break-mode, type-break-noninteractive-query):
6015         * view.el (View-back-to-mark):
6016         * wid-browse.el (widget-browse-action, widget-browse-widget)
6017         (widget-browse-widgets, widget-browse-sexp):
6018         * widget.el (define-widget-keywords):
6019         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6020         Mark unused parameters.
6022         * align.el (align-adjust-col-for-rule): Mark unused parameter.
6023         (align-areas): Remove unused variable `look'.
6024         (align-region): Remove unused variables `real-end' and `pos-list'.
6026         * apropos.el (apropos-score-doc): Remove unused variable `i'.
6028         * bindings.el (mode-line-modified, mode-line-remote):
6029         Mark unused parameters.
6030         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6032         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6033         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6035         * comint.el (comint-history-isearch-pop-state)
6036         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6037         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6038         (comint-substitute-in-file-name): Doc fix.
6040         * completion.el (cmpl-statistics-block): Mark unused parameter.
6041         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6042         (save-completions-to-file, load-completions-from-file):
6043         Remove unused local variable `e'.
6045         * composite.el (compose-chars): Remove unused variable `len'.
6046         (lgstring-insert-glyph): Remove unused variable `g'.
6047         (compose-glyph-string): Remove unused variables `ascent',
6048         `descent', `lbearing' and `rbearing'.
6049         (compose-glyph-string-relative): Remove unused variables
6050         `lbearing', `rbearing' and `wadjust'.
6051         (compose-gstring-for-graphic): Remove unused variables `header',
6052         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
6053         (compose-gstring-for-terminal): Remove unused variables `header'
6054         and `nchars'.  Use `let', not `let*'.
6056         * cus-edit.el (Custom-set, Custom-save, custom-reset)
6057         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6058         (Custom-buffer-done, custom-buffer-create-internal)
6059         (custom-browse-visibility-action, custom-browse-group-tag-action)
6060         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6061         (widget-magic-mouse-down-action, custom-toggle-parent)
6062         (custom-add-parent-links, custom-toggle-hide-variable)
6063         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6064         (custom-toggle-hide-face, face, hook, custom-group-link-action)
6065         (custom-face-menu-create, custom-variable-menu-create, get)
6066         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6067         (custom-reset-standard-save-and-update): Remove unused variable `value'.
6068         (customize-apropos): Remove unused variable `tests'.
6069         (custom-group-value-create): Remove unused variable `hidden-p'.
6070         (sort-fold-case): Declare.
6072         * cus-theme.el (custom-reset-standard-faces-list)
6073         (custom-reset-standard-variables-list): Declare.
6074         (customize-create-theme, custom-theme-revert, custom-theme-write)
6075         (custom-theme-choose-mode, customize-themes, custom-theme-save):
6076         Mark unused parameters.
6078         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6080         * delim-col.el (delimit-columns-max): Move defvar before first use.
6082         * descr-text.el (describe-char-categories): Don't quote `lambda'.
6083         (describe-char): Don't quote `lambda'.  Mark unused parameter.
6085         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6086         (auto-insert): Declare.
6087         (desktop-restore-file-buffer): Rename desktop-* parameters;
6088         mark unused ones.
6089         (desktop-create-buffer): Rename desktop-* parameters and bind them.
6090         (desktop-buffer): Rename desktop-* parameters.
6092         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6093         (dframe-reposition-frame-xemacs, dframe-help-echo)
6094         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6095         Mark unused parameters.
6097         * dired-aux.el (backup-extract-version-start, overwrite-query)
6098         (overwrite-backup-query, rename-regexp-query)
6099         (rename-non-directory-query): Declare.
6100         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6101         (dired-add-entry): Remove unused variable `orig-file-name'.
6102         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6103         Use parameter PRESERVE-TIME instead of accessing dynamic variable
6104         `dired-copy-preserve-time' directly.
6105         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6106         (dired-insert-subdir-newpos): Rename unused variable `pos'.
6108         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6109         (dired-virtual-revert, dired-make-relative-symlink):
6110         Mark unused parameters.
6111         (manual-program): Declare.
6112         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6113         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6114         wrapped in `with-no-warnings' to avoid replacing one warning by another.
6116         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6118         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6120         * echistory.el (electric-history-in-progress, Helper-return-blurb):
6121         Declare.
6123         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6125         * electric.el (Electric-command-loop): Rename parameter
6126         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6128         * expand.el (expand-in-literal): Remove unused variable `here'.
6130         * facemenu.el (facemenu-add-new-color):
6131         Remove unused variable `docstring'.
6133         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6134         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6135         (face-attr-construct): Mark unused parameter.  Doc fix.
6136         (read-color): Remove unused variable `hex-string'.
6138         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6139         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6140         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6141         (display-buffer-other-frame): Remove unused variable `old-window'.
6142         (kill-buffer-hook): Declare.
6143         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6144         Mark unused parameters.
6145         (after-find-file): Pass 1 to `auto-save-mode', not t.
6147         * files-x.el (auto-insert): Declare.
6148         (modify-file-local-variable-prop-line): Remove unused variable `val'.
6150         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
6151         variable `buf'.  Mark unused parameter.
6152         (find-lisp-insert-directory): Mark unused parameter.
6154         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6155         (format-encode-region): Remove unused variables `cur-buf' and `result'.
6156         (format-common-tail): Remove, unused.
6157         (format-deannotate-region): Remove unused variable `loc'.
6158         (format-annotate-region): Remove unused variable `p'.
6159         (format-annotate-single-property-change): Remove unused variables
6160         `default' and `tail'.
6162         * forms.el (read-file-filter): Declare.
6163         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6165         * frame.el (frame-creation-function-alist): Mark unused parameter.
6166         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6168         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6169         Remove unused parameters.
6170         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6171         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6173         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6174         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6175         (hfy-prepare-tag-map): Mark unused parameters.
6176         (htmlfontify-buffer): Use `called-interactively-p'.
6178         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6179         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6180         (ibuffer-do-occur): Mark unused parameters.
6181         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6182         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6184         * ibuffer.el: Don't quote `lambda'.
6185         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6186         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6187         Mark unused parameters.
6189         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6190         (ido-completing-read): Mark unused parameters.
6191         (ido-copy-current-word): Mark unused parameters;
6192         remove unused variable `name'.
6193         (ido-sort-merged-list): Remove unused parameter `dirs'.
6195         * ielm.el (ielm-input-sender): Mark unused parameter.
6196         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6197         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6198         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6199         `ielm-string' as a dynamic variable accessible from the IELM prompt.
6200         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
6202         * image-dired.el (image-dired-display-thumbs): Remove unused
6203         variables `curr-file' and `count'.
6204         (image-dired-remove-tag): Remove unused variable `start'.
6205         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6206         variable `curr-file'
6207         (image-dired-rotate-original): Remove unused variable `temp-file'.
6208         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6209         Remove unused variable `file'.
6210         (image-dired-gallery-generate): Remove unused variable `curr'.
6211         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6213         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6215         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6217         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6219         * isearch.el (minibuffer-history-symbol): Declare.
6220         (isearch-edit-string): Remove unused variable `err'.
6221         (isearch-message-prefix, isearch-message-suffix):
6222         Mark unused parameters.
6224         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6226         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6228         * makesum.el (double-column): Remove unused variable `cnt'.
6230         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6231         (ido-ignore-item-temp-list): Declare.
6233         * mouse-drag.el (mouse-drag-throw): Remove unused variables
6234         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6235         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6236         (mouse-drag-drag): Remove unused variables `mouse-delta' and
6237         `mouse-col-delta'.
6239         * mouse-sel.el (mouse-extend-internal):
6240         Remove unused variable `orig-window-frame'.
6242         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6243         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6244         Move declarations before first use.
6245         (pcomplete-opt): Mark unused parameters; doc fix.
6247         * proced.el (proced-revert): Mark unused parameter.
6248         (proced-send-signal): Remove unused variable `err'.
6250         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6251         Rename parameter PREFIX-ARG to ARG.
6252         (ps-basic-plot-string, ps-basic-plot-whitespace):
6253         Mark unused parameters.
6255         * replace.el (replace-count): Define.
6256         (occur-revert-function): Mark unused parameters.
6257         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6258         (isearch-case-fold-search, isearch-string): Declare.
6259         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6260         bind `case-fold-search'.  Remove unused variables `beg' and `end',
6261         and simplify.
6262         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6263         COUNT and bind `replace-count'.
6264         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6265         to COUNT.
6267         * savehist.el (print-readably, print-string-length): Declare.
6269         * shadowfile.el (shadow-expand-cluster-in-file-name):
6270         Remove unused variable `cluster'.
6271         (shadow-copy-file): Remove unused variable `i'.
6272         (shadow-noquery, shadow-clusters, shadow-site-cluster)
6273         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6274         (shadow-define-literal-group, shadow-define-regexp-group)
6275         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6277         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6278         (shell): Use `called-interactively-p'.
6279         (shell-directory-tracker): Remove unused variable `chdir-failure'.
6281         * simple.el (compilation-context-lines, comint-file-name-quote-list)
6282         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6283         (delete-backward-char): Remove unused variable `ocol'.
6284         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6285         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6286         (event-apply-hyper-modifier, event-apply-shift-modifier)
6287         (event-apply-control-modifier, event-apply-meta-modifier):
6288         Mark unused parameters.
6289         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6290         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6292         * speedbar.el (speedbar-ignored-directory-expressions)
6293         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6294         (speedbar-find-file, speedbar-dir-follow)
6295         (speedbar-directory-buttons-follow, speedbar-tag-find)
6296         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6297         (speedbar-buffers-line-directory, speedbar-buffer-click):
6298         Mark unused parameters.
6299         (speedbar-tag-file): Remove unused variable `mode'.
6300         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6302         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6304         * talk.el (talk): Remove unused variable `display'.
6306         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6307         (tar-write-region-annotate): Mark unused parameter.
6309         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6310         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6311         Declare them, wrapped in `with-no-warnings' to avoid replacing one
6312         warning by another.
6314         * time-stamp.el (time-stamp-string-preprocess):
6315         Remove unused variable `require-padding'.
6317         * tree-widget.el (widget-glyph-enable): Declare.
6318         (tree-widget-action): Mark unused parameter.
6320         * w32-fns.el (x-get-selection): Mark unused parameter.
6321         (autoload-make-program, generated-autoload-file): Declare.
6323         * wdired.el (wdired-revert): Mark unused parameters.
6324         (wdired-xcase-word): Remove unused variable `err'.
6326         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6327         (whitespace-help-scroll): Remove unused variable `data-help'.
6329         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6330         (widget-image-insert, widget-after-change, default)
6331         (widget-default-format-handler, widget-default-notify)
6332         (widget-default-prompt-value, widget-info-link-action)
6333         (widget-url-link-action, widget-function-link-action)
6334         (widget-variable-link-action, widget-file-link-action)
6335         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6336         (widget-field-prompt-internal, widget-field-action, widget-field-match)
6337         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6338         (widget-insert-button-action, widget-delete-button-action, visibility)
6339         (widget-documentation-link-action, widget-documentation-string-action)
6340         (widget-const-prompt-value, widget-regexp-match, symbol)
6341         (widget-coding-system-prompt-value)
6342         (widget-key-sequence-value-to-external, sexp)
6343         (widget-sexp-value-to-internal, character, vector, cons)
6344         (widget-choice-prompt-value, widget-boolean-prompt-value)
6345         (widget-color--choose-action): Mark unused parameters.
6346         (widget-item-match-inline, widget-choice-match-inline)
6347         (widget-checklist-match, widget-checklist-match-inline)
6348         (widget-group-match): Rename parameter VALUES to VALS.
6349         (widget-field-value-set): Remove unused variable `size'.
6350         (widget-color-action): Remove unused variables `value' and `start'.
6352         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
6353         variable `dir'.  Doc fix.
6354         (windmove-find-other-window): Don't pass it.
6356         * window.el (count-windows): Mark unused parameter.
6357         (bw-adjust-window): Remove unused variable `err'.
6359         * woman.el (woman-file-name): Remove unused variable `default'.
6360         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6361         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6362         (global-font-lock-mode): Declare.
6363         (woman-decode-region): Mark unused parameter.
6364         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6366         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6367         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6368         (x-dnd-handle-moz-url): Remove unused variable `title'.
6369         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6371         * xml.el (xml-parse-tag, xml-parse-attlist):
6372         Remove unused variable `pos'.
6374 2011-04-19  Glenn Morris  <rgm@gnu.org>
6376         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6377         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6378         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6379         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6380         * calendar/cal-html.el (cal-html-insert-minical):
6381         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6382         (calendar-mark-date-pattern):
6383         Prefix "unused" locals.
6385         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6386         optional argument `style'.
6388         * calendar/appt.el (appt-make-list):
6389         * calendar/cal-china.el (calendar-chinese-date-string):
6390         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6391         (diary-hebrew-yahrzeit):
6392         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6393         * calendar/calendar.el (calendar-generate-window):
6394         * calendar/time-date.el (time-to-days):
6395         Remove unused local variables.
6397 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
6399         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
6400         glyphless-char-display table.
6401         (tabulated-list-glyphless-char-display): New var.
6403 2011-04-18  Sam Steingold  <sds@gnu.org>
6405         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
6406         to acknowledgments.
6408 2011-04-17  Glenn Morris  <rgm@gnu.org>
6410         * calendar/diary-lib.el (diary-sexp-entry):
6411         * calendar/holidays.el (holiday-sexp):
6412         Set debug-on-error rather than the removed stack-trace-on-error.
6414 2011-04-16  Glenn Morris  <rgm@gnu.org>
6416         * progmodes/f90.el: Use lexical-binding.
6417         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
6419 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6421         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
6422         (mail-mode): Setup mailalias completion here instead.
6423         * mail/mailalias.el: Use lexical-binding.
6424         (pattern, mailalias-done): Declare dynamic.
6425         (mail-completion-at-point-function): New function, from mail-complete.
6426         (mail-complete): Use it.
6427         (mail-completion-expand): New function.
6428         (mail-get-names): Use it.
6429         (mail-directory, mail-directory-process, mail-directory-stream):
6430         Don't use `pattern' for lexically bound arg.
6432         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
6434         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
6435         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
6436         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
6438         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
6439         (byte-save-window-excursion, byte-temp-output-buffer-setup)
6440         (byte-interactive-p): Define them again, for use when inlining
6441         old code.
6443 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
6445         * loadup.el: Use `string-to-number', not `string-to-int'.
6447 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6449         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
6450         gud-gdb-complete-command.
6451         (gud-gdb-completions): New function, from gud-gdb-complete-command.
6452         (gud-gdb-completion-at-point): New function.
6453         (gud-gdb-completions): Remove.
6455 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
6457         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
6458         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
6459         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
6460         whether `executable-find' is bound.
6462         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
6464 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6466         * minibuffer.el (completion-in-region-mode-predicate)
6467         (completion-in-region-mode--predicate): New vars.
6468         (completion-in-region, completion-in-region--postch)
6469         (completion-in-region-mode): Use them.
6470         (completion--capf-wrapper): Also return the hook function.
6471         (completion-at-point, completion-help-at-point):
6472         Adjust and provide a predicate.
6474         Preserve arg names for advice of subr and lexical functions (bug#8457).
6475         * help-fns.el (help-function-arglist): Consolidate the subr and
6476         new-byte-code cases.  Add argument `preserve-names' to extract names
6477         from the docstring when needed.
6478         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
6479         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
6480         (ad-arglist): Use help-function-arglist's new arg.
6481         (ad-definition-type): Use cond.
6483 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
6485         * autorevert.el (auto-revert-handler):
6486         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
6487         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
6488         Don't quote lambda.
6490         * image-mode.el (image-transform-set-scale):
6491         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
6493 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6495         * net/network-stream.el (network-stream-open-starttls): Only do
6496         opportunistic STARTTLS upgrades if we have built-in gnutls support.
6497         Upgrades via gnutls-cli are too slow to be done opportunistically.
6499 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
6501         * dframe.el (dframe-current-frame): Remove spurious quote.
6503 2011-04-12  Glenn Morris  <rgm@gnu.org>
6505         * calendar/cal-tex.el (cal-tex-end-document):
6506         Try to automatically use latin1 input if needed.
6508         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
6509         Don't try to cons a mark onto an empty element.
6511 2011-04-11  Leo Liu  <sdl.web@gmail.com>
6513         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
6514         buffers.
6515         (ido-kill-buffer-at-head): Support killing virtual buffers.
6517 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
6519         * minibuffer.el (completion-show-inline-help): New var.
6520         (completion--do-completion, minibuffer-complete)
6521         (minibuffer-force-complete, minibuffer-complete-word):
6522         Inhibit minibuffer messages if completion-show-inline-help is nil.
6524         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
6525         to avoid interference from inline help (Bug#5849).
6527 2011-04-10  Leo Liu  <sdl.web@gmail.com>
6529         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6530         Fix typo.
6532 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
6534         * image-mode.el (image-toggle-display-image): Signal an error if
6535         not in Image mode.
6536         (image-transform-mode, image-transform-resize)
6537         (image-transform-set-rotation): Doc fix.
6538         (image-transform-set-resize): Delete.
6539         (image-transform-set-scale, image-transform-fit-to-height)
6540         (image-transform-fit-to-width): Handle image-toggle-display-image
6541         and image-transform-resize directly.
6543 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
6545         * doc-view.el (doc-view-fit-width-to-window)
6546         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
6547         New functions for fitting the shown image to the Emacs window size.
6548         (doc-view-mode-map): Add bindings for the new functions.
6550 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
6552         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
6553         Fix typo in docstring.
6555 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
6557         * files.el (file-size-human-readable): Produce one digit after
6558         decimal, like "ls -lh" does.
6560         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
6561         the file size representation.
6563         * simple.el (list-processes): If async subprocesses are not
6564         available, error out with a clear error message.
6566 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
6568         * help.el (help-form-show): New function, to be called from C.
6569         Put help-form output in a buffer named differently than *Help*.
6571 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
6573         * files.el (file-size-human-readable): New function.
6575         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
6576         computing the representation inline.  Don't require `cl'.
6578 2011-04-08  Glenn Morris  <rgm@gnu.org>
6580         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6582         * net/browse-url.el (browse-url-firefox):
6583         Test system-type, not system-configuration.
6585         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6586         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6587         Use log-edit-empty-buffer-p.  (Bug#7598)
6589         * net/rlogin.el (rlogin-process-connection-type): Simplify.
6590         (rlogin-mode-map): Initialize in the defvar.
6591         (rlogin): Use ignore-errors.
6593         * replace.el (occur-mode-map): Some fixes for menu items.
6595 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6597         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
6599 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
6601         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6602         issuing unused warnings.
6604         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6605         macro directly.
6607         * simple.el: Lisp reimplement of list-processes.  Based on an
6608         earlier reimplementation by Leo Liu, but using tabulated-list.el.
6609         (process-menu-mode): New major mode.
6610         (list-processes--refresh, list-processes):
6611         (process-menu-visit-buffer): New functions.
6613         * files.el (save-buffers-kill-emacs): Don't assume any return
6614         value of list-processes, which is undocumented anyway.
6616 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
6618         * emacs-lisp/tabulated-list.el: New file.
6620         * emacs-lisp/package.el: Use Tabulated List mode.
6621         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6622         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
6623         table format using Tabulated List mode variables.
6624         (package--push): New macro, replacing package-list-maybe-add.
6625         (package-menu--generate): Use package--push.  Renamed from
6626         package--generate-package-list.
6627         (package-menu-refresh, list-packages): Use it.
6628         (package-menu--print-info): Rename from package-print-package.
6629         Return insertion data instead of inserting it directly.
6630         (package-menu-describe-package, package-menu-execute):
6631         Use tabulated-list-get-id.
6632         (package-menu-mark-delete, package-menu-mark-install)
6633         (package-menu-mark-unmark, package-menu-backup-unmark)
6634         (package-menu-mark-obsolete-for-deletion):
6635         Use tabulated-list-put-tag.
6636         (package--list-packages, package-menu-revert)
6637         (package-menu-get-package, package-menu-get-version)
6638         (package-menu-sort-by-column): Functions deleted.
6639         (package-menu-package-list, package-menu-sort-key): Vars deleted.
6640         (package-menu--status-predicate, package-menu--version-predicate)
6641         (package-menu--name-predicate)
6642         (package-menu--description-predicate): Handle arguments in the
6643         Tabulated List format.
6644         (package-list-packages-no-fetch): Call list-packages.
6646 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
6648         * files.el (after-find-file-from-revert-buffer): Remove variable.
6649         (after-find-file): Don't bind it.
6650         (revert-buffer-in-progress-p): New variable.
6651         (revert-buffer): Bind it.
6652         Pass nil for `after-find-file-from-revert-buffer'.
6654         * saveplace.el (save-place-find-file-hook): Use new variable
6655         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6657 2011-04-06  Glenn Morris  <rgm@gnu.org>
6659         * Makefile.in (AUTOGEN_VCS): New variable.
6660         (autoloads): Use $AUTOGEN_VCS.
6662         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6663         * calendar/calendar.el (calendar-mode-map):
6664         Check for toolkit scroll bars.  (Bug#8305)
6666 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
6668         * minibuffer.el (completion-in-region--postch)
6669         (completion-in-region-mode): Remove unnecessary messages.
6671 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
6673         * font-lock.el (font-lock-refresh-defaults):
6674         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6675         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6677         * info.el (Info-directory-list, Info-read-node-name-2)
6678         (Info-split-parameter-string): Doc fixes.
6679         (Info-virtual-nodes): Reflow docstring.
6680         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6681         (Info-apropos-toc-nodes, info-finder, Info-get-token)
6682         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6683         Fix typos in docstrings.
6684         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6685         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6686         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6687         (Info-restore-desktop-buffer): Mark unused parameters.
6688         (Info-directory-find-file, Info-directory-find-node)
6689         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6690         (Info-virtual-index-find-node, Info-apropos-find-file)
6691         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
6692         Mark unused parameters; fix typos in docstrings.
6693         (Info-virtual-index): Remove unused local variable `nodename'.
6695 2011-04-05  Deniz Dogan  <deniz@dogan.se>
6697         * net/rcirc.el: Update my e-mail address.
6698         (rcirc-mode-map): Remove M-o binding.
6700 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
6702         * startup.el (command-line): Save the cursor's theme-face
6703         directly, instead of using face-override-spec.
6705         * custom.el (load-theme): Minor optimization in assigning faces.
6707 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
6709         * help-fns.el (describe-variable): Complete all variables having
6710         documentation, including keywords.
6711         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6713 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
6715         Convert to lexical-binding.
6717         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6718         (bs--get-marked-string, bs--get-modified-string)
6719         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6720         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6721         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6723         * ehelp.el (electric-help-execute-extended)
6724         (electric-help-ctrl-x-prefix):
6725         * hexl.el (hexl-revert-buffer-function):
6726         * linum.el (linum-after-change, linum-after-scroll):
6727         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6729         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6731 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
6733         * epa-dired.el:
6734         * epa-mail.el:
6735         * epa-hook.el:
6736         * epa-file.el:
6737         * epa.el:
6738         * epg.el: Use lexical binding.
6740 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
6742         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
6744         * textmodes/flyspell.el (flyspell-word): Recognize default
6745         dictionary case for flyspell-mark-duplications-exceptions.
6746         Use regexp matching for languages.
6747         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
6748         default dictionary (Bug#7926).
6750 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
6752         * emacs-lisp/package.el (package--with-work-buffer):
6753         Recognize https URLs.
6755         * net/network-stream.el: Move from gnus/proto-stream.el.
6756         Change prefix to network-stream throughout.
6757         (open-protocol-stream): Merge into open-network-stream, leaving
6758         open-protocol-stream as an alias.  Handle nil BUFFER args.
6760         * subr.el (open-network-stream): Move to net/network-stream.el.
6762 2011-04-02  Glenn Morris  <rgm@gnu.org>
6764         * find-dired.el (find-exec-terminator): New option.
6765         (find-ls-option): Test for -ls support.
6766         (find-ls-subdir-switches): Test for -b in find-ls-option.
6767         (find-dired, find-grep-dired): Doc fixes.
6768         (find-dired): Use find-exec-terminator.
6770         * find-dired.el (find-ls-option, find-ls-subdir-switches)
6771         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
6772         (find-name-arg): Remove purecopy.
6774         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
6775         (grep-compute-defaults): Check for `-exec COMMAND +' support.
6776         Set grep-find-use-xargs, grep-find-command, and grep-find-template
6777         accordingly.  Don't add the null-device if not needed.
6779         * files.el (save-some-buffers): Doc fix.
6781 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
6783         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
6785 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
6787         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
6788         Use `dolist' rather than `mapcar'.
6790 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6792         Add lexical binding.
6794         * subr.el (apply-partially): Use new closures rather than CL.
6795         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
6796         (dolist, dotimes): Use slightly different expansion for lexical code.
6797         (functionp): Move to C.
6798         (letrec): New macro.
6799         (with-wrapper-hook): Use it and apply-partially instead of CL.
6800         (eval-after-load): Preserve lexical-binding.
6801         (save-window-excursion, with-output-to-temp-buffer): Turn them
6802         into macros.
6804         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
6806         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
6807         than the arglist.
6808         (help-add-fundoc-usage): Don't add `Not documented'.
6809         (help-function-arglist): Handle closures, subroutines, and new
6810         byte-code-functions.
6811         (help-make-usage): Remove leading underscores.
6812         (describe-function-1): Handle closures.
6813         (describe-variable): Use special-variable-p for completion.
6815         * files.el (lexical-binding): Declare safe.
6817         * emacs-lisp/pcase.el: Don't use destructuring-bind.
6818         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
6819         (pcase): Add `let' pattern.
6820         Change memoization so it actually works.
6821         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
6822         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
6823         <let>: New case.
6825         * emacs-lisp/macroexp.el: Use lexical binding.
6826         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
6827         Don't convert ' to #' without checking that it's indeed quoting
6828         a lambda.
6830         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
6831         Use eval-sexp-add-defvars.
6832         (eval-sexp-add-defvars): New fun.
6834         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6836         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6837         Don't autoload.
6838         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6839         than the internal `byte-compile-lambda'.
6840         (defmethod): Don't hide code under quotes.
6841         (eieio-defmethod): New `code' argument.
6843         * emacs-lisp/eieio-comp.el: Remove.
6845         * emacs-lisp/edebug.el (edebug-eval-defun)
6846         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6847         (edebug-toggle): Avoid `eval'.
6849         * emacs-lisp/disass.el (disassemble-internal): Handle new
6850         `closure' objects.
6851         (disassemble-1): Handle new byte codes.
6853         * emacs-lisp/cl.el (pushnew): Silence warning.
6855         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6856         (cl-byte-compile-throw): Remove.
6857         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6859         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6860         closures.
6862         * emacs-lisp/cconv.el: New file.
6864         * emacs-lisp/bytecomp.el: Use lexical binding instead of
6865         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
6866         (byte-compile-initial-macro-environment):
6867         Handle declare-function here.
6868         (byte-compile--lexical-environment): New var.
6869         (byte-stack-ref, byte-stack-set, byte-discardN)
6870         (byte-discardN-preserve-tos): New lap codes.
6871         (byte-interactive-p): Don't use any more.
6872         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6873         New macros.
6874         (byte-compile-lapcode): Use them and handle new lap codes.
6875         (byte-compile-obsolete): Remove.
6876         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6877         (byte-compile-arglist-warn): Check late def of inlinable funs.
6878         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6879         since they should have been expanded by now.
6880         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6881         (byte-compile-from-buffer): Remove unused second arg.
6882         (byte-compile-preprocess): New function.
6883         (byte-compile-toplevel-file-form): New function to distinguish
6884         file-form calls from outside from file-form calls from hunk-handlers.
6885         (byte-compile-file-form): Simplify.
6886         (byte-compile-file-form-defsubst): Remove.
6887         (byte-compile-file-form-defmumble): Simplify now that
6888         byte-compile-lambda always returns a byte-code-function.
6889         (byte-compile): Preprocess.
6890         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6891         Remove, not used any more.
6892         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6893         (byte-compile-make-args-desc): New funs.
6894         (byte-compile-lambda): Handle lexical functions.  Always return
6895         a byte-code-function.
6896         (byte-compile-reserved-constants): New var, to make up room for
6897         closed-over variables.
6898         (byte-compile-constants-vector): Obey it.
6899         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6900         (byte-compile-macroexpand-declare-function): New function.
6901         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6902         byte-code-functions.
6903         (byte-compile-form): Check obsolescence here.
6904         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6905         (byte-compile-variable-ref): Remove.
6906         (byte-compile-dynamic-variable-op): New fun.
6907         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6908         (byte-compile-variable-set): New funs.
6909         (byte-compile-discard): Add 2 args.
6910         (byte-compile-stack-ref, byte-compile-stack-set)
6911         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6912         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6913         macroexpand-all instead.
6914         (byte-compile-quote-form): Remove.
6915         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6916         (byte-compile-bind, byte-compile-unbind): New funs.
6917         (byte-compile-let): Handle let* and lexical binding.
6918         (byte-compile-let*): Remove.
6919         (byte-compile-catch, byte-compile-unwind-protect)
6920         (byte-compile-track-mouse, byte-compile-condition-case):
6921         Handle a new :fun-body form, used for lexical scoping.
6922         (byte-compile-save-window-excursion)
6923         (byte-compile-with-output-to-temp-buffer): Remove.
6924         (byte-compile-defun): Simplify.
6925         (byte-compile-stack-adjustment): New fun.
6926         (byte-compile-out): Use it.
6927         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6929         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6930         handler any more.
6932         * emacs-lisp/byte-opt.el: Use lexical binding.
6933         (byte-inline-lapcode): Remove (to bytecomp).
6934         (byte-compile-inline-expand): Pay attention to inlining to/from
6935         lexically bound code.
6936         (byte-compile-unfold-lambda): Don't handle byte-code-functions
6937         any more.
6938         (byte-optimize-form-code-walker): Don't handle save-window-excursion
6939         any more and don't call compiler-macros.
6940         (byte-compile-splice-in-already-compiled-code): Remove.
6941         (byte-code): Don't inline any more.
6942         (disassemble-offset): Receive `bytes' as argument rather than via
6943         dynamic scoping.
6944         (byte-compile-tag-number): Declare before first use.
6945         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6946         `return' even if make-spliceable.
6947         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6948         obsolete interactive-p.
6949         (byte-optimize-lapcode): Optimize new lap-codes.
6950         Don't trip up on new form of `byte-constant' lap code.
6952         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6954         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
6956         * custom.el (custom-initialize-default, custom-declare-variable):
6957         Use `defvar'.
6959         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
6960         New variables.
6961         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
6962         (COMPILE_FIRST): Add macroexp and cconv.
6963         * makefile.w32-in: Mirror changes in Makefile.in.
6965         * vc/cvs-status.el:
6966         * vc/diff-mode.el:
6967         * vc/log-edit.el:
6968         * vc/log-view.el:
6969         * vc/smerge-mode.el:
6970         * textmodes/bibtex-style.el:
6971         * textmodes/css.el:
6972         * startup.el:
6973         * uniquify.el:
6974         * minibuffer.el:
6975         * newcomment.el:
6976         * reveal.el:
6977         * server.el:
6978         * mpc.el:
6979         * emacs-lisp/smie.el:
6980         * doc-view.el:
6981         * dired.el:
6982         * abbrev.el: Use lexical binding.
6984 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
6986         * info.el (info-display-manual): New function.
6988 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6990         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
6992 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
6994         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
6995         an entry for that server in rcirc-authinfo.  (Bug#8385)
6997 2011-03-31  Glenn Morris  <rgm@gnu.org>
6999         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7001         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7003 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
7005         * progmodes/python.el (python-default-interpreter)
7006         (python-python-command-args, python-jython-command-args)
7007         (python-which-shell, python-which-args, python-which-bufname)
7008         (python-file-queue, python-comint-output-filter-function)
7009         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7010         variables and functions.
7012 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7014         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7015         (completion-in-region-mode): New minor mode.
7016         (completion-in-region): Use it.
7017         (completion-in-region--data, completion-in-region-mode-map): New vars.
7018         (completion-in-region--postch): New function.
7019         (completion--capf-misbehave-funs, completion--capf-safe-funs):
7020         New vars.
7021         (completion--capf-wrapper): New function.
7022         (completion-at-point): Use it to track well-behavedness of
7023         hook functions.
7024         (completion-help-at-point): New command.
7026 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
7028         * vc/add-log.el (add-change-log-entry): Don't use whitespace
7029         syntax class to search for whitespace on a single line
7030         (Message-ID: <4D938140.4030905@redhat.com>).
7032 2011-03-30  Leo Liu  <sdl.web@gmail.com>
7034         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7035         New commands.
7036         (edit-abbrevs-map): Bind them here.
7037         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
7039 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
7041         * allout.el (allout-hide-by-annotation, allout-flag-region):
7042         Reduce possibility of overlay leakage by making them volatile.
7044         * allout-widgets.el (allout-widgets-tally): Define as nil so the
7045         hash is not shared between buffers.  Mode initialization is
7046         responsible for giving it a useful starting value.
7047         (allout-item-span): Reduce possibility of overlay leakage by
7048         making them volatile.
7049         (allout-widgets-count-buttons-in-region): Add diagnostic function
7050         for tracking down button overlay leaks.
7052 2011-03-29  Leo Liu  <sdl.web@gmail.com>
7054         * ido.el (ido-read-internal): Use the default history var
7055         minibuffer-history if no HISTORY is specified.
7057 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
7059         * net/imap.el (imap-shell-open, imap-process-connection-type):
7060         Use imap-process-connection-type for 'shell' streams as well as
7061         Kerberos, SSL, other subprocesses.
7063 2011-03-28  Leo Liu  <sdl.web@gmail.com>
7065         * abbrev.el (abbrev-table-empty-p): New function.
7066         (prepare-abbrev-list-buffer): Place empty abbrev tables after
7067         nonempty ones.  (Bug#5937)
7069 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
7071         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7073 2011-03-27  Leo Liu  <sdl.web@gmail.com>
7075         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7076         for foreground and background colors.
7077         (ansi-color-make-color-map): Adapt.
7079 2011-03-25  Leo Liu  <sdl.web@gmail.com>
7081         * midnight.el (midnight-time-float): Remove.  Note it calculates
7082         the microsecond component incorrectly and seconds-to-time does the
7083         same job.
7084         Remove redundant (require 'timer).
7086         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7087         (ido-completions): Remove unused arguments.  (Bug#8329)
7089 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         * minibuffer.el (completion--flush-all-sorted-completions):
7092         Remove itself from hook.
7093         (completion-at-point): Let the functions perform the completion
7094         immediately and return nil or t.
7095         * comint.el (comint-dynamic-complete-functions): Now identical to
7096         completion-at-point-functions.
7097         (comint-dynamic-list-input-ring): Remove unused var `index'.
7098         (comint--match-partial-filename, comint--unquote&expand-filename):
7099         New funs, split from comint-match-partial-filename.
7100         (comint-dynamic-complete): Use completion-at-point.
7101         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7103 2011-03-24  Drew Adams  <drew.adams@oracle.com>
7105         * thingatpt.el: Support `defun'.
7107 2011-03-23  Leo Liu  <sdl.web@gmail.com>
7109         * abbrevlist.el: Move to obsolete/abbrevlist.el.
7111         * help-mode.el (help-mode-finish): Tweak regexp.
7113 2011-03-23  Glenn Morris  <rgm@gnu.org>
7115         * eshell/esh-opt.el (eshell-eval-using-options):
7116         Do not bind unused local variable `eshell-option-stub'.
7118         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7120 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7122         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7123         keymap variable in `with-no-warnings' to avoid a warning when the
7124         keymap has been already `defconst'ed.
7126 2011-03-22  Leo Liu  <sdl.web@gmail.com>
7128         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7129         encode all chars in abbrevs; otherwise use emacs-mule or
7130         utf-8-emacs.  (Bug#8308)
7132 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7134         * simple.el (backward-delete-char-untabify):
7135         Avoid warning about using `delete-backward-char'.
7137         * image.el (image-type-file-name-regexps): Make it variable.
7138         `imagemagick-register-types' modifies it, and the user may want
7139         to add new extensions for known image types.
7140         (imagemagick-register-types): Throw error if not using ImageMagick.
7142 2011-03-22  Leo Liu  <sdl.web@gmail.com>
7144         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7145         located before rcirc-prompt-end-marker.
7146         (rcirc-complete): Error if point is not after rcirc prompt.
7147         Handle the case when table is nil.
7148         (rcirc-user-authenticated): Define to fix compiler warning.
7150 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
7152         * custom.el (custom--inhibit-theme-enable): Make it affect only
7153         custom-theme-set-variables and custom-theme-set-faces.
7154         (provide-theme): Ignore custom--inhibit-theme-enable.
7155         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7156         (custom-enabling-themes): Delete variable.
7157         (enable-theme): Accept only loaded themes as arguments.
7158         Ignore the special custom-enabled-themes variable.
7159         (custom-enabled-themes): Forbid themes from setting this.
7160         Eliminate use of custom-enabling-themes.
7161         (custom-push-theme): Quote "changed" custom var entry.
7163 2011-03-21  Leo Liu  <sdl.web@gmail.com>
7165         * ido.el (ido-read-internal): Add ido-selected to history instead
7166         of user input.
7168 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7170         * subr.el (deferred-action-list, deferred-action-function):
7171         Mark obsolete.
7173 2011-03-21  Leo Liu  <sdl.web@gmail.com>
7175         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7176         change on 2011-02-13 (bug#8309).
7178         * minibuffer.el (read-file-name-function): Change default value.
7179         (read-file-name--defaults): Rename from read-file-name-defaults.
7180         (read-file-name-default): Rename from read-file-name.
7181         (read-file-name): Call read-file-name-function.
7183 2011-03-21  Glenn Morris  <rgm@gnu.org>
7185         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7186         Doc fixes.
7188 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
7190         * cus-theme.el: Add missing provide statement.
7191         (customize-create-theme): Extract theme value correctly.
7192         (custom-theme-visit-theme): Autoload.
7193         (customize-create-theme): Prompt before inserting default faces.
7195 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
7197         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7198         units and musical notes.
7200 2011-03-20  Leo  <sdl.web@gmail.com>
7202         * ido.el (ido-read-internal): Use completing-read-default.
7203         (ido-completing-read): Fix compatibility with completing-read.
7205 2011-03-20  Christian Ohler  <ohler@gnu.org>
7207         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7208         (ert-delete-all-tests): Use `called-interactively-p' rather than
7209         `interactive-p'.
7210         (ert--make-xrefs-region): Respect END.
7212 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
7214         * dired-aux.el (dired-create-directory): Signal an error if the
7215         directory already exists (Bug#8246).
7217         * facemenu.el (list-colors-display): Call list-faces-display
7218         inside with-help-window.
7219         (list-colors-print): Use display property to align the final
7220         column, instead of checking window-width.
7222 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
7224         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
7225         windows-nt systems.
7226         (emerge-protect-metachars): Quote correctly for ms-dos and
7227         windows-nt systems.
7229 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
7231         * info.el (info-initialize): Replace all uses of `:' with
7232         path-separator for compatibility with non-Unix systems.
7233         Cache quoting of path-separator.  (Bug#8258)
7235 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
7237         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7238         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7239         (mouse-avoidance-mode): Fix typos in docstrings.
7241 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
7243         * startup.el (package-subdirectory-regexp): Move from package.el.
7244         Omit \\` and \\', and let callers add them.
7246         * emacs-lisp/package.el (package-strip-version)
7247         (package-load-all-descriptors): Add \\` and \\' to
7248         package-subdirectory-regexp before using it.
7249         (package-untar-buffer): New arg DIR; ensure that file untars only
7250         into this expected directory.  Remove superfluous delete-region.
7251         (package-unpack): Caller changed.
7252         (package-tar-file-info): Use package-subdirectory-regexp.
7254 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7256         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7257         diff-mode-shared-map (bug#8284).
7258         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
7260 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7262         * calendar/time-date.el (format-seconds): Use assoc instead of
7263         assoc-string, since assoc-string doesn't exist in XEmacs.
7265 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
7267         * custom.el (custom-known-themes): Reflow docstring.
7268         (custom-theme-load-path): Fix typo in docstring.
7269         (load-theme): Fix typo in error message.
7270         (custom-available-themes, custom-variable-theme-value):
7271         Use `let', not `let*'.
7273 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
7275         * calc/README: Mention inclusion of musical notes.
7277         * calc/calc-units.el (calc-lu-quant): Rename from
7278         `calc-logunits-quantity'.
7279         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7280         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7281         (calc-db): Rename from `calc-dblevel'.
7282         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7283         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7284         (calc-np): Rename from `calc-nplevel'.
7285         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7286         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7287         (calc-lu-plus): Rename from `calc-logunits-add'.
7288         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7289         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7290         (calc-lu-minus): Rename from `calc-logunits-sub'.
7291         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7292         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7293         (calc-lu-times): Rename from `calc-logunits-mul'.
7294         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7295         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7296         (calc-lu-divide): Rename from `calc-logunits-div'.
7297         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7298         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7300         * calc/calc-ext.el (calc-init-extensions): Update the names of the
7301         functions being autoloaded.
7303         * calc/calc.el (calc-lu-power-reference): Rename from
7304         `calc-logunits-power-reference'.
7305         (calc-lu-field-reference): Rename from
7306         `calc-logunits-field-reference'.
7308         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7310 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7312         * minibuffer.el (completion-all-sorted-completions):
7313         Use :completion-cycle-penalty text property if present.
7315 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
7317         * allout.el (allout-yank-processing): Adjust for new rebulleting
7318         regime so bullet being yanked is used without prompting the user
7319         for a choice.
7321 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
7323         * startup.el (command-line): Warn the user that _emacs is deprecated.
7325 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
7327         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7328         (delphi-verbose, delphi-comment-face, delphi-string-face)
7329         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7330         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7331         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7332         (delphi-new-comment-line, delphi-font-lock-defaults)
7333         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7334         Fix typos in docstrings.
7336 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
7338         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
7339         Invert the roles of character and string values for INSTEAD, so a
7340         string is used for the more common case of a defaulting prompt.
7342 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7344         * progmodes/ruby-mode.el (ruby-backward-sexp):
7345         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7346         * play/gamegrid.el (gamegrid-make-face):
7347         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7348         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7349         * notifications.el (notifications-notify):
7350         * net/xesam.el (xesam-search-engines):
7351         * net/quickurl.el (quickurl-list-insert):
7352         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7354 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
7356         * startup.el (command-line): Update package subdirectory regexp.
7358 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7360         * allout.el (allout-abbreviate-flattened-numbering)
7361         (allout-mode-deactivate-hook): Fix up obsolescence "date".
7363         * subr.el (read-char-choice): Only show the cursor after the prompt,
7364         not after the answer.
7366 2011-03-15  Kevin Ryde  <user42@zip.com.au>
7368         * help-fns.el (variable-at-point): Skip leading quotes, if any
7369         (bug#8253).
7371 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7373         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7374         warning message.
7376 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
7378         * shell.el (shell): When called interactively, offer to change the
7379         shell file name on remote hosts.
7381 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
7383         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7384         integration for LDAP parameters.  The host, base, user or binddn,
7385         and secret tokens can be specified in a netrc file, for instance.
7386         This is optional because an `auth-source' parameter must be
7387         specified in the search attributes.
7389 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
7391         * help.el (describe-mode): Link to the mode's definition (bug#8185).
7393 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7395         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
7396         into declaration.  Remove redundant and harmful binding.
7398 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
7400         * files.el (file-ownership-preserved-p): Pass `integer' as an
7401         explicit 2nd argument to `file-attributes'.  If the file's owner
7402         is the Administrators group on Windows, and the current user is
7403         Administrator, consider that a match.
7405         * server.el (server-ensure-safe-dir): Consider server directory
7406         safe on MS-Windows if its owner is the Administrators group while
7407         the current Emacs user is Administrator.  Use `=' to compare
7408         numerical UIDs, since they could be integers or floats.
7410 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
7412         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
7414 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
7416         Sync with Tramp 2.2.1.
7418         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7420         * net/trampver.el: Update release number.
7422 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7424         * progmodes/compile.el (compilation--previous-directory): Fix up
7425         various nil/dead-marker mismatches (bug#8014).
7426         (compilation-directory-properties, compilation-error-properties):
7427         Don't call it at a position past the one we're about to change.
7429         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
7430         Disable obsolescence warnings in the file that declares it.
7432 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
7434         * allout-widgets.el (allout-widgets-tally):
7435         Initialize allout-widgets-tally as a hash table rather than nil to
7436         prevent mode-line redisplay warnings.  Also, clarify the module
7437         description and fix a comment typo.
7439 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
7441         * help-fns.el (describe-variable): Don't complete keywords.
7442         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
7444 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
7446         * emacs-lisp/package.el (package-version-join): Impose a standard
7447         string representation for pre/alpha/beta version lists.
7448         (package-unpack-single): Standardize the directory name by passing
7449         it through package-version-join.
7450         (package-strip-rcs-id): Accept any version string that does not
7451         signal an error in version-to-list.
7453 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
7455         * simple.el (delete-trailing-whitespace): Return nil for the
7456         benefit of `write-file-functions'.
7458 2011-03-10  Glenn Morris  <rgm@gnu.org>
7460         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
7462         * vc/vc-git.el (vc-git-program): New option.
7463         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
7464         (vc-git--call): Use it.
7466         * eshell/esh-util.el (eshell-condition-case): Doc fix.
7468         * cus-edit.el (Custom-newline): If no button at point, look
7469         for a subgroup button at start-of-line.  (Bug#2298)
7471         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
7473 2011-03-10  Julien Danjou  <julien@danjou.info>
7475         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
7476         `cursor-type' is nil.
7478 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
7480         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
7482 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
7484         * allout.el Summary: Change so yank of distinctive-bullet items
7485         preserves the existing header prefix, rebulleting it if necessary,
7486         rather than replacing it.  This is necessary for proper operation
7487         of cooperative addons like allout-widgets.
7488         (allout-make-topic-prefix, allout-rebullet-heading): Change
7489         SOLICIT arg to INSTEAD, and interpret additionally a string value
7490         as alternate bullet to be used, instead of prompting the user for
7491         a bullet character.
7493 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
7495         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7496         Do not use `tramp-file-name-port', because this returns also
7497         `tramp-default-port'.
7499 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7501         * net/rcirc.el (rcirc-handler-001): Remove useless
7502         with-rcirc-process-buffer.
7503         (rcirc-check-auth-status): Swap arguments to string-match.
7505 2011-03-09  Glenn Morris  <rgm@gnu.org>
7507         * shell.el (shell-mode):
7508         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
7510         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
7511         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
7513 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
7515         * emacs-lisp/package.el (package-refresh-contents)
7516         (package-menu-execute): Use condition-case-no-debug.
7518 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
7520         * simple.el (shell-command-to-string): Use `process-file'.
7522         * emacs-lisp/package.el (package-tar-file-info): Handle also
7523         remote files.
7525         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7526         Use `equal' for upload base check.
7528 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
7530         * textmodes/texinfo.el (texinfo-environments):
7531         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
7533 2011-03-08  Glenn Morris  <rgm@gnu.org>
7535         * cus-start.el (cursor-in-non-selected-windows):
7536         Fix :set quoting oddness.  (Bug#8192)
7538         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7539         in some setf expressions.  (Bug#2159)
7541 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
7543         * custom.el (custom-available-themes): Return themes in
7544         alphabetical order.
7546 See ChangeLog.15 for earlier changes.
7548 ;; Local Variables:
7549 ;; coding: utf-8
7550 ;; End:
7552   Copyright (C) 2011  Free Software Foundation, Inc.
7554   This file is part of GNU Emacs.
7556   GNU Emacs is free software: you can redistribute it and/or modify
7557   it under the terms of the GNU General Public License as published by
7558   the Free Software Foundation, either version 3 of the License, or
7559   (at your option) any later version.
7561   GNU Emacs is distributed in the hope that it will be useful,
7562   but WITHOUT ANY WARRANTY; without even the implied warranty of
7563   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7564   GNU General Public License for more details.
7566   You should have received a copy of the GNU General Public License
7567   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.