Fix Bug#6019, Bug#9315.
[emacs.git] / lisp / ChangeLog
blob62d7cc449ab2c6cc8b60e654fa1cec1100db80a9
1 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3         Fix Bug#6019, Bug#9315.
5         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6         complete `buffer-file-name', the local file name part could look
7         remotely (for example on VMS).
9         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10         `tramp-run-real-handler'.
11         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12         already quoted by '"'.
14         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15         Let `file-name-handler-alist' be nil, the local file name part
16         could look remotely (for example on VMS).
18 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
21         from here...
22         (flyspell-post-command-hook): ...to here.
24 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
26         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
27         if not needed.
28         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
29         using completion.  Protect against "slow" callers.
30         Remove the "message hack".
32 2011-10-11  Juri Linkov  <juri@jurta.org>
34         * isearch.el (isearch-lazy-highlight-word): New variable.
35         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
36         Use it.  (Bug#9727)
38 2011-10-11  Glenn Morris  <rgm@gnu.org>
40         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
41         like f90-previous-statement does.
43 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
45         * eshell/eshell.el (eshell-command): History should be saved
46         only in interactive use, to avoid error.
48 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
50         * minibuffer.el (completion-file-name-table): Fix last change,
51         i.e. ignore normal errors but not the other ones.
53 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
55         * window.el (special-display-buffer-names)
56         (special-display-regexps): Remove some remnants of earlier
57         changes from doc-strings.
58         (quit-windows-on): New function.
60         * vc/vc.el (vc-revert, vc-rollback):
61         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
62         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
63         (Bug#6183) (Bug#7074) (Bug#7447)
65 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
67         * window.el (frame-auto-hide-function): Add version tag.
68         (Bug#9699)
70 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
72         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
73         condition.
75 2011-10-09  Leo Liu  <sdl.web@gmail.com>
77         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
78         (Bug#9701)
80 2011-10-08  Glenn Morris  <rgm@gnu.org>
82         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
83         before the first code statement zero indent.  (Bug#9690)
85 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
87         * simple.el (count-words-region): Always count in the region.
88         Report the number of lines and characters too.
89         (count-words): New command, which counts in the buffer if the
90         region is inactive, as count-words-region used to.
91         (count-words--message): New function.  Handle plurals.
92         (count-lines-region): Make it an alias for count-words-region.
94         * bindings.el (esc-map): Replace count-lines-region with
95         count-words-region.
97 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
99         * window.el (window--delete): Delete dedicated frame
100         unconditionally when argument KILL is non-nil.  (Bug#9699)
101         (switch-to-buffer): Fix doc-string typo.
103 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
105         * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
107 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
109         * bindings.el ([M-left],[M-right]): Bind to left-word and
110         right-word respectively.
112 2011-10-07  Glenn Morris  <rgm@gnu.org>
114         * cus-start.el (debug-on-quit): Fix custom type.
116 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
118         * subr.el (define-key-after): Clarify that the function is not
119         useful for non-menu keymaps.
121         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
123 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
125         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
126         in current minibuffer (Fix bug with recursive minibuffers).
128 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
130         * progmodes/gdb-mi.el (gdb): Doc fix.
132 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
134         * window.el (frame-auto-hide-function): New option replacing
135         frame-auto-delete.  Suggested by Stefan Monnier.
136         (window--delete): Call frame-auto-hide-function instead of
137         investigating frame-auto-delete.
138         (window-point-1, set-window-point-1): New functions.
139         (window-in-direction, record-window-buffer, window-state-get-1)
140         (display-buffer-record-window): Use window-point-1 instead of
141         window-point.
142         (set-window-buffer-start-and-point): Use set-window-point-1.
144 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
146         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
148 2011-10-05  Glenn Morris  <rgm@gnu.org>
150         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
151         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
153 2011-10-05  Leo Liu  <sdl.web@gmail.com>
155         * subr.el (read-char-choice): Fix argument to buffer-live-p which
156         works with buffer object.
158 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
160         * mpc.el (mpc-tool-bar-map): Add labels.
162 2011-10-04  Glenn Morris  <rgm@gnu.org>
164         * calendar/holidays.el (calendar-check-holidays): Doc fix.
166 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
168         * window.el (window--delete): New function.
169         (frame-auto-delete): Resuscitate option.
170         (bury-buffer, replace-buffer-in-windows)
171         (quit-window): Rewrite using window--delete.
172         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
173         Pass display-buffer-mark-dedicated to window--display-buffer-2
174         (Bug#9639).
176 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
178         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
179         returns a list (bug#9554).  Add remote file name completion.
180         * comint.el (comint--table-subvert): Curry and get quote&unquote
181         functions as arguments.
182         (comint--complete-file-name-data): Adjust call accordingly.
183         * pcomplete.el (pcomplete--table-subvert): Remove.
184         (pcomplete-completions-at-point): Use comint--table-subvert instead.
186         * minibuffer.el (completion-table-case-fold): Use currying.
187         (completion--styles-type, completion--cycling-threshold-type):
188         New constants.
189         (completion-styles, completion-category-overrides)
190         (completion-cycle-threshold): Use them.
191         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
192         completion-table-case-fold.
194 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
196         * minibuffer.el (completion-category-overrides): Fix type of styles
197         and add more user friendly tags (bug#9660).
199 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
202         (mule-input-method-string): New widget.
203         (default-input-method, language-info-custom-alist): Use it.
205 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
207         * pcomplete.el: Require comint.
208         (pcomplete--common-suffix): Remove.
209         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
210         (pcomplete--table-subvert): Sync with comint--table-subvert.
211         (pcomplete--entries): Use comint-completion-file-name-table.
212         * comint.el (comint-unquote-filename): Simplify.
213         (comint-completion-file-name-table): New function (bug#9616).
214         (comint--complete-file-name-data): Use it.
216         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
217         (pcmpl-gnu-tar-buffer): Remove.
218         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
219         around.  Make sure pcomplete-suffix-list is only changed temporarily.
220         Don't look inside the tar's file if it's too large.
222 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
224         * cus-edit.el (custom-mode-map):
225         * epa.el (epa-key-list-mode-map):
226         * man.el (Man-mode-map):
227         * startup.el (splash-screen-keymap):
228         * simple.el (special-mode-map): Use scroll-up-command and
229         scroll-down-command.
231         * progmodes/idlw-help.el (idlwave-help-mode-map):
232         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
233         * net/newst-plainview.el (newsticker-mode-map):
234         * emulation/ws-mode.el (wordstar-mode-map):
235         * emulation/vi.el (vi-com-map):
236         * calc/calc-graph.el (calc-graph-show-dumb):
237         * term/sun.el (terminal-init-sun):
238         * term/ns-win.el (global-map):
239         * progmodes/grep.el (grep-mode-map):
240         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
241         * mail/rmail.el (rmail-mode-map):
242         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
244         * custom.el (custom-safe-themes, load-theme): Treat value of t for
245         custom-safe-themes as special.
247 2011-10-01  Julien Danjou  <julien@danjou.info>
249         * notifications.el (notifications-notify): Fix docstring.
251 2011-10-01  Per Starbäck  <per@starback.se>
253         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
255 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
257         * startup.el (command-line-1): Fix last fix by inserting
258         initial-scratch-message into *scratch* before displaying it.
259         (Bug#9605) and (Bug#9636)
261 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
263         * simple.el (line-move): If auto-hscroll-mode is disabled and the
264         window is hscrolled, move by logical lines.  (Bug#9607)
265         (line-move-visual): Update the doc string to the above effect.
267 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
269         * window.el (display-buffer-record-window): When WINDOW is the
270         selected window use `point' instead of `window-point'.  (Bug#9626)
272         * startup.el (command-line-1): Use insert-before-markers when
273         inserting initial-scratch-message.  (Bug#9605)
275         * help.el (help-window): Remove variable.
277 2011-09-29  Glenn Morris  <rgm@gnu.org>
279         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
281 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
283         * descr-text.el (describe-char-categories): Accept category
284         descriptions more than one line long.
286 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
288         * simple.el (delete-trailing-whitespace): Fix last change.
290         * progmodes/perl-mode.el (perl-syntax-propertize-function):
291         Don't confuse "y => 3" as the beginning of a `y' operation.
293         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
294         object has more than 4 slots (bug#9613).
296 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
298         * subr.el (with-output-to-temp-buffer):
299         * net/quickurl.el (quickurl, quickurl-browse-url):
300         Fix typos in docstrings.
302 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
304         * minibuffer.el (completion-styles)
305         (completion-category-overrides): Cross reference each other in doc
306         strings.
308 2011-09-27  Glenn Morris  <rgm@gnu.org>
310         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
311         to split-string.  (Bug#9606)
313 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
315         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
316         (bug#9615).
318 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
320         * emacs-lisp/package.el (list-packages): Fix echo area message.
322 2011-09-27  Leo Liu  <sdl.web@gmail.com>
324         * ido.el (ido-read-internal): Accept cons cell HIST arg.
326 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
328         * net/dbus.el (dbus-unregister-object): Don't release services for
329         registered signals.  (Bug#9581)
331 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
333         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
334         function that picks between cfengine 2 and 3 support
335         automatically.  Update docs accordingly.
337 2011-09-22  Kenichi Handa  <handa@m17n.org>
339         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
340         ZERO.
341         (indian-itrans-v5-table-for-tamil): New variable.
342         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
344 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
346         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
347         that's true if the current command involved collapsing of text.
348         It's reset to false at the beginning of the next command.
349         (allout-post-command-business): Move the cursor to the beginning
350         of entry if the cursor is hidden and collapsing activity just
351         happened.
353 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
355         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
356         tracking (Bug#9541).
358 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
360         * net/newst-reader.el (newsticker-html-renderer)
361         (newsticker-show-news): Automatically
362         load html rendering package if newsticker-html-renderer is
363         set. Fixes "Warning: defvar ignored because w3m-fill-column is
364         let-bound" and the error "Symbol's value as variable is void:
365         w3m-fill-column".
367 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
369         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
370         Release services only if they are defined.  (Bug#9581)
372 2011-09-23  Richard Stallman  <rms@gnu.org>
374         * textmodes/paragraphs.el (forward-sentence): For backwards case,
375         distinguish start of paragraph from start of its text.
377         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
379         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
380         (rmail-generate-viewer-buffer): Put that hook on view buffer.
381         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
383 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
385         * international/mule-diag.el (mule-diag): Insert a newline after
386         each fontset description.
388 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
390         * simple.el (delete-trailing-whitespace):
391         Document last change; simplify.
393 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
395         * simple.el (delete-trailing-whitespace): Also delete
396         extra newlines at the end of the buffer.
398         * textmodes/picture.el: Make motion commands obey shift-select-mode.
399         (picture-newline): Use forward-line so as to ignore fields.
401 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
403         * subr.el (with-wrapper-hook): Fix edebug spec.
405 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
407         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
408         (bug#4538).
410 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
412         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
413         Fix nasty bug using wrong cached values.
415 2011-09-23  Alan Mackenzie  <acm@muc.de>
417         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
419 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
421         * window.el (pop-to-buffer): Ensure right window is selected if we
422         chose another frame.
424 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
426         * simple.el (what-cursor-position): Use get-char-property-change
427         and next-single-char-property-change, to be able to show display
428         properties that come from overlays as well as text properties.
430 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
432         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
434         * cmuscheme.el (run-scheme, switch-to-scheme):
435         * cus-edit.el (customize-group, custom-buffer-create)
436         (customize-browse):
437         * info.el (info):
438         * shell.el (shell):
439         * mail/sendmail.el (mail):
440         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
442 2011-09-22  Richard Stallman  <rms@gnu.org>
444         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
445         move back only to line beg, don't move back over blank lines.
447 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
449         * files.el (copy-directory): Set directory attributes only in case
450         they could be retrieved from the source directory.  (Bug#9565)
452 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
454         * progmodes/hideshow.el (hs-looking-at-block-start-p)
455         (hs-find-block-beginning, hs-hide-level-recursive):
456         Ignore strings as well as comments.  (Bug#9502)
458 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
460         * progmodes/sql.el (sql-comint-postgres):
461         Convert port number to a string.  (Bug#9566)
463 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
465         * window.el (quit-window): Undedicate window when switching to
466         previous buffer.  Reported by Thierry Volpiatto
467         <thierry.volpiatto@gmail.com>.
468         (special-display-popup-frame): When popping up a new frame reset
469         its previous buffers to nil.  Simplify code.
471 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
473         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
474         and process filter, as done also in `shell-command'.
476 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
478         * window.el (set-window-buffer-start-and-point):
479         Call set-window-start with NOFORCE argument t.  Suggested by Thierry
480         Volpiatto <thierry.volpiatto@gmail.com>.
481         (quit-window): Reword doc-string.  Handle new format of
482         quit-restore parameter.  Don't delete window if it has a
483         previous buffer we can show instead of the present one.
484         (display-buffer-record-window): Rewrite using a new format for
485         the quit-restore window parameter
486         (special-display-popup-frame, display-buffer-same-window)
487         (display-buffer-reuse-window, display-buffer-pop-up-frame)
488         (display-buffer-pop-up-window, display-buffer-use-some-window):
489         Adapt symbol passed to display-buffer-record-window.
490         * help.el (help-window-setup): Handle new format of quit-restore
491         parameter.
493 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
495         * faces.el (face-list): Fix docstring (bug#9564).
497         * window.el (display-buffer--action-function-custom-type):
498         Don't include internal functions in the Custom interface.
500 2011-09-20  Juri Linkov  <juri@jurta.org>
502         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
503         (Info-forward-node, Info-backward-node, Info-next-preorder)
504         (Info-last-preorder): Use it.  (Bug#9528)
506 2011-09-20  Juri Linkov  <juri@jurta.org>
508         * info.el (Info-last-preorder): Visit last menu item only when
509         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
511 2011-09-20  Julien Danjou  <julien@danjou.info>
513         * password-cache.el (password-cache-remove): Remove entries even if the
514         value is nil, so that password with a nil value (negative caching) is
515         possible to invalidate.
517 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
519         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
520         all whitespace around breakpoint.  (Bug#9553)
521         (f90-find-breakpoint): Only break at whitespace inside a comment.
523 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
525         * minibuffer.el (completion-file-name-table): Keep track of errors.
526         (completion-table-with-predicate): Handle the case where pred1 is nil.
527         * pcomplete.el (pcomplete-completions-at-point): Simplify.
529 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
531         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
532         (debugger-return-value): Signal an error if the debugging context does
533         not await any return value.
535         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
536         * image-mode.el (image-toggle-display-text)
537         (image-toggle-display-image): Stay away from evil `intangible'.
539 2011-09-19  Leo Liu  <sdl.web@gmail.com>
541         * replace.el (occur-revert-arguments): Make it permanent-local.
542         (occur-mode): Don't call font-lock-defontify.
544 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
546         * net/ldap.el (ldap-search-internal): Don't push empty search
547         result (Bug#9508).
549 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
551         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
553 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
555         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
556         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
558 2011-09-18  Juri Linkov  <juri@jurta.org>
560         * buff-menu.el (Buffer-menu-mode-map):
561         * dired.el (dired-mode-map):
562         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
563         (lisp-interaction-mode-map):
564         * emacs-lisp/package.el (package-menu-mode-map):
565         * epa.el (epa-key-list-mode-map):
566         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
567         (menu-bar-options-menu):
568         * outline.el (outline-mode-menu-bar-map):
569         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
570         * vc/vc-dir.el (vc-dir-menu-map):
571         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
572         Capitalize non-function content words in menu item strings.
574         * dired.el (dired-mode-map): Add menu item for
575         `image-dired-dired-toggle-marked-thumbs'.
577 2011-09-18  Juri Linkov  <juri@jurta.org>
579         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
580         to `isearch-case-fold-search' and restore its original value
581         after the `isearch-mode' call.
583 2011-09-18  Juri Linkov  <juri@jurta.org>
585         * progmodes/grep.el (grep-process-setup): Don't check code for 1
586         because `zgrep' returns 1 for successful matches (bug#9226).
588 2011-09-18  Juri Linkov  <juri@jurta.org>
590         * info.el (Info-extract-menu-node-name): Check the second match
591         for empty string (second test-case of bug#9528).
592         (Info-last-preorder): Let-bind `Info-history' to nil to not add
593         intermediate nodes to the history (first test-case of bug#9528).
595 2011-09-18  Juri Linkov  <juri@jurta.org>
597         * info.el (Info-mode-syntax-table): New variable.
598         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.  (Bug#3312)
600 2011-09-18  Juri Linkov  <juri@jurta.org>
602         * info.el (Info-file-supports-index-cookies): Increment
603         line-beginning-position's arg from 3 to 4 because makeinfo outputs
604         one more line for long file names (bug#4142).
606 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
608         * newcomment.el (comment-normalize-vars): If prompting for
609         comment-start, set comment-start-skip too (Bug#8424).
611 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
613         * icomplete.el: Fix previous fix of Bug#5849.
614         (icomplete-mode): Don't set completion-show-inline-help.
615         (icomplete-minibuffer-setup): Set completion-show-inline-help
616         locally during icompletion.
618 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
620         * woman.el (woman2-process-escapes): Don't delete unrecognized
621         escapes (Bug#7843).
623         * files.el (inhibit-first-line-modes-regexps): Add image files.
624         (hack-local-variables-prop-line): Return nil for malformed
625         prop-lines (Bug#9044).
627 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
629         * net/tramp.el (top): Don't require 'shell.
630         (tramp-methods): Fix docstring.
631         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
632         Return complete remote file name.  Handle "smb" case.
633         Use `tramp-tmpdir', if defined for the respective method.
634         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
636         * net/tramp-compat.el (top): Require 'shell.
638         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
639         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
640         `tramp-current-host'.
641         (tramp-get-remote-tmpdir): Remove.
643         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
644         `tramp-tmpdir' entries.
645         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
646         (tramp-smb-handle-file-attributes): Ignore errors.
647         (tramp-smb-wait-for-output): Check also for process end.
649 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
651         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
652         when sending QUIT (bug#9312).
654 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
656         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
657         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
658         occur-mode-display-occurrence.
659         (occur-edit-mode): Add usage message.
660         (occur-cease-edit): New command.
661         (occur-after-change-function): Use text properties to find the
662         position of the prefix text.
663         (occur-engine): Set stickiness of prefix text properties.
665 2011-09-17  Glenn Morris  <rgm@gnu.org>
667         * progmodes/etags.el (complete-tag):
668         Fix call to completion-in-region.  (Bug#9526)
670 2011-09-17  Juri Linkov  <juri@jurta.org>
672         * textmodes/ispell.el (ispell-word): Add to the error message
673         the word, ispell program name and current dictionary (bug#9121).
674         (ispell-tex-arg-end): Capitalize "error" in the error message.
676 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
678         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
679         check.  (Bug#4251)
681 2011-09-17  Juri Linkov  <juri@jurta.org>
683         * window.el (window-safe-min-height, window-safe-min-width):
684         Fix typos (followup to bug#9522).
686 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
688         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
690 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
692         * simple.el (line-move): If goal-column is set, move by logical
693         lines, not by display lines.  (Bug#971)
694         (next-line, previous-line, goal-column, line-move-visual): Doc fix
695         to reflect the above change.
697 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * image.el (imagemagick-register-types): Use regexp-opt.
701 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
703         * window.el (display-buffer-base-action): Rename from
704         display-buffer-default-action.  Make default value empty.
705         (display-buffer-overriding-action): Convert to defvar.
706         (display-buffer-fallback-action): New var.
708 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
710         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
711         declaration.
712         (package--add-to-archive-contents): If there is a duplicate entry
713         with an older version, remove it.
714         (package-menu-mark-delete, package-menu-mark-install)
715         (package-menu-mark-unmark): Make unused args optional.
716         (package-menu-mark-obsolete-for-deletion):
717         Use package-menu-get-status instead of a regexp search.
718         (package-menu-get-status): Use tabulated-list-entry.
719         (package-menu-mark-upgrades): New command.
720         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
721         (package-menu-execute): Do installation before deletion.
722         (package-menu-refresh, package-menu-execute): Use derived-mode-p
723         instead of checking major-mode.
724         (package-menu--find-upgrades): New function.
726 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
728         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
729         passwords in the log buffer.
730         (smtpmail-process-filter): Update the process marker so that the
731         "broken by peer" status message is inserted in the right place.
733 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
735         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
736         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
737         bibtex-completion-at-point-function.
738         (bibtex-completion-at-point-function): Use them.
740         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
742         * mpc.el (mpc-constraints-tag-lookup): New function.
743         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
744         also to browser "album|playlist".
746 2011-09-14  Juri Linkov  <juri@jurta.org>
748         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
749         (isearch-edit-string): Use length of `isearch-string' when
750         `isearch-fail-pos' returns nil.
751         (isearch-message): Remove duplicate code and call
752         `isearch-fail-pos' with arg `t'.
754 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
756         * replace.el (occur-mode-goto-occurrence): Don't force using other
757         window (Bug#9499).
759         * dired-aux.el (dired-do-chmod): Don't provide initial input.
761 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
763         * window.el (display-buffer-window): Remove.
764         (display-buffer-record-window): Use help-setup window parameter
765         instead of variable display-buffer-window.
766         (display-buffer-function, special-display-buffer-names)
767         (special-display-function): Mention help-setup parameter instead
768         of display-buffer-window in doc-string.
769         * help.el (help-window-setup): New argument help-window.
770         Use help-window-setup parameter instead of display-buffer-window.
771         Reword some messages.
772         (with-help-window): Pass window used for displaying the buffer
773         to help-window-setup.  Don't set display-buffer-window.
775 2011-09-13  Glenn Morris  <rgm@gnu.org>
777         * emacs-lisp/debug.el (debugger-make-xrefs):
778         Preserve point.  (Bug#9462)
780 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
782         * window.el (window-deletable-p): Use next-frame.
784 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
786         * window.el (window-auto-delete): Remove.
787         (window-deletable-p): Remove argument FORCE.  Don't deal with
788         dedicatedness and previous buffers.
789         (switch-to-prev-buffer): Don't delete window.
790         (delete-windows-on): Delete a window's frame if and only if the
791         window is dedicated.
792         (replace-buffer-in-windows): Delete buffer's window or frame if
793         and only if window is dedicated.
794         (quit-window): Handle quit-restore as before last change.
795         (bury-buffer): Delete window only if window-deletable-p returns t.
797 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
799         * window.el (window-deletable-p): Never delete the last frame on a
800         given terminal.
802 2011-09-13  Glenn Morris  <rgm@gnu.org>
804         * help.el (describe-key-briefly): Copy previous standard-output change.
806 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
808         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
810 2011-09-13  Glenn Morris  <rgm@gnu.org>
812         * emacs-lisp/lisp-mode.el (lisp-indent-function):
813         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
815 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
817         * dired-aux.el (dired-mark-read-string): Don't return default
818         value on empty input (Bug#9361).
819         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
820         Omit initial minibuffer contents.
821         (dired-do-chmod): Signal an error on empty input.
822         (dired-mark-read-string): Don't return default on empty input.
824         * files.el (file-modes-symbolic-to-number): Doc fix.
826 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * international/mule-cmds.el (ucs-completions): Remove.
829         (read-char-by-name): Use complete-with-action instead; add metadata.
831 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
833         * window.el (display-buffer--action-function-custom-type)
834         (display-buffer--action-custom-type): New vars.
835         (display-buffer-alist, display-buffer-default-action)
836         (display-buffer-overriding-action): Add defcustom types.
838         * frame.el (delete-other-frames): Doc fix (Bug#276).
840 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
842         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
844 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
846         Change modes that used same-window-* vars to use switch-to-buffer.
848         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
849         Use switch-to-buffer.
851         * cus-edit.el (customize-group, custom-buffer-create)
852         (customize-browse, custom-buffer-create-other-window):
853         Use switch-to-buffer or switch-to-buffer-other-window.
855         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
856         (Info-prev, Info-up, Info-speedbar-goto-node)
857         (info-display-manual): Use switch-to-buffer.
858         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
860         * mail/sendmail.el (mail): Use switch-to-buffer.
861         (mail-recover): Use switch-to-buffer-other-window.
863         * cmuscheme.el (run-scheme, switch-to-scheme):
864         * ielm.el (ielm):
865         * shell.el (shell):
866         * net/rlogin.el (rlogin):
867         * net/telnet.el (telnet, rsh):
868         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
870 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
872         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
874 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
876         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
877         so don't mention it (bug#9301).
878         (dired-sort-toggle-or-edit): Clarify string further.
880         * faces.el (face-spec-set-match-display): Make `(type graphic)'
881         match `x', `w32' and `ns', like the manual says (bug#9029).
883         * subr.el (eval-after-load): Doc string clarification (bug#9125).
884         (process-kill-buffer-query-function): Mention the buffer name in
885         the query.
887         * image-mode.el (image-next-line): The line parameter is mandatory
888         (bug#9258).
890         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
891         which can be useful (bug#9301).
893         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
895         * subr.el (match-string): Mention that the current buffer should
896         be the same as the search was done in (bug#9282).
898         * facemenu.el: Disable the remove-* commands if the mark isn't
899         active (bug#9162).
901 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
903         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
904         of display-buffer.
905         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
907         * replace.el (occur-mode-goto-occurrence)
908         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
909         and display-buffer.
911         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
912         display-buffer.
914         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
915         special-display and same-window variables.
916         (mail-other-window): Use switch-to-buffer-other-window.
917         (mail-other-frame): USe switch-to-buffer-other-frame.
919         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
920         Use display-buffer-other-frame.
921         (gdb-display-gdb-buffer): Use pop-to-buffer.
923         * progmodes/gud.el (gud-goto-info): Use info-other-window.
925         * progmodes/python.el: Don't set same-window-buffer-names.
927         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
929         * window.el (display-buffer-alist): Add *Python*.
931 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
933         * window.el (display-buffer-alist): Add entry for buffers
934         previously handled same-window-*.
935         (display-buffer-alist, display-buffer-default-action)
936         (display-buffer-overriding-action): Mark as risky.
937         (display-buffer-alist): Document action function changes.
938         (display-buffer--same-window-action)
939         (display-buffer--other-frame-action): New variables.
940         (switch-to-buffer, display-buffer-other-frame): Use them.
941         (display-buffer): Rename reuse-frame entry to reusable-frames.
942         (display-buffer-reuse-selected-window): Function deleted.
943         (display-buffer-reuse-window): Handle reusable-frames alist entry.
944         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
945         (display-buffer-special): New function.
946         (display-buffer--maybe-pop-up-frame-or-window): Rename from
947         display-buffer-reuse-or-pop-window.  Split off special-display
948         part into display-buffer-special.
949         (display-buffer-use-some-window): Don't perform any special
950         pop-up-frames handling.
951         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
952         (display-buffer--maybe-same-window): Rename from
953         display-buffer-maybe-same-window.
955         * info.el: Don't set same-window-regexps.
956         (info-setup): New function.
957         (info-other-window, info): Call it.
959         * cus-edit.el: Don't set same-window-regexps.
960         (customize-group): New argument.
961         (customize-group-other-window): Use it.
962         (customize-face, customize-face-other-window): Likewise.
963         (custom-buffer-create-other-window): Use pop-to-buffer directly.
965         * net/rlogin.el:
966         * net/telnet.el:
967         * progmodes/gud.el: Don't set same-window-regexps.
969         * cmuscheme.el:
970         * ielm.el:
971         * shell.el:
972         * mail/sendmail.el:
973         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
975 2011-09-10  Juri Linkov  <juri@jurta.org>
977         * isearch.el (isearch-edit-string): Remove obsolete mention of
978         `C-w' (`isearch-yank-word-or-char') from docstring.
979         (isearch-query-replace): Fix typo in docstring (bug#9466).
981 2011-09-10  Juri Linkov  <juri@jurta.org>
983         * paren.el (show-paren-function): Don't show escaped parens.
984         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
986 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
988         * mail/sendmail.el (mml-to-mime, mml-attach-file)
989         (mm-default-file-encoding): Remove autoload forms, they are
990         replaced with autoload cookies in mml.el and mm-encode.el.
991         (mail-add-attachment): New command.
992         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
993         (mail-mode): Mention mail-insert-file and mail-add-attachment in
994         the doc string.
995         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
997 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
999         * simple.el (count-words-region): Use buffer if there's no region
1000         (bug#9429).
1002 2011-09-09  Juri Linkov  <juri@jurta.org>
1004         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1005         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1006         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
1008 2011-09-09  Alan Mackenzie  <acm@muc.de>
1010         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1011         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
1013 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
1015         Fix for Savannah bug#9392.
1016         * simple.el (mail-encode-mml): New defvar.
1018         * mail/rmail.el (mail-encode-mml): Add a defvar.
1019         (rmail-enable-mime-composing): Default to t.
1020         (rmail-forward): Use MIME method of forwarding only if both
1021         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1022         Set mail-encode-mml non-nil if the MIME method was used.
1024         * mail/sendmail.el (mml-to-mime): Add autoload form.
1025         (mail-encode-mml): Add a defvar.
1026         (mail-mode): Make mail-encode-mml buffer-local and initialize it
1027         to nil.
1028         (mail-send): If mail-encode-mml is non-nil, run the outgoing
1029         message through mml-to-mime, and reset mail-encode-mml to nil.
1031 2011-09-09  Glenn Morris  <rgm@gnu.org>
1033         * woman.el (woman-if-body): When processing an .el block,
1034         do not delete the next .el block as well.  (Bug#9447)
1035         (woman-special-characters): Add oq, cq, and hy characters.
1037 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
1039         * window.el (window-deletable-p): Make sure window is live before
1040         invoking window-prev-buffers.
1042 2011-09-08  Leo Liu  <sdl.web@gmail.com>
1044         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
1046 2011-09-08  Juri Linkov  <juri@jurta.org>
1048         * progmodes/compile.el (compilation-environment): Make it
1049         a defcustom (bug#8340).
1051 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
1053         * window.el (frame-auto-delete): Rename to window-auto-delete.
1054         Make it control auto-deletion of windows and/or frames.
1055         (window-deletable-p): New argument FORCE.  Rewrite conditions
1056         for deleting window/frame.  (Bug#9419)
1057         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1058         Rewrite handling of case when window/frame can be deleted.
1059         (delete-windows-on): Call window-deletable-p with new FORCE
1060         argument t.  (Bug#9456)
1062 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
1064         * help-mode.el (help-mode): Restore autoload.
1066 2011-09-07  Juri Linkov  <juri@jurta.org>
1068         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1069         `compilation-environment'.  Set buffer-local
1070         `compilation-environment' to `thisenv' later after (funcall mode).
1071         (Bug#8340)
1073         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
1074         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1075         instead of replacing its value.  (Bug#8340)
1077 2011-09-07  Juri Linkov  <juri@jurta.org>
1079         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1080         based on text properties put by `grep-filter' instead of matching
1081         escape sequences.
1082         (grep-mode): Set buffer-local `compilation-error-screen-columns'
1083         to the value of `grep-error-screen-columns' (bug#9438).
1085 2011-09-07  Juri Linkov  <juri@jurta.org>
1087         * simple.el (next-error-highlight, next-error-highlight-no-select):
1088         Doc fix (bug#9432).
1090 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
1092         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1093         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
1095 2011-09-07  Leo Liu  <sdl.web@gmail.com>
1097         * net/rcirc.el (rcirc-mode): Conditionally initialize
1098         rcirc-input-ring.
1100 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1102         * emacs-lisp/find-func.el (find-function-C-source): Only set
1103         find-function-C-source-directory after checking that we found a source
1104         file there (bug#9440).
1106 2011-09-06  Alan Mackenzie  <acm@muc.de>
1108         * isearch.el (isearch-other-meta-char): Wherever a key list is
1109         unread, "unread" the prefix arg, too.  This fixes bug #8901.
1111 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
1113         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1115 2011-09-05  Juri Linkov  <juri@jurta.org>
1117         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1119 2011-09-05  Juri Linkov  <juri@jurta.org>
1121         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1122         keeping point where processing of grep matches begins, and
1123         continue to delete remaining escape sequences from the same point.
1124         (grep-filter): Make leading zero optional in "0?1;31m" because
1125         git-grep emits "\033[1;31m" escape sequences unlike expected
1126         "\033[01;31m" as GNU Grep does (bug#9408).
1127         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1129 2011-09-05  Juri Linkov  <juri@jurta.org>
1131         * subr.el (y-or-n-p): Capitalize "yes".
1133 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
1135         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
1136         `tramp-cache-unload-hook' where appropriate.
1137         (tramp-methods): Rename `tramp-remote-sh' to
1138         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
1139         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1141         * net/tramp-sh.el (top): Don't require 'shell.
1142         (tramp-methods): Add `tramp-remote-shell' and
1143         `tramp-remote-shell-args' entries.
1144         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1145         (tramp-sh-handle-shell-command): Remove.
1146         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1147         Use `tramp-remote-shell'.
1149 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
1151         * mail/sendmail.el (sendmail-query-once-function): Delete.
1152         (sendmail-query-once): Save directly to send-mail-function.
1153         Update message-send-mail-function too.
1155         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1157 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
1159         * progmodes/python.el (python-mode-map): Use correct function to
1160         start python interpreter from menu-bar (as reported by Geert
1161         Kloosterman).
1162         (inferior-python-mode-map): Fix typo.
1163         (python-shell-map): Remove.
1165 2011-09-03  Deniz Dogan  <deniz@dogan.se>
1167         * net/rcirc.el (rcirc-print): Simplify code for
1168         rcirc-scroll-show-maximum-output.  There is no need to walk
1169         through all windows to find the right one.
1171 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
1173         * help.el (help-return-method): Doc fix.
1175 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
1177         * window.el (window-deletable-p): Don't return a non-nil value
1178         when there's a buffer that was shown in the window before.
1179         (Bug#9419)
1180         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1181         Set window's previous buffers to nil.
1183 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
1185         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1186         newline before and after the tag line, so it doesn't interfere
1187         with determining the paragraph direction of bidirectional text.
1189 2011-09-03  Leo Liu  <sdl.web@gmail.com>
1191         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
1193 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
1195         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
1196         (pop-to-buffer): Change interactive spec.  Pass second argument
1197         directly to display-buffer.
1198         (display-buffer): Fix interactive spec.  Use functionp to
1199         distinguish between a function and a list of functions.
1201         * abbrev.el (edit-abbrevs):
1202         * arc-mode.el (archive-extract):
1203         * autoinsert.el (auto-insert):
1204         * bookmark.el (bookmark-bmenu-list):
1205         * files.el (find-file):
1206         * view.el (view-buffer):
1207         * progmodes/compile.el (compilation-goto-locus):
1208         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1210 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
1212         * window.el (display-buffer-alist): Doc fix.
1213         (display-buffer): Add docstring.  Don't treat
1214         display-buffer-default specially.
1215         (display-buffer-reuse-selected-window)
1216         (display-buffer-same-window, display-buffer-maybe-same-window)
1217         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1218         (display-buffer-pop-up-window)
1219         (display-buffer-reuse-or-pop-window)
1220         (display-buffer-use-some-window): New functions.
1221         (display-buffer-default-action): Use them.
1222         (display-buffer-default): Delete.
1223         (pop-to-buffer-1): Fix choice of actions.
1225 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1227         * minibuffer.el (completion--insert-strings): Don't get confused by
1228         completion entries that end with an LF char.
1230 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
1232         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1234 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
1236         * window.el (display-buffer): Restore interactive spec.
1237         (display-buffer-same-window, display-buffer-other-window):
1238         New functions.
1239         (pop-to-buffer-1): New function.  Use the above.
1240         (pop-to-buffer, pop-to-buffer-same-window): Use it.
1241         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
1243         * view.el (view-buffer-other-window, view-buffer-other-frame):
1244         Just use pop-to-buffer.
1246 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1248         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
1250 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
1252         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
1254 2011-08-31  Richard Stallman  <rms@gnu.org>
1256         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1257         of the separation of rmail-view-buffer from rmail-buffer.
1258         If you say no to "replace original", the decrypt is in the
1259         view buffer.  If you say yes, the decrypt goes into the
1260         rmail buffer also.
1262 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
1264         * window.el (display-buffer-window): Rewrite doc-string.
1265         (display-buffer-record-window): New function.
1266         (display-buffer-macro-specifiers)
1267         (display-buffer-even-window-sizes, display-buffer-set-height)
1268         (display-buffer-set-width, display-buffer-in-window)
1269         (display-buffer-reuse-window, display-buffer-split-specifiers)
1270         (display-buffer-side-specifiers, display-buffer-split-window-1)
1271         (display-buffer-split-window, display-buffer-split-atom-window)
1272         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1273         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1274         (display-buffer-other-window-means-other-frame)
1275         (display-buffer-normalize-special)
1276         (display-buffer-normalize-default)
1277         (display-buffer-normalize-argument)
1278         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1279         (display-buffer-normalize-specifiers, display-buffer-frame)
1280         (display-buffer-same-window, display-buffer-same-frame)
1281         (display-buffer-other-window)
1282         (display-buffer-same-frame-other-window)
1283         (display-buffer-other-frame, pop-to-buffer-same-window)
1284         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1285         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1286         (switch-to-buffer-same-frame)
1287         (switch-to-buffer-other-window-same-frame)
1288         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1289         (display-buffer-alist-set-1, display-buffer-alist-set-2)
1290         (display-buffer-alist-set): Remove.
1291         (display-buffer-function, special-display-buffer-names)
1292         (special-display-regexps, special-display-function):
1293         In doc-string refer to display-buffer-window and quit-restore
1294         parameter.
1295         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1296         (special-display-frame-alist, special-display-popup-frame)
1297         (same-window-buffer-names, same-window-regexps, same-window-p)
1298         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1299         (split-window-preferred-function, split-height-threshold)
1300         (split-width-threshold, window-splittable-p)
1301         (split-window-sensibly, window--try-to-split-window)
1302         (window--frame-usable-p, even-window-heights)
1303         (window--even-window-heights, window--display-buffer-1)
1304         (window--display-buffer-2, display-buffer-other-frame):
1305         Restore old Emacs 23 code, order and doc-strings where applicable.
1306         (display-buffer-default, display-buffer-assq-regexp): New functions.
1307         (display-buffer-alist): Rewrite doc-string.
1308         (display-buffer-default-action)
1309         (display-buffer-overriding-action): New variables.
1310         (display-buffer, switch-to-buffer): Rewrite.
1311         (pop-to-buffer): Restore Emacs 23 behavior but use
1312         window-normalize-buffer-to-display.
1313         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1314         Restore Emacs 23 behavior but use
1315         window-normalize-buffer-to-switch-to.
1316         (pop-to-buffer-same-window): Rewrite.
1317         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1318         Rewrite using Emacs 23 options.
1320 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
1322         * net/tramp.el (tramp-root-regexp): Remove.
1323         (tramp-completion-file-name-regexp-unified)
1324         (tramp-completion-file-name-regexp-separate)
1325         (tramp-completion-file-name-regexp-url): Don't use leading volume
1326         letter on win32 systems.  (Bug#5303, Bug#9311)
1327         (tramp-drop-volume-letter): Simplify definition.
1328         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1330 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1332         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1333         (bug#9356).
1335 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
1337         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
1339 2011-08-29  Juri Linkov  <juri@jurta.org>
1341         * isearch.el (isearch-done): Don't display message "Mark saved"
1342         when arg `edit' is non-nil to prevent its flicker in the echo area.
1344 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1346         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1347         obsolete packages for deletion.
1349 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
1351         * help-mode.el (help-mode-map): Add special-mode-map to parent.
1352         (help-mode): Derive help-mode from special-mode.  Don't invoke
1353         view-mode from help-mode.
1354         (help-xref-override-view-map): Remove.
1355         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1356         view-mode is not used anymore.
1358 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1360         * server.el (server-port): Doc fix.
1362         * cus-theme.el (custom-theme-choose-mode): Inherit from
1363         special-mode (Bug#9124).
1364         (custom-theme-choose-mode-map): Add special-mode to parent.
1366 2011-08-28  Alan Mackenzie  <acm@muc.de>
1368         * progmodes/cc-fonts.el
1369         (c-make-font-lock-BO-decl-search-function): New function.
1370         (c-basic-matchers-after - "Fontify the clauses after various
1371         keywords"): Extract the three keyword lists for the 3 erroneous
1372         constructs from the list of four, and use the new function above
1373         in place of an old one.
1375 2011-08-28  Deniz Dogan  <deniz@dogan.se>
1377         * net/rcirc.el (rcirc-insert-prev-input)
1378         (rcirc-insert-next-input): Remove unused argument.
1380 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1384 2011-08-27  Alan Mackenzie  <acm@muc.de>
1386         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1387         handle function pointer parameters properly.
1389 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
1391         * window.el (display-buffer-reuse-window): Fix case where
1392         selected window was reused with non-nil OTHER-WINDOW argument.
1393         (Bug#9381)
1395 2011-08-27  Deniz Dogan  <deniz@dogan.se>
1397         * net/rcirc.el (rcirc-check-auth-status): Adding support for
1398         oftc's NickServ messages.
1400 2011-08-27  Glenn Morris  <rgm@gnu.org>
1402         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
1404 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
1406         * emacs-lisp/package.el (package-install): Call package-initialize
1407         if called interactively.
1409 2011-08-26  Leo Liu  <sdl.web@gmail.com>
1411         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
1413 2011-08-25  Juri Linkov  <juri@jurta.org>
1415         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1416         `search-whitespace-regexp' (bug#9364).
1418 2011-08-25  Juri Linkov  <juri@jurta.org>
1420         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1421         `regexp-search-ring' to their global values to protect from
1422         updating by `read-from-minibuffer' (bug#9185).
1424 2011-08-25  Juri Linkov  <juri@jurta.org>
1426         * textmodes/ispell.el (ispell-command-loop): Add newline
1427         at the end of the "Use option `i'..." line.
1429 2011-08-25  Juri Linkov  <juri@jurta.org>
1431         * battery.el (display-battery-mode): If `battery-status-function'
1432         or `battery-mode-line-format' is nil, display the message and set
1433         `display-battery-mode' to nil (bug#9363).
1435 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
1437         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1438         bidi-string-mark-left-to-right; they are unnecessary now.
1440 2011-08-25  Deniz Dogan  <deniz@dogan.se>
1442         * net/quickurl.el: Documentation typo fixes.
1444 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
1446         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1448 2011-08-25  Glenn Morris  <rgm@gnu.org>
1450         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1452         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1453         (smtpmail-via-smtp): Handle nil response from smtp.
1455 2011-08-24  Juri Linkov  <juri@jurta.org>
1457         * proced.el (proced-marked): Inherit from `error' instead of
1458         `font-lock-warning-face'.
1460         * ibuffer.el (ibuffer-marked-face): Change default face from
1461         `font-lock-warning-face' to `warning'.
1462         (ibuffer-deletion-face): Change default face from
1463         `font-lock-type-face' to `error'.
1465         * battery.el (battery-update): Use the face `error' instead of
1466         `font-lock-warning-face' (bug#6117).
1468 2011-08-24  Juri Linkov  <juri@jurta.org>
1470         * faces.el (success): Change face color from "Green3" to
1471         "ForestGreen" on light background (bug#9353).
1473 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
1475         * window.el (quit-window): Rename from quit-restore-window.
1476         Use same arglist as old quit-window.
1477         (frame-auto-delete): Doc fix.
1479         * view.el (view-mode-exit): Use quit-window.
1481 2011-08-24  Juri Linkov  <juri@jurta.org>
1483         * isearch.el (isearch-ring-adjust1): Start visiting previous
1484         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1485         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1486         for empty search string (when the last search string is reused
1487         automatically) to adjust the isearch ring to the last element and
1488         prepare the correct index for further M-p commands (bug#9185).
1490 2011-08-24  Kenichi Handa  <handa@m17n.org>
1492         * international/ucs-normalize.el: If decomposition property of
1493         CHAR is the default one (i.e. a list of CHAR itself), treat it as
1494         nil.
1495         (nfd, nfkd): Likewise.
1497 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1499         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1500         from process filters aren't reliably transmitted to the surrounding
1501         accept-process-output.
1502         (mpc-proc-check): New function.
1503         (mpc-proc-sync): Use it (bug#8293)
1505 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1508         Add compatibility functions (bug#9313).
1510 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
1512         * cus-start.el (all): Add entry for bidi-paragraph-direction.
1514         * international/uni-bidi.el: Regenerated.
1516 2011-08-23  Kenichi Handa  <handa@m17n.org>
1518         * international/charprop.el:
1519         * international/uni-bidi.el:
1520         * international/uni-category.el:
1521         * international/uni-combining.el:
1522         * international/uni-comment.el:
1523         * international/uni-decimal.el:
1524         * international/uni-decomposition.el:
1525         * international/uni-digit.el:
1526         * international/uni-lowercase.el:
1527         * international/uni-mirrored.el:
1528         * international/uni-name.el:
1529         * international/uni-numeric.el:
1530         * international/uni-old-name.el:
1531         * international/uni-titlecase.el:
1532         * international/uni-uppercase.el: Regenerate.
1534 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
1536         * help.el (help-window-setup): Fix message displayed when other
1537         window is reused.  (Bug#9341)
1539 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1541         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1542         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1544         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1545         Mark obsolete.
1546         * shell.el (shell-parse-pcomplete-arguments): New function.
1547         (shell-completion-vars): Use it instead (bug#9160).
1549 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1551         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1552         strings and comments (bug#9333).
1554         * emacs-lisp/debug.el (debug-arglist): New function.
1555         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
1556         (debug-on-entry-1): Handle interpreted closures (bug#9120).
1558 2011-08-22  Juri Linkov  <juri@jurta.org>
1560         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1561         Revert regexp that highlights output switches to its old
1562         pre-2010-10-28 value and remove one `?' from it (bug#9319).
1564         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1565         to check for empty output (bug#9226).
1567 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
1569         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1570         symbol-constituent as the default, as that stops font-lock from
1571         working properly (Bug#8843).
1573 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1575         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1576         `coding-system-for-*' around the process open call to avoid
1577         auth-source side effects.
1578         (smtpmail-try-auth-methods): Expand the secret password.
1579         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1580         probe hangs.
1582 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
1584         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1586         * emacs-lisp/find-func.el (find-function-noselect): New arg
1587         lisp-only.
1589         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1590         signal an error for built-in functions (Bug#6664).
1592 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1594         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1595         (smtpmail-try-auth-methods): Use it.
1597 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
1599         * font-lock.el (font-lock-fontify-region)
1600         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1601         (font-lock-default-unfontify-buffer)
1602         (font-lock-default-fontify-region)
1603         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1605         * progmodes/compile.el (compilation-error-properties):
1606         Fix confusion between file struct and message struct (Bug#9319).
1607         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1608         `ant' regexp.
1610         * net/browse-url.el (browse-url-firefox): Don't call
1611         browse-url-firefox-sentinel unless using -remote (Bug#9328).
1613 2011-08-20  Glenn Morris  <rgm@gnu.org>
1615         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1617         * tutorial.el (tutorial--default-keys): Update some default bindings.
1619         * files.el (hack-local-variables): Fully ignore case for "mode:".
1621 2011-08-20  Alan Mackenzie  <acm@muc.de>
1623         Resolve invalid use of a regexp in regexp-opt.
1625         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1626         detection for a java annotation.
1628         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
1629         detection for a java annotation.
1631         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1632         handling for java.
1633         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1635 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
1637         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1638         (Bug#9274).
1640 2011-08-20  Alan Mackenzie  <acm@muc.de>
1642         * Fontify CPP expressions correctly when starting in the middle of
1643         such a construct.  Mainly for when jit-lock etc. starts a chunk
1644         here.
1646         * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1647         variable.
1648         (c-make-font-lock-search-form): new function, extracted from
1649         c-make-font-lock-search-function.
1650         (c-make-font-lock-search-function): Use the above function.
1651         (c-make-font-lock-context-search-function): New function.
1652         (c-cpp-matchers): Enhance the preprocessor expression case with
1653         the above function
1654         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1655         which takes an expression.
1657         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1659 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
1661         * window.el (display-buffer-reuse-window)
1662         (display-buffer-pop-up-window): Don't reuse or split a side
1663         window.
1665 2011-08-19  Glenn Morris  <rgm@gnu.org>
1667         * files.el (hack-local-variables-prop-line, hack-local-variables):
1668         Downcase "Mode:".  (Bug#9331)
1670 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
1672         * international/characters.el: Add L and R categories.
1674         * subr.el (bidi-string-mark-left-to-right): Rename from
1675         string-mark-left-to-right.  Use category search.
1677         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
1679 2011-08-18  Juri Linkov  <juri@jurta.org>
1681         * faces.el (error, warning, success): New faces with definitions
1682         copied from old default values of `font-lock-warning-face',
1683         `compilation-warning', `compilation-info' (bug#6117).
1685         * font-lock.el (font-lock-warning-face): Inherit from `error'.
1687         * progmodes/compile.el (compilation-error): Inherit from `error'.
1688         (compilation-warning): Inherit from `warning'.
1689         (compilation-info): Inherit from `success'.
1691         * dired.el (dired-marked): Inherit from `warning'.
1692         (dired-flagged): Inherit from `error'.
1694 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1696         * mail/smtpmail.el (auth-source): Require to avoid problems with
1697         binding variables (bug#9298).  Also clean up some unused
1698         autoloads.
1700         * net/network-stream.el (network-stream-open-starttls):
1701         Support using starttls.el without using gnutls-cli.
1703 2011-08-17  Juri Linkov  <juri@jurta.org>
1705         * progmodes/grep.el (rgrep): Handle the case when
1706         `grep-find-command' is a cons cell (bug#9278).
1708 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
1710         * window.el (display-buffer-pop-up-frame): Run frame creation
1711         function with BUFFER current (as special-display-popup-frame
1712         does).  Reported by Drew Adams.
1714 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
1716         * epa-mail.el: Simplify GnuPG group expansion using
1717         epg-expand-group.
1718         (epa-mail-group-alist, epa-mail-group-modtime)
1719         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
1720         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
1721         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
1722         Remove.
1724 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
1726         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
1728 2011-08-16  Alan Mackenzie  <acm@muc.de>
1730         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
1731         Correct, to avoid the inside of macros.
1733 2011-08-16  Richard Stallman  <rms@gnu.org>
1735         * epa-mail.el: Handle GnuPG group definitions.
1736         (epa-mail-group-alist, epa-mail-group-modtime)
1737         (epa-mail-gnupg-conf-file): New variables.
1738         (epa-mail-parse-groups, epa-mail-sync-groups)
1739         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
1740         (epa-mail-expand-recipients): New functions.
1741         (epa-mail-encrypt): Call epa-mail-expand-recipients.
1743         * mail/rmail.el (rmail-epa-decrypt): New command.
1745         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
1746         Don't bind buffer-read-only, just inhibit-read-only.
1747         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
1748         (epa-decrypt-armor-in-region): Make error message clearer.
1750 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
1753         and "a2b" to "ab" for `prefix'.
1755 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
1757         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
1758         filter groups.
1759         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
1760         Fourquet (Bug#8804).
1762 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
1764         * startup.el (argi): Declare as global variable (bug#9275).
1766 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
1768         * subr.el (string-mark-left-to-right): Search the entire string
1769         for RTL script, not just the terminating character.  Doc fix.
1771 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1773         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
1774         New function.
1775         (js--regexp-literal, js-syntax-propertize-function): Remove.
1776         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1777         (js-mode-map): Don't rebind electric keys.
1778         (js-insert-and-indent): Remove.
1779         (js-mode): Setup electric-layout and electric-indent instead.
1781         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1783 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
1785         * epa.el (epa-progress-callback-function): Fix the logic of
1786         displaying progress.
1787         * epa-file.el (epa-file-insert-file-contents): Make progress
1788         display more user-friendly.
1789         (epa-file-write-region): Ditto.
1791 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
1793         * subr.el (string-mark-left-to-right): New function.
1795         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1796         Use string-mark-left-to-right.
1797         (list-buffers-noselect): Caller changed.
1799         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1800         Use string-mark-left-to-right.
1801         (tabulated-list-print): Recenter after moving point.
1803 2011-08-10  Juri Linkov  <juri@jurta.org>
1805         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1806         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1807         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1809 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
1811         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1812         (Bug#7554).
1814 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1816         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1817         character.  (Bug#6594)
1819 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
1821         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1822         (image-dired--with-db-file): New macro.
1823         (image-dired-write-tags, image-dired-remove-tag)
1824         (image-dired-create-gallery-lists, image-dired-write-comments)
1825         (image-dired-get-comment, image-dired-mark-tagged-files)
1826         (image-dired-list-tags, image-dired-gallery-generate): Use it.
1827         (image-dired-gallery-generate): Use insert-file-contents.
1829         * time.el (display-time-world-list, display-time-world-display):
1830         * time-stamp.el (time-stamp-string):
1831         * vc/add-log.el (add-change-log-entry): Use setenv instead of
1832         set-time-zone-rule (Bug#7337).
1834 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
1836         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1837         (epg-error-to-string, epg-errors-to-string): New function.
1838         (epg-wait-for-completion): Reverse errors list.
1839         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1840         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1841         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1842         (epg-sign-keys, epg-generate-key-from-file)
1843         (epg-generate-key-from-string): Format errors by using
1844         epg-errors-to-string (bug#9255).
1845         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1847 2011-08-07  Juri Linkov  <juri@jurta.org>
1849         * faces.el (list-faces-display): Remove extra angle bracket
1850         from `help-mode-map'.
1852         * info.el (Info-history-toc-nodes): Doc fix.
1854         * longlines.el (longlines-mode): Doc fix.
1856 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1858         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1859         of statements and in a few more cases (bug#9183).
1861         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1862         New functions.
1863         (cl-transform-lambda): Use them (bug#9239).
1865 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
1867         * window.el (display-buffer-same-window)
1868         (display-buffer-same-frame, display-buffer-other-window)
1869         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1870         (pop-to-buffer-other-window)
1871         (pop-to-buffer-same-frame-other-window)
1872         (pop-to-buffer-other-frame): Make them defuns.
1873         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1875 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1877         * subr.el (make-composed-keymap): Move from C.  Change calling
1878         convention, and improve docstring to bring attention to a subtle point.
1879         * minibuffer.el (completing-read-default): Adjust accordingly.
1881 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
1883         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1884         (tramp-open-shell): Use `tramp-shell-quote-argument'.
1886         * net/trampver.el: Update release number.
1888 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1890         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1891         "in" (bug#9190).
1893 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1895         * mail/sendmail.el (sendmail-query-once): Restore the current
1896         buffer after querying (bug#9074).
1898         * dired.el (dired-flagged): Use different faces for marked and
1899         flagged files (bug#6117).
1901         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1902         (bug#4433).
1904         * ido.el (ido-mode): Switch off the message if called
1905         non-interactively.
1907         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1908         before 587, since it appears that that's more likely to work for
1909         more people.
1911         * cus-edit.el (custom-file): When running under emacs -q, always
1912         refuse to save the customisations, even if the .emacs file doesn't
1913         exist.
1915         * info.el: Remove the `Info-beginning-of-buffer' function
1916         (bug#8325).
1918         * net/network-stream.el (network-stream-open-starttls):
1919         Use `starttls-available-p' to see whether starttls.el can be used.
1921 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
1923         * window.el (display-buffer-in-window): Don't set dedicated status
1924         of window here (Bug#9215).
1925         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1926         (display-buffer-pop-up-side-window)
1927         (display-buffer-in-side-window): Set dedicated status of window here.
1929 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1931         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1932         before binding generated-autoload-file.
1934 2011-08-01  Deniz Dogan  <deniz@dogan.se>
1936         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1938 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
1940         Sync with Tramp 2.2.2.
1942         * net/trampver.el: Update release number.
1944 2011-07-30  Juri Linkov  <juri@jurta.org>
1946         * dired-aux.el (dired-touch-initial): Remove function.
1947         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1948         current time, and `default' to the last modification time of the
1949         current marked file (bug#6887).
1951 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
1953         * simple.el (goto-line): Use string-to-number to provide a
1954         numeric argument to read-number (bug#9163).
1956 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
1958         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1959         connection process, it could be nil.
1961 2011-07-27  Leo Liu  <sdl.web@gmail.com>
1963         Simplify url handling in rcirc-mode.
1965         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1966         (rcirc-browse-url-at-mouse): Remove.
1967         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1969 2011-07-26  Alan Mackenzie  <acm@muc.de>
1971         Fontify bitfield declarations properly.
1973         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1974         (c-symbol-chars): Now exported as a lang variable.
1975         (c-not-primitive-type-keywords): New lang variable.
1977         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1978         QT keyword "more" to prevent "more slots: ...." being spuriously
1979         parsed as a bitfield declaraion.
1981         * progmodes/cc-engine.el (c-beginning-of-statement-1):
1982         Refactor and enhance to handle bitfield declarations.
1983         (c-punctuation-in): New function.
1984         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1985         declarations properly.
1987 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
1989         * calendar/icalendar.el (icalendar--all-events): Take care of
1990         multiple vcalendars in a single file.
1991         (icalendar--convert-float-to-ical): Checkdoc fixes.
1993 2011-07-25  Deniz Dogan  <deniz@dogan.se>
1995         * image.el (insert-image): Clarifying docstring.
1997 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
1999         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2000         `tramp-send-command-and-check' if there is no error.
2001         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2003 2011-07-22  Alan Mackenzie  <acm@muc.de>
2005         Prevent cc-langs.elc being loaded at run time.
2007         * progmodes/cc-mode.el: Remove two autoload forms which loaded
2008         cc-langs.
2010         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
2011         "(require 'cc-langs)".  Quote a form so it will evaluate at
2012         (cc-mode's) compilation time.
2014 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
2016         * net/tramp.el (tramp-file-name-handler): Avoid recursive
2017         loading.  (Bug#9114)
2019 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
2021         * window.el (display-buffer-pop-up-window)
2022         (display-buffer-pop-up-side-window)
2023         (display-buffer-in-side-window): Call display-buffer-set-height
2024         and display-buffer-set-width after setting the new window's
2025         buffer so `fit-window-to-buffer' and friends work on the right buffer.
2027 2011-07-20  Sam Steingold  <sds@gnu.org>
2029         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2030         (etags-tags-included-tables): Call `convert-standard-filename' on
2031         the file names contained in TAGS so that windows Emacs can handle
2032         TAGS files created by cygwin ctags.
2034 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2036         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2037         which apparently didn't work.
2039 2011-07-19  Roland Winkler  <winkler@gnu.org>
2041         * proced.el (proced-send-signal): For *Marked Processes* buffer
2042         put point at beginning of buffer.
2044 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
2046         * proced.el (proced-format): Make header lines align with the text
2047         (bug#1779).
2049 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2051         * view.el (view-buffer): Allow running in `special' modes if we're
2052         visiting a file (bug#8615).
2054 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
2056         * window.el (display-buffer-alist-of-strings-p)
2057         (display-buffer-alist-set-1, display-buffer-alist-set-2):
2058         New functions.
2059         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2060         more accurately.
2062 2011-07-18  Alan Mackenzie  <acm@muc.de>
2064         Fontify declarators properly when, e.g., a jit-lock chunk begins
2065         inside a declaration.
2067         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2069         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2070         New function.
2071         (c-complex-decl-matchers): Insert reference to
2072         c-font-lock-enclosing-decls.
2074         * progmodes/cc-engine.el (c-backward-single-comment):
2075         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2076         to nil around calls to (forward-comment -1).
2078 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2080         * image.el (put-image): Doc typo fix.
2082         * progmodes/etags.el (tags-search): Doc typo fix.
2084         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2085         password if we get errors 550 to 554.
2087 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2089         * net/gnutls.el (gnutls-log-level): Remove.
2091         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2092         indentation character (bug#6380).
2094         * files.el (buffer-offer-save): Made permanently local (bug#6241).
2096         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2097         to clarify what the problem is (bug#4291).
2099         * simple.el (current-kill): Clarify what
2100         `interprogram-paste-function' does (bug#7500).
2101         (auto-fill-mode): Document `auto-fill-function' in relation to
2102         `auto-fill-mode' (bug#2470).
2104 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
2106         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2107         method if slot is read-only (bug#9035).
2109 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
2111         * frame.el (select-frame-set-input-focus): New argument NORECORD.
2112         * window.el (pop-to-buffer): Select window used even if it was
2113         selected before, see discussion of (Bug#8615), (Bug#6954).
2114         Pass argument NORECORD on to select-frame-set-input-focus.
2116 2011-07-15  Glenn Morris  <rgm@gnu.org>
2118         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
2119         Respect help-form.
2121 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
2123         * net/gnutls.el (gnutls-min-prime-bits): New variable.
2124         (gnutls-negotiate): Use it.
2126 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2128         * net/gnutls.el (gnutls-negotiate):
2129         Upcase `gnutls-algorithm-priority'.
2131 2011-07-15  Glenn Morris  <rgm@gnu.org>
2133         * jka-compr.el (jka-compr-verbose): Move from here...
2134         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
2135         Add missing :version tag.
2136         * info.el: No need to require jka-compr when compiling.
2138 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2140         * net/gnutls.el (gnutls-algorithm-priority): New variable.
2141         (gnutls-negotiate): Use it.
2143         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2145         * info.el (Info-beginning-of-buffer): New command.
2146         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2147         announcing `b' as the key (bug#8325).
2148         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
2150         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2152         * international/mule-cmds.el
2153         (describe-specified-language-support): Make the error message
2154         clearer (bug#8905).
2156         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2158         * isearch.el (isearch-barrier): Add a doc string, since it's
2159         mentioned in a function doc string (bug#8678).
2161 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
2163         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2164         buffer argument (Bug#9083) and self-identifying label argument.
2166 2011-07-15  Glenn Morris  <rgm@gnu.org>
2168         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
2170 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2172         * man.el (Man-fontify-manpage): Fix message when formatting the
2173         man page (bug#7929).
2175 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
2177         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2178         argument LRM; if non-nil, append an invisible LRM character to the
2179         buffer name.
2180         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2181         last argument non-nil, when formatting buffer names.
2182         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2183         paragraph direction.
2185 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2187         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2188         the man page name (bug#7929).
2190         * image.el (put-image): Mention the `put-image' overlay property
2191         (bug#7834).
2193         * scroll-bar.el (set-scroll-bar-mode): Mention that
2194         `scroll-bar-mode' lists the values (bug#7772).
2196         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2197         command (bug#7729).
2199         * rect.el (apply-on-rectangle): Return the point after the last
2200         operation.
2201         (string-rectangle): Go to the point after the last operation
2202         (bug#7522).
2204         * printing.el (pr-toggle-region): Clarify the documentation
2205         slightly (bug#7493).
2207         * time.el (display-time-update):
2208         Allow `display-time-mail-function' to return nil (bug#7158).
2209         Fix suggested by Detlev Zundel.
2211         * vc/diff.el (diff): Clarify the order the file names are read
2212         (bug#7111).
2214         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2215         the doc string (bug#7015).
2217         * font-lock.el (font-lock-maximum-decoration): Mention what
2218         numeric levels mean (bug#6935).
2220         * startup.el (initial-buffer-choice): Don't mention the `none'
2221         selection, which is against policy.
2223 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
2225         * window.el (display-buffer-normalize-special):
2226         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
2228 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
2230         * subr.el (version<, version<=, version=): Mention "-CVS" and
2231         "-12345" alpha version numbers.
2233 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
2235         * bindings.el: Add advertised binding for set-mark-command
2236         (Bug#5772).
2238 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
2240         * bindings.el (mode-line-other-buffer):
2241         * bookmark.el (bookmark-bmenu-2-window):
2242         * bs.el (bs-cycle-next, bs-cycle-previous):
2243         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2244         switch-to-buffer.
2246         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2247         Delete.
2249 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
2251         * follow.el (follow-debug-message, follow-redisplay):
2252         * jka-cmpr-hook.el (with-auto-compression-mode):
2253         Fix typos in docstrings.
2255 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2257         * subr.el (with-silent-modifications): Clarify somewhat what the
2258         macro inhibits (bug#6525).
2260         * simple.el (eval-expression): Note what it does if called
2261         interactively (bug#6495).
2263 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
2265         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2266         Use pop-to-buffer buffer-or-name if it is nil.
2268         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2269         Remove switch-to-buffer.
2271 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2273         * files.el (make-directory): Clarify that an error will be raised
2274         if there's an error (bug#6397).
2276         * startup.el (initial-buffer-choice): Add `none' as a choice
2277         (bug#6234).
2279         * subr.el (add-hook): Clarify section about buffer-local hooks
2280         (bug#6218).
2282         * dired.el (dired-flagged): Clarify doc string (bug#6117).
2284 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2286         * tabify.el (untabify): Preserve the current column so that point
2287         doesn't move (bug#6032).
2289 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2291         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2292         Rewrite to avoid awkward possessive "s" (bug#5986).
2294 2011-07-13  Glenn Morris  <rgm@gnu.org>
2296         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
2297         (dired-insert-directory): Give a message the first time
2298         if ls is found not to support --dired.
2300 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2302         * simple.el (toggle-truncate-lines): Clarify what is toggled
2303         (bug#5580).  Text by Drew Adams.
2305 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
2307         * simple.el (blink-matching-open): Make the error message from the
2308         last change less verbose.
2310 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
2312         * font-lock.el (font-lock-comment-face): Use the high contrast
2313         "yellow" color for font-lock-comment-face on low color terminals
2314         using a dark background color (bug#4221).
2316 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2318         * dired.el (dired-insert-set-properties): Make the doc string
2319         reflect what it does now (bug#5325).
2321         * simple.el (blink-matching-open): Say that we were unable to find
2322         the match within the limit, if we're limited (bug#5122).
2324         * international/mule-cmds.el (prefer-coding-system): Add an
2325         example (bug#4869).
2327         * progmodes/etags.el (tags-search): Document `file-list-form'
2328         (bug#4731).
2330 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
2332         * net/browse-url.el (browse-url-default-browser)
2333         (browse-url-browser-function): Make the default browser choice a
2334         bit more logical (bug#4300).  Also clean up the doc string.
2336 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2338         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2339         binary endings (bug#4440).
2341 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2343         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2344         which can be pretty annoying (bug#8971).
2346         * jka-compr.el (jka-compr-verbose): New variable, and use
2347         throughout (bug#8971).
2349         * info.el (Info-find-file): Fall back on the installation
2350         directory if we can't find the info node anywhere else.
2352 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
2354         * vc/vc.el (vc-revert-file):
2355         Don't set file time-stamp in the past.  (Bug#5181)
2357 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2359         * files.el (after-find-file): Give a better error message when
2360         trying to find a symlink that points to a file that doesn't exist
2361         (bug#4398).
2363         * progmodes/cc-vars.el: Remove (probably) misleading comment
2364         (bug#4396).
2366 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
2368         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2370 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2372         * mouse-sel.el: Hack restoring functionality, while keeping
2373         compatibility with 2010-07-03 changes to mouse selection.
2374         (mouse-sel-primary-overlay): New var.
2375         (mouse-sel-selection-alist): Use it.
2376         (mouse-sel-mode): Doc fix; remove points that are default features
2377         of mouse.el.
2379 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
2381         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2382         Fix previous fix (bug#2490).
2384 2011-07-12  Roland Winkler  <winkler@gnu.org>
2386         * textmodes/bibtex.el (bibtex-initialize):
2387         Use pop-to-buffer-same-window.
2388         (bibtex-search-entries): Fix interactive call.
2390 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2392         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2393         Fontise bytecomp Error lines more correctly (bug#2490).
2394         Fix suggested by Johan Bockgård.
2396         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2398         * dired-x.el (dired-guess-default): Use `delete-dups'.
2400 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2402         * dired.el (dired-mark-prompt):
2403         * dired-aux.el (dired-read-shell-command): Doc fix.
2405 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2407         * mail/sendmail.el (sendmail-query-once):
2408         Use `customize-save-variable' unconditionally, now that it works under
2409         emacs -Q.
2411         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2413         * cus-edit.el (custom-file): Take an optional no-error variable.
2414         (customize-save-variable): Set the variable, and give a warning if
2415         running under "emacs -q".
2417 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
2419         * loadhist.el (unload-feature-special-hooks):
2420         Add `auto-coding-functions', `fill-nobreak-predicate' and
2421         `find-directory-functions' (bug#5327).
2423 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2425         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2427         * cus-edit.el (custom-guess-name-alist): -alist variables should
2428         use the `alist' type (bug#3120).  Suggested by Drew Adams.
2430         * printing.el: Add documentation to all the `pr-toggle-' commands.
2432 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
2434         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2435         backends where it makes sense (bug#2623).
2437 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2439         * dired-x.el (dired-guess-default): Remove duplicate shell command
2440         entries (bug#2028).
2441         (dired-guess-default): Fix grammar in doc string (bug#2028).
2442         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
2444         * subr.el (remove-duplicates): New conveniency function.
2446 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2448         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2449         (bug#1526).
2451 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
2453         * window.el (display-buffer-normalize-default): Don't invert
2454         meaning of even-window-heights.  Reported by Eli Zaretskii
2455         <eliz@gnu.org>.
2457 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
2459         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2461 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
2463         * window.el (display-buffer): Fix arguments to
2464         display-buffer-reuse-window in last change.
2466         * faces.el (link): Use a less saturated blue on light backgrounds.
2468         * startup.el (fancy-startup-text, fancy-about-text)
2469         (fancy-startup-tail): Use font-lock faces, for background safety.
2471 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
2473         * emulation/viper-cmd.el (viper-change-state-to-vi):
2474         Limit triggering of abbrev expansion (Bug#9038).
2476 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
2478         * window.el (display-buffer-default-specifiers): Remove.
2479         (display-buffer-macro-specifiers): Remove default specifiers.
2480         (display-buffer-alist): Default to nil.
2481         (display-buffer-reuse-window): New optional argument other-window.
2482         (display-buffer-pop-up-window): Allow splitting internal
2483         windows.  Check whether a live window was created.
2484         (display-buffer-other-window-means-other-frame)
2485         (display-buffer-normalize-arguments): Rename to
2486         display-buffer-normalize-argument and rewrite.  Set the
2487         other-window specifier.
2488         (display-buffer-normalize-special): New function.
2489         (display-buffer-normalize-options): Rename to
2490         display-buffer-normalize-default and rewrite.
2491         (display-buffer-normalize-options-inhibit): Remove.
2492         (display-buffer-normalize-specifiers): Rewrite.
2493         (display-buffer): Process other-window specifier and call
2494         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
2495         more faithfully.
2496         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
2497         (display-buffer-alist-set): Don't handle 'unset default values.
2498         (display-buffer-in-window, display-buffer-alist-set):
2499         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
2500         <tassilo@member.fsf.org>.
2502 2011-07-09  Leo Liu  <sdl.web@gmail.com>
2504         * register.el (insert-register): Restore accidental change on
2505         2011-06-26.  (Bug#9028)
2507 2011-07-09  Glenn Morris  <rgm@gnu.org>
2509         * subr.el (remq): Handle the empty list.  (Bug#9024)
2511 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
2513         * mail/sendmail.el (send-mail-function): No longer delay custom
2514         initialization.
2515         * custom.el (custom-initialize-delay): Doc fix.
2517 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2519         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2521 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
2523         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2524         human-friendly prompt.
2526 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2529         provided by a particular plugin.
2531 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2533         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2534         save customizations (with "emacs -Q"), just set the variable
2535         instead of erroring out.
2537         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2539 2011-07-08  Juri Linkov  <juri@jurta.org>
2541         * arc-mode.el (archive-zip-expunge, archive-zip-update)
2542         (archive-zip-update-case): Use 7z if found by `executable-find'.
2543         The order of searching the available programs is the same as in
2544         `archive-zip-extract' (bug#8968).
2546 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2548         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2549         (menu-bar-options-menu): Tweak descriptions.
2551 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2553         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2554         menu items into verb phrases (bug#1421).  Also refill to fit under
2555         80 columns.
2557 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2559         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2560         (Info-read-node-name): Doc fix (Bug#1084).
2562         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2563         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2564         (end-of-sexp, beginning-of-sexp)
2565         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2566         (forward-symbol, forward-same-syntax, word-at-point)
2567         (sentence-at-point): Doc fix (Bug#1144).
2569 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2571         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2572         should cover it (bug#1281).
2574         * cus-edit.el (custom-show): Mark as obsolete.
2576         * net/network-stream.el (network-stream-open-starttls): If gnutls
2577         negotiation fails, then possibly try again with a non-encrypted
2578         connection (bug#9017).
2580         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2581         be used.
2583 2011-07-07  Richard Stallman  <rms@gnu.org>
2585         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2586         property, and handle its changed format.
2587         Look for the correct line number.
2588         Use file's line contents (but not past first =) to find
2589         correct line in message.
2591 2011-07-07  Kenichi Handa  <handa@m17n.org>
2593         * international/characters.el (build-unicode-category-table):
2594         Delete it.
2595         (unicode-category-table): Set it by unicode-property-table-internal.
2597         * international/mule-cmds.el (char-code-property-alist): Move to
2598         to src/chartab.c.
2599         (get-char-code-property): Call unicode-property-table-internal to
2600         load a file.  Call get-unicode-property-internal where necessary.
2601         (put-char-code-property): Call unicode-property-table-internal to
2602         load a file.  Call put-unicode-property-internal where necessary.
2603         put-unicode-property-internal where necessary.
2604         (char-code-property-description):
2605         Call unicode-property-table-internal to load a file.
2607         * international/charprop.el:
2608         * international/uni-bidi.el:
2609         * international/uni-category.el:
2610         * international/uni-combining.el:
2611         * international/uni-comment.el:
2612         * international/uni-decimal.el:
2613         * international/uni-decomposition.el:
2614         * international/uni-digit.el:
2615         * international/uni-lowercase.el:
2616         * international/uni-mirrored.el:
2617         * international/uni-name.el:
2618         * international/uni-numeric.el:
2619         * international/uni-old-name.el:
2620         * international/uni-titlecase.el:
2621         * international/uni-uppercase.el: Regenerate.
2623         * loadup.el: Load international/charprop.el before
2624         international/characters.
2626 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
2628         * window.el (next-buffer, previous-buffer): Signal an error if
2629         called from a minibuffer window.
2631         * bindings.el: Revert 2011-07-04 change.
2633 2011-07-06  Richard Stallman  <rms@gnu.org>
2635         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2636         (rmail-mime-insert-bulk, rmail-mime-insert-text):
2637         Treat markers like ints.
2638         (rmail-mime-entity): Doc fix.
2640 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2642         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2643         defcustom again for backwards compatibility.
2645         * simple.el (shell-command-on-region): Fill.
2647         * dired-aux.el (dired-kill-line): Add a doc string.
2649         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2650         to "\\sw\\|\\s_" (bug#358).
2652         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2653         (dired-unmark-backward): Ditto.
2654         (dired-flag-backup-files): Ditto.
2656         * dired-x.el (dired-mark-sexp): Ditto.
2658 2011-07-06  Richard Stallman  <rms@gnu.org>
2660         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
2661         (rmail-mime-entity): New arg TRUNCATED.
2662         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
2663         New functions.
2664         (rmail-mime-save): Warn if entity is truncated.
2665         (rmail-mime-toggle-hidden): Likewise, for showing.
2666         (rmail-mime-process-multipart): Record when an entity is truncated.
2668         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
2669         if ENTITY is a string.
2671 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2673         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
2674         of faces when `M-C-x'-ing their definitions (bug#8378).
2675         Also clean up the code slightly.
2677         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
2678         because that makes the colours go away.
2680         * mail/sendmail.el (send-mail-function): Change the default to
2681         `sendmail-query-once'.
2682         (sendmail-query-once): Add an autoload cookie.
2684         * net/network-stream.el (network-stream-open-starttls): Try using
2685         a plain connection even if the server offered STARTTLS, and we
2686         kinda wanted to use it, if Emacs doesn't have any STARTTLS
2687         capability.  This should make smtpmail.el work in slightly more
2688         configurations.
2690 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
2692         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2693         New defun.
2694         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2696 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
2698         * progmodes/sql.el: Version 3.0
2699         (sql-product-alist): Add product :completion-object,
2700         :completion-column, and :statement attributes.
2701         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
2702         (sql-mode-syntax-table): Mark all punctuation.
2703         (sql-font-lock-keywords-builder): Temporarily remove fallback on
2704         ansi keywords.
2705         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
2706         (sql-mode-oracle-font-lock-keywords): Improve.
2707         (sql-oracle-show-reserved-words): New function for development.
2708         (sql-product-font-lock): Simplify for source code buffers.
2709         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
2710         New functions.
2711         (sql-highlight-product): Set product specific syntax table.
2712         (sql-mode-map): Add statement movement functions.
2713         (sql-ansi-statement-starters, sql-oracle-statement-starters):
2714         New variable.
2715         (sql-statement-regexp, sql-beginning-of-statement)
2716         (sql-end-of-statement, sql-signum): New functions.
2717         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
2718         (sql-show-sqli-buffer): Bug fix.
2719         (sql-interactive-mode): Store connection data as buffer local.
2720         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
2721         with sql-interactive-mode.
2722         (sql-save-connection): Save buffer local settings.
2723         (sql-connection-menu-filter): Change menu entry name.
2724         (sql-product-interactive): Bug fix.
2725         (sql-preoutput-hold): New variable.
2726         (sql-interactive-remove-continuation-prompt): Bug fixes.
2727         (sql-debug-redirect): New variable.
2728         (sql-str-literal): New function.
2729         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
2730         Redesign.
2731         (sql-oracle-save-settings, sql-oracle-restore-settings)
2732         (sql-oracle-list-all, sql-oracle-list-table): New functions.
2733         (sql-completion-object, sql-completion-column)
2734         (sql-completion-sqlbuf): New variables.
2735         (sql-build-completions-1, sql-build-completions)
2736         (sql-try-completion): New functions.
2737         (sql-read-table-name): Use them.
2738         (sql-contains-names): New buffer local variable.
2739         (sql-list-all, sql-list-table): Use it.
2740         (sql-oracle-completion-types): New variable.
2741         (sql-oracle-completion-object, sql-sqlite-completion-object)
2742         (sql-postgres-completion-object): New functions.
2744 2011-07-06  Glenn Morris  <rgm@gnu.org>
2746         * window.el (pop-to-buffer): Doc fix.
2748 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
2750         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
2752 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
2754         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2756         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
2758 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
2760         * button.el (button): Inherit from link face.  Suggested by Dan
2761         Nicolaescu.
2763 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2765         * progmodes/gdb-mi.el: Fit in 80 columns.
2766         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
2767         switch-to-buffer.
2769         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
2770         if imenu is simply not configured (bug#8941).
2772 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
2774         * allout.el (allout-post-undo-hook): New allout outline-change
2775         event hook to signal undo activity.
2776         (allout-post-command-business): Run allout-post-undo-hook if an
2777         undo just occurred.
2778         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2779         * allout-widgets.el (allout-widgets-after-undo-function):
2780         Ensure the integrity of the current item's decoration after it has been
2781         in the vicinity of an undo.
2782         (allout-widgets-mode): Include allout-widgets-after-undo-function
2783         on the new allout-post-undo-hook.
2785 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2787         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2788         Let define-derived-mode define it.
2789         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2790         cycles of abbrev-table inheritance (bug#8998).
2792 2011-07-05  Roland Winkler  <winkler@gnu.org>
2794         * textmodes/bibtex.el: Add support for biblatex.
2795         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2796         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2797         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2798         (bibtex-entry-alist, bibtex-field-alist): New variables.
2799         (bibtex-entry-field-alist): Obsolete alias for
2800         bibtex-BibTeX-entry-alist.
2801         (bibtex-entry-alist, bibtex-field-alist): New widgets.
2802         (bibtex-set-dialect): New command.
2803         (bibtex-entry-type, bibtex-entry-head)
2804         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2805         Bind via bibtex-set-dialect.
2806         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2807         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2808         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2809         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2810         Define via bibtex-set-dialect.
2811         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2812         Obey bibtex-no-opt-remove-re.
2813         (bibtex-vec-push, bibtex-vec-incr): New functions.
2814         (bibtex-format-entry, bibtex-field-list)
2815         (bibtex-print-help-message, bibtex-validate)
2816         (bibtex-search-entries): Use new format of bibtex-entry-alist.
2818 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * progmodes/compile.el (compilation-goto-locus):
2821         * net/tramp-cmds.el (tramp-append-tramp-buffers):
2822         * bs.el (bs-cycle-next, bs-cycle-previous):
2823         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2824         * bindings.el (mode-line-other-buffer):
2825         * autoinsert.el (auto-insert):
2826         * arc-mode.el (archive-extract):
2827         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2829 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2831         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2832         Fix check of `emacs-lock-unlockable-modes'.
2833         Coerce true values of `emacs-lock--try-unlocking' to t.
2835 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2837         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2838         * emacs-lock.el: New file.
2840 2011-07-05  Julien Danjou  <julien@danjou.info>
2842         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2843         than `boundp' to check if face is set.
2845 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
2847         * register.el (registerv-make):
2848         * window.el (window-min-height): Fix typos in docstrings.
2850 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
2852         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2853         Update doc string.
2855 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
2857         * server.el (server-execute): Catch quit and call
2858         `server-return-error' to pass the error back to emacsclient and
2859         close the connection (bug#8942).
2861 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
2863         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2864         insecure exception for current topic.  Also note that auto-saves
2865         are handled differently.
2867         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2868         State variables for tracking auto-save inhibition situation.
2870         (allout-write-contents-hook-handler): Rename from
2871         'allout-write-file-hook-handler', and describe how it depends on
2872         write-contents-functions sensitivity to non-nil value to prevent
2873         file write.
2875         (allout-auto-save-hook-handler): Remove.  auto-save does not check
2876         this in individual buffers, only in the starting buffer, so this
2877         is not the right way for us to inhibit auto-save in a buffer
2878         according to its condition.
2880         (allout-mode): Use new allout-write-contents-hook-handler, and
2881         only with write-contents-functions.  Remove auto-save provisions -
2882         they're implemented elsewhere.
2884         (allout-before-change-handler): If undo is in progress, note that
2885         for attention of allout-post-command-business.
2887         (allout-post-command-business): If the command we're following was
2888         an undo, check for change in the status of encrypted items and
2889         adjust auto-save inhibitions accordingly.
2891         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2892         according to whether there are or aren't any plain-text topics
2893         pending encryption.
2895         (allout-inhibit-auto-save-info-for-decryption):
2896         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
2897         there are plain-text topics pending encryption.
2899         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2900         buffer-saved-size and some allout state to not inhibit auto-saves
2901         if there are no longer any plain-text topics pending encryption.
2903         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2904         No longer provide for exemption of the current topic.
2906 2011-07-04  Juri Linkov  <juri@jurta.org>
2908         Add 7z operations to delete and save changed members (bug#8968).
2909         * arc-mode.el (archive-7z-expunge, archive-7z-update):
2910         New defcustoms.
2911         (archive-7z-write-file-member): New function.
2912         (archive-7z-summarize): Fix the number of dashes in the
2913         listing output.
2915 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2918         (bug#8958).
2920 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
2922         * bindings.el: Ignore next-buffer and previous-buffer in
2923         minibuffer-local-map.
2925         * font-lock.el (font-lock-builtin-face): Change light background
2926         color to dark slate blue (Bug#6693).
2928 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
2930         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2932 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2934         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2935         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2936         Add switch-to-buffer.
2938 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2940         * isearch.el (isearch-search-fun-function): Clarify further the
2941         meaning of the function returned.
2943 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
2945         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2947         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2948         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2949         Use it.
2950         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
2951         `tramp-default-remote-path' does not exist.
2952         (tramp-send-command-and-read): New optional argument NOERROR.
2953         (tramp-open-connection-setup-interactive-shell)
2954         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2955         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2956         (tramp-process-sentinel): Flush also process' connection property.
2957         (tramp-sh-handle-start-file-process): Do not set process
2958         sentinel.  It is done now ...
2959         (tramp-maybe-open-connection): ... here.  (Bug#8929)
2961 2011-07-04  MON KEY  <monkey@sandpframing.com>
2963         * play/animate.el (animate-string): Doc fixes and allow changing
2964         the buffer name (bug#5417).
2966 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2968         * play/animate.el (animation-buffer-name): Rename from *animate*.
2970 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
2972         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2973         This is simpler and helps future-proof the code.
2974         (timer-until): Use time-subtract and float-time.
2975         (timer--time-less-p): Use time-less-p.
2977 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
2979         * type-break.el (timep): Use the value of `float-time' to avoid a
2980         byte-compiler warning.
2982         * server.el (server-eval-and-print): Return any result, even nil.
2984 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2986         * type-break.el: Accept time formats that the builtins accept.
2987         (timep, type-break-time-difference): Accept any format that
2988         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2989         This is simpler and helps future-proof the code.
2990         (type-break-time-difference): Round rather than ignoring
2991         subseconds components.
2993 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2995         * info.el (Info-apropos-matches): Make non-interactive, since it
2996         doesn't seem to do anything useful as a command (bug#8829).
2998 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
3000         * frame.el (frame-background-mode, frame-set-background-mode):
3001         Move from faces.el.
3002         (frame-default-terminal-background): New function.
3004         * custom.el (custom-push-theme): Don't record faces in `changed'
3005         theme; this doesn't work correctly for per-frame face settings.
3006         (disable-theme): Use face-set-after-frame-default to reset faces.
3007         (custom--frame-color-default): New function.
3009 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3011         * dired.el (dired-flagging-regexp): Remove unused variable
3012         (bug#8769).
3014 2011-03-29  Kevin Ryde  <user42@zip.com.au>
3016         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3017         `perl-Test2' extend to match possible "fail #N" rep count
3018         (bug#8377).
3020 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3022         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3023         `smtpmail-via-smtp' now returns the error instead of nil.
3025         * isearch.el (isearch-search-fun-function): Clarify the doc string
3026         (bug#8101).
3028 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
3030         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3031         unnecessary spaces (bug#8987).
3033 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3035         * net/network-stream.el (open-network-stream): Use the
3036         :end-of-capability command thoughout.
3038 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3040         * net/network-stream.el (open-network-stream): Add the
3041         :end-of-capability command parameter, used by pop3.el.
3043 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3045         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3047         * fringe.el (fringe-query-style): Remove redundant text " (type ?
3048         for list)" (bug#6475).
3050         * files.el (file-expand-wildcards): Ignore non-readable
3051         sub-directories while trying to find matches instead of signalling
3052         an error (bug#6297).
3054         * man.el (Man-reference-regexp): Allow matching possible
3055         word-wrapped references (bug#6289).
3057         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3058         for consistency with the other vc buffers (bug#6197).
3059         (vc-checkin): Ditto.
3061         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3063         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3065 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3067         * custom.el (defcustom): Clarify that :set is only used in the
3068         Customize user interface (bug#6089).
3070         * progmodes/flymake.el (flymake-mode): If the buffer isn't
3071         associated with a file, refuse to run instead of erroring out
3072         (bug#6084).
3074         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3075         the doc string, since it appears that using `fill-column' always
3076         controls the width (bug#7845).
3078         * simple.el (shell-command-on-region): Say where the error output
3079         went if `shell-command-default-error-buffer' is set (bug#6857).
3081 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
3083         * allout.el (allout-yank-processing): Adjust cursor position for
3084         backwards-deleted space.
3086         (allout-rebullet-heading): Register changes with
3087         allout-exposure-changed-hook, so the modified topic is properly
3088         decorated.
3090 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3092         * minibuffer.el (completion-in-region): Document PREDICATE
3093         (bug#7136).
3095         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3096         of keyword/argument pairs (bug#6904).
3098         * replace.el (multi-occur):
3099         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
3101 2011-07-02  Drew Adams  <drew.adams@oracle.com>
3103         * dired.el (dired-mark-if): Make the message about whether it's
3104         marking or unmarking clearer (bug#8523).
3106 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3108         * disp-table.el (display-table-print-array): New function.
3109         (describe-display-table): Use it to print the vectors more pretty
3110         (Bug#8859).
3112 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
3114         * window.el (window-state-get-1): Don't assign clone numbers.
3115         Add clone-of item to list of window parameters.
3116         (window-state-put-2): Don't process clone numbers.
3117         (display-buffer-alist): Fix doc-string.
3119 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3121         * subr.el (remq): Don't allocate if it's not needed.
3122         (keymap--menu-item-binding, keymap--menu-item-with-binding)
3123         (keymap--merge-bindings): New functions.
3124         (keymap-canonicalize): Use them to refine the canonicalization.
3125         * minibuffer.el (minibuffer-local-completion-map)
3126         (minibuffer-local-must-match-map): Move initialization from C.
3127         (minibuffer-local-filename-completion-map): Move initialization from C;
3128         don't inherit from anything here.
3129         (minibuffer-local-filename-must-match-map): Make obsolete.
3130         (completing-read-default): Use make-composed-keymap to combine
3131         minibuffer-local-filename-completion-map with either
3132         minibuffer-local-must-match-map or
3133         minibuffer-local-filename-completion-map.
3135 2011-07-01  Glenn Morris  <rgm@gnu.org>
3137         * type-break.el (type-break-time-sum): Use dolist.
3139         * textmodes/flyspell.el (flyspell-word-search-backward):
3140         Replace CL function.
3142 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3144         * mouse.el (mouse--strip-first-event): New function.
3145         (function-key-map): Use it to map fringe clicks to normal clicks
3146         by default.
3148         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3149         (vc-bzr-revision-completion-table): Add support for annotate and date.
3151         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3152         inherit from parent.
3154 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3156         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
3157         (dired-show-file-type): Doc fixup (bug#8818).
3159         * dired.el (dired-mode): Fix up the doc string as suggested by
3160         Drew Adams (bug#8817).
3162         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3163         cookie, since the manual says that it should be possible to add
3164         this function to `find-file-hook' (bug#8709).
3166 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
3168         * progmodes/cfengine.el: Moved all cfengine3.el functionality
3169         here.  Noted Ted Zlatanov as the maintainer.
3170         (cfengine-common-settings, cfengine-common-syntax): New functions
3171         to set up common things between `cfengine-mode' and
3172         `cfengine3-mode'.
3173         (cfengine3-mode): New mode.
3174         (cfengine3-defuns cfengine3-defuns-regex
3175         (cfengine3-class-selector-regex cfengine3-category-regex)
3176         (cfengine3-vartypes cfengine3-font-lock-keywords)
3177         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
3178         (cfengine3-indent-line): Add from cfengine3.el.
3180 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
3182         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3184         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3186 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
3188         * window.el (same-window-buffer-names, same-window-regexps)
3189         (same-window-p, special-display-frame-alist)
3190         (special-display-popup-frame, special-display-function)
3191         (special-display-buffer-names, special-display-regexps)
3192         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3193         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3194         (split-window-preferred-function, split-height-threshold)
3195         (split-width-threshold, even-window-heights)
3196         (display-buffer-mark-dedicated, window-splittable-p)
3197         (split-window-sensibly, window-safely-shrinkable-p):
3198         Un-obsolete.
3199         (display-buffer): Don't spread args with function specifier
3200         because special-display-popup-frame won't like it.
3202 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
3204         Time-stamp simplifications and fixes.
3205         These improve accuracy slightly, and future-proof the code
3206         against some potential changes to current-time format.
3208         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3209         by using time-since and float-time.
3211         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3212         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
3213         + NNN microseconds".
3215         * type-break.el (type-break-time-sum): Rewrite using time-add.
3217         * play/hanoi.el (hanoi-current-time-float): Remove.
3218         All uses replaced by float-time.
3220         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3221         This yields a more-accurate answer.
3222         (rng-time-to-float): Remove; no longer needed.
3224         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3226         * calendar/timeclock.el (timeclock-seconds-to-time):
3227         Defalias to seconds-to-time, since they're the same thing.
3229         * emacs-lisp/elp.el (elp-elapsed-time):
3230         * emacs-lisp/benchmark.el (benchmark-elapse):
3231         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3233 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3235         * window.el (bury-buffer): Don't iconify the only frame.
3236         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3237         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
3239 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
3241         * eshell/em-smart.el (eshell-smart-display-navigate-list):
3242         Add mouse-yank-primary.
3244 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
3246         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3248 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3250         * emacs-lisp/find-func.el (find-library--load-name): New fun.
3251         (find-library-name): Use it to find relative load names when provided
3252         absolute file name (bug#8803).
3254 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3256         * textmodes/flyspell.el (flyspell-word): Consider words that
3257         differ only in case as potential doublons (bug#5687).
3259         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3260         Remove two rather uninteresting debugging-like messages to make
3261         debbugs.el more silent.
3263         * comint.el (comint-password-prompt-regexp): Accept "Response" as
3264         a password-like phrase.
3266 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
3268         * progmodes/cc-guess.el: New file.
3270         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
3272         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3273         derived from `c-basic-common-init'.
3275         * progmodes/cc-mode.el (top-level): Require cc-guess.
3276         (c-basic-common-init): Use `cc-choose-style-for-mode'.
3278 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
3280         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3282 2011-06-30  Alan Mackenzie  <acm@muc.de>
3284         * progmodes/cc-engine.el (c-guess-continued-construct):
3285         Correct the handling of template-args-cont, particularly for when font
3286         lock is disabled.  Name this case as "CASE G".
3288 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
3290         * allout.el (allout-yank-processing): Fix injection of extra space
3291         between bullet and non-whitespace character in first topic when
3292         pasting, ensuring that the actual spacing in the pasted topic
3293         following the bullet char is preserved.  This extra space was
3294         causing pasted encrypted topics to get a decrypted status even
3295         when the content was actually still encrypted.  Now the decryption
3296         status from before the paste is preserved.
3298         (allout-flag-region): Set all allout overlays so they evaporate
3299         when reduced to zero length (evanescent), to prevent overlay
3300         leakage.
3302 2011-06-30  Glenn Morris  <rgm@gnu.org>
3304         * w32-fns.el (w32-charset-info-alist): Declare.
3306         * find-dired.el (find-grep-options): Simplify.
3308         * term/ns-win.el (ns-set-resource): Declare.
3310         * ses.el (row, col): Declare dynamic variables honestly.
3312         * textmodes/reftex-parse.el (index-tags): Declare.
3314 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
3316         * cus-edit.el (customize-push-and-save): New function.
3318         * files.el (hack-local-variables-confirm): Use it.
3320         * custom.el (load-theme): New arg NO-CONFIRM.
3321         Use customize-push-and-save (Bug#8720).
3322         (custom-enabled-themes): Doc fix.
3324         * cus-theme.el (customize-create-theme)
3325         (custom-theme-merge-theme): Callers to load-theme changed.
3327 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3329         * thingatpt.el (thing-at-point-short-url-regexp): Require that
3330         short URLs have at least one dot in them (bug #7614).
3332         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3333         nil, because using a pty is apparently too slow (bug #895).
3335 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3337         * mail/sendmail.el (sendmail-query-once): New function.
3338         (sendmail-query-once-function): New variable.
3340 2011-06-29  Glenn Morris  <rgm@gnu.org>
3342         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3344         * ses.el (top-level): Require cl when compiling.
3345         (ses-set-localvars): Fix error statement.
3346         Call it at compile time to silence a storm of warnings.
3348 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
3350         * window.el (normalize-live-buffer): Rename to
3351         window-normalize-buffer.
3352         (normalize-live-frame): Rename to window-normalize-frame.
3353         (normalize-any-window): Rename to window-normalize-any-window.
3354         (normalize-live-window): Rename to window-normalize-live-window.
3355         (make-window-atom): Rename to window-make-atom.
3356         (window-resize-reset): Rename to window--resize-reset.
3357         (window-resize-reset-1): Rename to window--resize-reset-1.
3358         (resize-mini-window): Rename to window--resize-mini-window.
3359         (resize-subwindows-skip-p): Rename to
3360         window--resize-subwindows-skip-p.
3361         (resize-subwindows-normal): Rename to
3362         window--resize-subwindows-normal.
3363         (resize-subwindows): Rename to window--resize-subwindows.
3364         (resize-other-windows): Rename to window--resize-siblings.
3365         (resize-this-window): Rename to window--resize-this-window.
3366         (resize-root-window): Rename to window--resize-root-window.
3367         (resize-root-window-vertically): Rename to
3368         window--resize-root-window-vertically.
3369         (normalize-buffer-to-display): Rename to
3370         window-normalize-buffer-to-display.
3371         (normalize-buffer-to-switch-to): Rename to
3372         window-normalize-buffer-to-switch-to.
3373         Correspondingly update all callers of the functions listed
3374         above.
3375         (display-buffer-alist, display-buffer-normalize-arguments)
3376         (display-buffer-normalize-options, display-buffer)
3377         (display-buffer-alist-set): Use "function" instead of
3378         "fun-with-args".
3380 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
3382         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3383         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
3384         debbugs.gnu.org.  Mention acknowledgment email.
3386 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3388         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3389         buffer multibyteness, since it shouldn't matter.
3391 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
3393         * window.el (display-buffer-in-side-window): Handle dedicated
3394         windows as in display-buffer-reuse-window.
3395         (display-buffer-normalize-alist): Use value of override
3396         specifier.
3397         (display-buffer-normalize-specifiers): Use value of
3398         other-window-means-other-frame specifier.
3399         (display-buffer-alist): Rewrite some texts in widgets.
3400         (display-buffer): Spread arguments when calling function
3401         specified by fun-with-args.
3403 2011-06-28  Deniz Dogan  <deniz@dogan.se>
3405         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3406         Unnest `let'.
3408         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3409         selectors (Bug#5732).
3410         (css-proprietary-nmstart-re): Use `regexp-opt'.
3412 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
3414         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3415         (eshell-ls-date-format): New defcustom.
3416         (eshell-ls-file): Use it.
3418 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3420         * help-fns.el (describe-variable): Fix message for terminal-local vars.
3422 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3424         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3425         (ange-ftp-make-tmp-name): New arg.
3426         (ange-ftp-file-local-copy): Use it.
3428 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
3430         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3431         no-conversion (Bug#8870).
3433 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
3435         * window.el (window-right, window-left, window-child)
3436         (window-child-count, window-last-child)
3437         (window-iso-combination-p, walk-window-tree-1)
3438         (window-atom-check-1, window-tree-1, delete-window)
3439         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3440         new naming conventions - window-vchild, window-hchild,
3441         window-next and window-prev are now called window-top-child,
3442         window-left-child, window-next-sibling and window-prev-sibling
3443         respectively.
3444         (resize-window-reset): Rename to window-resize-reset.
3445         (resize-window-reset-1): Rename to window-resize-reset-1.
3446         (resize-window): Rename to window-resize.
3447         (window-min-height, window-min-width)
3448         (resize-mini-window, resize-this-window, resize-root-window)
3449         (resize-root-window-vertically, adjust-window-trailing-edge)
3450         (enlarge-window, shrink-window, maximize-window)
3451         (minimize-window, delete-window, quit-restore-window)
3452         (split-window, balance-windows, balance-windows-area-adjust)
3453         (balance-windows-area, window-state-put-2)
3454         (display-buffer-even-window-sizes, display-buffer-set-height)
3455         (display-buffer-set-width, set-window-text-height)
3456         (fit-window-to-buffer): Rename all "resize-window" prefixed
3457         calls to use the "window-resize" prefix convention.
3458         (display-buffer-alist): Fix symbol for label specifier.
3459         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3460         corresponding specifier.
3461         Reported by Juanma Barranquero <lekktu@gmail.com>.
3463 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3465         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3466         convention.
3467         (ses-call-printer): Does not pass an empty string to formatter when the
3468         cell is empty to keep from barking printer Calc math-format-value.
3470 2011-06-27  Richard Stallman  <rms@gnu.org>
3472         * battery.el (battery-mode-line-limit): New variable.
3473         (battery-update): Handle it.
3475         * mail/rmailmm.el (rmail-mime-process-multipart):
3476         Handle truncated messages.
3478 2011-06-27  Glenn Morris  <rgm@gnu.org>
3480         * progmodes/flymake.el (flymake-err-line-patterns):
3481         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
3483 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3485         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
3486         (ses--clean-!, ses--clean-_): New functions.
3487         (ses-range): Add configurability of readout order, and conversion
3488         to Calc vector.
3490         * ses.el (ses-repair-cell-reference-all): New function.
3491         (ses-cell-symbol): Set macro as safe, so that it can be used in
3492         formulas.
3494         * ses.el: Update cycle detection algorithm.
3495         (ses-localvars): Add ses--Dijkstra-attempt-nb and
3496         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
3497         (ses-set-localvars): New function.
3498         (ses-make-cell): Add property-list as a cell element.
3499         (ses-cell-property-get-fun, ses-cell-property-get)
3500         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
3501         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3502         New functions.
3503         (ses-cell-property-set, ses-cell-property-pop)
3504         (ses-cell-property-get-handle): New macro.
3505         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3506         New aliases, used for code readability.
3507         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3508         cycle detection.
3509         (ses-self-reference-early-detection): New defcustom.
3510         (ses-formula-references): Robustify against self-refering cells.
3511         (ses-mode): Use ses-set-localvars.
3512         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3513         before lauching the update processing.
3514         (ses-initialize-Dijkstra-attempt): New function.
3515         (ses-recalculate-cell): Update for cycle detection based on
3516         Dijkstra algorithm.
3518         * ses.el: Fix commenting and indenting convention.
3520 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3522         * bs.el (bs-cycle-next): Complete last change.
3524 2011-06-27  Drew Adams  <drew.adams@oracle.com>
3526         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3528 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3530         * net/network-stream.el (network-stream-open-starttls):
3531         Don't re-get capabilities unless we've reestablished connection.
3532         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3534         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3535         to binary to possibly avoid line encoding issues on Windows (among
3536         other things).
3538 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3540         * net/network-stream.el (open-network-stream): Return an :error
3541         saying what the problem was, if possible.
3543         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3544         server.
3546         * net/network-stream.el (network-stream-open-starttls): If we
3547         wanted to use STARTTLS, and the server offered it, but we weren't
3548         able to because we had no STARTTLS support, then close the connection.
3549         (open-network-stream): Return an :error element, if present.
3551 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
3553         * hl-line.el (hl-line-sticky-flag): Doc fix.
3554         (global-hl-line-sticky-flag): New option (Bug#8323).
3555         (global-hl-line-highlight): Obey it.
3557         * vc/vc.el (vc-revert-show-diff): Default to t.
3559 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
3561         * allout-widgets.el (allout-widgets-post-command-business):
3562         Stop decorating intermediate isearch matches.  They're not being
3563         undecorated when an isearch is continued past, and isearch
3564         automatically collapses them.  This leads to "widget leaks", where
3565         decorated items accumulate in collapsed areas.  Lines with lots of
3566         hidden widgets can slow down cursor travel, substantially.
3567         Too much complicated machinery would be needed to ensure undecoration,
3568         so we're doing without this nicety.
3570         (allout-widgets-tally-string): Don't try to do a hash-table-count
3571         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
3572         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3573         *Messages* when allout-widgets-maintain-tally is t.
3575 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
3577         * window.el (display-buffer-normalize-argument): Rename to
3578         display-buffer-normalize-arguments.  Handle special meaning of
3579         LABEL argument.  Respect special-display-function when popping up
3580         a new frame.  Fix code searching for a window showing the buffer
3581         on another frame.
3582         (display-buffer-normalize-specifiers):
3583         Call display-buffer-normalize-arguments.
3584         (display-buffer-in-window): Don't undedicate the window if its
3585         buffer remains the same.
3586         Reported by Drew Adams <drew.adams@oracle.com>.
3587         (display-buffer-alist): Add choice for same-window macro
3588         specfier.
3589         (display-buffer): Mention special meaning of LABEL argument in
3590         doc-string.  Fix quoting.  Don't pop up a new frame even as
3591         fallback.
3593 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
3595         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3596         avoid deleting the current window in some cases (bug#8911).
3598 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
3600         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3601         (Bug#8934)
3603 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3605         * net/network-stream.el (network-stream-open-starttls):
3606         Use built-in TLS support if `gnutls-available-p' is true.
3607         (network-stream-open-tls): Ditto.
3609 2011-06-26  Leo Liu  <sdl.web@gmail.com>
3611         * register.el (registerv): New struct.
3612         (registerv-make): New function.
3613         (jump-to-register, describe-register-1, insert-register):
3614         Support the jump-func, print-func and insert-func slot of a registerv
3615         struct.  (Bug#8415)
3617 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
3619         * vc/vc.el (vc-revert-show-diff): New defcustom.
3620         (vc-diff-internal): New arg specifying diff buffer.
3621         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
3622         reuse an existing *vc-diff* buffer (Bug#8927).
3624         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3626 2011-06-26  Glenn Morris  <rgm@gnu.org>
3628         * progmodes/f90.el (f90-critical-indent): New option.
3629         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3630         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3631         (f90-mode): Doc fix.
3632         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3633         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3634         (f90-beginning-of-block, f90-next-block, f90-indent-region)
3635         (f90-match-end): Handle block, critical.
3637 2011-06-25  Glenn Morris  <rgm@gnu.org>
3639         * calendar/diary-lib.el (diary-included-files): Doc fix.
3640         (diary-include-files): New function, extracted from
3641         diary-include-other-diary-files and diary-mark-included-diary-files.
3642         (diary-include-other-diary-files, diary-mark-included-diary-files):
3643         Just call diary-include-files.
3644         (diary-mark-entries): Reset diary-included-files on first call.
3646         * calendar/diary-lib.el (diary-mark-entries)
3647         (diary-mark-included-diary-files):
3648         Visit included diary-files in temp buffers.
3650         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3651         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3652         (f90-start-block-re, f90-imenu-generic-expression)
3653         (f90-looking-at-program-block-start, f90-no-block-limit):
3654         Add support for submodules.
3656         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3657         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
3659 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
3661         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
3662         buffer-file-type before setting its value, to avoid disastrous
3663         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
3665 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
3667         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
3669         * ses.el (ses-unload-function):
3670         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
3672         * proced.el (proced-unload-function):
3673         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
3675 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
3677         * server.el (server-create-window-system-frame): Add parameters arg.
3678         (server-process-filter): Doc fix.  Handle frame-parameters.
3680 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
3682         Fix bug#8730, bug#8781.
3684         * loadhist.el (unload--set-major-mode): New function.
3685         (unload-feature): Use it.
3687         * progmodes/python.el (python-after-info-look): Add autoload cookie.
3688         (python-unload-function): New function.
3690 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3692         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
3694 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
3696         * net/browse-url.el (browse-url-firefox-program): Add icecat to
3697         the candidates list.
3699 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
3701         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
3703 2011-06-23  Richard Stallman  <rms@gnu.org>
3705         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
3706         (rmail-variables): Set next-error-move-function.
3707         (rmail-what-message): Take argument POS.
3708         (rmail-next-error-move): New function.
3710 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3712         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
3713         messages for adjacent non-terminals.
3715 2011-06-23  Richard Stallman  <rms@gnu.org>
3717         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
3718         (rmail-show-message-1): Preserve buffer modified flag.
3719         (rmail-start-mail): Don't specify use of rmail-mail-return;
3720         that's done by mail-bury now.
3721         (rmail-mail-return): Handle arg NEWBUF.
3723 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
3725         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
3726         SIZE is a number.
3728 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
3730         * window.el (get-lru-window, get-mru-window)
3731         (get-largest-window): Never return a minibuffer window.
3732         (display-buffer-pop-up-window): Fix a bug that could lead to
3733         reusing the minibuffer window.
3734         (display-buffer): Pass original specifier argument to
3735         display-buffer-function instead of the normalized one.
3736         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3738 2011-06-22  Leo Liu  <sdl.web@gmail.com>
3740         * minibuffer.el (completing-read-function)
3741         (completing-read-default): Move from minibuf.c
3743 2011-06-22  Richard Stallman  <rms@gnu.org>
3745         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
3746         to Rmail even if not started by a special Rmail command.
3748         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3749         Copy the buffer currently showing just one message.
3751 2011-06-22  Roland Winkler  <winkler@gnu.org>
3753         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
3754         (bibtex-clean-entry): First delete the old key so that a
3755         customized algorithm for generating the new key does not get
3756         confused by the old key.
3757         (bibtex-url): Obey regexp of first step.
3758         (bibtex-search-entries): Do not use add-to-list with local
3759         list-var.
3761 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3763         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
3764         stored a user name, then query for the password first, instead of
3765         waiting for SMTP to give an error message and the trying again.
3767 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
3769         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
3770         BUFFER in call-process.
3772 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3774         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3775         QUIT twice.
3776         (smtpmail-try-auth-methods): Require user name and password from
3777         auth-source.
3779 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
3781         * window.el (display-buffer-default-specifiers)
3782         (display-buffer-alist): Remove entries for pop-up-frame-alist.
3783         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
3784         (split-window): Normalize SIDE argument (Bug#8916).
3786         * frame.el (pop-up-frame-alist, pop-up-frame-function)
3787         (special-display-frame-alist, special-display-popup-frame):
3788         Remove duplicate declarations.  These are now in window.el.
3790 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3792         * mail/smtpmail.el (smtpmail-via-smtp):
3793         Set :use-starttls-if-possible so that we always use STARTTLS if the
3794         server supports it.  SMTP servers that support STARTTLS commonly
3795         require it.
3797         * net/network-stream.el (network-stream-open-starttls): Support
3798         upgrading to STARTTLS always, even if we don't have built-in support.
3799         (open-network-stream): Add the :always-query-capabilies keyword.
3801         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3802         upgrades with `open-network-stream', and rely solely on
3803         auth-source for all credentials.  Big changes throughout the file,
3804         but in particular:
3805         (smtpmail-auth-credentials): Remove.
3806         (smtpmail-starttls-credentials): Remove.
3807         (smtpmail-via-smtp): Check for servers saying they want AUTH after
3808         MAIL FROM, too.
3810         * net/network-stream.el (network-stream-open-starttls):
3811         Provide support for client certificates both for external and built-in
3812         STARTTLS.
3813         (auth-source): Require.
3814         (open-network-stream): Document the :client-certificate keyword.
3815         (network-stream-certificate): Change cert-cert to cert and
3816         cert-key to key.
3818 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
3820         * net/tramp-cache.el (top): Don't load the persistency file when
3821         "emacs -Q" has been called.
3823 2011-06-21  Tim Harper  <timcharper@gmail.com>
3825         * term/ns-win.el (ns-initialize-window-system):
3826         Set application-specific `ApplePressAndHoldEnabled' system
3827         resource to NO as it is not yet supported by the NS port.
3829 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
3831         * misc.el (list-dynamic-libraries--refresh): Compute header here...
3832         (list-dynamic-libraries): ...not here.
3834 2011-06-21  Leo Liu  <sdl.web@gmail.com>
3836         * subr.el (sha1): Implement sha1 using secure-hash.
3838 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
3840         * window.el (display-buffer-alist): In default value do not
3841         enforce searching a window on any but the selected frame.
3842         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3843         (display-buffer-select-window): Remove function.
3844         (display-buffer-in-window): When a window on another frame gets
3845         reused, do not select it any more but just raise its frame if
3846         necessary (Bug#8851) and (Bug#8856).
3847         (display-buffer-normalize-options): Handle pop-up-frames related
3848         options more faithfully.
3849         (pop-to-buffer): Don't rely on `display-buffer' selecting the
3850         window if it is on another frame.
3851         (display-buffer-alist, display-buffer-default-specifiers):
3852         Don't make new frame unsplittable by default.
3853         (display-buffer-normalize-argument): Fix doc-string typo and use
3854         'same-frame-other-window instead of 'other-window when associating
3855         with display-buffer-macro-specifiers.
3857 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
3859         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3860         New functions.
3861         (5x5-mode-map, 5x5-mode-menu): Bind them.
3862         (5x5-draw-grid): Tweak the solver's rendering.
3864 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3866         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3867         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3869 2011-06-21  Drew Adams  <drew.adams@oracle.com>
3871         * menu-bar.el: Use function variable instead of switch-to-buffer.
3872         (menu-bar-select-buffer-function): New variable.
3873         (menu-bar-update-buffers): Use it (bug#8876).
3875 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3877         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3878         variable's status.
3880 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
3882         * x-dnd.el (x-dnd-version-from-flags)
3883         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3884         and long as number (Bug#8899).
3885         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3887 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3889         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
3890         (completion-try-completion, completion-all-completions): Compute the
3891         metadata argument if it's missing; make it optional (bug#8795).
3893         * wid-edit.el: Use lex-bind and move towards completion-at-point.
3894         (widget-complete): Use new :completion-function property.
3895         (widget-completions-at-point): New function.
3896         (default): Use :completion-function instead of :complete.
3897         (widget-default-completions): Rename from widget-default-complete;
3898         Rewrite.
3899         (widget-string-complete, widget-file-complete, widget-color-complete):
3900         Remove functions.
3901         (file, symbol, function, variable, coding-system, color):
3902         * international/mule-cmds.el (default-input-method, charset)
3903         (language-info-custom-alist):
3904         * cus-edit.el (face): Use new property :completions.
3906         * progmodes/pascal.el (pascal-completions-at-point): New function.
3907         (pascal-mode): Use it.
3908         (pascal-mode-map): Use completion-at-point.
3909         (pascal-toggle-completions): Make obsolete.
3910         (pascal-complete-word, pascal-show-completions):
3911         * progmodes/octave-mod.el (octave-complete-symbol):
3912         Redefine as obsolete alias.
3913         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3914         Signal absence of completion info for old Octave,
3915         (inferior-octave-complete): Redefine as obsolete alias.
3916         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3917         (meta-completions-at-point): Rename from meta-complete-symbol and
3918         adapt it for use on completion-at-point-functions.
3919         (meta-common-mode): Use it.
3920         (meta-looking-at-backward, meta-match-buffer): Remove.
3921         (meta-complete-symbol): Redefine as obsolete alias.
3922         (meta-common-mode-map): Use completion-at-point.
3923         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3924         (makefile-mode-map): Use completion-at-point.
3925         (makefile-completions-at-point): Rename from makefile-complete and
3926         adapt it for use on completion-at-point-functions.
3927         (makefile-mode): Use it.
3928         (makefile-complete): Redefine as obsolete alias.
3930 2011-06-20  Deniz Dogan  <deniz@dogan.se>
3932         * net/rcirc.el: Delete trailing whitespaces once and for all.
3934 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
3936         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3938 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
3940         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3942         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3944 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
3946         * window.el (display-buffer-other-window-means-other-frame):
3947         Call display-buffer-normalize-alist.
3948         (display-buffer-normalize-specifiers-1): Rename to
3949         display-buffer-normalize-argument.  New argument other-frame.
3950         Rewrite.
3951         (display-buffer-normalize-specifiers-2): Rename to
3952         display-buffer-normalize-options.
3953         (display-buffer-normalize-alist-1): New function.
3954         (display-buffer-normalize-specifiers-3): Rename to
3955         display-buffer-normalize-alist.
3956         Call display-buffer-normalize-alist-1.
3957         (display-buffer-normalize-options-inhibit): New variable.
3958         (display-buffer-normalize-specifiers): Rewrite calling
3959         display-buffer-normalize-alist,
3960         display-buffer-normalize-argument, and
3961         display-buffer-normalize-options.  Don't call the latter if
3962         display-buffer-normalize-options-inhibit is non-nil.
3963         (frame-auto-delete): New option.
3964         (window-deletable-p): Use frame-auto-delete.
3965         (window-list-no-nils, window-state-ignored-parameters)
3966         (window-state-get-1, window-state-get, window-state-put-list)
3967         (window-state-put-1, window-state-put-2, window-state-put):
3968         New functions.
3969         (display-buffer-normalize-options): Move special-display-p group
3970         after pop-up-frame group (Bug#8851) and (Bug#8856).
3972 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
3974         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3975         groups (Bug#8776).
3976         (rx-submatch-n): New function.
3977         (rx): Document it.
3979         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3980         (Bug#8768).
3982         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3984         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3986         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3987         anytime existing face settings are present (Bug#8889).
3989         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3990         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3991         Remove unused argument.
3993 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
3995         * window.el (display-buffer-default-specifiers):
3996         Remove pop-up-frame.  Add pop-up-window-min-height,
3997         pop-up-window-min-width, and another reuse-window specifier
3998         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
3999         (display-buffer-normalize-specifiers-2):
4000         Handle split-height-threshold and split-width-threshold also when
4001         pop-up-windows is unset.  Add a reuse-window specifier for the
4002         case popping up a new window fails.
4003         (special-display-popup-frame): Remove double quoting.
4004         (display-buffer-normalize-specifiers-1): Fix thinko.
4006 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4008         * shell.el (shell-completion-vars): Set pcomplete-termination-string
4009         according to comint-completion-addsuffix.
4011         * pcomplete.el: Convert to lexical binding and fix bug#8819.
4012         (pcomplete-suffix-list): Mark as obsolete.
4013         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4014         pcomplete-seen in the closure.
4015         (pcomplete-comint-setup): Setup completion-at-point as well.
4016         (pcomplete--entries): New function.
4017         (pcomplete--env-regexp): New var.
4018         (pcomplete-entries): Rewrite to work with partial-completion and
4019         without relying on pcomplete-suffix-list.
4020         (pcomplete-pare-list): Remove, unused.
4022 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
4024         * window.el (display-buffer-alist): Set pop-up-window-min-height
4025         and pop-up-window-min-width in default value.  Reported by
4026         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
4027         other-window-means-other-frame.
4028         (display-buffer-macro-specifiers): Comment out entry for
4029         other-window specifier.
4030         (display-buffer-other-window-means-other-frame): New function.
4031         (display-buffer-normalize-specifiers-1): New arguments
4032         buffer-name and label.  Treat other-window case specially.
4033         (display-buffer-normalize-specifiers-2): Treat other-window case
4034         specially.
4035         (display-buffer-normalize-specifiers-3): New function.
4036         (display-buffer-normalize-specifiers):
4037         Call display-buffer-normalize-specifiers-3.
4039 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
4041         * window.el (same-window-p): Fix two typos introduced when
4042         adding with-no-warnings.
4043         (display-buffer-normalize-specifiers-1): Don't check
4044         pop-up-frames for 'unset initialization.
4045         (display-buffer-normalize-specifiers-2): Major rewrite using
4046         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4047         (pop-up-frames, display-buffer-reuse-frames)
4048         (display-buffer-mark-dedicated): Don't initialize to 'unset.
4049         Suggested by David Engster <deng@randomsample.de>.
4050         (even-window-heights): Initialize to 'unset.
4051         (display-buffer-alist-set): Handle new 'unset initializations.
4052         (display-buffer-macro-specifiers): Don't pop up a new frame in the
4053         other window case.
4055 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
4057         * window.el (display-buffer-normalize-specifiers-1):
4058         Respect current value of pop-up-frames for most reasonable values of
4059         second argument of display-buffer (Bug#8865).
4060         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4061         (switch-to-buffer-other-window-same-frame)
4062         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
4063         Adams (Bug#8875).
4064         (display-buffer): Don't check noninteractive when calling
4065         display-buffer-pop-up-frame.
4066         (display-buffer-pop-up-frame): Never pop up a frame in
4067         noninteractive mode (Bug#8857).
4068         (enlarge-window, shrink-window): Don't report an error when the
4069         window can't be resized as requested (Bug#8862).
4071 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4073         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4075         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4077         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4079 2011-06-15  Alan Mackenzie  <acm@muc.de>
4081         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4082         for declarators, disable knr checking to speed up for normal files.
4083         2: Refactor, replacing a sequence of nested if forms by a cond form.
4085 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4087         * net/network-stream.el (open-network-stream): Add the keyword
4088         :always-query-capabilities for the case where you want to force a
4089         `plain' network connection, but the protocol still requires the
4090         capabilitiy command (i.e., SMTP and EHLO).
4092         * subr.el (process-live-p): Rename from `process-alive-p' for
4093         consistency with other `-live-p' functions.
4095 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4097         * window.el (same-window-buffer-names, same-window-regexps)
4098         (special-display-frame-alist, special-display-popup-frame)
4099         (special-display-function, special-display-buffer-names)
4100         (special-display-regexps, pop-up-frame-alist)
4101         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4102         (pop-up-windows, split-window-preferred-function)
4103         (split-height-threshold, split-width-threshold, even-window-heights)
4104         (display-buffer-mark-dedicated): Don't encourage the use of
4105         display-buffer-alist from Elisp code.
4107 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
4109         * progmodes/python.el (python-mode): Derive from prog-mode.
4110         * progmodes/ps-mode.el (ps-mode):
4111         * progmodes/mixal-mode.el (mixal-mode):
4112         * progmodes/cfengine.el (cfengine-mode):
4113         * progmodes/ld-script.el (ld-script-mode): Likewise.
4115 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
4117         * window.el (display-buffer-alist): Trim default value to avoid
4118         popping up a new frame (Bug#8857) or reusing an arbitrary window
4119         on another frame.
4120         (display-buffer): Do not fall back on popping up a new frame in
4121         batch mode (Bug#8857).
4123 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
4125         * cus-theme.el (describe-theme-1): Use custom-theme-p.
4126         (custom-theme-summary): New function.
4127         (customize-themes): Use it.
4129 2011-06-13  Glenn Morris  <rgm@gnu.org>
4131         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4133 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
4135         * help.el (help-window): Remove variable.
4136         (help-window-point-marker, temp-buffer-max-height)
4137         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4138         (help-print-return-message): Don't set help-window.
4139         (resize-temp-buffer-window): Rewrite cod eand doc-string.
4140         (help-window-setup-finish): Remove.
4141         (help-window-display-message, help-window-setup)
4142         (with-help-window): Major rewrite based on new
4143         display-buffer-window variable.
4145         * help-mode.el (help-mode-finish): Remove help-window related
4146         code.
4148         * view.el (view-exits-all-viewing-windows): Remove reference to
4149         view-return-to-alist in doc-string.
4150         (view-return-to-alist): Make obsolete.
4151         (view-buffer): Call pop-to-buffer-same-window and remove
4152         undo-window code.
4153         (view-buffer-other-window): Call pop-to-buffer-other-window and
4154         simplify code.  Ignore second argument.
4155         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4156         simplify code.  Ignore second argument.
4157         (view-return-to-alist-update): Make obsolete.
4158         (view-mode-enter): Rename second argument to QUIT-RESTORE.
4159         Rewrite using quit-restore window parameters.
4160         (view-mode-exit): Rename second argument to EXIT-ONLY.
4161         Rewrite using quit-restore-window.
4162         (View-exit, View-exit-and-edit, View-leave, View-quit)
4163         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4164         appropriate arguments.
4165         (view-end-message): Use quit-restore window parameter.
4167         * window.el (display-buffer-function): Rewrite doc-string.
4168         (display-buffer-window, display-buffer-alist): New variables.
4169         (display-buffer-split-specifiers)
4170         (display-buffer-side-specifiers)
4171         (display-buffer-macro-specifiers): New constants.
4172         (display-buffer-even-window-sizes, display-buffer-set-height)
4173         (display-buffer-set-width, display-buffer-select-window)
4174         (display-buffer-in-window, display-buffer-reuse-window)
4175         (display-buffer-split-window-1, display-buffer-split-window)
4176         (display-buffer-split-atom-window, display-buffer-pop-up-window)
4177         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4178         (display-buffer-in-side-window, normalize-buffer-to-display)
4179         (display-buffer-normalize-specifiers-1)
4180         (display-buffer-normalize-specifiers-2)
4181         (display-buffer-normalize-specifiers, display-buffer-frame):
4182         New functions.
4183         (display-buffer): Major rewrite.
4184         (display-buffer-other-window, display-buffer-other-frame)
4185         (pop-to-buffer, switch-to-buffer-other-window)
4186         (switch-to-buffer-other-frame): Rewrite.
4187         (display-buffer-same-window, display-buffer-same-frame)
4188         (display-buffer-same-frame-other-window)
4189         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4190         (pop-to-buffer-other-window)
4191         (pop-to-buffer-same-frame-other-window)
4192         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4193         (switch-to-buffer-other-window-same-frame): New functions.
4194         (same-window-p, special-display-p): Rewrite disabling warnings.
4195         Make obsolete.
4196         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4197         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4198         Make obsolete
4199         (same-window-buffer-names, same-window-regexps)
4200         (special-display-frame-alist, special-display-popup-frame)
4201         (special-display-function, special-display-buffer-names)
4202         (special-display-regexps, pop-up-frame-alist)
4203         (pop-up-frame-function, split-window-preferred-function)
4204         (split-height-threshold, split-width-threshold)
4205         (even-window-heights): Make obsolete.
4207 2011-06-12  Glenn Morris  <rgm@gnu.org>
4209         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
4210         Misc simplifications.
4212 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
4214         * window.el (window-safely-shrinkable-p): Restore function which
4215         was inadvertently removed in change from 2011-06-11.  Declare as
4216         obsolete.
4218         * calendar/calendar.el (calendar-generate-window):
4219         Use window-iso-combined-p instead of combination of one-window-p and
4220         window-safely-shrinkable-p.
4222 2011-06-12  Glenn Morris  <rgm@gnu.org>
4224         * progmodes/fortran.el (fortran-mode-syntax-table):
4225         * progmodes/f90.el (f90-mode-syntax-table):
4226         Set % to punctuation.  (Bug#8820)
4227         (f90-find-tag-default): Remove, no longer needed.
4229 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
4231         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4233 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
4235         * image.el (image-animated-p): Return animation delay in seconds.
4236         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4237         (image-animate-timeout): Remove DELAY argument.  Don't assume
4238         every subimage has the same delay; get it from image-animated-p.
4239         (image-animate): Caller changed.
4241 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
4243         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4244         to ignored backtrace functions.
4246 2011-06-11  Glenn Morris  <rgm@gnu.org>
4248         * calendar/appt.el (appt-disp-window-function): Doc fix.
4249         (appt-check): Handle overlapping appointments.  (Bug#8337)
4251 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
4253         * window.el (window-tree-1, window-tree): New functions, moving
4254         the latter to window.el.
4255         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4256         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4257         (bw-refresh-edges): Remove.
4258         (balance-windows-1, balance-windows-2): New functions.
4259         (balance-windows): Rewrite in terms of window tree functions,
4260         balance-windows-1 and balance-windows-2.
4261         (bw-adjust-window): Remove.
4262         (balance-windows-area-adjust): New function with functionality of
4263         bw-adjust-window but using resize-window.
4264         (set-window-text-height): Rewrite doc-string.
4265         Use normalize-live-window and resize-window.
4266         (enlarge-window-horizontally, shrink-window-horizontally):
4267         Rename argument to DELTA.
4268         (window-buffer-height): New function.
4269         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4270         Rewrite using new window resize routines.
4271         (kill-buffer-and-window, mouse-autoselect-window-select):
4272         Use ignore-errors instead of condition-case.
4273         (quit-window): Call delete-frame instead of delete-windows-on
4274         for the only buffer on frame.
4276 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4278         * loadup.el (top-level): Load window before files for the sake
4279         of replace-buffer-in-windows.
4281         * files.el (read-buffer-to-switch)
4282         (switch-to-buffer-other-window)
4283         (switch-to-buffer-other-frame, display-buffer-other-frame):
4284         Move to window.el.
4286         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4287         (previous-buffer): Move to window.el.
4289         * bindings.el (unbury-buffer): Move to window.el.
4291         * window.el (delete-other-windows-vertically): Move after
4292         definition of delete-other-windows.
4293         (other-window, delete-windows-on, replace-buffer-in-windows):
4294         Move here from window.c.
4295         (record-window-buffer, unrecord-window-buffer)
4296         (set-window-buffer-start-and-point, switch-to-prev-buffer)
4297         (switch-to-next-buffer): New functions.
4298         (get-next-valid-buffer, last-buffer, next-buffer): Move here
4299         from simple.el.  Call switch-to-next-buffer.
4300         (previous-buffer): Move here from simple.el.
4301         Call switch-to-prev-buffer.
4302         (bury-buffer): Move here from buffer.c.  Switch to previous
4303         buffer when window cannot be deleted.
4304         (unbury-buffer): Move here from bindings.el.
4305         (ctl-x-map): Move binding for other-window from window.c to
4306         here.
4307         (read-buffer-to-switch, switch-to-buffer-other-window)
4308         (switch-to-buffer-other-frame): Move here from files.el.
4309         (normalize-buffer-to-switch-to): New functions.
4310         (switch-to-buffer): Move here from buffer.c.
4311         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
4313 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4315         * window.el (window-min-height, window-min-width): Move here
4316         from window.c.  Add defcustoms and rewrite doc-strings.
4317         (resize-mini-window, resize-window): New functions.
4318         (adjust-window-trailing-edge, enlarge-window, shrink-window):
4319         Move here from window.c.
4320         (maximize-window, minimize-window): New functions.
4321         (delete-window, delete-other-windows, split-window): Move here
4322         from window.c.
4323         (window-split-min-size): New function.
4324         (split-window-keep-point): Mention split-window-above-each-other
4325         instead of split-window-vertically.
4326         (split-window-above-each-other, split-window-vertically):
4327         Rename split-window-vertically to split-window-above-each-other and
4328         provide defalias for old definition.
4329         (split-window-side-by-side, split-window-horizontally): Rename
4330         split-window-horizontally to split-window-side-by-side and provide
4331         defalias for the old definition.
4332         (ctl-x-map): Move bindings for delete-window,
4333         delete-other-windows and enlarge-window here from window.c.
4334         Replace bindings for split-window-vertically and
4335         split-window-horizontally by bindings for
4336         split-window-above-each-other and split-window-side-by-side.
4338         * cus-start.el (all): Remove entries for window-min-height and
4339         window-min-width.  Add entries for window-splits and
4340         window-nest.
4342 2011-06-09  Glenn Morris  <rgm@gnu.org>
4344         * calendar/appt.el (appt-mode-line): New function.
4345         (appt-check, appt-disp-window): Use it.
4347         * files.el (hack-one-local-variable-eval-safep):
4348         Allow minor-modes with explicit +/-1 arguments.
4350 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
4352         * term/xterm.el (xterm): Add defgroup.
4353         (xterm-extra-capabilities): Add defcustom to supply known xterm
4354         capabilities, skip querying them, or query them (default).
4355         (terminal-init-xterm): Use it.
4356         (terminal-init-xterm-modify-other-keys): New function to set up
4357         modifyOtherKeys support to simplify `terminal-init-xterm'.
4359 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
4361         * window.el (resize-window-reset, resize-window-reset-1)
4362         (resize-subwindows-skip-p, resize-subwindows-normal)
4363         (resize-subwindows, resize-other-windows, resize-this-window)
4364         (resize-root-window, resize-root-window-vertically)
4365         (window-deletable-p, window-or-subwindow-p)
4366         (frame-root-window-p): New functions.
4368 2011-06-09  Glenn Morris  <rgm@gnu.org>
4370         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4371         (ange-ftp-get-files): Use it.
4373 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4375         * mail/sendmail.el (mail-recover-1, mail-recover):
4376         * files.el (recover-file, recover-session):
4377         Handle dired-listing-switches not being just a single short option.
4379 2011-06-09  Glenn Morris  <rgm@gnu.org>
4381         * calendar/appt.el (appt-display-message, appt-disp-window):
4382         Handle lists of appointments.
4384 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
4386         * window.el (one-window-p): Move down in code.
4387         Rewrite doc-string.
4388         (window-current-scroll-bars): Rewrite doc-string.
4389         Normalize live window argument.
4390         (walk-windows, get-window-with-predicate, count-windows):
4391         Rewrite doc-string.  Use window-list-1.
4392         (window-in-direction-2, window-in-direction, get-mru-window):
4393         New functions.
4395 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
4397         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4398         Doc fix (Bug#8713).
4400 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
4402         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4404 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
4406         * loadhist.el (unload-feature-special-hooks):
4407         Add `comint-output-filter-functions'.
4409 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
4411         * calendar/appt.el (appt-check): Move some initializations into the let.
4413 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
4415         * window.el (window-height): Defalias to window-total-height.
4416         (window-width): Defalias to window-body-width.
4418 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
4420         * image-mode.el (image-toggle-animation): New command.
4421         (image-mode-map): Bind it to RET.
4422         (image-mode): Update message.
4423         (image-toggle-display-image): Avoid a spurious cache flush.
4424         (image-transform-rotation): Doc fix.
4425         (image-transform-properties): Return quickly in the normal case.
4426         (image-animate-loop): Rename from image-animate-max-time.
4428         * image.el (image-animate-max-time): Move to image-mode.el.
4429         (create-animated-image): Remove unnecessary function.
4430         (image-animate): Rename from image-animate-start.  New arg.
4431         (image-animate-stop): Remove; just use image-animate-timer.
4432         (image-animate-timer): Use car-safe.
4433         (image-animate-timeout): Rename argument.
4435 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
4437         * window.el (get-lru-window, get-largest-window): Move here from
4438         window.c.  Rename first argument to ALL-FRAMES.
4439         Rephrase doc-strings.
4440         (get-buffer-window-list): Rewrite using window-list-1.
4441         Rephrase doc-string.
4442         (window-safe-min-height, window-safe-min-width): New constants.
4443         (window-size-ignore, window-min-size, window-min-size-1)
4444         (window-sizable, window-sizable-p, window-size-fixed-1)
4445         (window-size-fixed-p, window-min-delta-1, window-min-delta)
4446         (window-max-delta-1, window-max-delta, window-resizable)
4447         (window-resizable-p, window-total-height, window-total-width)
4448         (window-body-width): New functions.
4449         (window-full-height-p, window-full-width-p): Rewrite using
4450         window-total-size.
4451         (window-body-height): Rewrite using window-body-size.
4453 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
4455         * window.el (window-right, window-left, window-child)
4456         (window-child-count, window-last-child, window-any-p)
4457         (normalize-live-buffer, normalize-live-frame)
4458         (normalize-any-window, normalize-live-window)
4459         (window-iso-combination-p, window-iso-combined-p)
4460         (window-iso-combinations)
4461         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4462         (windows-with-parameter, window-with-parameter)
4463         (window-atom-root, make-window-atom, window-atom-check-1)
4464         (window-atom-check, window-side-check, window-check):
4465         New functions.
4466         (ignore-window-parameters, window-sides, window-sides-vertical)
4467         (window-sides-slots): New variables.
4468         (window-size-fixed): Move down in code.  Minor doc-string fix.
4470 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
4472         * comint.el (comint-dynamic-complete-as-filename)
4473         (comint-dynamic-complete-filename): Correctly call
4474         completion-in-region.
4476 2011-06-05  Deniz Dogan  <deniz@dogan.se>
4478         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4479         in last change.
4481 2011-06-05  Deniz Dogan  <deniz@dogan.se>
4483         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4484         (rcirc): Use it to prompt for encryption.
4486 2011-06-05  Roland Winkler  <winkler@gnu.org>
4488         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4489         (bibtex-search-entries): New command bound to C-c C-a.
4490         (bibtex-display-entries): New function.
4492 2011-06-05  Roland Winkler  <winkler@gnu.org>
4494         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4495         (bibtex-insert-kill): After yanking insert newline if necessary.
4496         (bibtex-initialize): Call bibtex-string-files-init only once.
4497         (bibtex-mode): Do not call easy-menu-add.
4498         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4499         (bibtex-yank): Set arg properly if nil.
4501 2011-06-05  Roland Winkler  <winkler@gnu.org>
4503         * textmodes/bibtex.el (bibtex-search-entry-globally):
4504         New variable.
4505         (bibtex-search-entry): Use it.
4507 2011-06-05  Roland Winkler  <winkler@gnu.org>
4509         * textmodes/bibtex.el (bibtex-entry-format): New option
4510         sort-fields.
4511         (bibtex-format-entry, bibtex-reformat): Honor this option.
4512         (bibtex-parse-entry): Return fields in proper order.
4514 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
4516         * doc-view.el (doc-view-remove-if): Move computation of result out
4517         of `dolist' to silence misleading lexical-binding warning.
4519 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
4521         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4522         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4524 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
4526         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4527         "SunOS 5.10".
4529 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
4531         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4532         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4533         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4534         (tramp-parse-putty):
4535         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4536         (tramp-completion-function-alist-ssh)
4537         (tramp-completion-function-alist-telnet)
4538         (tramp-completion-function-alist-su)
4539         (tramp-completion-function-alist-putty): Set `tramp-autoload'
4540         cookie.
4542         * net/tramp-ftp.el:
4543         * net/tramp-sh.el:
4544         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4545         load "tramp.el" `tramp-set-completion-function'.
4547 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4549         * shell.el: Require and use pcomplete.
4550         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4551         (shell-completion-vars): Set pcomplete-default-completion-function.
4553 2011-06-04  Deniz Dogan  <deniz@dogan.se>
4555         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4556         `memq' (Bug#8799).
4558 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4560         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4562 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
4564         * bs.el (bs--mark-unmark, bs--nth-wrapper):
4565         * mpc.el (mpc-select-extend, mpc-songpointer-context):
4566         * vc/log-view.el (log-view-beginning-of-defun):
4567         * vc/smerge-mode.el (smerge-apply-resolution-patch)
4568         (smerge-refine-forward, smerge-refine-chopup-region):
4569         Silence warning for unused `dotimes' counter variables.
4571 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4573         * net/tramp.el (tramp-with-progress-reporter): Rename from
4574         with-progress-reporter.  Use `declare'.
4575         * net/tramp-smb.el:
4576         * net/tramp-sh.el:
4577         * net/tramp-gvfs.el: Update all uses.
4579 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
4581         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4582         buffer isn't killed before making it current.
4584 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4586         Silence various byte-compiler warnings.
4587         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4588         `access-type' and new obsolescence format.
4589         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4590         new format.
4591         (byte-compile-check-variable): New `access-type' argument.
4592         Only warn if the access-type is obsolete.
4593         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4594         (byte-compile-variable-set): Adjust callers.
4595         * help-fns.el (describe-variable): Adjust to new obsolescence format.
4596         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4597         setting it as obsolete.
4598         * simple.el (minibuffer-completing-symbol):
4599         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4600         access as obsolete.
4601         * minibuffer.el (minibuffer-completing-file-name): Don't make it
4602         obsolete yet.
4603         * international/quail.el (quail-mouse-choose-completion): Remove unused
4604         code referring to obsolete var.
4605         (quail-choose-completion-string): Remove.
4606         * server.el (server-clients-with, server-kill-buffer-query-function)
4607         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4608         * proced.el (proced-send-signal):
4609         * emacs-lisp/lisp.el (lisp-complete-symbol):
4610         Replace completion-annotate-function with completion-extra-properties.
4612 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4614         * simple.el (goto-line): Use read-number.
4615         (overriding-map-is-bound): Remove.
4616         (saved-overriding-map): Change default.
4617         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4618         Take the map as argument.
4619         (universal-argument, negative-argument, digit-argument): Use it.
4620         (restore-overriding-map): Adjust.
4621         (do-auto-fill): Use fill-forward-paragraph.
4622         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4624         * minibuffer.el (minibuffer-inactive-mode-map): New var.
4625         (minibuffer-inactive-mode): New major mode.
4626         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4627         the *Messages* buffer" hack.
4628         (mouse-popup-menubar): Don't burp if the event is a normal key.
4630         Miscellaneous tweaks.
4631         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4632         lexical scoping as in subr.el's dolist and dotimes.
4633         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4634         Silence compiler warning.
4635         * thingatpt.el (forward-whitespace): Trivial coding style fix.
4636         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4637         * international/ccl.el (ccl-compile): Trivial simplification.
4638         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4639         * emacs-lisp/testcover.el (testcover-end): Remove spurious
4640         `printflag' argument.
4641         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4642         Purecopy the whole obsolescence data.
4644 2011-06-01  Leo Liu  <sdl.web@gmail.com>
4646         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4647         improve doc-string as suggested by Marco Pessotto
4648         <melmothx@gmail.com>.
4649         (rcirc-print): Fix last change.
4651 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4653         * minibuffer.el (complete-with-action): Return nil for the metadata and
4654         boundaries of non-functional tables.
4655         (completion-table-dynamic): Return nil for the metadata.
4656         (completion-table-with-terminator): Add default case, using
4657         complete-with-action.
4658         (completion--metadata): New function.
4659         (completion-all-sorted-completions, minibuffer-completion-help): Use it
4660         to try and avoid pathological performance problems.
4661         (completion--embedded-envvar-table): Return `category' metadata.
4663 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4665         * subr.el (process-alive-p): New tiny convenience function.
4667 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4669         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
4670         content but also its previous major mode.
4672 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
4674         * emacs-lisp/debug.el (debug): Restore the previous content of the
4675         *Backtrace* buffer when we exit with C-M-c.
4677 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4679         * minibuffer.el: Add metadata method to completion tables.
4680         (completion-category-overrides): New defcustom.
4681         (completion-metadata, completion--field-metadata)
4682         (completion-metadata-get, completion--styles)
4683         (completion--cycle-threshold): New functions.
4684         (completion-try-completion, completion-all-completions):
4685         Add `metadata' argument to choose completion-styles.
4686         (completion--do-completion): Use metadata to choose cycling.
4687         (completion-all-sorted-completions): Use metadata for sorting.
4688         Remove :completion-cycle-penalty which is not needed any more.
4689         (completion--try-word-completion): Add `metadata' argument.
4690         (minibuffer-completion-help): Check metadata for annotation function
4691         and sorting.
4692         (completion-file-name-table): Return `category' metadata.
4693         (minibuffer-completing-file-name): Make obsolete.
4694         * simple.el (minibuffer-completing-symbol): Make obsolete.
4695         * icomplete.el (icomplete-completions): Pass new `metadata' param to
4696         completion-try-completion.
4698 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4700         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
4702 2011-05-30  Leo Liu  <sdl.web@gmail.com>
4704         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
4705         (rcirc-print): Decode all incoming messages (bug#8744).
4706         (rcirc-decode-coding-system): Allow value nil for automatic coding
4707         system detection.
4709 2011-06-01  Glenn Morris  <rgm@gnu.org>
4711         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
4713 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4715         * image.el (image-animate-max-time): Allow nil and t values.
4716         Default to nil.
4717         (create-animated-image): Doc fix.
4718         (image-animate-start): Remove second arg; just use
4719         image-animate-max-time.
4720         (image-animate-timeout): Doc fix.  Args changed.
4722         * image-mode.el (image-toggle-display-image): Ensure that the
4723         image spec passed to the animate timer is the same object as in
4724         the the buffer's display property (Bug#6981).
4725         (image-transform-properties): Doc fix.
4727         * image.el (image-animate-max-time): Default to nil.
4729 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
4731         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
4732         entire buffer list (Bug#8184).
4734 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4736         * image.el (imagemagick-types-inhibit)
4737         (imagemagick-register-types): Doc fix.
4739 2011-05-29  Deniz Dogan  <deniz@dogan.se>
4741         * net/rcirc.el (rcirc): Use the user's stored encryption method by
4742         default.
4744 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
4746         * select.el: Don't perform clipboard-manager saving in hooks;
4747         leave the hooks empty.
4749 2011-05-28  Leo Liu  <sdl.web@gmail.com>
4751         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
4752         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
4753         (occur-edit-mode): New major mode (Bug#8463).
4754         (occur-after-change-function): New function.
4755         (occur-engine): Give Occur tags a read-only property.
4757 2011-05-28  Kevin Ryde  <user42@zip.com.au>
4759         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4761 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4763         * bindings.el (help-echo): Make the initial non-indicator dash
4764         empty on graphical terminals (Bug#7295).
4766         * files.el (auto-mode-alist): Move config rule after the
4767         in-stripping one (Bug#8547).
4769         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
4771         * startup.el (normal-splash-screen): Remove gratuitous mode-line
4772         setting (Bug#8740).
4774 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
4776         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4777         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4778         (Bug#8539).
4780 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4782         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4784 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
4786         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4787         (hs-hide-block-at-point, hs-find-block-beginning)
4788         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4789         (Bug#8279).
4791 2011-05-28  Glenn Morris  <rgm@gnu.org>
4793         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
4795 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
4797         * help-fns.el (describe-function-1): If the function is a derived
4798         major mode, print the parent mode.
4800         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4801         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4803 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4805         * minibuffer.el (completion--capf-wrapper): Check applicability before
4806         retuning non-nil for non-exclusive completion data.
4807         * progmodes/etags.el (tags-completion-at-point-function):
4808         * info-look.el (info-lookup-completions-at-point): Mark as
4809         non-exclusive.
4810         (info-complete): Adjust accordingly.
4812         * info-look.el: Convert to lexical-binding and completion-at-point.
4813         (info-lookup-completions-at-point): New function.
4814         (info-complete): Use it and completion-in-region.
4816 2011-05-28  Drew Adams  <drew.adams@oracle.com>
4818         * isearch.el: Let M-e start with point at the first mismatched char.
4819         (isearch-fail-pos): New function.
4820         (isearch-edit-string): Use it.
4822 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
4824         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4826 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
4828         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
4829         traversal functions for avl-trees.
4830         (avl-tree--stack): New struct.
4831         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4832         (avl-tree-enter): Add optional `updatefun' arg.
4833         (avl-tree--do-enter): Add optional `updatefun' arg.
4834         Change return value.
4835         (avl-tree-delete): Add optional `test' and `nilflag' args.
4836         (avl-tree--do-delete): Add `test' and `nilflag' args.
4837         Change return value.
4838         (avl-tree-member): Add optional `nilflag'
4839         (avl-tree-member-p): New function.
4840         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4841         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4842         (avl-tree-stack-empty-p): New functions.
4844 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
4846         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4847         avl-tree--del-balance1 and make it work both ways.
4848         (avl-tree--del-balance2): Remove.
4849         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4850         make it work both ways.
4851         (avl-tree--enter-balance2): Remove.
4852         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4853         New macros.
4854         (avl-tree--mapc, avl-tree-map): Add direction argument.
4856 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
4858         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4860 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
4862         * select.el: Support clipboard managers with built-in function
4863         x-clipboard-manager-save, via delete-frame-functions and
4864         kill-emacs-hook.
4865         (xselect-convert-to-targets): Add MULTIPLE target to list.
4866         (xselect-convert-to-save-targets): New function.
4868 2011-05-27  Kenichi Handa  <handa@m17n.org>
4870         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4871         let-binding rfc2047-encode-encoded-words to nil.
4873 2011-05-27  Glenn Morris  <rgm@gnu.org>
4875         * mail/emacsbug.el: Don't require url-util.
4877         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
4879         * files.el (set-auto-mode):
4880         Also respect mode: entries at the end of the file.  (Bug#8586)
4882 2011-05-26  Glenn Morris  <rgm@gnu.org>
4884         * files.el (hack-local-variables-prop-line, hack-local-variables):
4885         Downcase mode names, as seems to be traditional.
4886         (hack-local-variables, hack-local-variables-apply): Doc fixes.
4888         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4889         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
4891 2011-05-25  Julien Danjou  <julien@danjou.info>
4893         * textmodes/rst.el (rst-define-level-faces): Do not define face
4894         symbol if it is already defined.
4896 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4898         * play/5x5.el (5x5-new-game, 5x5-randomize):
4899         Reset 5x5-solver-output to nil when a new grid is cast.
4900         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4901         these debugging traces, as defmacro breaks the compiled code.
4903 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
4905         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4907 2011-05-24  Leo Liu  <sdl.web@gmail.com>
4909         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4910         (vc-bzr-sha1): Adapt.
4912         * sha1.el: Remove.  Function `sha1' is now builtin.
4914         * bindings.el: Provide sha1 feature.
4916 2011-05-24  Kenichi Handa  <handa@m17n.org>
4918         * mail/sendmail.el: Require `rfc2047'.
4919         (mail-insert-from-field): Do not perform RFC2047 encoding.
4920         (mail-encode-header): New function.
4921         (sendmail-send-it): Set buffer-file-coding-system of the work
4922         buffer to the return value of select-message-coding-system.
4923         Call mail-encode-header.
4925         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4927 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
4929         * mail/supercite.el (sc-default-cite-frame):
4930         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
4932 2011-05-24  Glenn Morris  <rgm@gnu.org>
4934         * progmodes/python.el (brm-menu): Declare.
4936         * emulation/viper.el (viper-set-hooks): Declare.
4938         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4939         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4940         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4941         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4942         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4943         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4945 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4947         Add an :exit-function for completion-at-point.
4949         * minibuffer.el (completion--done): New fun.
4950         (completion--do-completion): Use it.  New arg `expect-exact'.
4951         (minibuffer-complete, minibuffer-complete-word): Don't output message,
4952         since completion--do-completion does it for us now.
4953         (minibuffer-force-complete): Use completion--done and
4954         completion--replace.  Handle sole-completion case with more care.
4955         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4956         (completion-extra-properties): New var.
4957         (completion-annotate-function): Make obsolete.
4958         (minibuffer-completion-help): Adjust accordingly.
4959         Use completion-list-insert-choice-function.
4960         (completion-at-point, completion-help-at-point):
4961         Bind completion-extra-properties.
4962         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4963         * simple.el (completion-list-insert-choice-function): New var.
4964         (completion-setup-function): Preserve it.
4965         (choose-completion): Pay attention to it, shuffle the code a bit.
4966         (choose-completion-string): New arg `insert-function'.
4968         * textmodes/bibtex.el: Convert to lexical binding.
4969         (bibtex-mode-map): Use completion-at-point.
4970         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4971         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4972         (bibtex-complete): Define as obsolete alias.
4973         (bibtex-complete-internal): Remove.
4974         (bibtex-format-entry): Remove unused sub-group in regexp.
4975         * shell.el (shell--command-completion-data)
4976         (shell-environment-variable-completion):
4977         * pcomplete.el (pcomplete-completions-at-point):
4978         * comint.el (comint--complete-file-name-data): Use :exit-function
4979         instead of completion-table-with-terminator so it also works for
4980         choose-completion.
4982 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4984         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4986         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4987         (bug#8710).
4989         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4991 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
4993         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4994         customization variable and implement: If non-nil, auto-fill will
4995         be inhibited while on topic's header line.
4997 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4999         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
5000         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
5001         always have a solution in grid size = 5 cases.
5002         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5003         (5x5-solver-output, 5x5-log-buffer): New vars.
5004         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5005         Make these variables buffer local to achieve 5x5 multi-session-ness.
5006         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5007         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5008         (5x5-solve-suggest): New funs.
5009         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5010         randomize a grid so that we ensure that there is always a solution.
5011         (5x5-make-random-grid): Allow other movement than flipping.
5013 2011-05-23  Kevin Ryde  <user42@zip.com.au>
5015         * emacs-lisp/advice.el (ad-read-advised-function):
5016         Use `function-called-at-point' as the default default, if it has
5017         advice and passes PREDICATE.
5019 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5021         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5022         byte-compile-lambda if it's actually a lambda.
5024         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5025         Fix function quoting.  Use backquote better.
5027 2011-05-22  Yuanle Song  <sylecn@gmail.com>
5029         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5030         matching (Bug#8516).
5032 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
5034         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5035         different face (Bug#8178).
5037 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
5039         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5040         defface (Bug#8144).
5042 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5044         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5045         funcall as well (bug#8712).  Warn when performing those conversions.
5046         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5048         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5050 2011-05-22  Glenn Morris  <rgm@gnu.org>
5052         * files.el (hack-local-variables-prop-line): Small simplifications.
5053         (hack-local-variables, hack-local-variables-prop-line):
5054         If MODE-ONLY, return the mode, rather than just `t'.
5056 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5058         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5060 2011-05-21  Glenn Morris  <rgm@gnu.org>
5062         * files.el (hack-local-variables-prop-line, hack-local-variables):
5063         If only interested in the mode, don't bother doing the other stuff.
5065         * image-mode.el (image-after-revert-hook):
5066         Redraw all frames on which the image is visible.  (Bug#8567)
5068         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
5070         * wid-edit.el (widget-checklist-match-inline):
5071         Fix 2011-04-19 change.  (Bug#8649)
5073 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5075         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5076         Also allow singlespace after single-letter capitals followed by a dot.
5078         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5079         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5081 2011-05-20  Nix  <nix@esperi.org.uk>
5083         * files.el (basic-save-buffer-2):
5084         Fix handling of break-hardlink-on-save with non-existent files.
5086 2011-05-19  Deniz Dogan  <deniz@dogan.se>
5088         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
5089         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
5091 2011-05-19  Glenn Morris  <rgm@gnu.org>
5093         * progmodes/f90.el (f90-type-def-re):
5094         Handle "type, bind(c)".  (Bug#8691)
5096         * emacs-lisp/autoload.el (batch-update-autoloads):
5097         Set autoload-excludes by parsing loadup.el rather than Makefiles.
5099 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
5101         * net/tramp.el (tramp-process-actions): Set "first-password-request"
5102         property for the correct connection in case of multihops.
5104 2011-05-18  Glenn Morris  <rgm@gnu.org>
5106         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
5107         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5109         Rationalize calendar handling of day and month abbrev-arrays.
5110         * calendar/calendar.el (calendar-customized-p): New function.
5111         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5112         (calendar-day-name-array, calendar-month-name-array): Doc fix.
5113         Add :set function.
5114         (calendar-abbrev-length, calendar-day-abbrev-array)
5115         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5116         (calendar-day-abbrev-array, calendar-month-abbrev-array):
5117         Elements may no longer be nil.
5118         (calendar-day-name, calendar-month-name):
5119         Update for changed nature of abbrev arrays.
5120         * calendar/diary-lib.el (diary-name-pattern):
5121         Update for changed nature of abbrev arrays.
5122         (diary-mark-entries-1): Update calendar-make-alist calls.
5123         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5124         * calendar/cal-html.el (cal-html-day-abbrev-array):
5125         Simply inherit from calendar-day-abbrev-array.
5127 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * progmodes/grep.el (grep-mode): Disable default
5130         compilation-directory-matcher setting (bug#8684).
5132 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
5134         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5135         instead of "head" and "tail".  There were problems with SunOS 5.9,
5136         and it performs better.
5138 2011-05-17  Glenn Morris  <rgm@gnu.org>
5140         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5142         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5143         Replace obsolete function.
5145         * shell.el (pcomplete-parse-arguments-function): Declare.
5147         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5148         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5149         (appt-check): Doc fixes.
5150         (appt-disp-window-function, appt-delete-window-function):
5151         Remove needless special case in custom :type.
5152         (appt-display-count): Default to 0, not nil.
5153         (appt-check): Reset appt-display-count to 0, not nil.
5155 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
5157         * progmodes/python.el (python-font-lock-keywords):
5158         Add the Python 3.X keyword "nonlocal" (bug#8639).
5160 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5162         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5164 2011-05-16  Kevin Ryde  <user42@zip.com.au>
5166         * info-look.el (makefile-automake-mode): New setups, looking in
5167         automake manual, then makefile-mode.
5168         (makefile-mode): Remove automake manual, have it just in
5169         makefile-automake-mode since there's various things different or
5170         not relevant to plain make.
5171         (makefile-mode): Remove "other-modes" non-existent automake-mode,
5172         believe a hypothetical automake-mode would go to makefile-mode,
5173         not the other way around.
5175 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
5177         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5178         hunk-end tags (Bug#8672).
5180         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5181         vc-annotate-show-diff-revision-at-line (Bug#8671).
5183 2011-05-14  Glenn Morris  <rgm@gnu.org>
5185         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5186         in the middle of an existing one with multiple authors.  (Bug#8645)
5187         (change-log-font-lock-keywords): Also handle multiple author lines
5188         with leading tabs.  (Bug#8644)
5190         * calendar/appt.el (appt-check): Rename some local variables.
5191         Some simplification/reordering.
5193         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5194         (feedmail-sendmail-f-doesnt-sell-me-out)
5195         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5196         (feedmail-debug-sit-for, feedmail-queue-express-hook)
5197         (feedmail-queue-runner-message-sender): Set :version.
5198         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5199         (bbdb-dwim-net-address, vm-mail): Declare.
5200         (feedmail-binmail-gnulinuxish-template):
5201         Rename from feedmail-binmail-linuxish-template.
5202         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5203         Use insert-buffer-substring.
5205 2011-05-14  Bill Carpenter  <bill@carpenter.org>
5207         * mail/feedmail.el (feedmail-patch-level): Increase.
5208         (feedmail-debug): New custom group.
5209         (feedmail-confirm-outgoing-timeout)
5210         (feedmail-sendmail-f-doesnt-sell-me-out)
5211         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5212         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5213         (feedmail-sender-line, feedmail-from-line)
5214         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
5215         (feedmail-spray-this-address)
5216         (feedmail-spray-address-fiddle-plex-list)
5217         (feedmail-queue-use-send-time-for-date)
5218         (feedmail-queue-use-send-time-for-message-id)
5219         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5220         (feedmail-buffer-eating-function):
5221         Doc fixes.
5222         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5223         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5224         (feedmail-message-action-scroll-down): New functions.
5225         (feedmail-queue-directory, feedmail-queue-draft-directory):
5226         Use expand-file-name.
5227         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5228         Remove C-v help entry.
5229         (feedmail-queue-buffer-file-name): New variable.
5230         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5231         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5232         (feedmail-message-action-send-strong, feedmail-message-action-edit)
5233         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5234         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5235         (feedmail-message-action-toggle-spray)
5236         (feedmail-run-the-queue-no-prompts)
5237         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5238         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5239         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5240         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5241         (feedmail-envelope-deducer, feedmail-fiddle-from)
5242         (feedmail-fiddle-sender, feedmail-default-date-generator)
5243         (feedmail-fiddle-date, feedmail-fiddle-message-id)
5244         (feedmail-fiddle-spray-address)
5245         (feedmail-fiddle-list-of-spray-fiddle-plexes)
5246         (feedmail-fiddle-list-of-fiddle-plexes)
5247         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5248         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5249         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5250         Change default.  Doc fix.
5251         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5252         (feedmail-binmail-linuxish-template): New constant.
5253         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
5254         Respect feedmail-sendmail-f-doesnt-sell-me-out.
5255         (feedmail-send-it): Add debug call.
5256         Use feedmail-queue-buffer-file-name, and
5257         feedmail-send-it-immediately-wrapper.
5258         (feedmail-message-action-send): Add debug call.
5259         Use feedmail-send-it-immediately-wrapper.
5260         (feedmail-queue-express-to-queue): Add debug call.
5261         Run feedmail-queue-express-hook.
5262         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
5263         (feedmail-message-action-help-blat):
5264         Rename from feedmail-queue-send-edit-prompt-help-first.
5265         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
5266         Check line-endings.  Handle errors better.
5267         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5268         Doc fix.  Add debug call.
5269         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
5270         Use feedmail-queue-send-edit-prompt-inner.
5271         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5272         (feedmail-queue-send-edit-prompt-inner): New function, extracted
5273         from feedmail-queue-send-edit-prompt.
5274         (feedmail-queue-send-edit-prompt-help)
5275         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5276         (feedmail-tidy-up-slug): Add debug call.
5277         Respect feedmail-queue-slug-suspect-regexp.
5278         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5279         (feedmail-dump-message-to-queue): Add debug call.
5280         Expand queue-directory.
5281         (feedmail-dump-message-to-queue): Change message slightly.
5282         Use feedmail-say-chatter.
5283         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
5284         (feedmail-send-it-immediately-wrapper): New function.
5285         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
5286         Insert empty string rather than newline.  Handle full-frame case.
5287         Use catch/throw.  Use feedmail-say-chatter.
5288         (feedmail-fiddle-from): Try mail-host-address.
5289         (feedmail-default-message-id-generator): Doc fix.
5290         Bind system-time-locale.  Handle missing end.
5291         (feedmail-fiddle-x-mailer): Add debug call.
5292         Handle feedmail-x-mailer-line being nil.
5293         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5294         Add debug call.  Use buffer-substring-no-properties.
5295         (feedmail-say-debug, feedmail-say-chatter): New functions.
5296         (feedmail-find-eoh): Give an explicit error.
5298 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
5300         * net/newst-treeview.el (newsticker-treeview-face): Change default
5301         family from helvetica to sans.
5302         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
5303         etc/images/newsticker.
5305         * net/newst-reader.el (newsticker-feed-face): Change default
5306         family from helvetica to sans.
5308         * net/newst-plainview.el (newsticker-new-item-face)
5309         (newsticker-old-item-face, newsticker-immortal-item-face)
5310         (newsticker-obsolete-item-face, newsticker-date-face)
5311         (newsticker-statistics-face): Change default family from
5312         helvetica to sans.
5313         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
5314         etc/images/newsticker.
5316         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5317         (newsticker--process-auto-mark-filter-match): : Tell user about
5318         auto-marking.
5320 2011-05-13  Didier Verna  <didier@xemacs.org>
5322         Common Lisp indentation improvements on defmethod and lambda-lists.
5323         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5324         TODO entries.
5325         (lisp-lambda-list-keyword-parameter-indentation)
5326         (lisp-lambda-list-keyword-parameter-alignment)
5327         (lisp-lambda-list-keyword-alignment): New customizable user options.
5328         (lisp-indent-defun-method): Improve docstring.
5329         (extended-loop-p): Fix comment.
5330         (lisp-indent-lambda-list-keywords-regexp): New variable.
5331         (lisp-indent-lambda-list): New function.
5332         (lisp-indent-259): Use it.
5333         (lisp-indent-defmethod): Support for more than one
5334         method qualifier and properly indent methods lambda-lists.
5335         (defgeneric): Provide a missing common-lisp-indent-function property.
5337 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5340         bounds for the empty string (bug#8667).
5342 2011-05-13  Glenn Morris  <rgm@gnu.org>
5344         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5346         * mail/sendmail.el (sendmail-program): Try executable-find first.
5347         (sendmail-send-it): `sendmail-program' cannot be unbound.
5349         * calendar/appt.el (appt-make-list): Simplify.
5350         (appt-time-msg-list): Doc fix.
5351         (appt-check): Change mode-line message at the time of the appointment.
5353 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5355         * progmodes/ld-script.el (ld-script-keywords)
5356         (ld-script-builtins): Update keywords list.
5358 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5360         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5362         * shell.el (shell-completion-vars): New function.
5363         (shell-mode):
5364         * simple.el (read-shell-command): Use it.
5365         (blink-matching-open): No need for " [...]" in minibuffer-message.
5367 2011-05-12  Glenn Morris  <rgm@gnu.org>
5369         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5370         (appt-check): Simplify.
5372 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
5374         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
5375         literal "/dev/null".
5377 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5379         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5380         Fix typo.
5382 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
5384         * progmodes/which-func.el (which-function):
5385         Use add-log-current-defun instead of add-log-current-defun-function,
5386         which might not be defined (Bug#8260).
5388 2011-05-12  Glenn Morris  <rgm@gnu.org>
5390         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5391         Let byte-compile-initial-macro-environment always take precedence.
5393 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5395         * net/rcirc.el: Add support for SSL/TLS connections.
5396         (rcirc-server-alist): New field `encryption'.
5397         (rcirc): Check `encryption' settings.
5398         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
5399         Merge make-local-variable into `set'.
5400         (rcirc--connection-open-p): New function.
5401         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5402         the process is not a network process (e.g. running gnutls-cli).
5403         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5404         Make rcirc-(en|de)code-coding-system local here.
5405         (rcirc-mode): Merge make-local-variable into `set'.
5406         (rcirc-parent-buffer): Make permanent buffer-local.
5407         (rcirc-multiline-minor-mode): Don't do it here.
5408         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5409         there's no server buffer.
5411 2011-05-11  Glenn Morris  <rgm@gnu.org>
5413         * newcomment.el (comment-kill): Prefix "unused" local.
5415         * term/w32console.el (get-screen-color): Declare.
5417         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5418         Handle symbol elements of byte-compile-initial-macro-environment.
5420 2011-05-10  Leo Liu  <sdl.web@gmail.com>
5422         * bookmark.el (bookmark-bmenu-mode-map):
5423         Bind bookmark-bmenu-search to `/'.
5425         * mail/footnote.el: Convert to utf-8 encoding.
5426         (footnote-unicode-string, footnote-unicode-regexp): New variable.
5427         (Footnote-unicode): New function.
5428         (footnote-style-alist): Add unicode style to the list.
5429         (footnote-style): Doc fix.
5431 2011-05-10  Jim Meyering  <meyering@redhat.com>
5433         Fix doubled-word typos.
5434         * international/quail.el (quail-insert-kbd-layout): and and -> and
5435         * kermit.el: and and -> and
5436         * net/ldap.el (ldap-search-internal): to to -> to
5437         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5438         * progmodes/js.el (js-mode): and and -> and
5439         * textmodes/artist.el (artist-move-to-xy): at at -> at
5440         (artist-draw-region-trim-line-endings): if if -> if
5441         And Safetyc -> Safety.
5442         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5444 2011-05-10  Glenn Morris  <rgm@gnu.org>
5445             Stefan Monnier  <monnier@iro.umontreal.ca>
5447         * files.el (hack-one-local-variable-eval-safep):
5448         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
5450 2011-05-10  Glenn Morris  <rgm@gnu.org>
5452         * calendar/diary-lib.el (diary-list-entries-hook)
5453         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5454         (diary-nongregorian-marking-hook, diary-list-entries)
5455         (diary-include-other-diary-files, diary-mark-entries)
5456         (diary-mark-included-diary-files): Doc fixes.
5458 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
5460         * misc.el: Require tabulated-list.el during compilation.
5462 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
5464         * progmodes/compile.el (compilation-start):
5465         Run compilation-filter-hook for the async case too.
5466         (compilation-filter-hook): Doc fix.
5468 2011-05-09  Deniz Dogan  <deniz@dogan.se>
5470         * wdired.el: Remove outdated installation comment.  Fix usage
5471         comment.
5473 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
5475         * misc.el: Implement new command `list-dynamic-libraries'.
5476         (list-dynamic-libraries--loaded-only-p): New variable.
5477         (list-dynamic-libraries--refresh): New function.
5478         (list-dynamic-libraries): New command.
5480 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
5482         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5483         Fix the ant regexp to handle end-line and end-column info from jikes.
5484         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
5485         higher priority to avoid clobbering by gnu.
5487 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
5489         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5490         if the face has existing theme settings (Bug#8454).
5492 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
5494         * progmodes/perl-mode.el (perl-imenu-generic-expression):
5495         Only match variables declared via `my' or `our' (Bug#8261).
5497         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5498         special file names `.' and `..' (Bug#8259).
5500 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
5502         * progmodes/grep.el (grep-mode-font-lock-keywords):
5503         Remove buffer-changing entries.
5504         (grep-filter): New function.
5505         (grep-mode): Add it to compilation-filter-hook.
5507         * progmodes/compile.el (compilation-filter-hook)
5508         (compilation-filter-start): New defvars.
5509         (compilation-filter): Call compilation-filter-hook prior to
5510         updating the process mark.
5512 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5514         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5516 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
5518         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5519         mailclient-send-it even if window-system is nil.  (Bug#8595)
5521         * term/w32console.el (terminal-init-w32console):
5522         Call get-screen-color and use its output to set the frame
5523         background-mode.  (Bug#8597)
5525 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5527         Make bytecomp.el understand that defmethod defines funs (bug#8631).
5528         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5529         New functions.
5530         (defgeneric, eieio--defmethod): Use them.
5531         (eieio-defgeneric): Remove.
5532         (defmethod): Call defgeneric in a way visible to the byte-compiler.
5534 2011-05-07  Glenn Morris  <rgm@gnu.org>
5536         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5537         Use let rather than let*.
5538         (timeclock-find-discrep): Remove unused local.
5540         * calendar/diary-lib.el (diary-comment-start): Doc fix.
5542         * calendar/appt.el (appt-time-msg-list): Doc fix.
5544 2011-05-06  Noah Friedman  <friedman@splode.com>
5546         * apropos.el (apropos-print-doc): Only use
5547         emacs-lisp-docstring-fill-column when it is bound to an integer,
5548         per that variable's documentation.
5550 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5552         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
5553         and warnings are not silently discarded (e.g. use -d instead of -P).
5555 2011-05-06  Glenn Morris  <rgm@gnu.org>
5557         * calendar/appt.el (appt-message-warning-time): Doc fix.
5558         (appt-warning-time-regexp): New option.
5559         (appt-make-list): Respect appt-message-warning-time.
5561         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5562         New options.
5563         (diary-add-to-list): Strip comments from the displayed string.
5564         (diary-mode): Set comment-start and comment-end.
5566         * vc/diff-mode.el (smerge-refine-subst): Declare.
5567         (diff-refine-hunk): Don't require smerge-mode when compiling.
5569 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
5571         * simple.el (list-processes): Return nil as the docstring says.
5573 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
5575         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5576         to "".
5577         (ange-ftp-write-region, ange-ftp-insert-file-contents)
5578         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5579         determining of binary transfer.  (Bug#7383)
5581 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
5583         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5584         Fix port computation bug.  (Bug#8618)
5586 2011-05-05  Glenn Morris  <rgm@gnu.org>
5588         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5590         * simple.el (shell-dynamic-complete-functions)
5591         (comint-dynamic-complete-functions): Declare.
5593         * net/network-stream.el (gnutls-negotiate):
5594         * simple.el (tabulated-list-print): Fix declarations.
5596         * progmodes/gud.el (syntax-symbol, syntax-point):
5597         Remove unnecessary and incorrect declarations.
5599         * emacs-lisp/check-declare.el (check-declare-scan):
5600         Handle byte-compile-initial-macro-environment in bytecomp.el
5602 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5604         Fix earlier half-done eieio-defmethod change (bug#8338).
5605         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5606         Streamline and change calling convention.
5607         (defmethod): Adjust accordingly and simplify.
5608         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5609         new eieio--defmethod.
5610         (slot-boundp): Minor CSE simplification.
5612 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
5614         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5615         (glasses-make-readable): Use glasses-separate-capital-groups.
5617 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
5619         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5620         (warning-series): Doc fix.
5621         (display-warning): Don't try to create the buffer if we just found it.
5623 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
5625         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5626         (autoload-find-generated-file): New function.
5627         (generate-file-autoloads): Bind generated-autoload-file to
5628         buffer-file-name.
5629         (update-file-autoloads, update-directory-autoloads):
5630         Use autoload-find-generated-file.  If called interactively, prompt for
5631         output file (Bug#7989).
5632         (batch-update-autoloads): Doc fix.
5634 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
5636         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5638 2011-05-04  Glenn Morris  <rgm@gnu.org>
5640         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5641         function, so it follows changes in calendar-date-style.
5642         (diary-fancy-date-matcher): New function.
5643         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5644         (diary-fancy-font-lock-fontify-region-function):
5645         Use diary-fancy-date-pattern as a function.
5647         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5648         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
5650 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
5652         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5653         instead of positional arguments.  Allow :keylist and :crlfiles
5654         arguments.
5655         (open-gnutls-stream): Call it.
5657         * net/network-stream.el (network-stream-open-starttls): Adjust to
5658         call `gnutls-negotiate' with :process and :hostname arguments.
5660 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5662         * minibuffer.el (completion--message): New function.
5663         (completion--do-completion, minibuffer-complete)
5664         (minibuffer-force-complete, minibuffer-complete-word): Use it.
5665         (completion--do-completion): Don't ignore completion-auto-help when in
5666         icomplete-mode.
5668         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
5669         internal encoding (e.g. tibetan zero is not whitespace).
5670         (global-whitespace-mode): Prefer save-current-buffer.
5671         (whitespace-trailing-regexp): Remove useless save-match-data.
5672         (whitespace-empty-at-bob-regexp): Minor simplification.
5674 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
5676         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
5678 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5680         * textmodes/ispell.el (ispell-add-per-file-word-list):
5681         Use `concat' to create string for insertion.
5683 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5685         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
5686         Avoid open-line which runs post-self-insert-hook.
5687         (bibtex-fill-entry): Remove unused `end' var.
5689 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
5691         * textmodes/ispell.el (ispell-add-per-file-word-list):
5692         Protect against `nil' value of `comment-start' (Bug#8579).
5694 2011-05-03  Leo Liu  <sdl.web@gmail.com>
5696         * isearch.el (isearch-yank-pop): New command.
5697         (isearch-mode-map): Bind it to `M-y'.
5698         (isearch-forward): Mention it.
5700 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5702         * simple.el (minibuffer-complete-shell-command): Remove.
5703         (minibuffer-local-shell-command-map): Use completion-at-point.
5704         (read-shell-command): Setup completion vars here instead.
5705         (read-expression-map): Bind TAB to symbol completion.
5707         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
5708         error directly rather via storing it into `results'.
5710 2011-05-02  Leo Liu  <sdl.web@gmail.com>
5712         * vc/diff.el: Fix description.
5714 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5716         * server.el (server-eval-at): New function.
5718 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5720         * net/network-stream.el (open-network-stream): Take a :nowait
5721         parameter and pass it on to `make-network-process'.
5722         (network-stream-open-plain): Ditto.
5724 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5726         * faces.el (face-spec-set-match-display): Don't match toolkit
5727         options on terminal frames.
5729 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5731         * progmodes/pascal.el: Use lexical binding.
5732         (pascal-mode-map): Remove author preferences.
5734         * pcomplete.el (pcomplete-std-complete): Don't abuse
5735         completion-at-point.
5737 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
5739         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
5740         removing code that has been dead since 1991 or so.
5742         * startup.el (command-line): When warning about "_emacs", use a
5743         delayed warning to allow the user to filter it out.
5745 2011-04-28  Deniz Dogan  <deniz@dogan.se>
5747         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
5748         user has not joined.
5750 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5752         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
5753         aren't any completions at point.
5755 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
5757         * subr.el (display-delayed-warnings): New function.
5758         (delayed-warnings-hook): New variable.
5760 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5762         * minibuffer.el (completion-at-point, completion-help-at-point):
5763         Don't presume that a given completion-at-point-function will always
5764         use the same calling convention.
5766         * pcomplete.el (pcomplete-completions-at-point):
5767         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
5768         pcomplete-seen is non-nil.
5769         (pcomplete-comint-setup): Also recognize the new comint/shell
5770         completion functions.
5771         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
5772         pcomplete-seen is non-nil.
5774 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
5776         * calendar/icalendar.el (diary-lib): Add require statement.
5777         (icalendar--create-uid): Read out a uid from a text-property on
5778         the first character in the entry.  This allows for code to add its
5779         own uid to the entry.
5780         (icalendar--convert-float-to-ical): Add export of
5781         `diary-float'-entries save for those with the optional DAY
5782         argument.
5784 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
5786         * subr.el (shell-quote-argument): Use alternate escaping strategy
5787         when we spot a variable reference in a string.
5789 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
5791         * cus-start.el (all): Define customization for debug-on-event.
5793 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
5795         * subr.el (shell-quote-argument): Escape correctly under Windows.
5797 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5799         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
5801 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
5803         * net/tramp.el (tramp-process-actions): Add POS argument.
5804         Delete region between POS and (pos).
5806         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5807         Use `nil' position in `tramp-process-actions' call.
5808         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
5810         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
5811         position in `tramp-process-actions' call.
5813         * net/trampver.el: Update release number.
5815 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5817         * custom.el (defcustom): Obey lexical-binding.
5819         Fix octave-inf completion problems reported by Alexander Klimov.
5820         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5821         Inherit from octave-mode-syntax-table.
5822         (inferior-octave-mode): Set info-lookup-mode.
5823         (inferior-octave-completion-at-point): New function.
5824         (inferior-octave-complete): Use it and completion-in-region.
5825         (inferior-octave-dynamic-complete-functions): Use it as well, and use
5826         comint-filename-completion.
5827         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
5828         symbol elements which shouldn't be word elements.
5829         (octave-font-lock-keywords, octave-beginning-of-defun)
5830         (octave-function-header-regexp): Adjust regexps accordingly.
5831         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
5833 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
5835         * net/gnutls.el (gnutls-errorp): Declare before first use.
5837 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
5839         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
5840         verify-error, and verify-hostname-error parameters.  Check whether
5841         default trustfile exists before going to use it.  Add missing
5842         argument to gnutls-message-maybe call.  Return return value.
5843         Reported by Claudio Bley <claudio.bley@gmail.com>.
5844         (open-gnutls-stream): Add usage example.
5846         * net/network-stream.el (network-stream-open-starttls): Give host
5847         parameter to `gnutls-negotiate'.
5848         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
5849         * subr.el (shell-quote-argument): Escape correctly under Windows.
5851 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
5853         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5854         Use correct match group (bug#8438).
5856 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
5858         * emacs-lisp/package.el (package-built-in-p): Fix typo.
5859         (package-menu--generate): New arg specifying packages to show.
5860         (package-menu-refresh, package-menu-execute, list-packages):
5861         Callers changed.
5862         (package-show-package-list): New function, replacing deleted
5863         package--list-packages (renamed because it is non-internal).
5865         * finder.el (finder-list-matches): Use package-show-package-list
5866         instead of deleted package--list-packages.
5868         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5869         Based on a previous implementation by Juanma Barranquero (Bug#8366).
5870         (vc-annotate-mode-map): Bind it to RET.
5872 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
5874         * progmodes/etags.el (next-file): Don't use set-buffer to change
5875         buffers (Bug#8478).
5877 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
5879         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5881         * apropos.el (apropos-label-face): Avoid variable-pitch face.
5882         (apropos-accumulator): Doc fix.
5883         (apropos-function, apropos-macro, apropos-command)
5884         (apropos-variable, apropos-face, apropos-group, apropos-widget)
5885         (apropos-plist): Add face property.
5886         (apropos-symbols-internal): Fix indentation.
5887         (apropos-print): Simplify help, and recognize apropos-multi-type.
5888         (apropos-print-doc): Use button-type-get to extract the button's
5889         face property.  Fill docstring (Bug#8352).
5891 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
5893         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5895         * play/mpuz.el (mpuz-silent): Doc fix.
5896         (mpuz-mode-map): Use mapc.
5897         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5898         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5899         Fix typos in docstrings.
5901         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5902         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5904         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5906 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
5908         * minibuffer.el (completion--do-completion): Avoid the "Next char
5909         not unique" prompt if icomplete-mode is enabled (Bug#5849).
5911         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5912         mouse-2 into unread-command-events, it is interpreted correctly.
5914         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
5915         (image-toggle-display): Doc fix.
5917 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
5919         * textmodes/page.el (what-page): Use line-number-at-pos to
5920         calculate line number (Bug#6825).
5922 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
5924         * eshell/esh-mode.el (find-tag-interactive): Declare function.
5925         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5926         Pass argument NO-DEFAULT to `find-tag-interactive'.
5928 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
5930         Lexical-binding cleanup.
5932         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5933         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5934         * progmodes/ada-prj.el (ada-prj-initialize-values)
5935         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5936         (ada-prj-show-value):
5937         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5938         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5939         (antlr-invalidate-context-cache, antlr-options-menu-filter)
5940         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5941         * progmodes/bug-reference.el (bug-reference-push-button):
5942         * progmodes/fortran.el (fortran-line-length):
5943         * progmodes/glasses.el (glasses-change):
5944         * progmodes/octave-mod.el (octave-fill-paragraph):
5945         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5946         (python-pdbtrack-grub-for-buffer, python-sentinel):
5947         * progmodes/sql.el (sql-save-connection):
5948         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5949         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5950         Mark unused parameters.
5952         * progmodes/compile.el (compilation--flush-directory-cache)
5953         (compilation--flush-parse, compile-internal): Mark unused parameters.
5954         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5955         (compilation-next-error-function): Remove unused variable `timestamp'.
5957         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5958         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5960         * progmodes/dcl-mode.el (dcl-end-of-command):
5961         Remove unused variable `start'.
5962         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5963         (dcl-option-value-basic, dcl-option-value-offset)
5964         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5965         Mark unused parameters.
5966         (dcl-save-local-variable): Remove unused variable `val'.
5967         (mode): Declare.
5969         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5970         Mark unused parameters.
5971         (delphi-ignore-changes): Move before first use.
5972         (delphi-charset-token-at): Remove unused variable `start'.
5973         (delphi-else-start): Remove unused variable `if-count'.
5974         (delphi-comment-block-start, delphi-comment-block-end):
5975         Remove unused variable `kind'.
5976         (delphi-indent-line): Remove unused variable `new-point'.
5978         * progmodes/ebrowse.el (ebrowse-files-list)
5979         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5980         Mark unused parameters.  Don't quote `lambda'.
5981         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5982         Don't quote `lambda'.
5983         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5984         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5985         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5986         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5987         Use `ignore-errors'.
5988         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5989         (ebrowse-view/find-file-and-search-pattern)
5990         (ebrowse-view/find-member-declaration/definition):
5991         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5992         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5993         Rename parameter PREFIX-ARG to PREFIX.
5994         (ebrowse-tags-read-name): Remove unused variables `start' and
5995         `member-info'.
5996         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5997         to `tags-file'.
5999         * progmodes/etags.el (local-find-tag-hook): Declare.
6000         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6001         Mark unused parameters.
6003         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6004         (executable-interpret): Mark unused parameter.
6006         * progmodes/flymake.el (flymake-process-sentinel)
6007         (flymake-after-change-function)
6008         (flymake-create-temp-with-folder-structure)
6009         (flymake-get-include-dirs-dot): Mark unused parameters.
6010         (flymake-safe-delete-directory): Remove unused variable `err'.
6012         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6013         (speedbar-timer-fn, speedbar-line-text)
6014         (speedbar-change-expand-button-char, speedbar-delete-subblock)
6015         (speedbar-center-buffer-smartly): Declare functions.
6016         (gdb-find-watch-expression): Remove unused variable `array'.
6017         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6018         (gdb-starting): Mark unused parameters.
6019         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6020         (gdb-table-string): Remove unused variable `res'.
6021         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6022         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6023         (gdb-display-buffer): Remove unused variable `cur-size'.
6025         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6026         allow lexical-binding compilation.
6027         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6028         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6029         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6030         Mark unused parameters.
6031         (gud-gdb-marker-filter): Remove unused variable `match'.
6032         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6033         lambda expressions and funcall them, instead of using `fset'.
6035         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6036         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6038         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6039         variable `header-beg'; use `let'.
6041         * progmodes/icon.el (indent-icon-exp): Remove unused variables
6042         `restart', `last-sexp' and `at-do'.
6044         * progmodes/js.el (js--debug): Mark unused parameter.
6045         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6046         (js--splice-into-items): Remove unused variable `item'.
6047         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6049         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6050         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6051         (makefile-complete): Remove unused variable `try'.
6052         (makefile-fill-paragraph, makefile-match-function-end):
6053         Mark unused parameters.
6055         * progmodes/octave-inf.el (inferior-octave-complete):
6056         Remove unused variable `proc'.
6057         (inferior-octave-output-digest): Mark unused parameter.
6059         * progmodes/perl-mode.el (perl-calculate-indent):
6060         Remove unused variable `err'.
6062         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6063         (prolog-indent-line): Mark unused parameters.
6064         (prolog-indent-line): Remove unused variable `beg'.
6066         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6067         (reporter-dont-compact-list): Declare.
6069         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6070         Remove unused variable `char'.
6071         (sh-debug): Mark unused parameter.
6072         (sh-get-indent-info): Remove unused variable `start'.
6073         (sh-calculate-indent): Remove unused variable `var'.
6075         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6076         (simula-electric-keyword): Remove unused variable `null'.
6077         (simula-search-backward, simula-search-forward): Remove unused
6078         variables `begin' and `end'.
6080         * progmodes/vera-mode.el (vera-guess-basic-syntax):
6081         Remove unused variable `pos'.
6082         (vera-electric-tab, vera-comment-uncomment-region):
6083         Mark unused parameters.
6084         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6086 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
6088         * emacs-lisp/package.el (package--builtins, package-alist)
6089         (package-load-descriptor, package-built-in-p, package-activate)
6090         (define-package, package-installed-p)
6091         (package-compute-transaction, package-buffer-info)
6092         (package--push): Doc fix.  Distinguish more clearly between
6093         version strings and version lists.
6095 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
6097         Lexical-binding cleanup.
6099         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6100         (5x5-make-mutate-best):
6101         * play/fortune.el (fortune-in-buffer):
6102         * play/gomoku.el (gomoku-init-display):
6103         * play/solitaire.el (solitaire, solitaire-do-check):
6104         * play/tetris.el (tetris-default-update-speed-function):
6105         Mark unused parameters.
6107         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6108         (bubbles--shift): Remove unused variable `char-org'.
6109         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
6110         (bubbles--show-images): Remove unused variable `char'.
6112         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6113         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6114         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6115         (decipher-analyze-buffer): Use ?\s.
6116         (decipher-make-checkpoint): Remove unused variable `mapping'.
6118         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6120         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6121         Remove unused variable `result'; use `let'.
6123         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6124         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6125         (gametree-children-shown-p, gametree-compute-reduced-score):
6126         Use `ignore-errors'.
6128         * play/handwrite.el (ps-lpr-switches): Declare.
6129         (handwrite): Remove unused variables `pmin' and `lastp'.
6131         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6133         * play/landmark.el (landmark-init-display)
6134         (landmark-update-naught-weights): Mark unused parameters.
6135         (landmark-y): Remove unused variable `noise'.  Simplify.
6136         (landmark-human-plays): Remove unused variable `score'.
6138         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6139         (mpuz-try-proposal): Remove unused variable `game'.
6141         * play/zone.el (life-patterns): Declare.
6143 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
6145         * vc/vc.el (ediff-vc-internal): Declare function.
6147 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6149         * shell.el: Use lexical-binding and std completion UI.
6150         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6151         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6152         comint-preoutput-filter-functions rather than on
6153         comint-output-filter-functions.
6154         (shell-command-completion, shell--command-completion-data)
6155         (shell-filename-completion, shell-environment-variable-completion)
6156         (shell-c-a-p-replace-by-expanded-directory): New functions.
6157         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6158         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6159         (shell-dynamic-complete-environment-variable): Use them.
6160         (shell-dynamic-complete-as-environment-variable)
6161         (shell-dynamic-complete-as-command): Remove.
6162         (shell-match-partial-variable): Match past point.
6163         * comint.el: Clean up use of completion-at-point-functions.
6164         (comint-completion-at-point): New function.
6165         (comint-mode): Use it completion-at-point-functions.
6166         (comint-dynamic-complete): Make it obsolete.
6167         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6168         (comint-c-a-p-replace-by-expanded-history): New function.
6169         (comint-dynamic-complete-functions)
6170         (comint-replace-by-expanded-history): Use it.
6171         * minibuffer.el (completion-table-with-terminator): Allow dynamic
6172         termination strings.  Try harder to avoid second try-completion.
6173         (completion-in-region-mode-map): Disable bindings that don't work yet.
6175         * comint.el: Use lexical-binding.  Require CL.
6176         (comint-dynamic-complete-functions): Use comint-filename-completion.
6177         (comint-completion-addsuffix): Tweak custom type.
6178         (comint-filename-completion, comint--common-suffix)
6179         (comint--common-quoted-suffix, comint--table-subvert)
6180         (comint--complete-file-name-data): New functions.
6181         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6182         (comint-dynamic-list-filename-completions): Use them.
6183         (comint-dynamic-simple-complete): Make obsolete.
6185         * minibuffer.el (completion-in-region-mode):
6186         Keep completion-in-region-mode--predicate global.
6187         (completion-in-region--postch):
6188         Assume completion-in-region-mode--predicate is not null.
6190         * progmodes/flymake.el (flymake-start-syntax-check-process):
6191         Obey `dir'.  Simplify.
6193         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6194         we're in VC after all.
6196 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
6198         * vc/vc.el (vc-diff-build-argument-list-internal)
6199         (vc-version-ediff, vc-ediff): New commands.
6200         (vc-version-diff): Use vc-diff-build-argument-list-internal.
6202 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6205         add sanity check.
6207         * obsolete/erc-hecomplete.el: Make obsolete.
6208         * obsolete/: Standardize obsolescence info in the header.
6210 2011-04-20  Glenn Morris  <rgm@gnu.org>
6212         * calendar/solar.el (solar-horizontal-coordinates):
6213         Use the longitude argument rather than `calendar-longitude'.
6214         (solar-date-next-longitude): Remove unused locals.
6216 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6218         * whitespace.el: New version 13.2.1.
6220 2011-04-20  felix  <EmacsWiki>  (tiny change)
6222         * whitespace.el (global-whitespace-mode): Keep highlight when
6223         switching between major modes on a file.
6225 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6227         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6228         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6229         multi-line comments as well.
6231 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
6233         Lexical-binding cleanup.
6235         * arc-mode.el (archive-mode-revert):
6236         * cmuscheme.el (scheme-interactively-start-process):
6237         * custom.el (custom-initialize-delay):
6238         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6239         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6240         * emacs-lock.el (emacs-lock-clear-sentinel):
6241         * ezimage.el (defezimage):
6242         * follow.el (follow-avoid-tail-recenter):
6243         * fringe.el (set-fringe-mode-1):
6244         * generic-x.el (bat-generic-mode-compile):
6245         * help-mode.el (help-info-variable, help-do-xref)
6246         (help-mode-revert-buffer):
6247         * help.el (view-emacs-todo):
6248         * iswitchb.el (iswitchb-completion-help):
6249         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6250         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6251         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6252         * locate.el (locate-update):
6253         * longlines.el (longlines-encode-region)
6254         (longlines-after-change-function):
6255         * outline.el (outline-isearch-open-invisible):
6256         * ps-def.el (declare-function, charset-dimension, char-width)
6257         (encode-char):
6258         * ps-mule.el (ps-mule-plot-string):
6259         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6260         (recentf-edit-list-select, recentf-edit-list-validate)
6261         (recentf-open-files-action):
6262         * rect.el (delete-whitespace-rectangle-line)
6263         (rectangle-number-line-callback):
6264         * register.el (window-configuration-to-register)
6265         (frame-configuration-to-register):
6266         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6267         * select.el (xselect-convert-to-string, xselect-convert-to-length)
6268         (xselect-convert-to-targets, xselect-convert-to-delete)
6269         (xselect-convert-to-filename, xselect-convert-to-charpos)
6270         (xselect-convert-to-lineno, xselect-convert-to-colno)
6271         (xselect-convert-to-os, xselect-convert-to-host)
6272         (xselect-convert-to-user, xselect-convert-to-class)
6273         (xselect-convert-to-name, xselect-convert-to-integer)
6274         (xselect-convert-to-atom, xselect-convert-to-identity):
6275         * subr.el (declare, ignore, process-kill-without-query)
6276         (text-clone-maintain):
6277         * terminal.el (te-get-char, te-tic-sentinel):
6278         * tool-bar.el (tool-bar-make-keymap):
6279         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6280         * type-break.el (type-break-mode, type-break-noninteractive-query):
6281         * view.el (View-back-to-mark):
6282         * wid-browse.el (widget-browse-action, widget-browse-widget)
6283         (widget-browse-widgets, widget-browse-sexp):
6284         * widget.el (define-widget-keywords):
6285         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6286         Mark unused parameters.
6288         * align.el (align-adjust-col-for-rule): Mark unused parameter.
6289         (align-areas): Remove unused variable `look'.
6290         (align-region): Remove unused variables `real-end' and `pos-list'.
6292         * apropos.el (apropos-score-doc): Remove unused variable `i'.
6294         * bindings.el (mode-line-modified, mode-line-remote):
6295         Mark unused parameters.
6296         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6298         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6299         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6301         * comint.el (comint-history-isearch-pop-state)
6302         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6303         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6304         (comint-substitute-in-file-name): Doc fix.
6306         * completion.el (cmpl-statistics-block): Mark unused parameter.
6307         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6308         (save-completions-to-file, load-completions-from-file):
6309         Remove unused local variable `e'.
6311         * composite.el (compose-chars): Remove unused variable `len'.
6312         (lgstring-insert-glyph): Remove unused variable `g'.
6313         (compose-glyph-string): Remove unused variables `ascent',
6314         `descent', `lbearing' and `rbearing'.
6315         (compose-glyph-string-relative): Remove unused variables
6316         `lbearing', `rbearing' and `wadjust'.
6317         (compose-gstring-for-graphic): Remove unused variables `header',
6318         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
6319         (compose-gstring-for-terminal): Remove unused variables `header'
6320         and `nchars'.  Use `let', not `let*'.
6322         * cus-edit.el (Custom-set, Custom-save, custom-reset)
6323         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6324         (Custom-buffer-done, custom-buffer-create-internal)
6325         (custom-browse-visibility-action, custom-browse-group-tag-action)
6326         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6327         (widget-magic-mouse-down-action, custom-toggle-parent)
6328         (custom-add-parent-links, custom-toggle-hide-variable)
6329         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6330         (custom-toggle-hide-face, face, hook, custom-group-link-action)
6331         (custom-face-menu-create, custom-variable-menu-create, get)
6332         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6333         (custom-reset-standard-save-and-update): Remove unused variable `value'.
6334         (customize-apropos): Remove unused variable `tests'.
6335         (custom-group-value-create): Remove unused variable `hidden-p'.
6336         (sort-fold-case): Declare.
6338         * cus-theme.el (custom-reset-standard-faces-list)
6339         (custom-reset-standard-variables-list): Declare.
6340         (customize-create-theme, custom-theme-revert, custom-theme-write)
6341         (custom-theme-choose-mode, customize-themes, custom-theme-save):
6342         Mark unused parameters.
6344         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6346         * delim-col.el (delimit-columns-max): Move defvar before first use.
6348         * descr-text.el (describe-char-categories): Don't quote `lambda'.
6349         (describe-char): Don't quote `lambda'.  Mark unused parameter.
6351         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6352         (auto-insert): Declare.
6353         (desktop-restore-file-buffer): Rename desktop-* parameters;
6354         mark unused ones.
6355         (desktop-create-buffer): Rename desktop-* parameters and bind them.
6356         (desktop-buffer): Rename desktop-* parameters.
6358         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6359         (dframe-reposition-frame-xemacs, dframe-help-echo)
6360         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6361         Mark unused parameters.
6363         * dired-aux.el (backup-extract-version-start, overwrite-query)
6364         (overwrite-backup-query, rename-regexp-query)
6365         (rename-non-directory-query): Declare.
6366         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6367         (dired-add-entry): Remove unused variable `orig-file-name'.
6368         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6369         Use parameter PRESERVE-TIME instead of accessing dynamic variable
6370         `dired-copy-preserve-time' directly.
6371         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6372         (dired-insert-subdir-newpos): Rename unused variable `pos'.
6374         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6375         (dired-virtual-revert, dired-make-relative-symlink):
6376         Mark unused parameters.
6377         (manual-program): Declare.
6378         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6379         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6380         wrapped in `with-no-warnings' to avoid replacing one warning by another.
6382         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6384         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6386         * echistory.el (electric-history-in-progress, Helper-return-blurb):
6387         Declare.
6389         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6391         * electric.el (Electric-command-loop): Rename parameter
6392         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6394         * expand.el (expand-in-literal): Remove unused variable `here'.
6396         * facemenu.el (facemenu-add-new-color):
6397         Remove unused variable `docstring'.
6399         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6400         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6401         (face-attr-construct): Mark unused parameter.  Doc fix.
6402         (read-color): Remove unused variable `hex-string'.
6404         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6405         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6406         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6407         (display-buffer-other-frame): Remove unused variable `old-window'.
6408         (kill-buffer-hook): Declare.
6409         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6410         Mark unused parameters.
6411         (after-find-file): Pass 1 to `auto-save-mode', not t.
6413         * files-x.el (auto-insert): Declare.
6414         (modify-file-local-variable-prop-line): Remove unused variable `val'.
6416         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
6417         variable `buf'.  Mark unused parameter.
6418         (find-lisp-insert-directory): Mark unused parameter.
6420         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6421         (format-encode-region): Remove unused variables `cur-buf' and `result'.
6422         (format-common-tail): Remove, unused.
6423         (format-deannotate-region): Remove unused variable `loc'.
6424         (format-annotate-region): Remove unused variable `p'.
6425         (format-annotate-single-property-change): Remove unused variables
6426         `default' and `tail'.
6428         * forms.el (read-file-filter): Declare.
6429         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6431         * frame.el (frame-creation-function-alist): Mark unused parameter.
6432         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6434         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6435         Remove unused parameters.
6436         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6437         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6439         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6440         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6441         (hfy-prepare-tag-map): Mark unused parameters.
6442         (htmlfontify-buffer): Use `called-interactively-p'.
6444         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6445         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6446         (ibuffer-do-occur): Mark unused parameters.
6447         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6448         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6450         * ibuffer.el: Don't quote `lambda'.
6451         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6452         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6453         Mark unused parameters.
6455         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6456         (ido-completing-read): Mark unused parameters.
6457         (ido-copy-current-word): Mark unused parameters;
6458         remove unused variable `name'.
6459         (ido-sort-merged-list): Remove unused parameter `dirs'.
6461         * ielm.el (ielm-input-sender): Mark unused parameter.
6462         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6463         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6464         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6465         `ielm-string' as a dynamic variable accessible from the IELM prompt.
6466         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
6468         * image-dired.el (image-dired-display-thumbs): Remove unused
6469         variables `curr-file' and `count'.
6470         (image-dired-remove-tag): Remove unused variable `start'.
6471         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6472         variable `curr-file'
6473         (image-dired-rotate-original): Remove unused variable `temp-file'.
6474         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6475         Remove unused variable `file'.
6476         (image-dired-gallery-generate): Remove unused variable `curr'.
6477         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6479         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6481         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6483         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6485         * isearch.el (minibuffer-history-symbol): Declare.
6486         (isearch-edit-string): Remove unused variable `err'.
6487         (isearch-message-prefix, isearch-message-suffix):
6488         Mark unused parameters.
6490         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6492         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6494         * makesum.el (double-column): Remove unused variable `cnt'.
6496         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6497         (ido-ignore-item-temp-list): Declare.
6499         * mouse-drag.el (mouse-drag-throw): Remove unused variables
6500         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6501         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6502         (mouse-drag-drag): Remove unused variables `mouse-delta' and
6503         `mouse-col-delta'.
6505         * mouse-sel.el (mouse-extend-internal):
6506         Remove unused variable `orig-window-frame'.
6508         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6509         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6510         Move declarations before first use.
6511         (pcomplete-opt): Mark unused parameters; doc fix.
6513         * proced.el (proced-revert): Mark unused parameter.
6514         (proced-send-signal): Remove unused variable `err'.
6516         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6517         Rename parameter PREFIX-ARG to ARG.
6518         (ps-basic-plot-string, ps-basic-plot-whitespace):
6519         Mark unused parameters.
6521         * replace.el (replace-count): Define.
6522         (occur-revert-function): Mark unused parameters.
6523         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6524         (isearch-case-fold-search, isearch-string): Declare.
6525         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6526         bind `case-fold-search'.  Remove unused variables `beg' and `end',
6527         and simplify.
6528         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6529         COUNT and bind `replace-count'.
6530         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6531         to COUNT.
6533         * savehist.el (print-readably, print-string-length): Declare.
6535         * shadowfile.el (shadow-expand-cluster-in-file-name):
6536         Remove unused variable `cluster'.
6537         (shadow-copy-file): Remove unused variable `i'.
6538         (shadow-noquery, shadow-clusters, shadow-site-cluster)
6539         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6540         (shadow-define-literal-group, shadow-define-regexp-group)
6541         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6543         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6544         (shell): Use `called-interactively-p'.
6545         (shell-directory-tracker): Remove unused variable `chdir-failure'.
6547         * simple.el (compilation-context-lines, comint-file-name-quote-list)
6548         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6549         (delete-backward-char): Remove unused variable `ocol'.
6550         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6551         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6552         (event-apply-hyper-modifier, event-apply-shift-modifier)
6553         (event-apply-control-modifier, event-apply-meta-modifier):
6554         Mark unused parameters.
6555         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6556         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6558         * speedbar.el (speedbar-ignored-directory-expressions)
6559         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6560         (speedbar-find-file, speedbar-dir-follow)
6561         (speedbar-directory-buttons-follow, speedbar-tag-find)
6562         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6563         (speedbar-buffers-line-directory, speedbar-buffer-click):
6564         Mark unused parameters.
6565         (speedbar-tag-file): Remove unused variable `mode'.
6566         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6568         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6570         * talk.el (talk): Remove unused variable `display'.
6572         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6573         (tar-write-region-annotate): Mark unused parameter.
6575         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6576         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6577         Declare them, wrapped in `with-no-warnings' to avoid replacing one
6578         warning by another.
6580         * time-stamp.el (time-stamp-string-preprocess):
6581         Remove unused variable `require-padding'.
6583         * tree-widget.el (widget-glyph-enable): Declare.
6584         (tree-widget-action): Mark unused parameter.
6586         * w32-fns.el (x-get-selection): Mark unused parameter.
6587         (autoload-make-program, generated-autoload-file): Declare.
6589         * wdired.el (wdired-revert): Mark unused parameters.
6590         (wdired-xcase-word): Remove unused variable `err'.
6592         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6593         (whitespace-help-scroll): Remove unused variable `data-help'.
6595         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6596         (widget-image-insert, widget-after-change, default)
6597         (widget-default-format-handler, widget-default-notify)
6598         (widget-default-prompt-value, widget-info-link-action)
6599         (widget-url-link-action, widget-function-link-action)
6600         (widget-variable-link-action, widget-file-link-action)
6601         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6602         (widget-field-prompt-internal, widget-field-action, widget-field-match)
6603         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6604         (widget-insert-button-action, widget-delete-button-action, visibility)
6605         (widget-documentation-link-action, widget-documentation-string-action)
6606         (widget-const-prompt-value, widget-regexp-match, symbol)
6607         (widget-coding-system-prompt-value)
6608         (widget-key-sequence-value-to-external, sexp)
6609         (widget-sexp-value-to-internal, character, vector, cons)
6610         (widget-choice-prompt-value, widget-boolean-prompt-value)
6611         (widget-color--choose-action): Mark unused parameters.
6612         (widget-item-match-inline, widget-choice-match-inline)
6613         (widget-checklist-match, widget-checklist-match-inline)
6614         (widget-group-match): Rename parameter VALUES to VALS.
6615         (widget-field-value-set): Remove unused variable `size'.
6616         (widget-color-action): Remove unused variables `value' and `start'.
6618         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
6619         variable `dir'.  Doc fix.
6620         (windmove-find-other-window): Don't pass it.
6622         * window.el (count-windows): Mark unused parameter.
6623         (bw-adjust-window): Remove unused variable `err'.
6625         * woman.el (woman-file-name): Remove unused variable `default'.
6626         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6627         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6628         (global-font-lock-mode): Declare.
6629         (woman-decode-region): Mark unused parameter.
6630         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6632         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6633         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6634         (x-dnd-handle-moz-url): Remove unused variable `title'.
6635         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6637         * xml.el (xml-parse-tag, xml-parse-attlist):
6638         Remove unused variable `pos'.
6640 2011-04-19  Glenn Morris  <rgm@gnu.org>
6642         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6643         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6644         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6645         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6646         * calendar/cal-html.el (cal-html-insert-minical):
6647         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6648         (calendar-mark-date-pattern):
6649         Prefix "unused" locals.
6651         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6652         optional argument `style'.
6654         * calendar/appt.el (appt-make-list):
6655         * calendar/cal-china.el (calendar-chinese-date-string):
6656         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6657         (diary-hebrew-yahrzeit):
6658         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6659         * calendar/calendar.el (calendar-generate-window):
6660         * calendar/time-date.el (time-to-days):
6661         Remove unused local variables.
6663 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
6665         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
6666         glyphless-char-display table.
6667         (tabulated-list-glyphless-char-display): New var.
6669 2011-04-18  Sam Steingold  <sds@gnu.org>
6671         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
6672         to acknowledgments.
6674 2011-04-17  Glenn Morris  <rgm@gnu.org>
6676         * calendar/diary-lib.el (diary-sexp-entry):
6677         * calendar/holidays.el (holiday-sexp):
6678         Set debug-on-error rather than the removed stack-trace-on-error.
6680 2011-04-16  Glenn Morris  <rgm@gnu.org>
6682         * progmodes/f90.el: Use lexical-binding.
6683         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
6685 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6687         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
6688         (mail-mode): Setup mailalias completion here instead.
6689         * mail/mailalias.el: Use lexical-binding.
6690         (pattern, mailalias-done): Declare dynamic.
6691         (mail-completion-at-point-function): New function, from mail-complete.
6692         (mail-complete): Use it.
6693         (mail-completion-expand): New function.
6694         (mail-get-names): Use it.
6695         (mail-directory, mail-directory-process, mail-directory-stream):
6696         Don't use `pattern' for lexically bound arg.
6698         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
6700         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
6701         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
6702         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
6704         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
6705         (byte-save-window-excursion, byte-temp-output-buffer-setup)
6706         (byte-interactive-p): Define them again, for use when inlining
6707         old code.
6709 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
6711         * loadup.el: Use `string-to-number', not `string-to-int'.
6713 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6715         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
6716         gud-gdb-complete-command.
6717         (gud-gdb-completions): New function, from gud-gdb-complete-command.
6718         (gud-gdb-completion-at-point): New function.
6719         (gud-gdb-completions): Remove.
6721 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
6723         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
6724         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
6725         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
6726         whether `executable-find' is bound.
6728         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
6730 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6732         * minibuffer.el (completion-in-region-mode-predicate)
6733         (completion-in-region-mode--predicate): New vars.
6734         (completion-in-region, completion-in-region--postch)
6735         (completion-in-region-mode): Use them.
6736         (completion--capf-wrapper): Also return the hook function.
6737         (completion-at-point, completion-help-at-point):
6738         Adjust and provide a predicate.
6740         Preserve arg names for advice of subr and lexical functions (bug#8457).
6741         * help-fns.el (help-function-arglist): Consolidate the subr and
6742         new-byte-code cases.  Add argument `preserve-names' to extract names
6743         from the docstring when needed.
6744         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
6745         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
6746         (ad-arglist): Use help-function-arglist's new arg.
6747         (ad-definition-type): Use cond.
6749 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
6751         * autorevert.el (auto-revert-handler):
6752         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
6753         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
6754         Don't quote lambda.
6756         * image-mode.el (image-transform-set-scale):
6757         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
6759 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6761         * net/network-stream.el (network-stream-open-starttls): Only do
6762         opportunistic STARTTLS upgrades if we have built-in gnutls support.
6763         Upgrades via gnutls-cli are too slow to be done opportunistically.
6765 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
6767         * dframe.el (dframe-current-frame): Remove spurious quote.
6769 2011-04-12  Glenn Morris  <rgm@gnu.org>
6771         * calendar/cal-tex.el (cal-tex-end-document):
6772         Try to automatically use latin1 input if needed.
6774         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
6775         Don't try to cons a mark onto an empty element.
6777 2011-04-11  Leo Liu  <sdl.web@gmail.com>
6779         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
6780         buffers.
6781         (ido-kill-buffer-at-head): Support killing virtual buffers.
6783 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
6785         * minibuffer.el (completion-show-inline-help): New var.
6786         (completion--do-completion, minibuffer-complete)
6787         (minibuffer-force-complete, minibuffer-complete-word):
6788         Inhibit minibuffer messages if completion-show-inline-help is nil.
6790         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
6791         to avoid interference from inline help (Bug#5849).
6793 2011-04-10  Leo Liu  <sdl.web@gmail.com>
6795         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6796         Fix typo.
6798 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
6800         * image-mode.el (image-toggle-display-image): Signal an error if
6801         not in Image mode.
6802         (image-transform-mode, image-transform-resize)
6803         (image-transform-set-rotation): Doc fix.
6804         (image-transform-set-resize): Delete.
6805         (image-transform-set-scale, image-transform-fit-to-height)
6806         (image-transform-fit-to-width): Handle image-toggle-display-image
6807         and image-transform-resize directly.
6809 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
6811         * doc-view.el (doc-view-fit-width-to-window)
6812         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
6813         New functions for fitting the shown image to the Emacs window size.
6814         (doc-view-mode-map): Add bindings for the new functions.
6816 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
6818         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
6819         Fix typo in docstring.
6821 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
6823         * files.el (file-size-human-readable): Produce one digit after
6824         decimal, like "ls -lh" does.
6826         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
6827         the file size representation.
6829         * simple.el (list-processes): If async subprocesses are not
6830         available, error out with a clear error message.
6832 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
6834         * help.el (help-form-show): New function, to be called from C.
6835         Put help-form output in a buffer named differently than *Help*.
6837 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
6839         * files.el (file-size-human-readable): New function.
6841         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
6842         computing the representation inline.  Don't require `cl'.
6844 2011-04-08  Glenn Morris  <rgm@gnu.org>
6846         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6848         * net/browse-url.el (browse-url-firefox):
6849         Test system-type, not system-configuration.
6851         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6852         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6853         Use log-edit-empty-buffer-p.  (Bug#7598)
6855         * net/rlogin.el (rlogin-process-connection-type): Simplify.
6856         (rlogin-mode-map): Initialize in the defvar.
6857         (rlogin): Use ignore-errors.
6859         * replace.el (occur-mode-map): Some fixes for menu items.
6861 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6863         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
6865 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
6867         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6868         issuing unused warnings.
6870         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6871         macro directly.
6873         * simple.el: Lisp reimplement of list-processes.  Based on an
6874         earlier reimplementation by Leo Liu, but using tabulated-list.el.
6875         (process-menu-mode): New major mode.
6876         (list-processes--refresh, list-processes):
6877         (process-menu-visit-buffer): New functions.
6879         * files.el (save-buffers-kill-emacs): Don't assume any return
6880         value of list-processes, which is undocumented anyway.
6882 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
6884         * emacs-lisp/tabulated-list.el: New file.
6886         * emacs-lisp/package.el: Use Tabulated List mode.
6887         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6888         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
6889         table format using Tabulated List mode variables.
6890         (package--push): New macro, replacing package-list-maybe-add.
6891         (package-menu--generate): Use package--push.  Renamed from
6892         package--generate-package-list.
6893         (package-menu-refresh, list-packages): Use it.
6894         (package-menu--print-info): Rename from package-print-package.
6895         Return insertion data instead of inserting it directly.
6896         (package-menu-describe-package, package-menu-execute):
6897         Use tabulated-list-get-id.
6898         (package-menu-mark-delete, package-menu-mark-install)
6899         (package-menu-mark-unmark, package-menu-backup-unmark)
6900         (package-menu-mark-obsolete-for-deletion):
6901         Use tabulated-list-put-tag.
6902         (package--list-packages, package-menu-revert)
6903         (package-menu-get-package, package-menu-get-version)
6904         (package-menu-sort-by-column): Functions deleted.
6905         (package-menu-package-list, package-menu-sort-key): Vars deleted.
6906         (package-menu--status-predicate, package-menu--version-predicate)
6907         (package-menu--name-predicate)
6908         (package-menu--description-predicate): Handle arguments in the
6909         Tabulated List format.
6910         (package-list-packages-no-fetch): Call list-packages.
6912 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
6914         * files.el (after-find-file-from-revert-buffer): Remove variable.
6915         (after-find-file): Don't bind it.
6916         (revert-buffer-in-progress-p): New variable.
6917         (revert-buffer): Bind it.
6918         Pass nil for `after-find-file-from-revert-buffer'.
6920         * saveplace.el (save-place-find-file-hook): Use new variable
6921         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6923 2011-04-06  Glenn Morris  <rgm@gnu.org>
6925         * Makefile.in (AUTOGEN_VCS): New variable.
6926         (autoloads): Use $AUTOGEN_VCS.
6928         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6929         * calendar/calendar.el (calendar-mode-map):
6930         Check for toolkit scroll bars.  (Bug#8305)
6932 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
6934         * minibuffer.el (completion-in-region--postch)
6935         (completion-in-region-mode): Remove unnecessary messages.
6937 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
6939         * font-lock.el (font-lock-refresh-defaults):
6940         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6941         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6943         * info.el (Info-directory-list, Info-read-node-name-2)
6944         (Info-split-parameter-string): Doc fixes.
6945         (Info-virtual-nodes): Reflow docstring.
6946         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6947         (Info-apropos-toc-nodes, info-finder, Info-get-token)
6948         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6949         Fix typos in docstrings.
6950         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6951         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6952         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6953         (Info-restore-desktop-buffer): Mark unused parameters.
6954         (Info-directory-find-file, Info-directory-find-node)
6955         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6956         (Info-virtual-index-find-node, Info-apropos-find-file)
6957         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
6958         Mark unused parameters; fix typos in docstrings.
6959         (Info-virtual-index): Remove unused local variable `nodename'.
6961 2011-04-05  Deniz Dogan  <deniz@dogan.se>
6963         * net/rcirc.el: Update my e-mail address.
6964         (rcirc-mode-map): Remove M-o binding.
6966 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
6968         * startup.el (command-line): Save the cursor's theme-face
6969         directly, instead of using face-override-spec.
6971         * custom.el (load-theme): Minor optimization in assigning faces.
6973 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
6975         * help-fns.el (describe-variable): Complete all variables having
6976         documentation, including keywords.
6977         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6979 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
6981         Convert to lexical-binding.
6983         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6984         (bs--get-marked-string, bs--get-modified-string)
6985         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6986         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6987         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6989         * ehelp.el (electric-help-execute-extended)
6990         (electric-help-ctrl-x-prefix):
6991         * hexl.el (hexl-revert-buffer-function):
6992         * linum.el (linum-after-change, linum-after-scroll):
6993         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6995         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6997 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
6999         * epa-dired.el:
7000         * epa-mail.el:
7001         * epa-hook.el:
7002         * epa-file.el:
7003         * epa.el:
7004         * epg.el: Use lexical binding.
7006 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
7008         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7010         * textmodes/flyspell.el (flyspell-word): Recognize default
7011         dictionary case for flyspell-mark-duplications-exceptions.
7012         Use regexp matching for languages.
7013         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7014         default dictionary (Bug#7926).
7016 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
7018         * emacs-lisp/package.el (package--with-work-buffer):
7019         Recognize https URLs.
7021         * net/network-stream.el: Move from gnus/proto-stream.el.
7022         Change prefix to network-stream throughout.
7023         (open-protocol-stream): Merge into open-network-stream, leaving
7024         open-protocol-stream as an alias.  Handle nil BUFFER args.
7026         * subr.el (open-network-stream): Move to net/network-stream.el.
7028 2011-04-02  Glenn Morris  <rgm@gnu.org>
7030         * find-dired.el (find-exec-terminator): New option.
7031         (find-ls-option): Test for -ls support.
7032         (find-ls-subdir-switches): Test for -b in find-ls-option.
7033         (find-dired, find-grep-dired): Doc fixes.
7034         (find-dired): Use find-exec-terminator.
7036         * find-dired.el (find-ls-option, find-ls-subdir-switches)
7037         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7038         (find-name-arg): Remove purecopy.
7040         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7041         (grep-compute-defaults): Check for `-exec COMMAND +' support.
7042         Set grep-find-use-xargs, grep-find-command, and grep-find-template
7043         accordingly.  Don't add the null-device if not needed.
7045         * files.el (save-some-buffers): Doc fix.
7047 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
7049         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7051 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
7053         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7054         Use `dolist' rather than `mapcar'.
7056 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7058         Add lexical binding.
7060         * subr.el (apply-partially): Use new closures rather than CL.
7061         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7062         (dolist, dotimes): Use slightly different expansion for lexical code.
7063         (functionp): Move to C.
7064         (letrec): New macro.
7065         (with-wrapper-hook): Use it and apply-partially instead of CL.
7066         (eval-after-load): Preserve lexical-binding.
7067         (save-window-excursion, with-output-to-temp-buffer): Turn them
7068         into macros.
7070         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7072         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7073         than the arglist.
7074         (help-add-fundoc-usage): Don't add `Not documented'.
7075         (help-function-arglist): Handle closures, subroutines, and new
7076         byte-code-functions.
7077         (help-make-usage): Remove leading underscores.
7078         (describe-function-1): Handle closures.
7079         (describe-variable): Use special-variable-p for completion.
7081         * files.el (lexical-binding): Declare safe.
7083         * emacs-lisp/pcase.el: Don't use destructuring-bind.
7084         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
7085         (pcase): Add `let' pattern.
7086         Change memoization so it actually works.
7087         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7088         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7089         <let>: New case.
7091         * emacs-lisp/macroexp.el: Use lexical binding.
7092         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
7093         Don't convert ' to #' without checking that it's indeed quoting
7094         a lambda.
7096         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
7097         Use eval-sexp-add-defvars.
7098         (eval-sexp-add-defvars): New fun.
7100         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7102         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7103         Don't autoload.
7104         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7105         than the internal `byte-compile-lambda'.
7106         (defmethod): Don't hide code under quotes.
7107         (eieio-defmethod): New `code' argument.
7109         * emacs-lisp/eieio-comp.el: Remove.
7111         * emacs-lisp/edebug.el (edebug-eval-defun)
7112         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7113         (edebug-toggle): Avoid `eval'.
7115         * emacs-lisp/disass.el (disassemble-internal): Handle new
7116         `closure' objects.
7117         (disassemble-1): Handle new byte codes.
7119         * emacs-lisp/cl.el (pushnew): Silence warning.
7121         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7122         (cl-byte-compile-throw): Remove.
7123         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7125         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7126         closures.
7128         * emacs-lisp/cconv.el: New file.
7130         * emacs-lisp/bytecomp.el: Use lexical binding instead of
7131         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
7132         (byte-compile-initial-macro-environment):
7133         Handle declare-function here.
7134         (byte-compile--lexical-environment): New var.
7135         (byte-stack-ref, byte-stack-set, byte-discardN)
7136         (byte-discardN-preserve-tos): New lap codes.
7137         (byte-interactive-p): Don't use any more.
7138         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7139         New macros.
7140         (byte-compile-lapcode): Use them and handle new lap codes.
7141         (byte-compile-obsolete): Remove.
7142         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7143         (byte-compile-arglist-warn): Check late def of inlinable funs.
7144         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7145         since they should have been expanded by now.
7146         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7147         (byte-compile-from-buffer): Remove unused second arg.
7148         (byte-compile-preprocess): New function.
7149         (byte-compile-toplevel-file-form): New function to distinguish
7150         file-form calls from outside from file-form calls from hunk-handlers.
7151         (byte-compile-file-form): Simplify.
7152         (byte-compile-file-form-defsubst): Remove.
7153         (byte-compile-file-form-defmumble): Simplify now that
7154         byte-compile-lambda always returns a byte-code-function.
7155         (byte-compile): Preprocess.
7156         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7157         Remove, not used any more.
7158         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7159         (byte-compile-make-args-desc): New funs.
7160         (byte-compile-lambda): Handle lexical functions.  Always return
7161         a byte-code-function.
7162         (byte-compile-reserved-constants): New var, to make up room for
7163         closed-over variables.
7164         (byte-compile-constants-vector): Obey it.
7165         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7166         (byte-compile-macroexpand-declare-function): New function.
7167         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7168         byte-code-functions.
7169         (byte-compile-form): Check obsolescence here.
7170         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7171         (byte-compile-variable-ref): Remove.
7172         (byte-compile-dynamic-variable-op): New fun.
7173         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7174         (byte-compile-variable-set): New funs.
7175         (byte-compile-discard): Add 2 args.
7176         (byte-compile-stack-ref, byte-compile-stack-set)
7177         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7178         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7179         macroexpand-all instead.
7180         (byte-compile-quote-form): Remove.
7181         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7182         (byte-compile-bind, byte-compile-unbind): New funs.
7183         (byte-compile-let): Handle let* and lexical binding.
7184         (byte-compile-let*): Remove.
7185         (byte-compile-catch, byte-compile-unwind-protect)
7186         (byte-compile-track-mouse, byte-compile-condition-case):
7187         Handle a new :fun-body form, used for lexical scoping.
7188         (byte-compile-save-window-excursion)
7189         (byte-compile-with-output-to-temp-buffer): Remove.
7190         (byte-compile-defun): Simplify.
7191         (byte-compile-stack-adjustment): New fun.
7192         (byte-compile-out): Use it.
7193         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7195         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7196         handler any more.
7198         * emacs-lisp/byte-opt.el: Use lexical binding.
7199         (byte-inline-lapcode): Remove (to bytecomp).
7200         (byte-compile-inline-expand): Pay attention to inlining to/from
7201         lexically bound code.
7202         (byte-compile-unfold-lambda): Don't handle byte-code-functions
7203         any more.
7204         (byte-optimize-form-code-walker): Don't handle save-window-excursion
7205         any more and don't call compiler-macros.
7206         (byte-compile-splice-in-already-compiled-code): Remove.
7207         (byte-code): Don't inline any more.
7208         (disassemble-offset): Receive `bytes' as argument rather than via
7209         dynamic scoping.
7210         (byte-compile-tag-number): Declare before first use.
7211         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7212         `return' even if make-spliceable.
7213         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7214         obsolete interactive-p.
7215         (byte-optimize-lapcode): Optimize new lap-codes.
7216         Don't trip up on new form of `byte-constant' lap code.
7218         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7220         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7222         * custom.el (custom-initialize-default, custom-declare-variable):
7223         Use `defvar'.
7225         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7226         New variables.
7227         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7228         (COMPILE_FIRST): Add macroexp and cconv.
7229         * makefile.w32-in: Mirror changes in Makefile.in.
7231         * vc/cvs-status.el:
7232         * vc/diff-mode.el:
7233         * vc/log-edit.el:
7234         * vc/log-view.el:
7235         * vc/smerge-mode.el:
7236         * textmodes/bibtex-style.el:
7237         * textmodes/css.el:
7238         * startup.el:
7239         * uniquify.el:
7240         * minibuffer.el:
7241         * newcomment.el:
7242         * reveal.el:
7243         * server.el:
7244         * mpc.el:
7245         * emacs-lisp/smie.el:
7246         * doc-view.el:
7247         * dired.el:
7248         * abbrev.el: Use lexical binding.
7250 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
7252         * info.el (info-display-manual): New function.
7254 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7256         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7258 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
7260         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
7261         an entry for that server in rcirc-authinfo.  (Bug#8385)
7263 2011-03-31  Glenn Morris  <rgm@gnu.org>
7265         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7267         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7269 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
7271         * progmodes/python.el (python-default-interpreter)
7272         (python-python-command-args, python-jython-command-args)
7273         (python-which-shell, python-which-args, python-which-bufname)
7274         (python-file-queue, python-comint-output-filter-function)
7275         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7276         variables and functions.
7278 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7280         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7281         (completion-in-region-mode): New minor mode.
7282         (completion-in-region): Use it.
7283         (completion-in-region--data, completion-in-region-mode-map): New vars.
7284         (completion-in-region--postch): New function.
7285         (completion--capf-misbehave-funs, completion--capf-safe-funs):
7286         New vars.
7287         (completion--capf-wrapper): New function.
7288         (completion-at-point): Use it to track well-behavedness of
7289         hook functions.
7290         (completion-help-at-point): New command.
7292 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
7294         * vc/add-log.el (add-change-log-entry): Don't use whitespace
7295         syntax class to search for whitespace on a single line
7296         (Message-ID: <4D938140.4030905@redhat.com>).
7298 2011-03-30  Leo Liu  <sdl.web@gmail.com>
7300         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7301         New commands.
7302         (edit-abbrevs-map): Bind them here.
7303         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
7305 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
7307         * allout.el (allout-hide-by-annotation, allout-flag-region):
7308         Reduce possibility of overlay leakage by making them volatile.
7310         * allout-widgets.el (allout-widgets-tally): Define as nil so the
7311         hash is not shared between buffers.  Mode initialization is
7312         responsible for giving it a useful starting value.
7313         (allout-item-span): Reduce possibility of overlay leakage by
7314         making them volatile.
7315         (allout-widgets-count-buttons-in-region): Add diagnostic function
7316         for tracking down button overlay leaks.
7318 2011-03-29  Leo Liu  <sdl.web@gmail.com>
7320         * ido.el (ido-read-internal): Use the default history var
7321         minibuffer-history if no HISTORY is specified.
7323 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
7325         * net/imap.el (imap-shell-open, imap-process-connection-type):
7326         Use imap-process-connection-type for 'shell' streams as well as
7327         Kerberos, SSL, other subprocesses.
7329 2011-03-28  Leo Liu  <sdl.web@gmail.com>
7331         * abbrev.el (abbrev-table-empty-p): New function.
7332         (prepare-abbrev-list-buffer): Place empty abbrev tables after
7333         nonempty ones.  (Bug#5937)
7335 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
7337         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7339 2011-03-27  Leo Liu  <sdl.web@gmail.com>
7341         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7342         for foreground and background colors.
7343         (ansi-color-make-color-map): Adapt.
7345 2011-03-25  Leo Liu  <sdl.web@gmail.com>
7347         * midnight.el (midnight-time-float): Remove.  Note it calculates
7348         the microsecond component incorrectly and seconds-to-time does the
7349         same job.
7350         Remove redundant (require 'timer).
7352         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7353         (ido-completions): Remove unused arguments.  (Bug#8329)
7355 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7357         * minibuffer.el (completion--flush-all-sorted-completions):
7358         Remove itself from hook.
7359         (completion-at-point): Let the functions perform the completion
7360         immediately and return nil or t.
7361         * comint.el (comint-dynamic-complete-functions): Now identical to
7362         completion-at-point-functions.
7363         (comint-dynamic-list-input-ring): Remove unused var `index'.
7364         (comint--match-partial-filename, comint--unquote&expand-filename):
7365         New funs, split from comint-match-partial-filename.
7366         (comint-dynamic-complete): Use completion-at-point.
7367         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7369 2011-03-24  Drew Adams  <drew.adams@oracle.com>
7371         * thingatpt.el: Support `defun'.
7373 2011-03-23  Leo Liu  <sdl.web@gmail.com>
7375         * abbrevlist.el: Move to obsolete/abbrevlist.el.
7377         * help-mode.el (help-mode-finish): Tweak regexp.
7379 2011-03-23  Glenn Morris  <rgm@gnu.org>
7381         * eshell/esh-opt.el (eshell-eval-using-options):
7382         Do not bind unused local variable `eshell-option-stub'.
7384         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7386 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7388         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7389         keymap variable in `with-no-warnings' to avoid a warning when the
7390         keymap has been already `defconst'ed.
7392 2011-03-22  Leo Liu  <sdl.web@gmail.com>
7394         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7395         encode all chars in abbrevs; otherwise use emacs-mule or
7396         utf-8-emacs.  (Bug#8308)
7398 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7400         * simple.el (backward-delete-char-untabify):
7401         Avoid warning about using `delete-backward-char'.
7403         * image.el (image-type-file-name-regexps): Make it variable.
7404         `imagemagick-register-types' modifies it, and the user may want
7405         to add new extensions for known image types.
7406         (imagemagick-register-types): Throw error if not using ImageMagick.
7408 2011-03-22  Leo Liu  <sdl.web@gmail.com>
7410         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7411         located before rcirc-prompt-end-marker.
7412         (rcirc-complete): Error if point is not after rcirc prompt.
7413         Handle the case when table is nil.
7414         (rcirc-user-authenticated): Define to fix compiler warning.
7416 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
7418         * custom.el (custom--inhibit-theme-enable): Make it affect only
7419         custom-theme-set-variables and custom-theme-set-faces.
7420         (provide-theme): Ignore custom--inhibit-theme-enable.
7421         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7422         (custom-enabling-themes): Delete variable.
7423         (enable-theme): Accept only loaded themes as arguments.
7424         Ignore the special custom-enabled-themes variable.
7425         (custom-enabled-themes): Forbid themes from setting this.
7426         Eliminate use of custom-enabling-themes.
7427         (custom-push-theme): Quote "changed" custom var entry.
7429 2011-03-21  Leo Liu  <sdl.web@gmail.com>
7431         * ido.el (ido-read-internal): Add ido-selected to history instead
7432         of user input.
7434 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7436         * subr.el (deferred-action-list, deferred-action-function):
7437         Mark obsolete.
7439 2011-03-21  Leo Liu  <sdl.web@gmail.com>
7441         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7442         change on 2011-02-13 (bug#8309).
7444         * minibuffer.el (read-file-name-function): Change default value.
7445         (read-file-name--defaults): Rename from read-file-name-defaults.
7446         (read-file-name-default): Rename from read-file-name.
7447         (read-file-name): Call read-file-name-function.
7449 2011-03-21  Glenn Morris  <rgm@gnu.org>
7451         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7452         Doc fixes.
7454 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
7456         * cus-theme.el: Add missing provide statement.
7457         (customize-create-theme): Extract theme value correctly.
7458         (custom-theme-visit-theme): Autoload.
7459         (customize-create-theme): Prompt before inserting default faces.
7461 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
7463         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7464         units and musical notes.
7466 2011-03-20  Leo  <sdl.web@gmail.com>
7468         * ido.el (ido-read-internal): Use completing-read-default.
7469         (ido-completing-read): Fix compatibility with completing-read.
7471 2011-03-20  Christian Ohler  <ohler@gnu.org>
7473         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7474         (ert-delete-all-tests): Use `called-interactively-p' rather than
7475         `interactive-p'.
7476         (ert--make-xrefs-region): Respect END.
7478 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
7480         * dired-aux.el (dired-create-directory): Signal an error if the
7481         directory already exists (Bug#8246).
7483         * facemenu.el (list-colors-display): Call list-faces-display
7484         inside with-help-window.
7485         (list-colors-print): Use display property to align the final
7486         column, instead of checking window-width.
7488 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
7490         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
7491         windows-nt systems.
7492         (emerge-protect-metachars): Quote correctly for ms-dos and
7493         windows-nt systems.
7495 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
7497         * info.el (info-initialize): Replace all uses of `:' with
7498         path-separator for compatibility with non-Unix systems.
7499         Cache quoting of path-separator.  (Bug#8258)
7501 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
7503         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7504         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7505         (mouse-avoidance-mode): Fix typos in docstrings.
7507 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
7509         * startup.el (package-subdirectory-regexp): Move from package.el.
7510         Omit \\` and \\', and let callers add them.
7512         * emacs-lisp/package.el (package-strip-version)
7513         (package-load-all-descriptors): Add \\` and \\' to
7514         package-subdirectory-regexp before using it.
7515         (package-untar-buffer): New arg DIR; ensure that file untars only
7516         into this expected directory.  Remove superfluous delete-region.
7517         (package-unpack): Caller changed.
7518         (package-tar-file-info): Use package-subdirectory-regexp.
7520 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7522         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7523         diff-mode-shared-map (bug#8284).
7524         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
7526 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7528         * calendar/time-date.el (format-seconds): Use assoc instead of
7529         assoc-string, since assoc-string doesn't exist in XEmacs.
7531 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
7533         * custom.el (custom-known-themes): Reflow docstring.
7534         (custom-theme-load-path): Fix typo in docstring.
7535         (load-theme): Fix typo in error message.
7536         (custom-available-themes, custom-variable-theme-value):
7537         Use `let', not `let*'.
7539 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
7541         * calc/README: Mention inclusion of musical notes.
7543         * calc/calc-units.el (calc-lu-quant): Rename from
7544         `calc-logunits-quantity'.
7545         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7546         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7547         (calc-db): Rename from `calc-dblevel'.
7548         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7549         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7550         (calc-np): Rename from `calc-nplevel'.
7551         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7552         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7553         (calc-lu-plus): Rename from `calc-logunits-add'.
7554         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7555         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7556         (calc-lu-minus): Rename from `calc-logunits-sub'.
7557         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7558         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7559         (calc-lu-times): Rename from `calc-logunits-mul'.
7560         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7561         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7562         (calc-lu-divide): Rename from `calc-logunits-div'.
7563         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7564         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7566         * calc/calc-ext.el (calc-init-extensions): Update the names of the
7567         functions being autoloaded.
7569         * calc/calc.el (calc-lu-power-reference): Rename from
7570         `calc-logunits-power-reference'.
7571         (calc-lu-field-reference): Rename from
7572         `calc-logunits-field-reference'.
7574         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7576 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * minibuffer.el (completion-all-sorted-completions):
7579         Use :completion-cycle-penalty text property if present.
7581 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
7583         * allout.el (allout-yank-processing): Adjust for new rebulleting
7584         regime so bullet being yanked is used without prompting the user
7585         for a choice.
7587 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
7589         * startup.el (command-line): Warn the user that _emacs is deprecated.
7591 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
7593         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7594         (delphi-verbose, delphi-comment-face, delphi-string-face)
7595         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7596         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7597         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7598         (delphi-new-comment-line, delphi-font-lock-defaults)
7599         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7600         Fix typos in docstrings.
7602 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
7604         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
7605         Invert the roles of character and string values for INSTEAD, so a
7606         string is used for the more common case of a defaulting prompt.
7608 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7610         * progmodes/ruby-mode.el (ruby-backward-sexp):
7611         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7612         * play/gamegrid.el (gamegrid-make-face):
7613         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7614         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7615         * notifications.el (notifications-notify):
7616         * net/xesam.el (xesam-search-engines):
7617         * net/quickurl.el (quickurl-list-insert):
7618         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7620 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
7622         * startup.el (command-line): Update package subdirectory regexp.
7624 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7626         * allout.el (allout-abbreviate-flattened-numbering)
7627         (allout-mode-deactivate-hook): Fix up obsolescence "date".
7629         * subr.el (read-char-choice): Only show the cursor after the prompt,
7630         not after the answer.
7632 2011-03-15  Kevin Ryde  <user42@zip.com.au>
7634         * help-fns.el (variable-at-point): Skip leading quotes, if any
7635         (bug#8253).
7637 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7639         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7640         warning message.
7642 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
7644         * shell.el (shell): When called interactively, offer to change the
7645         shell file name on remote hosts.
7647 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
7649         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7650         integration for LDAP parameters.  The host, base, user or binddn,
7651         and secret tokens can be specified in a netrc file, for instance.
7652         This is optional because an `auth-source' parameter must be
7653         specified in the search attributes.
7655 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
7657         * help.el (describe-mode): Link to the mode's definition (bug#8185).
7659 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7661         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
7662         into declaration.  Remove redundant and harmful binding.
7664 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
7666         * files.el (file-ownership-preserved-p): Pass `integer' as an
7667         explicit 2nd argument to `file-attributes'.  If the file's owner
7668         is the Administrators group on Windows, and the current user is
7669         Administrator, consider that a match.
7671         * server.el (server-ensure-safe-dir): Consider server directory
7672         safe on MS-Windows if its owner is the Administrators group while
7673         the current Emacs user is Administrator.  Use `=' to compare
7674         numerical UIDs, since they could be integers or floats.
7676 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
7678         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
7680 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
7682         Sync with Tramp 2.2.1.
7684         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7686         * net/trampver.el: Update release number.
7688 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7690         * progmodes/compile.el (compilation--previous-directory): Fix up
7691         various nil/dead-marker mismatches (bug#8014).
7692         (compilation-directory-properties, compilation-error-properties):
7693         Don't call it at a position past the one we're about to change.
7695         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
7696         Disable obsolescence warnings in the file that declares it.
7698 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
7700         * allout-widgets.el (allout-widgets-tally):
7701         Initialize allout-widgets-tally as a hash table rather than nil to
7702         prevent mode-line redisplay warnings.  Also, clarify the module
7703         description and fix a comment typo.
7705 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
7707         * help-fns.el (describe-variable): Don't complete keywords.
7708         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
7710 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
7712         * emacs-lisp/package.el (package-version-join): Impose a standard
7713         string representation for pre/alpha/beta version lists.
7714         (package-unpack-single): Standardize the directory name by passing
7715         it through package-version-join.
7716         (package-strip-rcs-id): Accept any version string that does not
7717         signal an error in version-to-list.
7719 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
7721         * simple.el (delete-trailing-whitespace): Return nil for the
7722         benefit of `write-file-functions'.
7724 2011-03-10  Glenn Morris  <rgm@gnu.org>
7726         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
7728         * vc/vc-git.el (vc-git-program): New option.
7729         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
7730         (vc-git--call): Use it.
7732         * eshell/esh-util.el (eshell-condition-case): Doc fix.
7734         * cus-edit.el (Custom-newline): If no button at point, look
7735         for a subgroup button at start-of-line.  (Bug#2298)
7737         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
7739 2011-03-10  Julien Danjou  <julien@danjou.info>
7741         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
7742         `cursor-type' is nil.
7744 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
7746         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
7748 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
7750         * allout.el Summary: Change so yank of distinctive-bullet items
7751         preserves the existing header prefix, rebulleting it if necessary,
7752         rather than replacing it.  This is necessary for proper operation
7753         of cooperative addons like allout-widgets.
7754         (allout-make-topic-prefix, allout-rebullet-heading): Change
7755         SOLICIT arg to INSTEAD, and interpret additionally a string value
7756         as alternate bullet to be used, instead of prompting the user for
7757         a bullet character.
7759 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
7761         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7762         Do not use `tramp-file-name-port', because this returns also
7763         `tramp-default-port'.
7765 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7767         * net/rcirc.el (rcirc-handler-001): Remove useless
7768         with-rcirc-process-buffer.
7769         (rcirc-check-auth-status): Swap arguments to string-match.
7771 2011-03-09  Glenn Morris  <rgm@gnu.org>
7773         * shell.el (shell-mode):
7774         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
7776         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
7777         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
7779 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
7781         * emacs-lisp/package.el (package-refresh-contents)
7782         (package-menu-execute): Use condition-case-no-debug.
7784 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
7786         * simple.el (shell-command-to-string): Use `process-file'.
7788         * emacs-lisp/package.el (package-tar-file-info): Handle also
7789         remote files.
7791         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7792         Use `equal' for upload base check.
7794 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
7796         * textmodes/texinfo.el (texinfo-environments):
7797         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
7799 2011-03-08  Glenn Morris  <rgm@gnu.org>
7801         * cus-start.el (cursor-in-non-selected-windows):
7802         Fix :set quoting oddness.  (Bug#8192)
7804         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7805         in some setf expressions.  (Bug#2159)
7807 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
7809         * custom.el (custom-available-themes): Return themes in
7810         alphabetical order.
7812 See ChangeLog.15 for earlier changes.
7814 ;; Local Variables:
7815 ;; coding: utf-8
7816 ;; End:
7818   Copyright (C) 2011  Free Software Foundation, Inc.
7820   This file is part of GNU Emacs.
7822   GNU Emacs is free software: you can redistribute it and/or modify
7823   it under the terms of the GNU General Public License as published by
7824   the Free Software Foundation, either version 3 of the License, or
7825   (at your option) any later version.
7827   GNU Emacs is distributed in the hope that it will be useful,
7828   but WITHOUT ANY WARRANTY; without even the implied warranty of
7829   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7830   GNU General Public License for more details.
7832   You should have received a copy of the GNU General Public License
7833   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.