* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
[emacs.git] / lisp / ChangeLog
blob8e693845a4ffe844db34c927dcfa3bc88804ff3f
1 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
3         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
4         and "scpx".
6 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
8         * doc-view.el (doc-view-set-doc-type): New function refactored
9         from doc-view-mode.
10         (doc-view-fallback-mode): New function.
11         (doc-view-mode): Use it.
12         (doc-view-mode-maybe): New function that checks if doc-view-mode
13         can be used and falls back to the next best mode otherwise.
15         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
16         DVI, OpenDocument, and MS Office files.
18 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
20         * emacs-lisp/rx.el (rx-syntax): Fix typo.
22 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
24         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
25         on a copy of auto-mode-alist, because that deletes with side
26         effects.
28 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
30         * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
31         normal-mode without doc-view-mode bindings in auto-mode-alist as
32         fallback instead of hard coding fundamental mode.
34 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
36         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
37         Office) files also for searching.
39 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
41         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
42         Office) files.  Not yet enabled via auto-mode-list.
43         (doc-view-unoconv-program): New custom variable.
44         (doc-view-mode-p): Handle new odf document type.
45         (doc-view-odf->pdf): New conversion function.
46         (doc-view-convert-current-doc): Call it for odf files.
47         (doc-view-mode): Recognize newly supported file extensions.
49 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
51         * net/tramp.el (tramp-default-method-alist)
52         (tramp-default-user-alist)
53         (tramp-local-host-regexp, tramp-prefix-domain-format)
54         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
56         * net/tramp-ftp.el:
57         * net/tramp-gvfs.el:
58         * net/tramp-gw.el:
59         * net/tramp-imap.el:
60         * net/tramp-sh.el:
61         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
62         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
64 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
66         * saveplace.el (save-place-alist-to-file): Save list sorted and
67         pretty-printed, so that it is mergeable by line-based text merging,
68         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
70 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
72         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
73         are handled by the menu-bar entries.  As before, don't use
74         :visibile to avoid changing the tool-bar.
76 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
78         * net/secrets.el (secrets-delete-alias): New defun.
80 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
82         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
83         methods, otherwise ~/.ssh/config would be ignored.
85 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
87         * emacs-lisp/rx.el: Make it a superset of sregex.
88         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
89         of args, add `regex' alias.
90         (rx-info): Add arg to distinguish head and standalone forms.
91         (rx-check, rx-form): Pass the corresponding arg.
92         (rx-**): Simplify.
93         (rx-repeat): Make it work for any number of args.
94         (rx-syntax): Make it accept syntax chars as is.
95         * obsolete/sregex.el: Move from emacs-lisp/.
96         * emacs-lisp/re-builder.el: Remove sregex support.
97         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
99 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
101         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
102         PRIMARY first, then the clipboard.  (Bug#7699)
104 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
106         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
107         print-number-table.
109 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
111         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
112         .emacs.elc (Bug#7530).
114         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
115         image spec (Bug#7480).
117 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
119         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
120         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
121         Move from lisp/.
123 2010-12-20  Leo  <sdl.web@gmail.com>
125         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
126         always be performed (Bug#7680).
128 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
130         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
131         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
132         mouse-region-match.
134         * color.el: Move from gnus/.
136         * vc/diff.el (diff-better-file-name): Function deleted.
137         abbreviating file names causes problems with shell-quote-argument.
138         (diff-no-select): Just use expand-file-name.
140         * tool-bar.el (tool-bar--image-expression): New function.
141         (tool-bar-local-item, tool-bar--image-exp): Use it.
142         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
143         Use :enable instead of :visible to avoid changing the tool-bar
144         configuration unnecessarily.
146         * info.el (info-tool-bar-map): Add separators.
148 2010-12-17  Ken Brown  <kbrown@cornell.edu>
150         * loadup.el: Use version numbers in Cygwin build.
152 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
154         * ido.el (ido-file-internal): Ask for confirmation before
155         overwriting an existing file (Bug#1238).
157 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
159         * tool-bar.el (tool-bar-setup): Add separators.
161         * menu-bar.el (featurep): Use menu-bar-separator.
163 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
165         Migrate allout encryption provisions from pgg to epg.
167         * allout.el (allout-toggle-current-subtree-encryption)
168         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
169         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
170         for simpler universal argument interpretation.
171         (allout-toggle-subtree-encryption):  Adjust docstring to describe
172         changed encryption provisions.  Change fetch-pass to keymode-cue, for
173         simpler universal argument interpretation.  Remove provisions for
174         handling key type and identity - they'll all be within
175         allout-encrypt-string or epg/epg or even contained all the way in gpg.
176         (allout-encrypt-string): Include keymode-cue, for optionally prompting
177         for keypair recipients (universal argument > 1) and, in addition,
178         associating the specified recipients with the outline (universal
179         argument > 4) using a file local variable setting for
180         'epa-file-encrypt-to'.
181         Require epa, for recipients handling.
182         Change how regexp filtering elements are named.
183         Describe the problem with caching of incorrect symmetric-decryption
184         keys.
185         Use the epa-passphrase-callback-function, in case the user is using
186         GnuPG v1.
187         Support saving of the selected keypair recipients when invoked with a
188         keymode-cue > 4.
189         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
190         Require 'epa.
191         Establish epg-context with armoring and default epg-protocol.
192         Remove all passphrase cache, verification, and hinting code.
193         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
194         No longer used, delete.
195         (allout-mode): Adjust docstring to describe changed encryption
196         provisions.  Describe the problem with caching of incorrect
197         symmetric-decryption keys.
198         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
199         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
200         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
201         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
202         Obsolete, remove.
204 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
206         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
207         key selection prompt; make 'silent as default (Bug#7487).
209 2010-12-16  Leo  <sdl.web@gmail.com>
211         * eshell/eshell.el (eshell-directory-name): Use
212         locate-user-emacs-file (Bug#7578).
214 2010-12-15  Glenn Morris  <rgm@gnu.org>
216         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
218 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
219             Scott Evans <gse@antisleep.com>
221         * rect.el (rectange--default-line-number-format)
222         (rectangle-number-line-callback): New functions.
223         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
225 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
227         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
228         Delete unused variables.
229         (move-to-column-force): Remove function obsolete since 21.2.
231 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
233         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
234         (tramp-handle-insert-file-contents): Do not set permanent-local
235         property.
237         * net/tramp-cache.el (tramp-persistency-file-name): Use
238         `locate-user-emacs-file' if fboundp.
240         * net/tramp-sh.el (tramp-methods): Add "ksu".
241         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
242         method list.
244 2010-12-14  Glenn Morris  <rgm@gnu.org>
246         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
247         (find-tag-marker-ring): Declare.
248         (js-find-symbol): Require etags.
250         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
251         Require mail-utils.
252         (mail-alias-file): Don't autoload.  Doc fix.
253         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
254         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
255         Mark as obsolete, and risky.
256         (mail-setup): Simplify.
258         * mail/mailalias.el (build-mail-aliases): Make it interactive.
259         * mail/sendmail.el (build-mail-aliases): Update autoload.
261         * dired.el (dired-trivial-filenames, dired-chown-program)
262         (dired-auto-revert-buffer): Remove autoload cookies.
263         * mail/sendmail.el (mail-recover-1): Require 'dired.
265         * dired.el (dired-subdir-switches, dired-chown-program)
266         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
267         Make into defcustoms.
268         (dired-chown-program): Simplify initialization.
270         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
272 2010-12-13  Romain Francoise  <romain@orebokech.com>
274         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
276 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
278         * net/netrc.el (netrc-point-at-eol): Remove the unused
279         netrc-point-at-old and netrc-bound-and-true-p bindings.
280         (netrc-parse): Cache the netrc contents.
282 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
284         * subr.el (posn-col-row): Evaluate header-line-format in the
285         context of the POSITION window's buffer.
287 2010-12-13  Glenn Morris  <rgm@gnu.org>
289         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
290         (with-silent-modifications): Doc fixes.
292 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
294         * net/tramp.el (tramp-action-password, tramp-process-actions):
295         Revert previous from.  Use `save-restriction'.
297 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
299         * calendar/diary-lib.el (diary-list-sexp-entries):
300         Handle case of no newline at end of file.  (Bug#7536)
302 2010-12-13  Glenn Morris  <rgm@gnu.org>
304         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
306 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
308         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
309         (tramp-process-actions): Do not widen.
311         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
312         Protect buffer-modified value.  (Bug#7557)
314 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
316         * log-edit.el (log-edit-changelog-entries):
317         Regexp quote filename.  (Bug#7505)
319 2010-12-13  Tom Breton  <tehom@panix.com>
321         * cus-edit.el (custom-save-all):
322         Bind print-length and print-level to nil.  (Bug#7581)
324 2010-12-13  Glenn Morris  <rgm@gnu.org>
326         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
327         Run hooks to update menu contents.  (Bug#7586)
329         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
330         file names, for the sake of MS Windows.  (Bug#7588)
332 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
334         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
335         empty lines without a leading space.
337 2010-12-13  Leo  <sdl.web@gmail.com>
339         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
340         while mapping over marks (Bug#6810).
342 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
344         * image-dired.el (image-dired-db-file)
345         (image-dired-temp-image-file, image-dired-gallery-dir)
346         (image-dired-temp-rotate-image-file): Set default values relative
347         to image-dired-dir (Bug#7518).
349 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
351         * format.el (format-decode-run-method): Pass args FROM and TO, not
352         point-min and point-max, to shell-command-on-region (Bug#7488).
354 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
356         * frame.el (blink-cursor-mode): Make default t for ns.
358 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
360         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
362 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
364         * comint.el (comint-dynamic-list-input-ring)
365         (comint-dynamic-complete-filename)
366         (comint-replace-by-expanded-filename)
367         (comint-dynamic-simple-complete)
368         (comint-dynamic-list-filename-completions)
369         (comint-dynamic-list-completions): Doc fix (Bug#7499).
371         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
372         Doc fix (Bug#7471).
374 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
376         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
377         (Bug#7533).
379 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
381         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
382         (Bug#7491).
384 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
386         * files.el (file-relative-name): Handle UNC file names on
387         DOS/Windows.  (Bug#4674)
389 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
391         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
392         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
393         (epg-context-set-passphrase-callback): Mention that the callback
394         is not called when used with GnuPG 2.x.
396 2010-12-13  Glenn Morris  <rgm@gnu.org>
398         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
399         Ensure ps-footer-font-size-internal is initialized.
400         Call ps-get-page-dimensions before trying to use ps-font-for-text.
402 2010-12-13  Kenichi Handa  <handa@m17n.org>
404         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
405         within condition-case.
406         (rmail-show-mime): Don't use condition-case.
407         (rmail-search-mime-message): New function.
408         (rmail-search-mime-message-function): Set to
409         rmail-search-mime-message.
411 2010-12-13  Leo  <sdl.web@gmail.com>
413         * ido.el (ido-common-initialization): New function.  (bug#3274)
414         (ido-mode): Use it.
415         (ido-completing-read): Call it.
417 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
419         * bookmark.el (bookmark-name-from-full-record): Rename back to
420         this original name from `bookmark-name-from-record' reverting part
421         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
422         As Drew Adams pointed out, there was no reason to cause churn for
423         third-party callers.
425 2010-12-12  Alan Mackenzie  <acm@muc.de>
427         * progmodes/cc-engine.el (c-forward-type): Before scanning a
428         template arglist, check that the current language supports this.
430 2010-12-11  Glenn Morris  <rgm@gnu.org>
432         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
433         state of the file matches.  (Bug#7544)
434         (vc-bzr-register, vc-bzr-checkin)
435         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
436         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
438         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
440 2010-12-11  Karel Klíč  <kklic@redhat.com>
442         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
444 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
446         Derive from prog-mode, use derived-mode-p, and fix up various
447         minor style issues in lisp/progmodes.
449         * progmodes/vhdl-mode.el (vhdl-mode):
450         * progmodes/verilog-mode.el (verilog-mode):
451         * progmodes/vera-mode.el (vera-mode):
452         * progmodes/sql.el (sql-mode):
453         * progmodes/scheme.el (scheme-mode):
454         * progmodes/perl-mode.el (perl-mode):
455         * progmodes/octave-inf.el (inferior-octave-mode):
456         * progmodes/autoconf.el (autoconf-mode):
457         * progmodes/m4-mode.el (m4-mode):
458         * progmodes/inf-lisp.el (inferior-lisp-mode):
459         * progmodes/idlwave.el (idlwave-mode):
460         * progmodes/icon.el (icon-mode):
461         * progmodes/idlw-help.el (idlwave-help-mode):
462         * progmodes/dcl-mode.el (dcl-mode):
463         * progmodes/idlw-shell.el (idlwave-shell-mode):
464         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
465         (ebrowse-member-mode, ebrowse-electric-position-mode):
466         Use define-derived-mode.
468         * progmodes/xscheme.el (exit-scheme-interaction-mode)
469         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
470         (xscheme-debugger-mode-p, xscheme-send-string-1):
471         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
472         (tcl-load-file, tcl-restart-with-file):
473         * progmodes/ps-mode.el (ps-run-running):
474         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
475         * progmodes/js.el (js--get-all-known-symbols):
476         * progmodes/inf-lisp.el (inferior-lisp-proc):
477         * progmodes/idlwave.el (idlwave-beginning-of-statement)
478         (idlwave-template, idlwave-update-buffer-routine-info)
479         (idlwave-update-current-buffer-info)
480         (idlwave-get-routine-info-from-buffers, idlwave-choose)
481         (idlwave-scan-class-info, idlwave-fix-keywords)
482         (idlwave-list-buffer-load-path-shadows):
483         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
484         (idlwave-toolbar-remove):
485         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
486         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
487         (idlwave-shell-menu-def):
488         * progmodes/idlw-complete-structtag.el
489         (idlwave-prepare-structure-tag-completion):
490         * progmodes/gud.el (gud-set-buffer):
491         * progmodes/f90.el (f90-backslash-not-special):
492         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
494         * progmodes/xscheme.el (xscheme-start)
495         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
496         * progmodes/which-func.el (which-function):
497         * progmodes/vhdl-mode.el (vhdl-set-style):
498         * progmodes/verilog-mode.el (verilog-set-compile-command)
499         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
500         (verilog-set-define, verilog-auto-reeval-locals):
501         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
502         * progmodes/simula.el (simula-mode):
503         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
504         * progmodes/python.el (python-check, python-mode):
505         * progmodes/prolog.el (prolog-mode-variables):
506         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
507         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
508         * progmodes/delphi.el (delphi-mode):
509         * progmodes/cc-styles.el (c-setup-paragraph-variables):
510         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
511         (c-font-lock-init): Move make-local-variable to their setq.
513         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
514         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
515         make-local-hook.
516         * progmodes/sh-script.el (sh-require-final-newline): Remove.
517         (sh-set-shell): Don't set require-final-newline since it's already done
518         by prog-mode.
519         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
520         since we never set it.
521         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
522         Use read-string and standard prompt.
523         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
524         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
525         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
526         (meta-common-mode-map): Rename from meta-mode-map.
527         Remove C-m binding, which is a user preference, not mode specific.
528         (meta-common-mode): New major mode; replace meta-common-initialization.
529         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
530         around with font-lock.
531         * progmodes/etags.el (select-tags-table-mode):
532         Derive from special-mode.
533         * progmodes/octave-mod.el (octave-mode):
534         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
535         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
536         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
537         Let define-derived-mode do its job.
538         * progmodes/cpp.el (cpp-edit-mode-map):
539         Move initialization into declaration.
540         (cpp-edit-mode): Use define-derived-mode.
541         (cpp-edit-load): Use derived-mode-p.
542         * progmodes/mixal-mode.el (mixal-mode):
543         * progmodes/f90.el (f90-mode):
544         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
545         require-final-newline since prog-mode does it already.
546         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
547         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
548         * progmodes/antlr-mode.el: Require cc-mode upfront.
549         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
550         the declaration.
551         (antlr-directory-dependencies, antlr-show-makefile-rules):
552         Use derived-mode-p.
553         (antlr-language-option): Don't assume point-min==1.
554         (antlr-mode): Use define-derived-mode.
555         * progmodes/ada-mode.el: Use derived-mode-p.
556         (ada-mode): Use define-derived-mode.
557         Use hack-local-variables-hook.
559 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
561         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
562         (texinfo-mode): Don't disable adaptive-fill-mode.
563         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
564         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
565         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
566         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
567         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
568         (texinfo-insert-@quotation, texinfo-insert-@samp)
569         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
570         (texinfo-insert-@uref): Use define-skeleton.
571         (texinfo-insert-@-with-arg): Delete.
573 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
575         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
576         nil, do quote archive member names.  (Bug#6144)
578 2010-12-10  Glenn Morris  <rgm@gnu.org>
580         * files.el (diff-no-select): Declare.
582         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
583         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
585         * comint.el (comint-input-ring-file-name): Doc fix.
587 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
589         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
590         New functions.
591         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
592         Use them instead of `nil' and `>', respectively.
593         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
594         instead of `nil'.
595         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
596         and menu-bar-positive-p instead of `nil' and `>', respectively.
597         (Bug#1077)
599 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
601         * whitespace.el (whitespace-newline-mode): Code fix.
603 2010-12-09  Glenn Morris  <rgm@gnu.org>
605         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
606         Rename functions without commas, update callers.
608 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
610         * whitespace.el (whitespace-cleanup-region):
611         Clean up spaces before tabs.  (Bug#7582)
613 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
615         * bookmark.el: Adjust parameter names and doc strings to resolve
616         confusion over whether "bookmark" meant a bookmark name or a
617         bookmark record.  Along the way, shorten one function's name for
618         similar reasons.  (Issue #7548)
619         (bookmark-name-from-record): New name for
620         `bookmark-name-from-full-record'.  All callers changed.
621         (bookmark-get-bookmark, bookmark-get-bookmark-record)
622         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
623         (bookmark-get-annotation, bookmark-set-annotation)
624         (bookmark-get-filename, bookmark-set-filename)
625         (bookmark-get-position, bookmark-set-position)
626         (bookmark-get-front-context-string, bookmark-set-front-context-string)
627         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
628         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
629         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
630         Rename `bookmark' parameter to `bookmark-name-or-record', to
631         clearly show its role, and shorten or adjust doc strings accordingly.
632         (bookmark-set-name): Same, and pass the parameter directly to
633         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
634         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
635         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
636         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
637         and in some cases shorten doc string accordingly.
638         (bookmark-rename): Change `old' and `new' parameters to `old-name'
639         and `new-name', and adjust an internal variable to avoid confusion.
640         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
641         parameter in doc string.
643 2010-12-08  Glenn Morris  <rgm@gnu.org>
645         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
646         from gdb's history file.  (Bug#7575)
648         * mail/emacsbug.el (report-emacs-bug):
649         Try to handle some other mail clients.
651 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
653         * files.el (dir-locals-collect-variables): Don't let errors stop us.
654         Use string-prefix-p.
655         (file-name-version-regexp): New var.
656         (file-name-sans-versions):
657         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
658         (jka-compr-get-compression-info): Use dolist.
659         (jka-compr-compression-info-list): Don't bother specifying
660         version/backup regexps.
662 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
664         * simple.el (just-one-space): Make argument n default to 1 if
665         omitted.
667 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * electric.el (electric-indent-post-self-insert-function):
670         Delete trailing newlines even if we don't reindent.
672 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
674         * minibuffer.el (completion-at-point): Remove the `arg'.
675         * bindings.el (complete-symbol): Move back from minibuffer.el.
677 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
679         * simple.el (just-one-space): Delete newlines for negative arg.
681 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
683         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
684         (ansi-color-filter-apply): Simplify.
685         (ansi-color-apply): Use `font-lock-face' rather than `face'.
687 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
689         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
691 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
693         * dired.el (dired-use-ls-dired): Set default to a special
694         "unspecified" value.
695         (dired-insert-directory): When called the first time, check
696         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
698 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
700         * replace.el: Add "collect" feature to occur.
701         (occur-collect-regexp-history): New var.
702         (occur-read-primary-args): Return a replace string for nlines,
703         if needed.
704         (occur): Extend the meaning of nlines.
706 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
708         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
709         (which-func-update-1): Distinguish symbols from strings.
710         (which-function): Stay within 80 columns.
712 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * subr.el (with-demoted-errors): Distinguish symbols from strings.
716         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
717         Improve docstring.
718         (comment-style): Use comment-styles's docs to describe values.
720 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
722         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
723         and ns-show-prefs (Bug#7535).
725         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
726         bindings (Bug#7535).
728 2010-12-03  Glenn Morris  <rgm@gnu.org>
730         * nxml/nxml-mode.el: Require rng-nxml.
731         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
732         Remove declarations.
734         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
735         * nxml/rng-nxml.el, nxml/rng-valid.el:
736         Remove leading `*' from defcustom docs.
738         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
739         (normal-top-level-add-to-load-path, tty-handle-args):
740         Convert comments to basic doc-strings.
742         * net/browse-url.el (browse-url-url-at-point)
743         (browse-url-default-browser): Remove autoload cookies.
745         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
746         Remove more undefined cl functions.
748         * vc/diff.el (diff-sentinel): Make new arguments optional.
749         * ibuf-ext.el (diff-sentinel): Update declaration.
751 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
753         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
754         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
755         (epg-context-set-passphrase-callback): Mention that the callback
756         is not called when used with GnuPG 2.x.
758 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
760         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
761         (tramp-file-name-port): Check also for `tramp-default-port'.
762         (tramp-get-connection-name): New defun.
763         (tramp-get-connection-process): Use it.
764         (tramp-debug-message): Extend function exclude list.
765         (tramp-drop-volume-letter): Fix doc string.
767         * net/tramp-cmds.el: Remove solved todo item.
769         * net/tramp-efs.el:
770         * net/tramp-ftp.el:
771         * net/tramp-gvfs.el:
772         * net/tramp-gw.el:
773         * net/tramp-imap.el:
774         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
775         and `tramp-default-user-alist', respectively.
777         * net/tramp-gw.el (tramp-gw-open-connection):
778         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
780         * net/tramp-imap.el (tramp-imap-make-iht): Use just
781         `tramp-file-name-port'.
783         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
784         and "psftp".  Exchange "%k" marker with options.
785         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
786         Compute size of link target.
787         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
788         `tramp-current-*' up due to gateway methods.  Optimze computing of
789         copy arguments.  Use `tramp-get-connection-name' and
790         `tramp-get-connection-buffer'.  Improve debug messages.
791         (tramp-compute-multi-hops): Remove port determination.
792         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
794         * net/trampver.el: Update release number.
796 2010-12-02  Glenn Morris  <rgm@gnu.org>
798         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
799         Avoid infinite loop over windows.  (Bug#7492)
801         * progmodes/flymake.el (flymake-check-file-limit):
802         Allow nil to mean "no limit".
803         (flymake-check-patch-master-file-buffer): Update for above change.
804         Allow a .tex file-name extension to be optional.
805         (flymake-master-tex-init): Also match \include statements.
807 2010-11-30  Sam Steingold  <sds@gnu.org>
809         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
810         (nxml-parent-document-set): A function to set `nxml-parent-document'.
811         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
812         (nxml-mode-hook): Remove `defcustom' (auto-defined by
813         define-derived-mode').
814         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
815         users who want to call `nxml-parent-document-set'.
817 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
819         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
820         stand-alone lines, since that is handled by log-edit-match-to-eoh
821         (Bug#6465).
823 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
825         * dired.el (dired-get-filename): Replace backslashes with slashes
826         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
827         * locate.el (locate-default-make-command-line): Don't consider
828         drive letter and root directory part of
829         `directory-listing-before-filename-regexp'.  (Bug#7308)
830         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
832 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
834         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
835         of :smie-open/close-alist.
836         (smie-next-sexp): Make it accept a "start token" as argument.
837         (smie-indent-keyword): Be careful not to misidentify tokens that span
838         more than one line, as empty lines.  Add argument `token'.
840 2010-11-27  Kenichi Handa  <handa@m17n.org>
842         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
843         multipart subtypes, insert all as usual.
845         * mail/rmail.el: Require rfc2047.
847 2010-11-27  Kenichi Handa  <handa@m17n.org>
849         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
850         (rmail-mime-entity-disposition)
851         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
852         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
853         (rmail-mime-save): Handle the case that the button's `data' is a
854         MIME entity.
855         (rmail-mime-insert-text): New function.
856         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
857         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
858         (rmail-mime-insert-bulk): New function mostly copied from the old
859         rmail-mime-bulk-handler.
860         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
861         (rmail-mime-process-multipart): New function mostly copied from
862         the old rmail-mime-multipart-handler.
863         (rmail-mime-show): Just call rmail-mime-process.
864         (rmail-mime-process): New function mostly copied from the old
865         rmail-mime-show.
866         (rmail-mime-insert-multipart, rmail-mime-parse)
867         (rmail-mime-insert, rmail-show-mime)
868         (rmail-insert-mime-forwarded-message)
869         (rmail-insert-mime-resent-message): New functions.
870         (rmail-insert-mime-forwarded-message-function): Set to
871         rmail-insert-mime-forwarded-message.
872         (rmail-insert-mime-resent-message-function): Set to
873         rmail-insert-mime-resent-message.
875         * mail/rmailsum.el: Require rfc2047.
876         (rmail-header-summary): Handle multiline Subject: field.
877         (rmail-summary-line-decoder): Change the default to
878         rfc2047-decode-string.
880         * mail/rmail.el (rmail-enable-mime): Change the default to t.
881         (rmail-mime-feature): Change the default to `rmailmm'.
882         (rmail-quit): Delete the specifal code for rmail-enable-mime.
883         (rmail-display-labels): Likewise.
884         (rmail-show-message-1): Check rmail-enable-mime, and use
885         rmail-show-mime-function for a MIME message.  Decode the headers
886         according to RFC2047.
888 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * progmodes/which-func.el (which-func-imenu-joiner-function):
891         Return a string, as expected.
892         (which-function-mode): Make sure we stop any previous timer before
893         starting a new one.
895 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
897         * net/tramp.el (tramp-default-method-alist)
898         (tramp-default-user-alist, tramp-default-proxies-alist):
899         Adapt custom options type.  (Bug#7445)
901 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
903         * progmodes/python.el: Add Ipython support (Bug#5390).
904         (python-shell-prompt-alist)
905         (python-shell-continuation-prompt-alist): New options.
906         (python--set-prompt-regexp): New function.
907         (inferior-python-mode, run-python, python-shell):
908         Require ansi-color.  Use python--set-prompt-regexp to set the comint
909         prompt based on the Python interpreter.
910         (python--prompt-regexp): New var.
911         (python-check-comint-prompt)
912         (python-comint-output-filter-function): Use it.
913         (run-python): Use a pipe (Bug#5694).
915 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
917         * progmodes/python.el (run-python): Doc fix.
918         (python-keep-current-directory-in-path): New var (Bug#7454).
920 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
922         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
923         Prompt user before actually printing.
925 2010-11-27  Glenn Morris  <rgm@gnu.org>
927         * startup.el (package-enable-at-startup, package-initialize):
928         Remove unnecessary declarations.
930 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
932         * international/characters.el (glyphless-char-display-control):
933         Exclude newline and TAB from the c0-control group.
935 2010-11-27  Glenn Morris  <rgm@gnu.org>
937         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
938         (expand-mail-aliases): Remove unnecessary autoload.
940         * allout.el (allout-command-prefix, allout-mode-map): Declare.
942         * shell.el (shell-dir-cookie-re): Move definition before use.
944         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
945         Replace undefined CL functions.
947 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
949         * simple.el (prog-mode): Set bidi-paragraph-direction to
950         left-to-right.
952         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
954 2010-11-26  Glenn Morris  <rgm@gnu.org>
956         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
957         diary-outlook-formats can be sensitive to calendar-date-style.
958         (diary-outlook-formats): Simplify the default setting.
959         (diary-from-outlook-internal): Pass subject and body as arguments.
960         Use dolist rather than dotimes.  Don't save the diary buffer.
961         (diary-from-outlook-gnus, diary-from-outlook-rmail):
962         Pass subject and body as explicit arguments to the -internal function.
964 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
966         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
967         parsing them.  This makes mailto:...?subject=foo\nbar work.
969 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
971         * vc/diff.el (diff): Fix last change.
973 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
975         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
976         (pcase--dontcare-upats): New var.
977         (pcase-let, pcase-let*): Generate better code.
978         Accept the same bodies as `let'.
979         (pcase-dolist): New macro.
980         (pcase--trivial-upat-p): New helper function.
981         (pcase--expand): Strip leading "(let nil" if any.
983 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
985         * mail/mailclient.el (browse-url): Require.
986         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
987         use the external browser function to send the mail (bug#7469).
989         * net/browse-url.el (browse-url-browser-function): Revert the
990         default back to the previous value, since the new value broke
991         mailclient.el.
992         (browse-url-mailto-function): New variable for mailto: URLs.
993         (browse-url): Use the new variable for mailto: URLs.
995 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
997         * eshell/esh-cmd.el (eshell-parse-command):
998         * eshell/esh-arg.el (eshell-parse-arguments):
999         * eshell/em-script.el (eshell-source-file):
1000         Use with-silent-modifications.
1002 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1004         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1005         for a merge location.
1007         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1008         (vc-bzr-merge-branch): Always prompt.
1009         (vc-bzr-async-command): Use the full branch filename.
1011 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1013         * shell.el (shell): Use current-buffer by default if it's already
1014         a shell mode buffer and its process is dead.
1015         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1017 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1019         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1020         Mention that the keywords should be comma separated.
1022 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1024         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1025         Accept optional prefix arg meaning to prompt for a command.
1026         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1027         prefix arg meaning to prompt for a command.
1028         (vc-pull): Alias for vc-update.
1030         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1031         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1032         (vc-bzr-merge-branch): New functions, implementing merge-branch
1033         and pull operations.
1035 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1037         * Makefile.in: Fix up last merge.
1039         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1040         (diff-sentinel): Get them as arguments instead.
1041         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1042         (diff-file-local-copy, diff-better-file-name): New funs.
1043         (diff-no-select): Rename from diff-into-buffer.
1044         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1045         Prefer closures to buffer-local variables.
1046         (diff): Adjust accordingly.
1047         (diff-buffer-with-file): Move from files.el.
1048         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1049         (diff-buffer-internal): Remove.
1050         (diff-buffer-buffer): Remove.
1051         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1052         the buffer name used, and so as not to mess up windows and frames.
1054 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1056         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1057         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1058         (diff-buffer-with-file): Use it.
1059         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1060         (diff): Use it.
1062 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1064         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1065         \ref's or \pageref's value as default instead of initial input.
1067 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1069         * files.el (backup-by-copying-when-mismatch): The default value is
1070         now t.
1072         * startup.el (normal-top-level):
1073         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1074         `backup-by-copying-when-mismatch'.
1076 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1078         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1080 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1082         * progmodes/python.el (python-font-lock-keywords):
1083         Highlight top-level augmented assignments (Bug#6445).
1085 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1087         * term/ns-win.el (ns-right-control-modifier)
1088         (ns-right-command-modifier): Defvar them.
1090         * cus-start.el (all): Add ns-right-control-modifier and
1091         ns-right-command-modifier (Bug#7458).
1093 2010-11-20  Glenn Morris  <rgm@gnu.org>
1095         * emacs-lisp/authors.el (authors-ignored-files)
1096         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1098 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1100         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1101         (report-emacs-bug-parse-query-results)
1102         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1103         keywords used for querying the bug database to show them in the
1104         existing bugs buffer.
1106 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1108         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1110         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1112 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1114         * international/characters.el (glyphless-char-display-control):
1115         Make it a defcustom, with update-glyphless-char-display as its
1116         :set attribute.
1117         (top level): Don't call update-glyphless-char-display.
1119 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1121         Sync with Tramp 2.2.0.
1123         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1124         `file-remote-p' (due to compatibility).
1126         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1127         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1129         * net/trampver.el: Update release number.
1131 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1133         * faces.el (glyphless-char): Define value for `pc'.
1135 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1137         Implemented a bug querying mechanism.
1138         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1139         (report-emacs-bug-create-existing-bugs-buffer)
1140         (report-emacs-bug-parse-query-results)
1141         (report-emacs-bug-query-existing-bugs): New functions.
1143 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1145         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1146         a \ref{} or \pageref{} macro, then use its value as initial input.
1148 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1150         * calc/calc-units.el (math-build-units-table-buffer):
1151         calc/README: Mention that the TeX specific units won't use the
1152         `tex' prefix in TeX mode.
1153         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1154         prefix for units in TeX mode.
1156 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1158         * simple.el (kill-new, kill-append, kill-region):
1159         * comint.el (comint-kill-region): Make the yank-handler argument
1160         obsolete.
1162 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1164         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1165         that are both openers (resp. closers) and something else.
1166         (smie-grammar): Loosen definition of valid values.
1167         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1168         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1169         (smie-indent-after-keyword): Adjust users.
1170         (smie-indent-keyword): Don't indent empty lines.
1172         * vc-hg.el (vc-hg-program): New var.
1173         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1174         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1176 2010-11-18  Glenn Morris  <rgm@gnu.org>
1178         * emacs-lisp/autoload.el (autoload-find-destination): The function
1179         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1181 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1183         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1185 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1187         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1189 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1191         * textmodes/picture.el (picture-mouse-set-point): Don't use
1192         posn-col-row; explicitly compute the motion based on the posn at
1193         the window-start (Bug#7390).
1195 2010-11-18  Glenn Morris  <rgm@gnu.org>
1197         * novice.el (disabled-command-function):
1198         Fix 2009-11-15 change.  (Bug#7384)
1200 2010-11-18  Glenn Morris  <rgm@gnu.org>
1202         * calendar/calendar.el (diary-iso-date-forms): Make elements
1203         mutually exclusive.  (Bug#7377)
1205 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1207         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1208         when filling the remaining "unconstrained" values.
1210 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1213         safety predicate.
1215         * files.el (safe-local-variable-p): Gracefully handle errors.
1217         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1218         Use smie-indent-virtual when indenting relative to an opener.
1219         (smie-rule-separator): Use smie-rule-parent.
1220         (smie-indent-keyword): Consult rules, even for openers at bol.
1221         (smie-indent-comment-close): Try to align closer's content.
1223 2010-11-18  Glenn Morris  <rgm@gnu.org>
1225         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1227 2010-11-18  Glenn Morris  <rgm@gnu.org>
1229         * printing.el (pr-menu-bind): Doc fix.
1231         * speedbar.el (speedbar-toggle-images): Doc fix.
1233         * progmodes/python.el (python-shell): Doc fix.
1235         * wid-edit.el (widget-field-use-before-change)
1236         (widget-use-overlay-change): Doc fixes.
1238 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         Minor cleanup to improve style.
1241         * textmodes/rst.el (rst-update-section): Use point-marker.
1242         (rst-get-decoration): Eliminate unneeded assignment.
1243         (rst-promote-region, rst-straighten-decorations)
1244         (rst-section-tree, rst-adjust): Use point-marker.
1245         (rst-toc-mode-mouse-goto): Avoid setq.
1246         (rst-shift-region-guts, rst-shift-region-left)
1247         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1248         (rst-convert-bullets-to-enumeration): Use copy-marker.
1250         * minibuffer.el (completion-fail-discreetly): New var.
1251         (completion--do-completion): Use it.
1253         * electric.el (electric-pair-pairs): New var.
1254         (electric-pair-post-self-insert-function): Use it.
1255         (electric-layout-post-self-insert-function): Don't insert a before
1256         newline unless it's actually needed.
1258 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1260         * progmodes/python.el (run-python): Explain why we remove the current
1261         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1263         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1265 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1267         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1268         (octave-mode-map): Don't bind ;, SPC, and LF.
1269         (octave-auto-indent, octave-auto-newline): Remove.
1270         (electric-layout-rules): Declare.
1271         (octave-mode): Set electric-layout-rules.
1272         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1273         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1274         (octave-electric-space): Remove.
1276         * electric.el (electric-layout-mode): New minor mode.
1277         (electric--after-char-pos): New function.
1278         (electric-indent-post-self-insert-function): Use it.
1279         (electric-layout-rules): New var.
1280         (electric-layout-post-self-insert-function): New function.
1281         (electric-indent-mode): Make them interact better.
1283 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1285         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1286         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1287         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1289 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1291         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1292         Make sure to check inside the word (Bug#6761).
1294 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1296         * startup.el (command-line): If the cursorColor resource is set,
1297         change the cursor face-spec (Bug#7392).
1299 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1301         The main features of the following allout.el changes are:
1302         - implement user customization for the allout key bindings
1303         - add a customization control by which the user can inhibit use of
1304           a trailing Ctrl-H, so by default it's reserved for use with
1305           describe-prefix-bindings
1306         - adapt to new version of called-interactively-p, while
1307           maintaining backwards compatibility with old version
1308         - fix hotspot navigation so i works properly with meta-modified keys
1310         * allout.el (allout-keybindings, allout-bind-keys)
1311         (allout-keybindings-binding, allout-prefixed-keybindings)
1312         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1313         (allout-keybindings-list, allout-mode-map-adjustments)
1314         (allout-setup-mode-map): Establish allout-mode keymaps as user
1315         customizable settings, and also establish a customizable setting which
1316         regulates whether or not a trailing control-h is reserved for use with
1317         describe-prefix-bindings - and inhibit it by default, so that control-h
1318         *is* reserved for describe-prefix-bindings unless the user changes it.
1320         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1321         and accurately between modified and unmodified events, and handle
1322         modified events more comprehensively.
1324         * allout.el (allout-substring-no-properties):
1325         Alias to use or provide version of `substring-no-properties'.
1326         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1328         * allout.el (allout-next-single-char-property-change):
1329         Alias to use or provide version of `next-single-char-property-change'.
1330         (allout-annotate-hidden, allout-hide-by-annotation):
1331         Use `allout-next-single-char-property-change'.
1333         * allout.el (allout-select-safe-coding-system):
1334         Alias to use or provide version of `select-safe-coding-system'.
1335         (allout-toggle-subtree-encryption):
1336         Use `allout-select-safe-coding-system'.
1338         * allout.el (allout-set-buffer-multibyte):
1339         Alias to use or provide version of `set-buffer-multibyte'.
1340         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1342         * allout.el (allout-called-interactively-p): Macro for using the
1343         different versions of called-interactively-p identically, depending on
1344         the subroutine's argument signature.
1345         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1346         Use `(interactive "p")' instead of `(called-interactively-p)'.
1348         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1349         (allout-previous-visible-heading, allout-forward-current-level)
1350         (allout-backward-current-level, allout-show-children):
1351         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1353         * allout.el (allout-before-change-handler):
1354         Exempt edits to the (overlaid) character after the allout outline
1355         bullet from edit confirmation prompt.
1357         * allout.el (allout-add-resumptions):
1358         Ensure that it respects correct buffer for keybindings.
1360         * allout.el (allout-beginning-of-line):
1361         Use `allout-previous-single-char-property-change' alias for the sake of
1362         diverse compatibility.
1364         * allout.el (allout-end-of-line):
1365         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1367 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1369         * frame.el (frame-notice-user-settings): Don't clobber other
1370         user-set parameters when calling face-set-after-frame-default in
1371         response to background-color parameter (Bug#7373).
1373 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
1375         * international/characters.el (glyphless-char-display-control):
1376         Rename from glyphless-char-control; all users changed.  Doc fix.
1377         Signal an error if display method is not one of the recognized
1378         symbols.
1380 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
1382         * net/tramp-compat.el (tramp-compat-line-beginning-position)
1383         (tramp-compat-line-end-position): Remove them.
1385         * net/tramp.el (tramp-parse-rhosts-group)
1386         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1387         (tramp-parse-hosts-group, tramp-parse-passwd-group)
1388         (tramp-parse-netrc-group, tramp-parse-putty-group)
1389         * net/tramp-cmds.el (tramp-append-tramp-buffers)
1390         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1391         (tramp-sh-handle-file-selinux-context)
1392         (tramp-sh-handle-file-name-all-completions)
1393         (tramp-sh-handle-insert-directory)
1394         (tramp-sh-handle-expand-file-name, tramp-find-executable)
1395         (tramp-wait-for-output, tramp-send-command-and-read)
1396         * net/tramp-smb.el (tramp-smb-read-file-entry)
1397         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1399         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1400         `point-at-bol'.
1401         (tramp-remote-coding-commands): Add an alternative using "base64
1402         -d -i".  This is needed for older base64 versions from GNU
1403         coreutils.  Reported by Klaus Reichl
1404         <Klaus.Reichl@thalesgroup.com>.
1406 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
1408         * simple.el (count-words-region): New function.
1410 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1412         * shell.el (shell-dir-cookie-re): New custom variable.
1413         (shell-dir-cookie-watcher): New function.
1415         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1416         and compilation-mode (bug#7350).
1418         * vc/smerge-mode.el (smerge-refine): Choose better default part to
1419         highlight when one of them is empty.
1421         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1422         trailing space.
1423         (skeleton-newline): New function.
1424         (skeleton-internal-1): Use it.
1426         * simple.el (open-line): `newline' may strip trailing space.
1428 2010-11-12  Kevin Ryde  <user42@zip.com.au>
1430         * international/mule-cmds.el (princ-list): Use mapc.
1432 2010-11-12  Glenn Morris  <rgm@gnu.org>
1434         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1435         Use it to replace all instances of "*Compile-Log*"
1437 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1439         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1440         indentation specs.
1442 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1444         * progmodes/modula2.el: Use SMIE and skeleton.
1445         (m2-mode-syntax-table): (*..*) can be nested.
1446         Add //...\n.  Fix paren syntax.
1447         (m2-mode-map): Remove LF and TAB bindings.
1448         (m2-indent): Add safety property.
1449         (m2-smie-grammar): New var.
1450         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1451         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1452         (m2-mode): Use define-derived-mode.
1453         (m2-newline, m2-tab): Remove.
1454         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1455         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1456         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1457         (m2-import): Use define-skeleton.
1459 2010-11-11  Glenn Morris  <rgm@gnu.org>
1461         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1463         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1464         (ls-lisp-verbosity): Add custom :set-after property.
1465         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1466         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1467         (ls-lisp-insert-directory): Update caller.
1468         (ls-lisp-set-options): New function.
1469         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1470         Doc fix.
1472         * play/landmark.el (lm-prompt-for-move):
1473         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1475         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1477         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1478         (idlwave-study-twins): Prefix dynamic local variable `name'.
1479         (idlwave-routine-twin-compare): Update for above change.
1481         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1482         Prefix dynamic local variables `name', `kwd', and `link'.
1483         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1484         * progmodes/idlw-complete-structtag.el
1485         (idlwave-complete-structure-tag-help):
1486         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1487         (idlwave-complete-sysvar-tag-help)
1488         (idlwave-complete-class-structure-tag-help):
1489         Update for above name changes.
1491 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1493         * net/browse-url.el (browse-url-browser-function): Change the
1494         default to use `browse-url-mail' on mailto: URLs.
1496 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
1498         * emacs-lisp/package.el (package-read-all-archive-contents):
1499         Reset package-archive-contents to nil before re-reading.
1501 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1503         * textmodes/flyspell.el (flyspell-word): Do not re-check words
1504         already found as misspellings by (flyspell-large-region), just
1505         do highlighting (bug#7322).
1507 2010-11-10  Glenn Morris  <rgm@gnu.org>
1509         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1511         * emulation/edt.el (edt-with-position): New macro.
1512         (edt-find-forward, edt-find-backward, edt-find-next-forward)
1513         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1514         (edt-paragraph-forward, edt-paragraph-backward): Use it.
1516         * emulation/tpu-extras.el (tpu-with-position): New macro.
1517         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1519         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1521         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1522         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1523         (texinfo-master-menu, texinfo-insert-node-lines)
1524         (texinfo-multiple-files-update):
1525         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1526         Use line-beginning-position.
1528         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1529         No recent Emacs supports system-type `emx'.
1531         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1532         (ada-command-separator, ada-default-prj-properties)
1533         (ada-find-any-references): Update for above name change.
1535         * dirtrack.el (dirtrack-directory-function)
1536         (dirtrack-canonicalize-function):
1537         * filecache.el (file-cache-completion-ignore-case)
1538         (file-cache-case-fold-search, file-cache-ignore-case):
1539         * term.el (serial-port-is-file-p): Cosmetic change.
1541         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1542         Remove non-existent `windows-95' system-type.
1543         * dired.el (dired-chown-program): Remove non-existent `linux'
1544         system-type.
1546         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1547         (ping-program-options): Remove non-existent `linux' system-type.
1549         * startup.el (package-initialize): Update declaration.
1551         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1552         (ls-lisp-handle-switches): Use time-less-p.
1553         (ls-lisp-format-time): Use float-time.
1555         * textmodes/remember.el (remember-time-to-seconds): Remove.
1556         (remember-store-in-mailbox): Use float-time.
1558         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1560         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1561         never a real function.
1562         (with-no-warnings): Remove compat stub, now unused.
1563         (time-less-p): Doc fix.
1564         (time-to-number-of-days): Simplify.
1566         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1567         Remove.
1568         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1569         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1570         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1571         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1572         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1574         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1575         (eshell-shuffle-files, eshell-shorthand-tar-command)
1576         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1577         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1578         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1579         Prefix dynamic local variable `matches'.
1581         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1582         Prefix dynamic local variable `skeleton'.
1584 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1586         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1587         in mail buffer; make yank-action always a command that yanks original
1588         buffer.
1590 2010-11-09  Glenn Morris  <rgm@gnu.org>
1592         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1594 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1596         * minibuffer.el (minibuffer-completion-help): Specify the end of the
1597         completion field (bug#7211).
1599         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1600         Fix handling of backslash escapes.
1601         (python-quote-syntax): Adjust accordingly.
1603 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
1605         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1606         (vc-mtn-workfile-branch): Adjust to new output format.
1608 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1610         * international/mule-cmds.el (princ-list): Mark as obsolete.
1612 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1614         * emacs-lisp/smie.el: New package.
1616 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
1618         * files.el (backup-by-copying-when-mismatch):
1619         Set `permanent-local' property.
1621         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1622         `permanent-local' property for `backup-by-copying-when-mismatch'.
1624 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
1626         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
1628 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
1630         * progmodes/verilog-mode.el (verilog-insert-one-definition)
1631         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1632         AUTOINOUT for SV style multidimensional arrays, bug294.
1633         Reported by Eric Mastromarchi.
1634         (verilog-preprocess): Use with-current-buffer and
1635         font-lock-fontify-buffer to cleanup style issues.
1637 2010-11-09  Glenn Morris  <rgm@gnu.org>
1639         * locate.el (locate, locate-mode): Doc fixes.
1641 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1643         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1644         user for confirmation.
1645         (server-force-stop): Use it.
1646         (server-start): Use server-force-stop for kill-emacs-hook, to
1647         avoid user interaction while killing Emacs.
1649 2010-11-09  Glenn Morris  <rgm@gnu.org>
1651         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1652         (meta-indent-line): Simplify.
1654         * vc/emerge.el (emerge-line-number-in-buf):
1655         * textmodes/ispell.el (ispell-region):
1656         * textmodes/fill.el (current-fill-column):
1657         * progmodes/xscheme.el (xscheme-send-current-line):
1658         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1659         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1660         * progmodes/sh-script.el (sh-handle-prev-do):
1661         * progmodes/meta-mode.el (meta-indent-line):
1662         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1663         (idlwave-in-quote):
1664         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1665         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1666         * progmodes/fortran.el (fortran-looking-at-if-then):
1667         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1668         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1669         (cperl-find-pods-heres):
1670         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1671         * net/quickurl.el (quickurl-list-insert):
1672         * net/ldap.el (ldap-search-internal):
1673         * net/eudc.el (eudc-expand-inline):
1674         * mail/sendmail.el (sendmail-send-it):
1675         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1676         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1677         (viper-brac-function):
1678         * calc/calc-yank.el (calc-do-grab-region):
1679         * calc/calc-keypd.el (calc-keypad-press):
1680         * term.el (term-move-columns, term-insert-spaces):
1681         * speedbar.el (speedbar-highlight-one-tag-line):
1682         * simple.el (current-word):
1683         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1684         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1685         (Info-scroll-down):
1686         * hippie-exp.el (he-line-beg):
1687         * epa.el (epa--marked-keys):
1688         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1689         (dired-update-file-line, dired-add-entry, dired-remove-entry)
1690         (dired-relist-entry):
1691         * buff-menu.el (Buffer-menu-buffer):
1692         * array.el (current-line):
1693         * allout.el (allout-resolve-xref)
1694         (allout-latex-verbatim-quote-curr-line):
1695         Replace yet more uses of end-of-line etc with line-end-position, etc.
1697 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1699         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1700         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1701         (checkdoc-syntax-table): Initialize in the declaration.
1702         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1703         the mode on unconditionally.
1705         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1706         (extent-end-position, extent-start-position): Remove setf method for
1707         non-existing functions (bug#7319).
1709 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1712         (smie-precs->prec2): Rename from smie-precs-precedence-table.
1713         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1714         (smie-prec2->grammar): Rename from smie-prec2-levels.
1715         (smie-grammar): Rename from smie-op-levels.
1716         (smie-indent--hanging-p): Rename from smie-hanging-p.
1717         (smie-rule-hanging-p): New alias.
1718         (smie-indent--bolp): Rename from smie-bolp.
1719         (smie-indent--hanging-p): New alias.
1720         (smie--token): New dynamically bound variable.
1721         (smie-indent--parent): New function.
1722         (smie-rule-parent-p): Use it; rename from smie-parent-p.
1723         (smie-rule-next-p): Rename from smie-next-p.
1724         (smie-rule-prev-p): Rename from smie-prev-p.
1725         (smie-rule-sibling-p, smie-rule-parent)
1726         (smie-indent--separator-outdent, smie-rule-separator): New functions.
1727         (smie-rule-separator-outdent): New var.
1728         (smie-indent--rule): Merge with smie-indent--column.
1729         (smie-indent-forward-token, smie-indent-backward-token):
1730         Also recognize close parens.
1731         (smie-indent-keyword): Don't use smie-indent--column any more.
1732         (smie-indent-after-keyword): Ignore closers by default.
1733         (smie-indent-line): Use with-demoted-errors.
1734         * progmodes/octave-mod.el (octave-smie-grammar):
1735         Rename from octave-smie-op-levels.
1736         (octave-smie-rules): Adjust to new behavior.
1737         * progmodes/prolog.el (prolog-smie-grammar):
1738         Rename from prolog-smie-op-levels.
1740 2010-11-07  Glenn Morris  <rgm@gnu.org>
1742         * eshell/esh-util.el (subst-char-in-string)
1743         (directory-files-and-attributes): These compatibility definitions are
1744         not needed on any version of Emacs since at least 21.4.
1746         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1747         (verilog-get-end-of-line): Remove.
1748         (verilog-within-string, verilog-re-search-forward-substr)
1749         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1750         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1751         Use point-at-bol, point-at-eol.
1752         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1753         Remove.
1754         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1755         (electric-pascal-terminate-line, pascal-set-auto-comments)
1756         (pascal-indent-paramlist, pascal-indent-declaration)
1757         (pascal-get-lineup-indent, pascal-func-completion)
1758         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1759         Use point-at-bol, point-at-eol.
1760         * progmodes/flymake.el (flymake-line-beginning-position)
1761         (flymake-line-end-position): Remove.
1762         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1763         * eshell/esh-util.el (line-end-position, line-beginning-position):
1764         Remove compat definitions.
1766         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1767         Use end-of-line N.
1768         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1769         Use line-end-position.
1771         * emacs-lisp/chart.el (chart-zap-chars):
1772         * play/decipher.el (decipher-set-map):
1773         * progmodes/ada-mode.el (ada-get-current-indent)
1774         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1775         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1776         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1777         (ada-get-all-references):
1778         * progmodes/cperl-mode.el (cperl-electric-paren)
1779         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1780         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1781         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1782         (cperl-word-at-point-hard):
1783         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1784         (idlwave-shell-filename-string, idlwave-shell-batch-command)
1785         (idlwave-shell-display-line):
1786         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1787         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1788         * progmodes/js.el (js--re-search-forward-inner)
1789         (js--re-search-backward-inner):
1790         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1791         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1792         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1793         * textmodes/flyspell.el (flyspell-process-localwords):
1794         * textmodes/ispell.el (ispell-buffer-local-parsing)
1795         (ispell-buffer-local-dict, ispell-buffer-local-words):
1796         Use point-at-bol and point-at-eol.
1798         * speedbar.el (speedbar-generic-item-info)
1799         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1800         (speedbar-add-indicator, speedbar-check-vc-this-line)
1801         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1802         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1803         Replace more uses of end-of-line etc with line-end-position.
1805 2010-11-06  Glenn Morris  <rgm@gnu.org>
1807         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1808         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1809         (texinfo-delete-existing-pointers, texinfo-find-pointer)
1810         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1811         (texinfo-multiple-files-update):
1812         * textmodes/table.el (table--probe-cell-left-up)
1813         (table--probe-cell-right-bottom):
1814         * textmodes/picture.el (picture-tab-search):
1815         * textmodes/page-ext.el (pages-copy-header-and-position)
1816         (pages-directory-for-addresses):
1817         * progmodes/vera-mode.el (vera-get-offset):
1818         * progmodes/simula.el (simula-calculate-indent):
1819         * progmodes/python.el (python-pdbtrack-overlay-arrow):
1820         * progmodes/prolog.el (end-of-prolog-clause):
1821         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1822         * progmodes/icon.el (indent-icon-exp):
1823         * progmodes/etags.el (tag-re-match-p):
1824         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1825         * progmodes/ebnf2ps.el (ebnf-begin-file):
1826         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1827         (dcl-save-local-variable):
1828         * play/life.el (life-setup):
1829         * play/gametree.el (gametree-looking-at-ply):
1830         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1831         * mail/sendmail.el (mail-mode-auto-fill):
1832         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1833         * emacs-lisp/edebug.el (edebug-overlay-arrow):
1834         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1835         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1836         (woman-tab-to-tab-stop, WoMan-warn-ignored):
1837         * type-break.el (type-break-file-keystroke-count):
1838         * term.el (term-replace-by-expanded-history-before-point)
1839         (term-skip-prompt, term-extract-string):
1840         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1841         (speedbar-contract-line, speedbar-toggle-line-expansion)
1842         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1843         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1844         * sort.el (sort-skip-fields):
1845         * skeleton.el (skeleton-internal-list):
1846         * simple.el (line-move-finish, line-move-to-column):
1847         * shell.el (shell-forward-command):
1848         * misc.el (copy-from-above-command):
1849         * makesum.el (double-column):
1850         * ebuff-menu.el (electric-buffer-update-highlight):
1851         * dired.el (dired-move-to-end-of-filename):
1852         * dframe.el (dframe-popup-kludge):
1853         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1854         * arc-mode.el (archive-get-lineno):
1855         Use line-end-position and line-beginning-position.
1857         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1858         (idlwave-study-twins): Prefix dynamic local `class'.
1859         (idlwave-routine-twin-compare): Update for above name change.
1861         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1862         Use boundp tests to silence compiler.  Update for changed name of
1863         bytecomp-filename variable.
1865         * emulation/viper-cmd.el (viper-read-string-with-history):
1866         Prefix dynamic local `initial'.
1867         (viper-minibuffer-standard-hook): Update for above name change.
1869         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1870         (elint-init-form): Update for above name change.
1872         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1873         local variables `cbeg' and `cend' a prefix.
1874         (mail-extr-voodoo): Update for above name change.
1876         * textmodes/reftex-toc.el (reftex-toc-do-promote)
1877         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1878         (reftex-toc-promote-action): Doc fix.
1880         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1881         `prompt', `data' a prefix.
1882         (reftex-select-post-command-hook, reftex-select-callback)
1883         (reftex-select-mouse-accept, reftex-select-read-cite):
1884         Update for above name changes.
1886         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1887         `refstyle' to reftex-refstyle.
1888         (reftex-offer-label-menu): Update for above name change.
1889         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1890         `refstyle' name change.
1892         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1893         with with-current-buffer.
1894         (diff, template): Give dynamic local variables a prefix.
1895         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1896         (emerge-line-number-in-buf): Update for above name change.
1897         (emerge-combine-versions-internal): Rename local `template' to
1898         emerge-combine-template.
1899         (emerge-combine-versions-edit): Update for above name change.
1901 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
1903         * textmodes/reftex-cite.el
1904         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1905         entries with whitespace after \bibitem.
1906         (reftex-create-bibtex-file): Match entries containing numbers and
1907         symbol constituents.  Make sure that entries with whitespace at
1908         various places are found.
1910 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
1912         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1914 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
1916         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1918 2010-11-05  Glenn Morris  <rgm@gnu.org>
1920         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1921         (woman2-roff-buffer): Give local variable `request' a prefix.
1922         (woman0-macro): Rename argument `request' in the same way.
1923         (woman-request): New name for `request' dynamic variable.
1924         (woman-unquote, woman-forward-arg): Update for above name change.
1925         (woman1-roff-buffer): Give local variable `unquote' a prefix.
1926         (woman1-unquote): New name for `unquote' dynamic variable.
1927         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1928         (woman-translations): Rename from `translations'.  No longer global.
1929         (woman2-tr, woman-translate): Update for above name change.
1930         (woman-translate): Check for bound variable.
1931         (woman2-roff-buffer): Give local variable `translations' a prefix.
1933         * play/doctor.el: Give all local variables a prefix.  Update callers.
1934         (doc$, doctor-put-meaning): Use backquote.
1936         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1937         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1939         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1940         variables bytes, ptr, op a prefix.
1941         (disassemble-offset): Update for above change.
1943 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1945         * emacs-lisp/package.el (package-unpack): Remove no-op.
1946         (package--builtins, package--dir): Doc fix.
1947         (package-activate-1, package-activate, package-install)
1948         (package-compute-transaction): Fix error message.
1949         (package-delete): Use delete-directory.  Omit system packages.
1950         (package-initialize): Set package-alist to nil first.
1951         (package-menu-mark-delete, package-menu-mark-install): Don't add
1952         symbols that are inconsistent with the package state.
1953         (package-menu-execute): Perform deletions and installations as
1954         single batch operations.
1956 2010-11-03  Glenn Morris  <rgm@gnu.org>
1958         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1959         (props): Remove unnecessary declaration.
1961         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1962         set-process-query-on-exit-flag.
1964         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1965         (reftex-toc-do-promote): Remove unused local `mpos'.
1966         (reftex-toc-restore-region): Make `mpos' local to this function.
1968         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1970         * play/landmark.el (lm-losing-threshold): Correct spelling.
1971         (lm-human-plays): Use new name.
1973         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1974         (gomoku-human-plays): Use new name.
1976         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1977         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1978         (gomoku-score-trans-table, gomoku-winning-threshold)
1979         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1981 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1983         * emacs-lisp/package.el: Don't put built-in packages in
1984         package-alist, to avoid loading inefficiencies.
1985         (package-built-in-p): Make VERSION optional, and treat it as a
1986         minimum acceptable version.
1987         (package-activate): Search separately for built-in packages.
1988         Emit a warning if a dependency fails.
1989         (define-package): Handle most common case, where there is no
1990         obsolete package, first.
1991         (package-compute-transaction): Print required version in error.
1992         (package--initialized): New variable.
1993         (list-packages): Use it.
1994         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1995         built-in packages in packages-alist; keep it separate.
1996         Set package--initialized.
1997         (describe-package): Avoid activating packages as a side-effect.
1998         Search separately for built-in packages.
1999         (describe-package-1): Handle the case where an elpa package is
2000         simultaneously built-in and available/installed.
2001         (package-installed-p, package--generate-package-list):
2002         Search separately for built-in packages.
2003         (package-load-descriptor): Doc fix.
2005 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2007         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2008         Handle __DATA__ and __END__.
2010 2010-11-02  Noah Friedman  <friedman@splode.com>
2012         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2013         nil, do not ask to recompile files that are not already compiled,
2014         and do not recompile them.
2016 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2018         * emacs-lisp/package.el (package-initialize): Ensure that
2019         obsoleted built-in packages are not in package-activated-list
2020         during activation.
2021         (describe-package-1): Make the "installed" status override
2022         "built-in".
2024 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2026         * subr.el (version-separator, version-regexp-alist): Remove '*'
2027         from docstring.
2028         (version-list-<=, version<=, version=): Doc fix.
2030 2010-11-01  Kenichi Handa  <handa@m17n.org>
2032         * faces.el (glyphless-char): Inherit underline for tty.
2034 2010-11-01  Kenichi Handa  <handa@m17n.org>
2036         Implement various display methods for glyphless characters.
2038         * international/characters.el (char-acronym-table): New variable.
2039         (glyphless-char-control): New variable.
2040         (update-glyphless-char-display): New funciton.
2042         * faces.el (glyphless-char): New face.
2044 2010-11-01  Glenn Morris  <rgm@gnu.org>
2046         * calendar/holidays.el (general-holidays, oriental-holidays)
2047         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2048         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2049         the definitions of their targets.
2051         * emacs-lisp/smie.el (smie): New custom group.
2052         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2054         * faces.el (xw-defined-colors, x-setup-function-keys):
2055         * mouse-sel.el (x-select-text):
2056         * term/w32console.el (x-setup-function-keys): Update declarations.
2058         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2060         * textmodes/ispell.el (comment-add): Declare.
2062         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2063         Declare.
2065         * info.el (finder-keywords-hash, package-alist): Declare.
2067 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2069         * finder.el (finder-compile-keywords): Don't use intern-soft,
2070         since package names may not yet exist in the obarray.
2072 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2074         * vc/vc-arch.el (vc-arch-checkin):
2075         * vc/vc-cvs.el (vc-cvs-checkin):
2076         * vc/vc-mtn.el (vc-mtn-checkin):
2077         * vc/vc-rcs.el (vc-rcs-checkin):
2078         * vc/vc-sccs.el (vc-sccs-checkin):
2079         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2080         since 2010-04-21 commit by Stefan Monnier.
2082 2010-11-01  Glenn Morris  <rgm@gnu.org>
2084         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2086         * startup.el (package-enable-at-startup, package-initialize):
2087         Silence compiler.
2089         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2090         Silence compiler.
2092 2010-10-31  Julien Danjou  <julien@danjou.info>
2094         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2095         (byte-recompile-directory):
2096         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2097         Use `byte-recompile-file'.
2099 2010-10-31  Glenn Morris  <rgm@gnu.org>
2101         * cus-start.el: Handle standard values via a keyword.
2102         Only set version property if specified.
2103         (cursor-in-non-selected-windows, menu-bar-mode)
2104         (tool-bar-mode, show-trailing-whitespace):
2105         Do not specify standard values.
2106         (transient-mark-mode, temporary-file-directory): Use :standard.
2108 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2110         * term/x-win.el (x-get-selection-value): New function that gets
2111         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2113 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2115         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2116         preserve owner and group when editing files.  (Bug#7289)
2118 2010-10-31  Glenn Morris  <rgm@gnu.org>
2120         * speedbar.el (speedbar-mode):
2121         * play/fortune.el (fortune-in-buffer, fortune):
2122         * play/gomoku.el (gomoku-mode):
2123         * play/landmark.el (lm-mode):
2124         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2125         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2127         * select.el (x-selection): Mark it as an obsolete alias.
2129 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2131         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2132         major-mode (bug#7284).
2134 2010-10-31  Glenn Morris  <rgm@gnu.org>
2136         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2137         rather than just an unused variable that inherits from the real one.
2139 2010-10-31  Alan Mackenzie  <acm@muc.de>
2141         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2142         This fixes bug #7185.
2144 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2146         * startup.el (command-line): Search for package directories, and
2147         don't load package.el if none are found.
2149         * emacs-lisp/package.el (describe-package, list-packages):
2150         Call package-initialize if it has not been called yet.
2152 2010-10-30  Alan Mackenzie  <acm@muc.de>
2154         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2155         which fontifies the tail of an enum.
2156         (c-basic-matchers-after): Insert a call to the above new function.
2157         This fixes bug #7264.
2159 2010-10-30  Glenn Morris  <rgm@gnu.org>
2161         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2162         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2163         Include the :set property in the dumped Emacs.
2165 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2167         SMIE: change indent rules format, improve smie-setup.
2168         * emacs-lisp/smie.el (smie-precs-precedence-table)
2169         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2170         Mark them pure so the tables gets built at compile time.
2171         (smie-bnf-precedence-table): Store the closer-alist in the table.
2172         (smie-prec2-levels): Preserve the closer-alist.
2173         (smie-blink-matching-open): Be more forgiving in case of indentation.
2174         (smie-hanging-p): Rename from smie-indent--hanging-p.
2175         (smie-bolp): Rename from smie-indent--bolp.
2176         (smie--parent, smie--after): New dynamic vars.
2177         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2178         (smie-indent-rules): Remove.
2179         (smie-indent--offset-rule): Remove fun.
2180         (smie-rules-function): New var.
2181         (smie-indent--rule): New fun.
2182         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2183         (smie-indent-exps): Use it.
2184         (smie-setup): Setup paren blinking; add keyword args for token
2185         functions; extract closer-alist from op-levels.
2186         (smie-indent-debug-log): Remove var.
2187         (smie-indent-debug): Remove fun.
2188         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2189         (prolog-smie-rules): New fun to replace it.
2190         (prolog-mode-variables): Simplify.
2191         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2192         it's setup automatically.
2193         (octave-smie-indent-rules): Remove.
2194         (octave-smie-rules): New fun to replace it.
2195         (octave-mode): Simplify.
2197 2010-10-29  Glenn Morris  <rgm@gnu.org>
2199         * files.el (temporary-file-directory): Remove (already defined in C).
2200         * cus-start.el: Add temporary-file-directory.
2202         * abbrev.el (abbrev-mode):
2203         * composite.el (auto-composition-mode):
2204         * menu-bar.el (menu-bar-mode):
2205         * simple.el (transient-mark-mode):
2206         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2207         that they do not define the associated variables twice.
2208         * simple.el (transient-mark-mode): Remove defvar.
2209         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2210         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2211         Handle multiple groups, and also custom-delayed-init-variables.
2212         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2214 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2216         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2217         (pcase-if): Add one minor optimization.
2218         (pcase-split-equal): Rename from pcase-split-eq.
2219         (pcase-split-member): Rename from pcase-split-memq.
2220         (pcase-u1): Add strings to the member optimization.
2221         Add `guard' variant of predicates.
2222         (pcase-q1): Add string patterns.
2224 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2226         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2228 2010-10-28  Glenn Morris  <rgm@gnu.org>
2230         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2231         Move menu-bar related settings to ../menu-bar.el.
2232         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2233         Move ns-specific settings here from term/ns-win.el.
2235         * simple.el (x-selection-owner-p): Remove unused declaration.
2237 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2239         * minibuffer.el (completion-cycling): New var (bug#7266).
2240         (minibuffer-complete, completion--do-completion):
2241         Use completion--flush-all-sorted-completions.
2242         (minibuffer-complete): Only cycle if completion-cycling is set.
2243         (completion--flush-all-sorted-completions): Unset completion-cycling.
2244         (minibuffer-force-complete): Set completion-cycling.
2245         (completion-all-sorted-completions): Move declaration before first use.
2247 2010-10-28  Leo  <sdl.web@gmail.com>
2249         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2250         which changes the order of matches seen by users (bug#7231).
2252 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
2254         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2255         Don't confuse -omega as "-o mega".
2257 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2259         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2260         (log-edit-author): New dynamic var.
2261         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2262         to return the author if different from committer.
2263         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2265         * play/landmark.el: Adjust commenting convention.
2266         (lm-nil-score): Rename from nil-score.
2267         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2268         (OOOOscore): Move into a let in lm-score-trans-table.
2269         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2271         * electric.el (electric-indent-chars): Autoload.
2272         * progmodes/octave-mod.el (octave-mode):
2273         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2274         (ruby-mode-abbrev-table): Merge initialization and declaration.
2276 2010-10-27  Glenn Morris  <rgm@gnu.org>
2278         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2279         variable.
2281         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2283         * term/ns-win.el: Restore require of cl when compiling.
2284         (menu-bar-final-items): Remove non-existent `windows' menu.
2285         (ns-handle-nxopen): Optionally handle the temp-case.
2286         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2287         (ns-insert-file, ns-find-file): Use `pop'.
2289 2010-10-26  Glenn Morris  <rgm@gnu.org>
2291         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2293 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
2295         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2296         global map.
2297         * term/common-win.el (x-setup-function-keys): Remove most of the
2298         keymappings.  Comment on the remaining ones.
2300 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
2302         * server.el (server-port): New option.  (Bug#854)
2303         (server-start): Use server-port.
2305 2010-10-26  Glenn Morris  <rgm@gnu.org>
2307         * term/ns-win.el (ns-version-string): Remove unused declaration.
2308         (ns-invocation-args): Change to x-invocation-args.
2309         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2310         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2311         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2312         Use x-invocation-args instead of ns-invocation-args.
2313         (ns-initialize-window-system, handle-args-function-alist):
2314         Use x-handle-args instead of ns-handle-args.
2315         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2316         * startup.el (command-line-ns-option-alist): Replace
2317         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2318         ns-handle-iconic with the x- equivalents.
2320         * term/common-win.el (x-select-enable-clipboard):
2321         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2323         * term/ns-win.el: No need to require cl when compiling.
2324         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2325         (xw-defined-colors): Use the common-win definitions.
2326         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2327         (ns-handle-iconic): Make it an alias for x-handle-iconic.
2328         * term/common-win.el (x-select-text, x-alternatives-map)
2329         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2330         * loadup.el [ns]: Load common-win.
2332 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
2334         * epa-mail.el (epa-mail-encrypt): Handle local-part only
2335         recipients; expand mail aliases (Bug#7280).
2337 2010-10-25  Glenn Morris  <rgm@gnu.org>
2339         * term/common-win.el (x-handle-switch): Simplify with pop.
2340         Optionally handle numeric switches.
2341         (x-handle-numeric-switch): Just call x-handle-switch.
2342         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2343         (x-handle-name-switch, x-handle-display, x-handle-args):
2344         Simplify with pop.
2346         * term/ns-win.el: Do not require easymenu.
2347         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2348         <spell>: Move adjustments to menu-bar.el.
2349         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2350         <separator-undo, spell>: Move ns-win's adjustments here.
2351         * loadup.el [ns]: Do not load easymenu.
2353 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2355         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2356         Delete (Bug#7222).
2358         * startup.el (fancy-startup-tail): Instead of using inline images,
2359         refer to image files from etc/.
2361         * wid-edit.el (checkbox): Likewise.
2362         (widget-image-find): Center image specs.
2364 2010-10-24  Glenn Morris  <rgm@gnu.org>
2366         * term/ns-win.el (x-select-text): Doc fix.
2367         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2368         (x-select-text): Move to term/common-win.
2369         * term/w32-win.el (xw-defined-colors): Move to common-win.
2370         * term/x-win.el (xw-defined-colors, x-alternatives-map)
2371         (x-setup-function-keys, x-select-text): Move to common-win.
2372         * term/common-win.el (x-select-text, x-alternatives-map)
2373         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2374         definitions here.
2376 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
2378         * net/mairix.el (mairix-searches-mode-map):
2379         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2381 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
2383         * verilog-mode.el (verilog-directive-re): Make this variable
2384         auto-built for efficiency of execution and updating.
2385         (verilog-extended-complete-re): Support 'pure' fucntion & task
2386         declarations (these have no bodies).
2387         (verilog-beg-of-statement): General cleanup to enable support of
2388         'pure' fucntion & task declarations (these have no bodies).
2389         These efforts together fix Verilog bug210 from veripool; which was also
2390         noticed by Steve Pearlmutter.
2391         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2392         (verilog-directive-nest-re, verilog-set-auto-endcomments):
2393         Support `elsif.  Reported by Shankar Giri.
2394         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2395         attribute handling for lining up declarations and assignments.
2396         (verilog-beg-of-statement-1): Fix issue where continued declaration
2397         is indented differently if it is after a begin..end clock.
2398         (verilog-in-attribute-p, verilog-skip-backward-comments)
2399         (verilog-skip-forward-comment-p): Support proper treatment of
2400         attributes by indent code. Reported by Jeff Steele.
2401         (verilog-in-directive-p): Fix comment to correctly describe function.
2402         (verilog-backward-up-list, verilog-in-struct-region-p)
2403         (verilog-backward-token, verilog-in-struct-p)
2404         (verilog-in-coverage-p, verilog-do-indent)
2405         (verilog-pretty-declarations): Use verilog-backward-up-list as
2406         wrapper around backward-up-list inorder to properly skip comments.
2407         Reported by David Rogoff.
2408         (verilog-property-re, verilog-endcomment-reason-re)
2409         (verilog-beg-of-statement, verilog-set-auto-endcomments)
2410         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2411         of if). Reported by Max Bjurling and
2412         (verilog-calc-1): Fix for clocking block in modport
2413         declaration. Reported by Brian Hunter.
2415 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
2417         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2418         (verilog-gate-keywords, verilog-read-sub-decls)
2419         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2420         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2421         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
2422         (verilog-read-decls): Fix spaces in V2K module parameters causing
2423         mis-identification as interfaces, bug287.
2424         (verilog-read-decls): Fix not treating "parameter string" as a
2425         parameter in AUTOINSTPARAM.
2426         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2427         treating `elsif similar to `endif inside AUTOSENSE.
2428         (verilog-do-indent): Implement correct automatic or static task or
2429         function end comment highlight. Reported by Steve Pearlmutter.
2430         (verilog-font-lock-keywords-2): Fix highlighting of single
2431         character pins, bug264.  Reported by Michael Laajanen.
2432         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2433         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2434         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2435         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
2436         (verilog-pretty-expr): Fix interactive arguments, bug272.
2437         Reported by Mark Johnson.
2438         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2439         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2440         bug269. Suggested by Gary Delp.
2441         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2442         (verilog-preprocessor, verilog-set-compile-command):
2443         Create verilog-preprocess and verilog-preprocessor to show
2444         preprocessed output.
2445         (verilog-get-beg-of-line, verilog-get-end-of-line)
2446         (verilog-modi-file-or-buffer, verilog-modi-name)
2447         (verilog-modi-point, verilog-within-string): Move defmacro's
2448         before first use to avoid warning. Reported by Steve Pearlmutter.
2449         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2450         (verilog-colorize-region, verilog-highlight-buffer)
2451         (verilog-highlight-includes, verilog-highlight-modules)
2452         (verilog-highlight-region, verilog-mode): Rename colorize to
2453         highlight to match other packages.  Disable module highlighting,
2454         as received speed complaints, reenable for experimentation only
2455         using new verilog-highlight-modules.
2456         (verilog-read-decls): Fix regexp stack overflow in very large
2457         AUTO_TEMPLATEs, bug250.
2458         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2459         (verilog-scan): Create verilog-save-buffer-state to standardize
2460         making insignificant changes that shouldn't call hooks.
2461         (verilog-save-no-change-functions, verilog-save-scan-cache)
2462         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2463         Create verilog-save-no-change-functions to wrap verilog-scan
2464         preservation, and fix to work with nested preserved calls.
2465         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2466         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2467         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
2468         (verilog-submit-bug-report): Update variable list to be complete.
2469         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2470         breaking on-the-fly font-locking.
2471         (verilog-colorize-buffer, verilog-colorize-include-files)
2472         (verilog-colorize-include-files-buffer, verilog-colorize-region)
2473         (verilog-load-file-at-mouse, verilog-load-file-at-point)
2474         (verilog-mode, verilog-read-inst-module-matcher): With point on a
2475         AUTOINST cell instance name, middle mouse button now finds-file on
2476         it.  Suggested by Brad Dobbie.
2477         (verilog-alw-get-temps, verilog-auto-reset)
2478         (verilog-auto-sense-sigs, verilog-read-always-signals)
2479         (verilog-read-always-signals-recurse): Fix loop indexes being
2480         AUTORESET. AUTORESET now assumes any variables in the
2481         initialization section of a for() should be ignored.
2482         Reported by Dan Dever.
2483         (verilog-error-font-lock-keywords)
2484         (verilog-error-regexp-emacs-alist)
2485         (verilog-error-regexp-xemacs-alist): Fix error detection of
2486         Cadence HAL, reported by David Asher.  Repair drift between the
2487         three similar error variables.
2488         (verilog-modi-lookup, verilog-modi-lookup-cache)
2489         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2490         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2491         Fix slow verilog-auto expansion on very large files.
2492         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2493         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2494         "{1*2{...".  Broke in last revision.
2495         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2496         submodule connections with replications "{#{a},#{b}}".
2498 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
2500         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2501         Fix typo in docstring.
2503 2010-10-24  Kenichi Handa  <handa@m17n.org>
2505         * face-remap.el (text-scale-adjust): Call read-event with a proper
2506         prompt.
2508 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2510         * emacs-lisp/unsafep.el: Don't mark functions that display
2511         messages as safe.  Suggested by Johan Bockgård.
2513 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2516         Turn comments into docstrings.
2518         * minibuffer.el (completion--replace): Move point where it belongs
2519         when there's a common suffix (bug#7215).
2521 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2523         Merge read-color and facemenu-read-color (Bug#7242).
2525         * faces.el (read-color): Use the completion code from
2526         facemenu-read-color.  Require match in completion.  Doc fix.
2528         * facemenu.el (facemenu-read-color): Alias for read-color.
2529         (facemenu-set-foreground, facemenu-set-background):
2530         Use read-color.
2532         * frame.el (set-background-color, set-foreground-color)
2533         (set-cursor-color, set-mouse-color, set-border-color):
2534         Use read-color.
2536 2010-10-24  Leo  <sdl.web@gmail.com>
2538         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2539         argument of delete-file and delete-directory (Bug#7011).
2541 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2543         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2544         button-buffer-map.
2546 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
2548         * emacs-lisp/package.el (package--generate-package-list): Make the
2549         *Packages* buffer read-only.
2551 2010-10-24  Alan Mackenzie  <acm@muc.de>
2553         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2554         result of `c-beginning-of-decl-1' between invocations of a lambda
2555         function (Bug #7265).
2557 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
2559         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2560         executable is not available on the system (Bug#7268).
2562 2010-10-24  Glenn Morris  <rgm@gnu.org>
2564         * select.el (selection-coding-system, next-selection-coding-system):
2565         Sync doc with C versions.
2567         * w32-vars.el (x-select-enable-clipboard):
2568         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2569         * term/common-win.el (x-select-enable-clipboard): Move here.
2571         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2572         definition of C variable.
2574         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2575         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2576         Don't redefine things that are defined in C.
2577         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2578         (show-trailing-whitespace, auto-hscroll-mode)
2579         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2580         Set up the appropriate custom properties.
2582 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2584         Bind "C-c ]" to ...
2585         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2586         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2587         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2588         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2590 2010-10-23  Glenn Morris  <rgm@gnu.org>
2592         * textmodes/flyspell.el (flyspell-mode): If there was an error,
2593         say what it was.
2595         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2596         Sync docs with C version.
2598         * term/ns-win.el (xw-defined-colors):
2599         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2601         * term/pc-win.el (x-select-enable-clipboard):
2602         * term/x-win.el (x-select-enable-clipboard):
2603         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2605         * comint.el (comint-password-prompt-regexp): Make it less vague.
2606         Bump version.
2608         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2610         * help.el (finder-by-keyword): Remove unnecessary autoload.
2612 2010-10-22  Glenn Morris  <rgm@gnu.org>
2614         * loadup.el: Unconditionally load float-sup.
2615         * paren.el (show-paren-delay):
2616         * emacs-lisp/float-sup.el:
2617         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2618         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2619         (lazy-lock-stealth-verbose): Assume float support.
2620         * ps-print.el: Assume float support on Emacs.
2621         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2622         Remove non-float branch.
2624         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2625         src/Makefile no longer being pre-processed.
2627 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2629         * emacs-lisp/find-func.el (find-library): Use test-completion.
2631 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2633         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2635 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
2637         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2638         space in stat format string.
2639         (tramp-send-command): Unset $PS1 when using here documents, in
2640         order not to get several prompts.
2641         (tramp-get-inline-coding): Return `nil' in case of errors.
2643 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
2645         * hexl.el (hexl-mode, hexl-mode-exit):
2646         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2647         (hexl-revert-buffer-function): New function.
2648         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2650 2010-10-19  Alan Mackenzie  <acm@muc.de>
2652         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2653         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2654         that these keywords aren't wrongly matched as identifiers.
2656         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2657         setting of c-new-BEG and c-new-END from c-before-change to
2658         c-after-change.  (Bug#7181)
2660 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2662         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2663         Don't mark as safe.
2665         * custom.el (custom-theme-set-variables): Likewise.
2666         (load-theme): Add custom-theme-set-faces and
2667         custom-theme-set-variables to safe-functions while loading.
2668         (custom-enabled-themes): Mark as risky.
2670 2010-10-18  Julien Danjou  <julien@danjou.info>
2672         * bindings.el: Remove end dashes in default mode-line-format.
2674 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2676         * bindings.el (global-map): Bind C-d to delete-char and deletechar
2677         to delete-forward-char.
2679         * simple.el (normal-erase-is-backspace-mode): Remap delete to
2680         deletechar, and hence delete-forward-char.
2682 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2684         * repeat.el (repeat): Use read-key (bug#6256).
2686 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2688         * emacs-lisp/unsafep.el: Don't mark functions that display
2689         messages as safe.  Suggested by Johan Bockgård.
2691 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2693         * minibuffer.el (completion--replace): Move point where it belongs
2694         when there's a common suffix (bug#7215).
2696 2010-10-19  Kenichi Handa  <handa@m17n.org>
2698         * international/characters.el: Add category '|' (word breakable)
2699         to fullwidth characters.
2701 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
2703         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2704         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2705         order to make stat results a float.  Patch by Andreas Schwab
2706         <schwab@linux-m68k.org>.
2708 2010-10-18  Julien Danjou  <julien@danjou.info>
2710         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2711         hidden by `make-pointer-invisible'.
2713 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2715         * files.el (locate-file-completion-table): Strip non-matching elements
2716         before checking length of list (bug#7238).
2718 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
2720         * custom.el (custom-theme-set-variables): Mark as a safe function.
2721         (load-theme): Check forms using unsafep.
2723         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2725 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
2727         * textmodes/ispell.el (ispell-aspell-find-dictionary):
2728         Fix aspell data file searching (bug#7230).
2730 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2732         * cus-theme.el (custom-theme--migrate-settings): New var.
2733         (customize-create-theme): Allow editing the `user' theme.
2734         (custom-theme-add-variable, custom-theme-add-var-1)
2735         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2736         to the front of each variable or face widget.
2737         (custom-theme-write): Save theme settings in the correct order.
2738         Optionally, remove saved settings from user customizations.
2739         (custom-theme-write-variables, custom-theme-write-faces):
2740         Save only the checked widgets.
2741         (customize-themes): Add a link for migrating custom settings.
2743         * custom.el (custom-declare-theme, provide-theme):
2744         Use custom-theme-name-valid-p.
2745         (custom-theme-name-valid-p): Remove checks that are now
2746         unnecessary since themes no longer obey load-path.
2748         * cus-edit.el (custom-variable-value-create): For the simple
2749         style, hide documentation string when hidden.
2751 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2753         * cus-edit.el (custom-variable, custom-face): Combine the
2754         :inhibit-magic and :display-style properties into a single
2755         :custom-style property.
2756         (custom-toggle-hide-variable, custom-toggle-hide-face):
2757         New functions.  If hiding an edited value, save it to :shown-value.
2758         (custom-variable-value-create, custom-face-value-create): Use them.
2759         (custom-magic-reset): Allow magic property to be unset.
2761         * custom.el: Custom themes no longer use load-path.
2762         (custom-theme-load-path): New option.  Change built-in theme
2763         directory to etc/.
2764         (custom-enabled-themes): Add custom-theme-load-path dependency.
2765         (custom-theme--load-path): New function.
2766         (load-theme, custom-available-themes): Use it.
2768         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2769         (customize-themes): Link to custom-theme-load-path variable.
2770         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2771         :custom-style property.
2773         * themes/*.el: Moved to etc/.
2775 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2777         * textmodes/reftex-cite.el
2778         (reftex-extract-bib-entries-from-thebibliography): Do not move
2779         point when searching for \bibitem entries.  Match entries with
2780         spaces or tabs in front of arguments.
2782 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2784         * cus-theme.el (customize-create-theme): Delete overlays after
2785         erasing.  If given a THEME arg, display only the faces of that arg
2786         instead of custom-theme--listed-faces.
2787         (custom-theme-variable-menu, custom-theme-variable-action)
2788         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2789         (custom-theme-add-variable, custom-theme-add-face): Apply value
2790         from the theme settings, instead of the current value.
2791         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2792         (custom-theme-visit-theme): Allow calling outside theme buffers.
2793         (custom-theme-merge-theme): Don't enable the theme when merging.
2794         (custom-theme-write-variables, custom-theme-write-faces): Use the
2795         :shown-value properties to save buffer values, not global ones.
2796         (customize-themes): Display a warning about user customizations.
2798         * cus-edit.el (custom-variable-value-create)
2799         (custom-face-value-create): Obey new special properties
2800         :shown-value and :inhibit-magic.
2802 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2804         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2805         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2806         <dale@codefu.org>.
2808 2010-10-14  Kenichi Handa  <handa@m17n.org>
2810         * mail/rmail.el (rmail-show-message-1): Catch an error of
2811         base64-decode-region and just show an error message (bug#7165).
2813         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2814         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2815         a font-spec (bug#7197).
2817 2010-10-14  Glenn Morris  <rgm@gnu.org>
2819         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2821 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2823         * international/mule.el (define-coding-system):
2824         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2825         * composite.el (compose-region): Fix typo in docstring.
2827 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2829         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2830         only after checking the theme-face property.
2832         * faces.el (face-spec-reset-face): Reset all attributes in one
2833         single call to set-face-attribute.
2834         (face-spec-match-p): Make it a defsubst.
2835         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2836         (x-create-frame-with-faces, tty-create-frame-with-faces)
2837         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2838         frame-set-background-mode, since they are recomputed immediately
2839         afterwards in face-set-after-frame-default.
2840         (face-set-after-frame-default): Minor optimization.
2841         (cursor): Provide non-trivial defface spec.
2843         * custom.el (custom-theme-recalc-face): Simplify.
2845 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2847         * calc/calc-alg.el (math-var): Rename from `var'.
2848         (math-is-polynomial, math-is-poly-rec): Replace `var'
2849         with `math-var'.
2851         * calc/calcalg2.el (math-var): Rename from `var'.
2852         (calcFunc-table, math-scan-for-limits): Replace `var'
2853         with `math-var'.
2855 2010-10-13  Glenn Morris  <rgm@gnu.org>
2857         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2859 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2861         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2863 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2865         * net/tls.el (tls-program): Remove spurious %s from openssl.
2866         (tls-starttls-switches): Remove starttls hack.
2867         (open-tls-stream): Ditto.
2868         (tls-find-starttls-argument): Ditto.
2870 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2872         * image.el (image-library-alist): Declare as obsolete alias.
2873         (image-type-available-p): Use `dynamic-library-alist'.
2875         * term/w32-win.el (dynamic-library-alist):
2876         Use instead of `image-library-alist'.
2878 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2880         * subr.el (last): Make it faster.  (Bug#7174)
2882 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2884         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2886 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2888         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2889         (describe-theme-1): Extract doc from unloaded themes.
2891         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2893         * themes/tango-theme.el:
2894         * themes/tango-dark-theme.el:
2895         * themes/wheatgrass-theme.el: New files.
2897 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2899         * cus-theme.el (describe-theme, customize-themes)
2900         (custom-theme-save): New commands.
2901         (custom-new-theme-mode-map): Bind C-x C-s.
2902         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2903         (customize-create-theme): New optional arg THEME.
2904         (custom-theme-revert): Use it.
2905         (custom-theme-visit-theme): Remove dead code.
2906         (custom-theme-merge-theme): Use custom-available-themes.
2907         (custom-theme-write): Make interactive.
2908         (custom-theme-write): Use custom-theme-name-valid-p.
2909         (describe-theme-1, custom-theme-choose-revert)
2910         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2911         New funs.
2912         (custom-theme-allow-multiple-selections): New option.
2913         (custom-theme-choose-mode): New major mode.
2915         * custom.el (custom-theme-set-variables): Remove dead code.
2916         Obey custom--inhibit-theme-enable.
2917         (custom--inhibit-theme-enable): New var.
2918         (provide-theme): Obey it.
2919         (load-theme): Replace load with manual read/eval, in order to
2920         check for correctness.  Use custom-theme-name-valid-p.
2921         (custom-theme-name-valid-p): New function.
2922         (custom-available-themes): Use it.
2924         * cus-edit.el (custom--initialize-widget-variables): New function.
2925         (Custom-mode): Use it.
2927         * cus-face.el (custom-theme-set-faces): Remove dead code.
2928         Obey custom--inhibit-theme-enable.
2930         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2932 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2934         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2936 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2938         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2939         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2940         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2942         * cus-start.el (all): ns-right-alternate-modifier is new.
2944 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2946         * emacs-lisp/lisp.el (lisp-completion-at-point):
2947         Use emacs-lisp-mode-syntax-table for the whole function.
2949 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2951         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2952         instead of font-lock-mode before adding keywords.
2953         Remove hi-lock-mode off code.  Remove inhibit hack.
2954         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2955         non-nil; removed hook inhibit hack.
2957 2010-10-12  Glenn Morris  <rgm@gnu.org>
2959         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2960         (load-path-shadows-find): ... to this.
2961         (list-load-path-shadows): Update for above change.
2963         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2965 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2967         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2968         Fix comment for declare-function.
2970 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2972         * custom.el (custom-fix-face-spec): New function; code moved from
2973         custom-face-edit-fix-value.
2974         (custom-push-theme): Use it when checking if a face has been
2975         changed outside customize.
2976         (custom-available-themes): New function.
2977         (load-theme): Use it.
2979         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2981         * custom.el (custom-push-theme): Cleanup (use cond).
2982         (disable-theme): Recompute the saved-face property.
2983         (custom-theme-recalc-face): Follow face alias before setting prop.
2985         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2986         New variables, containing checkbox images.
2988         * startup.el (fancy-startup-tail):
2989         * wid-edit.el (checkbox): Use them.
2991 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2993         * shell.el (shell-mode-map):
2994         * progmodes/modula2.el (m2-mode-map):
2995         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2996         * play/mpuz.el (mpuz-mode-map):
2997         * play/landmark.el (lm-mode-map):
2998         * play/decipher.el (decipher-mode-map):
2999         * play/5x5.el (5x5-mode-map):
3000         * net/telnet.el (telnet-mode-map):
3001         * net/quickurl.el (quickurl-list-mode-map):
3002         * net/mairix.el (mairix-searches-mode-map):
3003         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3004         * net/dig.el (dig-mode-map):
3005         * mail/mspools.el (mspools-mode-map):
3006         * hexl.el (hexl-mode-map):
3007         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3008         (wordstar-C-o-map, wordstar-C-q-map):
3009         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3010         * emacs-lisp/chart.el (chart-map):
3011         * edmacro.el (edmacro-mode-map):
3012         * erc/erc-list.el (erc-list-menu-mode-map):
3013         * array.el (array-mode-map): Declare and define in one step.
3015         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3017 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3019         * epa.el (epa-passphrase-callback-function): Display filename
3020         passed as the 3rd arg.
3021         * epa-file.el (epa-file-passphrase-callback-function):
3022         Pass filename to epa-passphrase-callback-function.
3024 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3026         * cus-edit.el (custom-face-widget-to-spec)
3027         (custom-face-get-current-spec, custom-face-state): New functions.
3028         (custom-face-set, custom-face-mark-to-save)
3029         (custom-face-value-create, custom-face-state-set): Use them.
3031         * cus-theme.el (custom-theme--listed-faces): New var.
3032         (customize-create-theme): Use *Custom Theme* as the buffer name.
3033         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3034         faces listed in custom-theme--listed-faces.
3035         (custom-theme-revert): New function.
3036         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3037         bottom of the list.
3038         (custom-theme-write): Prompt for theme name if empty.
3039         (custom-theme-write-variables): Use dolist.
3040         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3042 2010-10-09  Alan Mackenzie  <acm@muc.de>
3044         Enhance fontification of declarators to take account of the
3045         presence/absence of "typedef".
3047         * cc-engine.el (c-forward-type): New &optional param
3048         "brace-block-too".
3049         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3050         presence of either or both of a "struct"-like keyword and "typedef".
3052         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3053         fontification of declarators which follow a "}".
3054         (c-font-lock-declarations): Fontify declarators according to the
3055         presence/absence of "typedef".
3057         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3058         for "typedef".
3059         (c-typedef-decl-key): New lang variable built from
3060         c-typedef-decl-kwds.
3062 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3064         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3065         since that's too annoying.  Move the filter groups commands to
3066         TAB/backtab.
3068         * epa.el (epa-passphrase-callback-function): Say what we're
3069         querying the password for.
3071         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3072         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3074 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3076         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3077         (custom-magic-value-create): Pad button tags with spaces.
3078         (custom-face-edit): New variable.
3079         (custom-face-value-create): Determine whether to use the usual
3080         face editor here, instead of using custom-face-selected.
3081         Pass face defaults to custom-face-edit widget.
3082         (custom-face-selected, custom-display-unselected): Delete widgets.
3083         (custom-display-unselected-match): Function removed.
3084         (custom-face-set, custom-face-mark-to-save):
3085         Accept custom-face-edit widgets as the direct widget child.
3087         * wid-edit.el (widget--completing-widget): New var.
3088         (widget-default-complete): Bind it when doing completion.
3089         (widget-string-complete, widget-file-complete): Use it.
3091 2010-10-09  Glenn Morris  <rgm@gnu.org>
3093         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3094         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3095         (holiday-hebrew-misc): Small simplifications.
3097         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3099         * net/browse-url.el: Don't require thingatpt, term, dired,
3100         executable, or w3-auto when compiling.
3101         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3102         Declare.
3103         (browse-url-text-emacs): Require term.
3105 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3107         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3109 2010-10-08  Glenn Morris  <rgm@gnu.org>
3111         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3113         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3114         (shadows-compare-text-p): Make it an obsolete alias for...
3115         (load-path-shadows-compare-text): ... new name.
3116         (find-emacs-lisp-shadows): Update for above name change.
3117         (load-path-shadows-same-file-or-nonexistent): New name for the old
3118         shadow-same-file-or-nonexistent.
3120 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3122         * minibuffer.el (completion--some, completion--do-completion)
3123         (minibuffer-complete-and-exit, minibuffer-completion-help)
3124         (completion-basic-try-completion)
3125         (completion-basic-all-completions)
3126         (completion-pcm--find-all-completions): Use lexical-let to
3127         avoid some false matches in variable completion (Bug#7056)
3129 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
3131         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
3133 2010-10-08  Leo  <sdl.web@gmail.com>
3135         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3136         return non-nil if the file exists (Bug#7090).
3138 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3140         * minibuffer.el (completion--replace):
3141         Better preserve markers (bug#7138).
3143 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
3145         * server.el (server-process-filter): Doc fix.
3147 2010-10-08  Drew Adams  <drew.adams@oracle.com>
3149         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
3151 2010-10-08  Glenn Morris  <rgm@gnu.org>
3153         * vc/ediff-wind.el (ediff-setup-control-frame):
3154         * vc/ediff-ptch.el (ediff-default-backup-extension):
3155         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3156         (ediff-exec-process): Remove system-types emx, windows-95.
3158         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
3160 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
3162         * cus-edit.el (custom-variable, custom-face): Doc fix.
3163         (custom-face-edit): Add value-create attribute.
3164         (custom-face-edit-value-create)
3165         (custom-face-edit-value-visibility-action): New functions.
3166         Hide unused face attributes by default, and add a visibility toggle.
3167         (custom-face-edit-deactivate): Show empty values with shadow face.
3168         (custom-face-selected): Only use this for face specs with default
3169         attributes.
3170         (custom-face-value-create): Cleanup.
3172         * wid-edit.el (widget-checklist-value-create): Use dolist.
3173         (widget-checklist-match-find): Make second arg optional.
3175 2010-10-07  Glenn Morris  <rgm@gnu.org>
3177         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3178         Prefix things.
3180         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3181         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3182         load-path-shadows-mode, update references.
3183         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3184         Rename variable and button.
3185         (list-load-path-shadows): Update button caller.
3187 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3189         * emacs-lisp/smie.el (smie-bnf-classify): New function.
3190         (smie-bnf-precedence-table): Use it to remember the closers/openers.
3191         (smie-merge-prec2s): Handle those new entries.
3192         (smie-prec2-levels): Only set precedence to nil for actual
3193         openers/closers.
3194         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3195         that is now unnecessary.
3197 2010-10-07  Miles Bader  <miles@gnu.org>
3199         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3201 2010-10-07  Glenn Morris  <rgm@gnu.org>
3203         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3204         (mail-position-on-field): Remove declarations.
3205         (mail-position-on-field): Autoload it.
3206         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3207         and mail-header-end.  Don't require sendmail.
3209         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3210         (shadow-mode): New mode.
3211         (shadow-find-file): New button.
3212         (list-load-path-shadows): Use shadow-mode and buttons.
3214         * iimage.el (iimage-version): Remove.
3215         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3216         Turn into defcustoms.
3217         (iimage-mode-map): Give it a doc string.
3219         * calendar/appt.el (appt-activate): Give a warning rather than an error
3220         if there is no diary-file.
3222 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
3224         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3225         Use `tramp-handle-find-backup-file-name'.
3227 2010-10-06  Glenn Morris  <rgm@gnu.org>
3229         * font-core.el (font-lock-defaults-alist): Remove variable.
3230         (font-lock-mode): Doc fix.
3231         (font-lock-default-function): Do not consult font-lock-defaults-alist.
3232         * font-lock.el (font-lock-refresh-defaults): Doc fix.
3233         (font-lock-set-defaults): Doc fix.
3234         Do not consult font-lock-defaults-alist.
3236         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3238         * emacs-lisp/cl.el: No longer provide cl-19.
3240 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
3242         * net/tramp.el (tramp-handle-directory-files-and-attributes)
3243         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3244         New defuns, taken from tramp-smb.el.
3245         (tramp-coding-system-change-eol-conversion)
3246         (tramp-set-process-query-on-exit-flag): Remove.
3248         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3249         (tramp-compat-coding-system-change-eol-conversion)
3250         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3251         from tramp.el.
3253         * net/tramp-gvfs.el:
3254         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3255         by `tramp-compat-set-process-query-on-exit-flag'.
3257         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3258         Use `tramp-handle-directory-files-and-attributes',
3259         `tramp-handle-file-exists-p' and
3260         `tramp-handle-file-newer-than-file-p'.
3261         (tramp-imap-handle-file-exists-p)
3262         (tramp-imap-handle-file-executable-p)
3263         (tramp-imap-handle-file-readable-p)
3264         (tramp-imap-handle-directory-files-and-attributes)
3265         (tramp-imap-handle-file-newer-than-file-p): Remove.
3267         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3268         by `tramp-compat-set-process-query-on-exit-flag' and
3269         `tramp-coding-system-change-eol-conversion' by
3270         `tramp-compat-coding-system-change-eol-conversion'.
3272         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3273         Use `tramp-handle-directory-files-and-attributes',
3274         `tramp-handle-file-exists-p' and
3275         `tramp-handle-file-newer-than-file-p'.
3276         (tramp-smb-handle-directory-files-and-attributes)
3277         (tramp-smb-handle-file-exists-p)
3278         (tramp-smb-handle-file-newer-than-file-p): Remove.
3279         (tramp-smb-maybe-open-connection):
3280         Replace `tramp-set-process-query-on-exit-flag' by
3281         `tramp-compat-set-process-query-on-exit-flag'.
3283 2010-10-05  Glenn Morris  <rgm@gnu.org>
3285         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3287 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
3289         Continue reorganization of load dependencies.  (Bug#7156)
3291         * net/tramp.el (tramp-handle-file-local-copy-hook)
3292         (tramp-delete-temp-file-function): Move down.
3293         (tramp-exists-file-name-handler): Move up.
3294         (tramp-register-file-name-handlers): Simplify autoload.
3295         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3296         (tramp-handle-directory-files, tramp-handle-dired-uncache)
3297         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3298         (tramp-handle-file-name-completion)
3299         (tramp-handle-file-name-directory)
3300         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3301         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3302         (tramp-handle-find-backup-file-name)
3303         (tramp-handle-insert-file-contents, tramp-handle-load)
3304         (tramp-handle-substitute-in-file-name)
3305         (tramp-handle-unhandled-file-name-directory)
3306         (tramp-mode-string-to-int, tramp-local-host-p)
3307         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3309         * net/tramp-gvfs.el (top):
3310         * net/tramp-smb.el (top): Do not require 'tramp-sh.
3312         * net/tramp-sh.el (all): Move several objects to tramp.el, see
3313         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3315 2010-10-04  Glenn Morris  <rgm@gnu.org>
3317         * calendar/appt.el (appt-add): Ensure reminders are enabled.
3318         (appt-activate): Give status messages.
3320 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3322         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
3323         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3324         `gnutls-negotiate' (formerly `starttls-negotiate').
3325         Remove trivial wrapper `starttls-open-stream'.
3327 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
3329         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3330         log-outgoing commands.
3331         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3332         to create a buffer local revert-buffer-function variable.
3333         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3334         revert-buffer-function lambda.
3336 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3338         * net/gnutls.el (starttls-negotiate): Use the plist interface to
3339         `gnutls-boot'.  Make TYPE the only required parameter.
3340         Allow TRUSTFILES and KEYFILES to be lists.
3341         (open-ssl-stream): Use it.
3343 2010-10-03  Glenn Morris  <rgm@gnu.org>
3345         * subr.el (directory-sep-char): Remove obsolete variable.
3346         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3347         it is "necessary".
3349         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3350         * vc/vc.el (vc-static-header-alist): Doc fix.
3351         * vc/vc-cvs.el (vc-cvs-header):
3352         * vc/vc-rcs.el (vc-rcs-header):
3353         * vc/vc-sccs.el (vc-sccs-header):
3354         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3355         * obsolete/vc-mcvs.el (vc-mcvs-header):
3356         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3357         on XEmacs.
3359 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3361         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3362         Remove obsolete use of binary-overwrite-mode (Bug#7001).
3364 2010-10-03  Glenn Morris  <rgm@gnu.org>
3366         * obsolete/x-menu.el: Remove file, obsolete since 21.1
3368         * textmodes/rst.el (rst-font-lock-keywords-function):
3369         Drop Emacs 20 code.
3371         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3373         * printing.el: Drop Emacs 20 code.
3375         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3376         without having used appt.el already).
3378         * subr.el (make-local-hook): Remove function obsolete since 21.1.
3379         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3380         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3381         XEmacs.
3382         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3383         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3385         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3386         (charset-width, find-charset-region, chars-in-region, forward-point)
3387         (encode-coding-string, coding-system-p, ccl-execute-on-string)
3388         (define-ccl-program, multibyte-string-p, string-make-multibyte):
3389         Remove compatibility cruft (none of these are used by ps*.el).
3391 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3393         * subr.el (booleanp): Return t instead of a list (Bug#7086).
3395 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3397         * server.el (server-process-filter, server-return-error):
3398         Give emacsclient time to shut down after receiving an error string.
3400 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
3402         * files.el (remote-file-name-inhibit-cache): New defcustom.
3404         * time.el (display-time-file-nonempty-p):
3405         Use `remote-file-name-inhibit-cache'.
3407         * net/tramp.el (tramp-completion-reread-directory-timeout):
3408         Fix docstring.
3410         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3411         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3412         `remote-file-name-inhibit-cache'.  Check also for an integer
3413         value.  Add/increase counter when `tramp-verbose' >= 10.
3414         (tramp-set-file-property): Add/increase counter when
3415         `tramp-verbose' >= 10.
3417         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3418         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3419         (tramp-bug): Set tramp-autoload cookie.  Report all interned
3420         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
3421         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
3422         characters only in strings.
3424         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3425         to backward compatibility.
3427         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3428         (tramp-handle-file-name-all-completions)
3429         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3430         (tramp-open-connection-setup-interactive-shell):
3431         Call `tramp-cleanup-connection' directly.
3433 2010-10-02  Glenn Morris  <rgm@gnu.org>
3435         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3437         * subr.el (char-bytes): Remove obsolete function.
3439         * isearch.el (isearch-return-char): Remove obsolete function.
3441         * mouse.el: No longer provide mldrag.
3442         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3443         Remove obsolete aliases.
3445         * comint.el (comint-kill-output): Remove obsolete alias.
3447         * composite.el (decompose-composite-char): Remove obsolete function.
3448         * ps-def.el (decompose-composite-char): Remove unused function.
3450         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3452         * outline.el (outline-visible): Remove obsolete function.
3454         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3455         * faces.el (internal-find-face, internal-get-face)
3456         (frame-update-faces, frame-update-face-colors)
3457         (x-frob-font-weight, x-frob-font-slant)
3458         (internal-frob-font-weight, internal-frob-font-slant)
3459         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3460         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3461         (x-make-font-bold-italic): Remove functions and aliases, obsolete
3462         since Emacs 21.1.
3463         * emulation/viper-util.el (viper-get-face):
3464         * obsolete/lucid.el (find-face, get-face): Use facep.
3465         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3466         Remove unused functions.
3467         * vc/ediff-util.el (ediff-submit-report): Doc fix.
3469         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3470         delete tempfile if interrupted during compilation.
3472 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3474         * net/tls.el (tls-starttls-switches): Give up on using starttls with
3475         gnutls-cli.
3476         (tls-program): Add --insecure to be consistent with the defaults from
3477         openssl s_client.  Now all three commands are insecure.
3479 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
3481         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3482         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3483         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3485 2010-10-01  Glenn Morris  <rgm@gnu.org>
3487         * obsolete/sc.el: Remove file.
3489         * files.el (temporary-file-directory): On darwin, also try
3490         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3492 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
3494         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3495         Let's not break compatibility gratuitously, shall we?
3497 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3499         * net/tls.el (tls-starttls-switches): New variable.
3500         (tls-find-starttls-argument): Use it.
3501         (open-tls-stream): Ditto.
3503         * net/netrc.el (netrc-credentials): Return the value of the "default"
3504         entry.
3505         (netrc-machine): Ditto.
3507 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
3509         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3511 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
3513         * server.el (server-start): Don't write pid to the authentication file.
3514         (server-create-tty-frame): Don't send pid.
3515         (server-process-filter): Send pid at the start of every connection.
3517 2010-09-30  Glenn Morris  <rgm@gnu.org>
3519         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3520         (show-all-diary-entries): Remove obsolete function aliases.
3522         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3523         Remove options, obsolete since 22.1.
3524         (appt-display-format, appt-display-message):
3525         Remove backwards-compatibility code.
3526         (appt-check): No longer check appt-issue-message.
3527         (appt-make-list): No longer autoload it.  Doc fix.  No longer
3528         activate the package.
3530 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3532         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3533         (starttls-negotiate): Just call boot, and let the handshake be
3534         triggered from the read loop.
3536 2010-09-29  Glenn Morris  <rgm@gnu.org>
3538         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3539         not displaying the diary.
3540         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3541         * calendar/appt.el (appt-check): No longer need to kill diary.
3543         * calendar/diary-lib.el (diary-list-entries): Move the
3544         "Preparing..." message entirely here.
3545         (diary-simple-display, diary-fancy-display): Move "Preparing..."
3546         messages to diary-list-entries.
3547         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3548         diary-display-function.
3550         * calendar/diary-lib.el (diary-include-other-diary-files):
3551         Trap some recursive includes.
3553         * calendar/appt.el (appt-activate): Check diary file.
3555 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3557         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3558         construction.
3560         * calendar/time-date.el: No need to require cl for Emacs 21.
3562 2010-09-28  Glenn Morris  <rgm@gnu.org>
3564         * calendar/appt.el (appt-check): Minor simplification.
3566 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3568         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3569         citation prefix.
3571 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
3573         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3574         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
3576 2010-09-27  Kenichi Handa  <handa@m17n.org>
3578         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3579         "ustar" format.
3581 2010-09-27  Kenichi Handa  <handa@m17n.org>
3583         * international/mule.el (define-coding-system): Docstring fixed.
3585         * international/mule-diag.el (describe-character-set): Use princ
3586         with proper print-length and print-level instead of insert.
3588 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3590         * window.el (walk-windows): Doc fix (bug#7105).
3592 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3594         * emacs-lisp/float-sup.el (e): Remove.
3596 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
3598         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3599         variable.
3600         (starttls-negotiate): Use it.
3602 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3604         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3605         back.
3607 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3609         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3611 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3613         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3615         * net/netrc.el (netrc-store-data): New function.
3617 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
3619         * net/gnutls.el: GnuTLS glue code to set up a connection.
3621 2010-09-25  Julien Danjou  <julien@danjou.info>
3623         * notifications.el: Call dbus-register-signal only if it is bound.
3625 2010-09-25  Glenn Morris  <rgm@gnu.org>
3627         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3628         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3629         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3630         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3631         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3632         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3633         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3634         * eshell/esh-util.el, eshell/esh-var.el:
3635         Remove leading `*' from docs of faces and defcustoms.
3637 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
3639         * eshell/em-ls.el (eshell-ls-archive-regexp):
3640         * eshell/esh-util.el (eshell-tar-regexp):
3641         * ibuffer.el (ibuffer-compressed-file-name-regexp):
3642         * info.el (Info-suffix-list):
3643         * international/mule.el (auto-coding-alist):
3644         * woman.el (woman-file-regexp, woman-file-compression-regexp):
3645         * progmodes/etags.el (tags-compression-info-list):
3646         Support xz compression.
3648 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
3650         * files.el (get-free-disk-space): Don't assume the "df" output
3651         columns line up (Bug#6995).
3653 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3655         * finder.el (finder-unknown-keywords):
3656         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3657         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3659 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3661         * server.el (server-start): Revert part of 2010-08-08 change.  Using
3662         address 127.0.0.1 for local host is now done in Fmake_network_process.
3664 2010-09-24  Glenn Morris  <rgm@gnu.org>
3666         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3667         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3668         * textmodes/css-mode.el, textmodes/dns-mode.el:
3669         Move autoloaded auto-mode-alist entries to files.el.
3670         * files.el (auto-mode-alist): Move entries here.
3672 2010-09-23  Glenn Morris  <rgm@gnu.org>
3674         * isearch.el (isearch-lazy-highlight-cleanup)
3675         (isearch-lazy-highlight-initial-delay)
3676         (isearch-lazy-highlight-interval)
3677         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3678         * net/net-utils.el (ipconfig-program-options):
3679         Move aliases to options before the associated definitions.
3681 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3683         * newcomment.el (comment-normalize-vars): Better test validity of
3684         comment-end-skip.
3686 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3688         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3689         (float-e): New name for `e'.
3690         (degrees-to-radians, radians-to-degrees):
3691         * calendar/solar.el (solar-longitude):
3692         * calculator.el (calculator-registers, calculator-funcall):
3693         * textmodes/artist.el (artist-spray-random-points):
3694         * play/bubbles.el (bubbles--initialize-images): Use new names.
3696 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
3698         Update to CEDET 1.0's version of EIEIO.
3700         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3701         New function.
3702         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3703         (eieio-default-eval-maybe): Eval val instead of unquoting only.
3704         (class-precedence-list): If class is nil, return nil.
3705         (eieio-generic-call): If class of first input arg is nil, don't
3706         look up static methods, and do check for primary methods.
3707         (initialize-instance): See if the default needs to be evaluated
3708         during the constructor.
3709         (eieio-perform-slot-validation-for-default): Don't do the check
3710         for values that will eventually be evaluated.
3711         (eieio-eval-default-p): New function.
3712         (eieio-default-eval-maybe): Use it.
3714 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3716         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3717         method-invocation-order.
3718         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3719         (eieio-class-precedence-dfs): Compute class precedence list using
3720         dfs algorithm.
3721         (eieio-class-precedence-bfs): Compute class precedence list using
3722         bfs algorithm.
3723         (eieio-class-precedence-c3): Compute class precedence list using
3724         c3 algorithm.
3725         (class-precedence-list): New function.
3726         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3727         (inconsistent-class-hierarchy): New error symbol.
3728         (call-next-method): Stow the replacement argument list for future
3729         call-next-method invocations.
3731 2010-09-23  Glenn Morris  <rgm@gnu.org>
3733         * calendar/appt.el (appt-check): If not displaying the diary,
3734         use (diary 1) to only get the entries we need.
3735         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3736         that it is in day order.  (Bug#7019)
3738         * calendar/appt.el (appt-check): Rather than showing the diary,
3739         just turn off invisible display, and only if needed.
3741         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3743 2010-09-23  Glenn Morris  <rgm@gnu.org>
3745         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3746         (byte-compile-defvar, byte-compile-cl-warn):
3747         Start warnings with lower-case, like the majority.
3749         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3751         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3753         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3754         * files.el (auto-mode-alist): Move ld-script entries here, further down
3755         the list.
3757         * vc/add-log.el: Don't require timezone when compiling.
3758         (timezone-make-date-sortable): Autoload it.
3759         (change-log-sortable-date-at): Don't require timezone.
3760         Use `ignore-errors'.
3762         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3763         Move alias before definition, so it does not need autoloading.
3765         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3766         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3767         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3768         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3769         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3770         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3771         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3772         * textmodes/tex-mode.el, textmodes/two-column.el:
3773         Remove leading `*' from docs of defcustoms etc.
3775 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3777         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3779 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3781         * calendar/time-date.el (date-to-time): Try using parse-time-string
3782         first before using the slower timezone-make-date-arpa-standard.
3784 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3786         * calendar/time-date.el (format-seconds): Comment fix.
3788 2010-09-22  Glenn Morris  <rgm@gnu.org>
3790         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3791         is not automatically buffer-local.
3793 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3795         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3796         (smie-indent-comment): Be more careful with comment-start-skip.
3797         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3798         (smie-indent-functions): Use them.
3800 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3802         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3804 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3806         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3807         tool-bar-position.  Don't modify frame parameters here.
3808         (menu-bar-options-save): Add tool-bar-position.
3810         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3812 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3814         * textmodes/reftex-parse.el (reftex-what-macro)
3815         (reftex-context-substring): Let-bind forward-sexp-function to nil
3816         since we don't need/want to treat \begin...\end as a block (bug#7053).
3818         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3820         * simple.el (blink-matching-open): Use syntax-class.
3822         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3823         Set invisibility spec for pascal's outline mode.
3824         (pascal-outline-change): Clean up calling convention.
3825         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3827         * progmodes/prolog.el (prolog-smie-forward-token)
3828         (prolog-smie-backward-token): New functions.
3829         (prolog-mode-variables): Use them to parse "!," correctly.
3830         Set up smie-blink-matching for ".".
3832         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3833         and `end'.
3834         (ispell-region, ispell-process-line): Update users.
3836         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3837         point-min==1.
3839         * textmodes/ispell.el: Fix commenting convention.
3840         (ispell-parse-output): Simplify, use push.
3841         (ispell-region): Use match-string-no-properties.
3842         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3843         (ispell-minor-mode): Use define-minor-mode.
3844         (ispell-message): Remove unused var `skip-regexp'.
3845         (ispell-add-per-file-word-list): Use dynamic let-binding.
3846         Try and use the proper comment marker.
3848         * mail/sendmail.el: Fix commenting convention.
3849         (sendmail-send-it): Use line-beginning-position.
3851         * help-fns.el (describe-variable): Add original value, if applicable.
3853 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3855         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3857         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3859 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3861         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3862         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3863         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3864         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3865         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3866         something like "." can also be a closer.
3867         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3868         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3869         Rename internal functions to use "--".  Update callers.
3871         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3873         * fringe.el (fringe-styles): New var.
3874         (fringe-mode, fringe-query-style): Use it.
3876 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3878         * progmodes/sql.el: Version 2.8
3879         (sql-login-params): Update widget structure; changes still needed.
3880         (sql-product-alist): Add :list-all and :list-table features for
3881         SQLite, Postgres and MySQL products.
3882         (sql-redirect): Handle default value.
3883         (sql-execute, sql-execute-feature): New functions.
3884         (sql-read-table-name): New function.
3885         (sql-list-all, sql-list-table): New functions.  User API.
3886         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3887         for above functions.
3888         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3889         for above functions.
3890         (sql-postgres-login-params): Add user and database defaults.
3891         (sql-buffer-live-p): Bug fix.
3892         (sql-product-history): New variable.
3893         (sql-read-product): New function. Use it.
3894         (sql-set-product, sql-product-interactive): Use it.
3895         (sql-connection-history): New variable.
3896         (sql-read-connection): New function.  Use it.
3897         (sql-connect): New function.
3898         (sql-for-each-login): Redesign function interface.
3899         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3900         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3901         (sql-comint): Check for program.  Existing live buffer.
3902         (sql-comint-postgres): Add port parameter.
3904 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3906         * emacs-lisp/warnings.el: Fix commenting convention.
3907         (display-warning): Use special mode and make the buffer read-only.
3909 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3911         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3912         empty string when it follows a repeated or optional pattern.
3914 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3916         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3917         (indent-region): Use indent-according-to-mode.
3919 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3921         * fringe.el (fringe-mode): Doc fix.
3923 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3925         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3926         refreshing the preview buffer.
3928 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3930         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3931         (latex-syntax-propertize-rules): New consts; replace
3932         tex-font-lock-syntactic-keywords.
3933         (tex-env-mark, latex-env-before-change): New functions.
3934         (latex-electric-env-pair-mode): New minor mode.
3935         (tex-font-lock-verb): Change arguments; do move point.
3936         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3937         representation as a form of comment.
3938         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3939         (doctex-syntax-propertize-rules): New const; replaces
3940         doctex-font-lock-syntactic-keywords.
3941         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3943         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3944         (fortran-make-syntax-propertize-function): New function; replaces
3945         fortran-font-lock-syntactic-keywords.
3946         (fortran-mode): Use it.
3947         (fortran-line-length): Use it.  Improve interactive spec.
3949         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3950         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3951         when adding surrounding \(..\).
3953         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3955 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3957         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3958         Use with-current-buffer.
3960         * isearch.el (isearch-face): Rename from `isearch'.
3961         (isearch-highlight): Use new name.
3963 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3965         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3966         5, for `half' width fringes.  (Bug#6933)
3968 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3970         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3971         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3973         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3975 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3977         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3978         in calculating new frame position.  Add more space between new and
3979         parent on the left (Bug#7048).
3981 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3983         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3984         defmacro.
3986 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3988         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3990         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3991         obsolete alias for x-selection-value.
3993         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3995 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3997         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3998         cookie.
4000 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4002         * net/tramp-compat.el (tramp-compat-with-temp-message)
4003         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4004         (tramp-compat-process-put): New defuns.
4006         * net/tramp.el (top):
4007         * net/tramp-gvfs.el (top):
4008         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4010         * net/tramp.el (tramp-progress-reporter-update):
4011         Use `tramp-compat-funcall'.
4013         * net/tramp.el (tramp-process-actions):
4014         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4015         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4016         (tramp-get-remote-stat, tramp-get-remote-readlink):
4017         Use `tramp-compat-with-temp-message'.
4019         * net/tramp-sh.el (top): Require 'cl.
4020         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4021         (tramp-open-connection-setup-interactive-shell):
4022         Use `tramp-compat-process-put'.
4024 2010-09-15  Alan Mackenzie  <acm@muc.de>
4026         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4027         indentation.
4028         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4030 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4032         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4033         `lexical' for warnings related to lexical scoping.
4034         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4035         global vars which don't have a prefix and could hence affect lexical
4036         scoping in unrelated files.
4038 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4040         * net/imap.el: Revert back to version
4041         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4042         seem problematic.
4044 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4046         * obsolete/old-whitespace.el (whitespace-unload-function):
4047         Explicitly pass `obarray' to `unintern' to avoid a warning.
4049 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4051         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4052         Add `when' argument.  Update callers.
4054         * subr.el (unintern): Declare the obarray arg mandatory.
4056 2010-09-14  Glenn Morris  <rgm@gnu.org>
4058         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4059         Doc fixes.
4061         * calendar/diary-lib.el (diary-included-files): New variable.
4062         (diary-list-entries): Maybe initialize diary-included-files.
4063         (diary-include-other-diary-files): Append to diary-included-files.
4064         * calendar/appt.el (appt-update-list): Also check the members of
4065         diary-included-files.  (Bug#6999)
4066         (appt-check): Doc fix.
4068 2010-09-14  David Reitter  <david.reitter@gmail.com>
4070         * simple.el (line-move-visual): Do not truncate goal column to
4071         integer size.  (Bug#7020)
4073 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4075         * repeat.el (repeat): Allow repeating when the last event is a click.
4076         Suggested by Drew Adams (bug#6256).
4078 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4080         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4081         Replace setting HGRCPATH to "" by some less invasive --config options.
4083 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4085         * font-lock.el (font-lock-beginning-of-syntax-function):
4086         Mark as obsolete.
4088 2010-09-14  Glenn Morris  <rgm@gnu.org>
4090         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4091         and tool-bar modes.  (Bug#6211)
4092         (menu-bar-mode): Move setting of standard-value after the
4093         minor-mode definition, otherwise it seems to have no effect.
4095 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
4097         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4098         Fix typo.  (Bug#6976)
4100 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4102         * whitespace.el: Allow cleaning up blanks without blank
4103         visualization (Bug#6651).  Adjust help window for
4104         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4105         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
4106         (whitespace-style): Add new value 'face.  Adjust docstring.
4107         (whitespace-space, whitespace-hspace, whitespace-tab):
4108         Adjust foreground property face.
4109         (whitespace-line-column): Adjust docstring and type declaration.
4110         (whitespace-style-value-list, whitespace-toggle-option-alist)
4111         (whitespace-help-text): Adjust const initialization.
4112         (whitespace-toggle-options, global-whitespace-toggle-options):
4113         Adjust docstring.
4114         (whitespace-display-window, whitespace-interactive-char)
4115         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4116         (whitespace-help-scroll): New fun.
4118 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4120         * calendar/time-date.el (format-seconds): Comment fix.
4122 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
4124         * progmodes/sql.el: Version 2.7.
4125         (sql-buffer-live-p): Improve detection.
4126         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4127         (sql-set-sqli-buffer): Use it.
4128         (sql-product-interactive): Run `sql-set-sqli-hook'.
4129         (sql-rename-buffer): Code cleanup.
4130         (sql-redirect, sql-redirect-value): New functions.  More to come.
4132 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
4134         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
4135         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4136         (TRAMP_SRC): New macro.
4137         ($(lisp)/net/tramp-loaddefs.el): New target.
4139 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
4141         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
4143         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
4145         * net/tramp.el (top): Don't show loading message.  Require just
4146         'tramp-compat, everything else is required there.
4147         Use `ignore-errors' where appropriate.
4148         (tramp-inline-compress-start-size, tramp-copy-size-limit)
4149         (tramp-terminal-type, tramp-end-of-output)
4150         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4151         (tramp-completion-function-alist-ssh)
4152         (tramp-completion-function-alist-telnet)
4153         (tramp-completion-function-alist-su)
4154         (tramp-completion-function-alist-putty, tramp-remote-path)
4155         (tramp-remote-process-environment, tramp-sh-extra-args)
4156         (tramp-actions-before-shell, tramp-uudecode)
4157         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4158         (tramp-perl-file-attributes)
4159         (tramp-perl-directory-files-and-attributes)
4160         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4161         (tramp-perl-encode, tramp-perl-decode)
4162         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4163         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4164         (tramp-handle-make-symbolic-link, tramp-handle-load)
4165         (tramp-handle-file-name-as-directory)
4166         (tramp-handle-file-name-directory)
4167         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4168         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4169         (tramp-do-file-attributes-with-ls)
4170         (tramp-do-file-attributes-with-perl)
4171         (tramp-do-file-attributes-with-stat)
4172         (tramp-handle-set-visited-file-modtime)
4173         (tramp-handle-verify-visited-file-modtime)
4174         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4175         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4176         (tramp-handle-file-selinux-context)
4177         (tramp-handle-set-file-selinux-context)
4178         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4179         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4180         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4181         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4182         (tramp-handle-file-ownership-preserved-p)
4183         (tramp-handle-directory-file-name, tramp-handle-directory-files)
4184         (tramp-handle-directory-files-and-attributes)
4185         (tramp-do-directory-files-and-attributes-with-perl)
4186         (tramp-do-directory-files-and-attributes-with-stat)
4187         (tramp-handle-file-name-all-completions)
4188         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4189         (tramp-handle-copy-file, tramp-handle-copy-directory)
4190         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4191         (tramp-do-copy-or-rename-file-via-buffer)
4192         (tramp-do-copy-or-rename-file-directly)
4193         (tramp-do-copy-or-rename-file-out-of-band)
4194         (tramp-handle-make-directory, tramp-handle-delete-directory)
4195         (tramp-handle-delete-file)
4196         (tramp-handle-dired-recursive-delete-directory)
4197         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4198         (tramp-handle-insert-directory)
4199         (tramp-handle-unhandled-file-name-directory)
4200         (tramp-handle-expand-file-name)
4201         (tramp-handle-substitute-in-file-name)
4202         (tramp-handle-executable-find, tramp-process-sentinel)
4203         (tramp-handle-start-file-process, tramp-handle-process-file)
4204         (tramp-handle-call-process-region, tramp-handle-shell-command)
4205         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4206         (tramp-handle-insert-file-contents)
4207         (tramp-handle-insert-file-contents-literally)
4208         (tramp-handle-find-backup-file-name)
4209         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4210         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4211         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4212         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4213         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4214         (tramp-find-file-exists-command, tramp-open-shell)
4215         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4216         (tramp-open-connection-setup-interactive-shell)
4217         (tramp-local-coding-commands, tramp-remote-coding-commands)
4218         (tramp-find-inline-encoding, tramp-call-local-coding-command)
4219         (tramp-inline-compress-commands, tramp-find-inline-compress)
4220         (tramp-compute-multi-hops, tramp-maybe-open-connection)
4221         (tramp-send-command, tramp-wait-for-output)
4222         (tramp-send-command-and-check, tramp-barf-unless-okay)
4223         (tramp-send-command-and-read, tramp-mode-string-to-int)
4224         (tramp-convert-file-attributes, tramp-check-cached-permissions)
4225         (tramp-file-mode-from-int, tramp-file-mode-permissions)
4226         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4227         (tramp-method-out-of-band-p, tramp-local-host-p)
4228         (tramp-get-remote-path, tramp-get-remote-tmpdir)
4229         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4230         (tramp-get-test-command, tramp-get-test-nt-command)
4231         (tramp-get-file-exists-command, tramp-get-remote-ln)
4232         (tramp-get-remote-perl, tramp-get-remote-stat)
4233         (tramp-get-remote-readlink, tramp-get-remote-trash)
4234         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4235         (tramp-get-local-uid, tramp-get-local-gid)
4236         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4237         tramp-sh.el.
4238         (tramp-methods, tramp-default-method-alist)
4239         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4240         Move initialization to tramp-sh.el.
4241         (tramp-temp-name-prefix): Make it a defconst.
4242         (tramp-dissect-file-name): Don't check anymore for multi-hop
4243         methods.
4244         (tramp-debug-outline-regexp): Add a docstring.
4245         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4246         (tramp-get-debug-buffer): Use it.
4248         * net/tramp-cache.el (top): Set tramp-autoload cookie for
4249         initialization forms.
4250         (tramp-set-connection-property): Don't protect `tramp-message'
4251         call, it isn't necessary any longer.
4252         (tramp-dump-connection-properties): Use `ignore-errors'.
4254         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4255         'password-cache and 'auth-source.
4257         * net/tramp-gvfs.el (top):
4258         * net/tramp-smb.el (top): Require 'tramp-sh.
4260         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4262         * net/tramp-sh.el: New file, derived from tramp.el.
4263         (top): Initialize `tramp-methods', `tramp-default-method-alist',
4264         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4265         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4266         Use `ignore-errors' where appropriate.
4267         (tramp-sh-file-name-handler-alist): Rename from
4268         `tramp-file-name-handler-alist'.
4269         (tramp-send-command-and-check): Return t or nil.  Remove all
4270         `zerop' checks, where called.
4271         (tramp-handle-set-file-modes)
4272         (tramp-do-copy-or-rename-file-directly)
4273         (tramp-handle-delete-directory, tramp-handle-delete-file)
4274         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4275         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4276         (tramp-get-remote-ln): Set tramp-autoload cookie.
4278         * net/tramp-fish.el: Remove file.
4280 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
4282         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4283         buffer-file-name to avoid file-locking.  (Bug#7026)
4285 2010-09-13  Julien Danjou  <julien@danjou.info>
4287         * notifications.el (notifications-notify): Add support for
4288         image-path and sound-name.
4289         (notifications-specification-version): Add this variable.
4291 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4295 2010-09-12  Leo  <sdl.web@gmail.com>
4297         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4298         (rcirc-completion-start): New variables.
4299         (rcirc-nick-completions): Rename to rcirc-completions.
4300         (rcirc-nick-completion-start-offset): Delete.
4301         (rcirc-completion-at-point): New function for constructing
4302         completion data for both nicks and irc commands.  Add to
4303         completion-at-point-functions in rcirc mode.
4304         (rcirc-complete): Rename from rcirc-nick-complete; use
4305         rcirc-completion-at-point.
4306         (defun-rcirc-command): Update rcirc-client-commands.
4308 2010-09-11  Glenn Morris  <rgm@gnu.org>
4310         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4311         atomically, to avoid parallel build errors.  (Bug#4196)
4313 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
4315         * progmodes/sql.el: Version 2.6
4316         (sql-dialect): Synonym for "sql-product".
4317         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4318         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4319         Set "sql-buffer" to buffer name not buffer object so multiple sql
4320         interactive buffers work properly.  Reverts misguided changes in
4321         earlier work.
4322         (sql-comint): Make sure different buffer name is used if "*SQL*"
4323         buffer is for a different product.
4324         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4325         login param.
4326         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4327         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4328         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4329         Accept new buffer name or prompt for one.
4330         (sql-port): Default to zero.
4331         (sql-comint-mysql): Handle "sql-port" as a numeric.
4332         (sql-port-history): Delete unused variable.
4333         (sql-get-login): Default "sql-port" to a number.
4334         (sql-product-alist): Correct Postgres prompt and terminator regexp.
4335         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4336         "sqlite3" executables.
4337         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4338         (sql-buffer-live-p): New function.
4339         (sql-mode-menu, sql-send-string): Use it.
4340         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4341         syntax pattern.
4342         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4343         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4345 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4347         * net/netrc.el (netrc-credentials): New convenience function.
4349 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4352         to replace texinfo-font-lock-syntactic-keywords.
4353         (texinfo-mode): Use it.
4355         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4356         Use syntax-propertize-function.
4358         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4359         replace sgml-font-lock-syntactic-keywords.
4360         (sgml-mode): Use it.
4362         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4363         since we don't use it.
4365         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4367         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4368         if available.
4369         (vhdl-fontify-buffer): Adjust.
4371         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4372         replace tcl-font-lock-syntactic-keywords.
4373         (tcl-mode): Use it.
4375         * progmodes/simula.el (simula-syntax-propertize-function): New var to
4376         replace simula-font-lock-syntactic-keywords.
4377         (simula-mode): Use it.
4379         * progmodes/sh-script.el (sh-st-symbol): Remove.
4380         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4381         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4382         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4383         (sh-font-lock-paren): Set syntax-multiline.
4384         (sh-font-lock-syntactic-keywords): Remove.
4385         (sh-syntax-propertize-function): New function to replace it.
4386         (sh-mode): Use it.
4388         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4389         Define while compiling.
4390         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4391         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4392         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4393         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4394         (ruby-here-doc-end-syntax): Only define when
4395         syntax-propertize is not available.
4396         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4397         New functions.
4398         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4399         (electric-indent-chars): Silence bytecompiler.
4400         (ruby-mode): Use prog-mode, syntax-propertize-function, and
4401         electric-indent-chars.
4403         * progmodes/python.el (python-syntax-propertize-function): New var to
4404         replace python-font-lock-syntactic-keywords.
4405         (python-mode): Use it.
4406         (python-quote-syntax): Simplify and adjust to new use.
4408         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4409         replace perl-font-lock-syntactic-keywords.
4410         (perl-syntax-propertize-special-constructs): New fun to replace
4411         perl-font-lock-special-syntactic-constructs.
4412         (perl-font-lock-syntactic-face-function): New fun.
4413         (perl-mode): Use it.
4415         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4416         to replace octave-font-lock-close-quotes.
4417         (octave-syntax-propertize-function): New function to replace
4418         octave-font-lock-syntactic-keywords.
4419         (octave-mode): Use it.
4421         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4422         replaces mixal-font-lock-syntactic-keywords.
4423         (mixal-mode): Use it.
4425         * progmodes/make-mode.el (makefile-syntax-propertize-function):
4426         New var; replaces makefile-font-lock-syntactic-keywords.
4427         (makefile-mode): Use it.
4428         (makefile-imake-mode): Adjust.
4430         * progmodes/js.el (js--regexp-literal): Define while compiling.
4431         (js-syntax-propertize-function): New var; replaces
4432         js-font-lock-syntactic-keywords.
4433         (js-mode): Use it.
4435         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4436         replaces gdb-script-font-lock-syntactic-keywords.
4437         (gdb-script-mode): Use it.
4439         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4440         (fortran--font-lock-syntactic-keywords): New var.
4441         (fortran-line-length): Update syntax-propertize-function and
4442         fortran--font-lock-syntactic-keywords.
4444         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4446         * progmodes/cfengine.el (cfengine-mode):
4447         Use syntax-propertize-function.
4448         (cfengine-font-lock-syntactic-keywords): Remove.
4450         * progmodes/autoconf.el (autoconf-mode):
4451         Use syntax-propertize-function.
4452         (autoconf-font-lock-syntactic-keywords): Remove.
4454         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4455         (ada-after-change-function, ada-initialize-syntax-table-properties)
4456         (ada-handle-syntax-table-properties): Only define when
4457         syntax-propertize is not available.
4458         (ada-mode): Use syntax-propertize-function.
4460         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4461         (font-lock-fontify-syntactic-keywords-region): Move handling of
4462         font-lock-syntactically-fontified to...
4463         (font-lock-default-fontify-region): ...here.
4464         Let syntax-propertize-function take precedence.
4465         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4467         * emacs-lisp/syntax.el (syntax-propertize-function)
4468         (syntax-propertize-chunk-size, syntax-propertize--done)
4469         (syntax-propertize-extend-region-functions): New vars.
4470         (syntax-propertize-wholelines, syntax-propertize-multiline)
4471         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4472         (syntax-propertize): New functions.
4473         (syntax-propertize-rules): New macro.
4474         (syntax-ppss-flush-cache): Set syntax-propertize--done.
4475         (syntax-ppss): Call syntax-propertize.
4477         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4479 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
4481         * textmodes/ispell.el (ispell-init-process): Improve comments.
4482         XEmacs compatibility changes regarding (add-hook) 'local option
4483         and (set-process-query-on-exit-flag).
4485 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
4487         * net/tramp-cache.el (tramp-parse-connection-properties):
4488         Set tramp-autoload cookie.
4490 2010-09-09  Glenn Morris  <rgm@gnu.org>
4492         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4493         (imagemagick-register-types): Doc fix.
4495 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4497         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4499         * progmodes/js.el (require): Require is already "eval-and-compile".
4500         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
4501         (js--re-search-backward): Use js--re-search-forward.
4503         * progmodes/fortran.el (fortran-line-length): Don't recompute
4504         syntactic keywords redundantly a second time.
4506         * progmodes/ada-mode.el: Replace "(set '" with setq.
4507         (ada-mode): Simplify.
4508         (ada-create-case-exception, ada-adjust-case-interactive)
4509         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4510         (ada-search-ignore-string-comment, ada-move-to-start)
4511         (ada-move-to-end): Use with-syntax-table.
4513         * font-lock.el (save-buffer-state): Remove `varlist' arg.
4514         (font-lock-unfontify-region, font-lock-default-fontify-region):
4515         Update usage correspondingly.
4516         (font-lock-fontify-syntactic-keywords-region):
4517         Set parse-sexp-lookup-properties buffer-locally here.
4518         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4520         * simple.el (blink-matching-open): Don't burp if we can't find a match.
4522 2010-09-08  Glenn Morris  <rgm@gnu.org>
4524         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4525         Error if not compiled with -DBYTE_CODE_METER.
4527         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4528         Ignore dir-locals-file.
4530 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4532         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4533         Not a const.
4534         (compilation-error-regexp-alist-alist): Rule out ": " in file names
4535         for the `gnu' messages.
4536         (compilation-set-skip-threshold): New command.
4537         (compilation-start): Use \' rather than $.
4538         (compilation-forget-errors): Use clrhash.
4540 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
4542         * textmodes/ispell.el (ispell-valid-dictionary-list):
4543         Simplify logic.
4545 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
4547         Migrate to Tramp 2.2.  Rearrange load dependencies.
4548         (Bug#1529, Bug#5448, Bug#5705)
4550         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4551         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4552         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4554         * net/tramp.el (top): Remove all other tramp-* loads except
4555         tramp-compat.el.  Remove all changes to tramp-unload-hook for
4556         other tramp-* packages.  Rearrange defun order.  Change calls of
4557         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4558         `tramp-compat-octal-to-decimal' to new function names.
4559         (tramp-terminal-type, tramp-initial-end-of-output)
4560         (tramp-methods, tramp-foreign-file-name-handler-alist)
4561         (tramp-tramp-file-p, tramp-completion-mode-p)
4562         (tramp-send-command-and-check, tramp-get-remote-path)
4563         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4564         (tramp-shell-quote-argument): Set tramp-autoload cookie.
4565         (with-file-property, with-connection-property): Move to
4566         tramp-cache.el.
4567         (tramp-local-call-process, tramp-decimal-to-octal)
4568         (tramp-octal-to-decimal): Move to tramp-compat.el.
4569         (tramp-handle-shell-command): Do not require 'shell.
4570         (tramp-compute-multi-hops): No special handling for tramp-gw-*
4571         symbols.
4572         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4574         * net/tramp-cache.el (top): Require 'tramp.  Add to
4575         `tramp-unload-hook'.
4576         (tramp-cache-data, tramp-get-file-property)
4577         (tramp-set-file-property, tramp-flush-file-property)
4578         (tramp-flush-directory-property, tramp-get-connection-property)
4579         (tramp-set-connection-property, tramp-flush-connection-property)
4580         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4581         cookie.
4582         (with-file-property, with-connection-property): New defuns, moved
4583         from tramp.el.
4584         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4585         macro.
4587         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4588         (tramp-version): Set tramp-autoload cookie.
4590         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
4591         changes to tramp-unload-hook for other tramp-* packages.  Add to
4592         `tramp-unload-hook'.
4593         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4594         (tramp-compat-call-process): New defuns, moved from tramp.el.
4596         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
4597         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4598         Add to `tramp-unload-hook'.  Change call of
4599         `tramp-compat-decimal-to-octal' to new function name.
4600         (tramp-fish-method): Make it a defconst.
4601         (tramp-fish-file-name-p): Make it a defsubst.
4602         (tramp-fish-method, tramp-fish-file-name-handler)
4603         (tramp-fish-file-name-p): Set tramp-autoload cookie.
4605         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4606         `tramp-foreign-file-name-handler-alist'.  Add to
4607         `tramp-unload-hook'.
4608         (tramp-ftp-method): Make it a defconst.
4609         (tramp-ftp-file-name-p): Make it a defsubst.
4610         (tramp-ftp-method, tramp-ftp-file-name-handler)
4611         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4613         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4614         `tramp-foreign-file-name-handler-alist'.  Add to
4615         `tramp-unload-hook'.  Change checks, whether package can be
4616         loaded.
4617         (tramp-gvfs-file-name-p): Make it a defsubst.
4618         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4619         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4620         (tramp-gvfs-handle-file-directory-p): New defun.
4621         (tramp-gvfs-file-name-handler-alist): Use it.
4623         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4624         `tramp-foreign-file-name-handler-alist'.  Add to
4625         `tramp-unload-hook'.
4626         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4627         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4628         defconst.
4629         (tramp-gw-tunnel-method, tramp-gw-socks-method)
4630         (tramp-gw-open-connection): Set tramp-autoload cookie.
4632         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
4633         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4634         Add to `tramp-unload-hook'.  Change checks, whether package can be
4635         loaded.
4636         (tramp-imap-file-name-p): Make it a defsubst.
4637         (tramp-imap-method, tramp-imaps-method)
4638         (tramp-imap-file-name-handler)
4639         (tramp-imap-file-name-p): Set tramp-autoload cookie.
4641         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
4642         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4643         Add to `tramp-unload-hook'.  Change checks, whether package can be
4644         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
4645         function name.
4646         (tramp-smb-tunnel-method): Make it a defconst.
4647         (tramp-smb-file-name-p): Make it a defsubst.
4648         (tramp-smb-method, tramp-smb-file-name-handler)
4649         (tramp-smb-file-name-p): Set tramp-autoload cookie.
4651         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4652         (tramp-uuencode-region): Set tramp-autoload cookie.
4654         * net/trampver.el (top) Add to `tramp-unload-hook'.
4655         (tramp-version, tramp-bug-report-address): Set tramp-autoload
4656         cookie.  Update release number.
4658 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
4660         * textmodes/ispell.el (ispell-start-process): Make sure original
4661         arg list is properly initialized (Bug#6993, Bug#6994).
4663 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4665         * files.el (directory-abbrev-alist): Use \` as default regexp.
4667         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4668         chars like - or ] (bug#6984).
4669         (rx-any-condense-range): Explode 2-char ranges.
4671 2010-09-06  Glenn Morris  <rgm@gnu.org>
4673         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4675 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4677         * textmodes/bibtex.el:
4678         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4680 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4682         * net/imap.el (imap-message-map): Remove optional buffer parameter,
4683         since no callers use it.
4684         (imap-message-get): Ditto.
4685         (imap-message-put): Ditto.
4686         (imap-mailbox-map): Ditto.
4687         (imap-mailbox-put): Ditto.
4688         (imap-mailbox-get): Ditto.
4689         (imap-mailbox-get): Revert last change for this function.
4691 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4693         * net/imap.el (imap-fetch-safe): Remove function, and alter all
4694         callers to use `imap-fetch' instead.  According to the comments, this
4695         should be safe, since all other IMAP clients use the 1:* syntax.
4696         (imap-enable-exchange-bug-workaround): Remove.
4697         (imap-debug): Remove -- doesn't seem very useful.
4699 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4701         * net/imap.el (imap-log): New convenience function used throughout
4702         instead of repeating the same code all over the place.
4704 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
4706         * mouse.el (mouse-save-then-kill): Save region to kill-ring
4707         when mouse-drag-copy-region is non-nil (Bug#6956).
4709 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
4711         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4712         Improve regexps (Bug#6987).
4713         (dired-sort-toggle): Search more robustly for -t flag.
4715         * files.el (get-free-disk-space): Search more robustly for
4716         "available" column.  Suggested by Ehud Karni
4717         <ehud@unix.mvs.co.il>.
4719 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
4721         * international/uni-bidi.el:
4722         * international/uni-category.el:
4723         * international/uni-combining.el:
4724         * international/uni-decimal.el:
4725         * international/uni-mirrored.el:
4726         * international/uni-name.el: Regenerate.
4728 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4730         * electric.el (electric-indent-post-self-insert-function):
4731         Don't reindent with a sloppy indentation function.
4733         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4734         border case in change-log-mode.
4736 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4738         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4739         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4740         Recognize leading tab in gcc-include regexp.  Ignore names with
4741         leading "from" or "in" in gnu regexp (Bug#6937).
4743 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4745         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4746         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4747         (ispell-start-process): Avoid setq and simplify logic.
4748         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4749         (kill-buffer-hook): Don't use it globally with code that uses
4750         expand-file-name since that may call kill-buffer via
4751         code_conversion_restore.
4753 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4755         * emacs-lisp/package.el (package-directory-list): Only call
4756         file-name-nondirectory on a string.
4758 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4760         * emacs-lisp/package.el (package--download-one-archive):
4761         Ensure that archive-contents is valid before saving it.
4762         (package-activate-1, package-mark-obsolete, define-package)
4763         (package-compute-transaction, package-list-maybe-add): Use push.
4765 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         Use SMIE's blink-paren for octave-mode.
4768         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4769         Backslashes do not escape single-quotes, single-quotes do.
4770         (octave-block-else-regexp, octave-block-end-regexp)
4771         (octave-block-match-alist): Remove.
4772         (octave-smie-bnf-table): New var, with old content.
4773         (octave-smie-op-levels): Use it.
4774         (octave-smie-closer-alist): New var.
4775         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4776         (octave-blink-matching-block-open): Remove.
4777         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4778         (octave-electric-space): Let self-insert-command run expand-abbrev and
4779         blink parens.
4781         * electric.el (electricity): New group.
4782         (electric-indent-chars): New var.
4783         (electric-indent-post-self-insert-function): New fun.
4784         (electric-indent-mode): New minor mode.
4785         (electric-pair-skip-self): New custom.
4786         (electric-pair-post-self-insert-function): New function.
4787         (electric-pair-mode): New minor mode.
4789         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4790         calcAlg-blink-matching-open.
4791         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4792         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4793         Use the new blink-matching-check-function.
4795         Provide blink-matching support to SMIE.
4796         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4797         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4798         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4800         * simple.el (newline): Fix last change to properly remove itself from
4801         the hook.
4803 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4805         * simple.el (newline): Eliminate optimization.
4806         Use post-self-insert-hook to set hard-newline and things before
4807         running post-self-insert-hook.
4808         (blink-matching-check-mismatch): New function.
4809         (blink-matching-check-function): New variable.
4810         (blink-matching-open): Use them.
4811         Skip back forward over prefix chars skipped by forward-sexp.
4812         Don't check if the parens are backslash escaped.
4813         (blink-paren-post-self-insert-function): Check backslash escaping here.
4815 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4817         * emacs-lisp/package.el (package-menu-mode-map):
4818         Change package-menu-revert bindings to revert-buffer.
4819         (package-menu-mode): Set revert-buffer-function.
4820         (package-menu-revert): Doc fix.
4822 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4824         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4825         `default-directory' unless using Ispell per-directory personal
4826         dictionaries and not in a mini-buffer under XEmacs.
4827         (kill-buffer-hook): Do not kill ispell process on exit when
4828         `ispell-process-directory' is "~/".  (Bug#6143)
4830 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4832         * simple.el (kill-new): Call interprogram-cut-function with only
4833         one argument.
4835         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4836         Remove cut buffer from error message.
4838         * term/x-win.el (x-select-text):
4839         * term/pc-win.el (x-selection-value):
4840         * term/ns-win.el (x-selection-value):
4841         * eshell/em-term.el:
4842         * w32-fns.el (x-get-selection-value):
4843         * mouse-sel.el (mouse-sel-set-selection-function):
4844         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4846         * term/x-win.el: Update documentation for x-last-selected-text-*.
4847         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4848         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4849         (x-select-text): Remove argument PUSH, update documentation.
4850         Remove cut-buffer code.
4851         (x-selection-value-internal): Was previously x-selection-value.
4852         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4853         Update documentation, remove cut-buffer code.
4854         Call x-selection-value-internal.
4855         (x-clipboard-yank): Call x-selection-value-internal.
4856         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4858         * term/pc-win.el (x-last-selected-text):
4859         x-cut-buffer-or-selection-value renamed to x-selection-value
4860         (x-select-text): Remove argument PUSH, update documentation.
4862         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4863         x-cut-buffer-or-selection-value renamed to x-selection-value
4864         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4865         (x-select-text): Remove argument PUSH, update documentation.
4867         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4869         * w32-fns.el (x-last-selected-text):
4870         x-cut-buffer-or-selection-value renamed to x-selection-value.
4871         (x-cut-buffer-max): Remove.
4872         (x-select-text): Remove argument PUSH, update documentation.
4874         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4876         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4878         * mouse-sel.el (mouse-sel-get-selection-function):
4879         x-cut-buffer-or-selection-value renamed to x-selection-value.
4880         (x-select-text): Remove optional push.
4882 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4884         * simple.el (blink-paren-function): Move from C to here.
4885         (blink-paren-post-self-insert-function): New function.
4886         (post-self-insert-hook): Use it.
4888         * emacs-lisp/pcase.el (pcase-split-memq):
4889         Fix overenthusiastic optimisation.
4890         (pcase-u1): Handle the case of a lambda pred.
4892 2010-08-31  Kenichi Handa  <handa@m17n.org>
4894         * international/mule-cmds.el (standard-display-european-internal):
4895         Setup standard-display-table for 8-bit characters by storing 8-bit
4896         characters in the element vector.
4898         * disp-table.el (standard-display-8bit):
4899         Setup standard-display-table for 8-bit characters by storing 8-bit
4900         characters in the element vector.
4901         (standard-display-european): Likewise.
4903 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4905         * textmodes/nroff-mode.el (nroff-view): New command.
4906         (nroff-mode-map): Bind it to C-c C-c.
4908 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4910         * emacs-lisp/smie.el (smie-down-list): New command.
4912         Remove old indentation and navigation code on octave-mode.
4913         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4914         smie-down-list rather than add a binding for octave-down-block.
4915         (octave-mark-block, octave-blink-matching-block-open):
4916         Rely on forward-sexp-function.
4917         (octave-fill-paragraph): Don't narrow, so you can use
4918         indent-according-to-mode.
4919         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4920         (octave-in-block-p, octave-re-search-forward-kw)
4921         (octave-re-search-backward-kw, octave-indent-calculate)
4922         (octave-end-as-array-index-p, octave-block-end-offset)
4923         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4924         (octave-down-block, octave-backward-up-block, octave-up-block)
4925         (octave-before-magic-comment-p, octave-indent-line): Remove.
4927 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4929         * emacs-lisp/package.el (package--read-archive-file): Just use
4930         `read', to avoid copying an additional string.
4931         (package-menu-mode): Set header-line-format here.
4932         (package-menu-refresh, package-menu-revert): Signal an error if
4933         not in the Package Menu.
4934         (package-menu-package-list): New var.
4935         (package--generate-package-list): Operate on the current buffer;
4936         don't assume that it is *Packages*, since the user may rename it.
4937         Allow persistent package listings and sort keys using
4938         package-menu-package-list and package-menu-package-sort-key.
4939         (package-menu--version-predicate): Fix version calculation.
4940         (package-menu-sort-by-column): Don't select the window.
4941         (package--list-packages): Create the *Packages* buffer.
4942         Set package-menu-package-list-key.
4943         (list-packages): Sorting by status is now the default.
4944         (package-buffer-info): Use match-string-no-properties.
4945         (define-package): Add a &rest argument for future proofing, but
4946         don't use it yet.
4947         (package-install-from-buffer, package-install-buffer-internal):
4948         Merge into a single function, package-install-from-buffer.
4949         (package-install-file): Change caller.
4951         * finder.el: Load finder-inf using `require'.
4952         (finder-list-matches): Sorting by status is now the default.
4953         (finder-compile-keywords): Simpify printing.
4955 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4957         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4958         (octave-mode-map): Remove special bindings for forward/backward-block
4959         and octave-backward-up-block.  Use smie-close-block.
4960         (octave-continuation-marker-regexp): New var.
4961         (octave-continuation-regexp): Use it.
4962         (octave-operator-table, octave-smie-op-levels)
4963         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4964         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4965         (octave-mode): Use SMIE.
4966         (octave-close-block): Delete.
4968 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4970         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4971         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4973 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4975         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4976         a list of parents.
4977         (smie-indent-column): Allow indirection through variables.
4979         * composite.el (save-buffer-state): Delete, unused.
4980         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4981         (font-lock-default-fontify-region): Use with-syntax-table.
4982         * jit-lock.el (with-buffer-unmodified): Remove.
4983         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4985         Use `declare' in defmacros.
4986         * window.el (save-selected-window):
4987         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4988         * progmodes/python.el (def-python-skeleton):
4989         * net/dbus.el (dbus-ignore-errors):
4990         * jka-cmpr-hook.el (with-auto-compression-mode):
4991         * international/mule.el (with-category-table):
4992         * emacs-lisp/timer.el (with-timeout):
4993         * emacs-lisp/lisp-mnt.el (lm-with-file):
4994         * emacs-lisp/eieio.el (with-slots):
4995         * emacs-lisp/easymenu.el (easy-menu-define):
4996         * emacs-lisp/debug.el (debugger-env-macro):
4997         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4998         (Multiple-value-call, Multiple-value-prog1):
4999         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5000         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5001         edebug rule to definition.
5002         * emacs-lisp/lisp-mode.el (save-selected-window)
5003         (with-current-buffer, combine-after-change-calls)
5004         (with-output-to-string, with-temp-file, with-temp-buffer)
5005         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5006         (dolist, dotimes, when, unless):
5007         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5009 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5011         * finder.el: Require `package'.
5012         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5013         (finder-package-info): Var deleted.
5014         (finder-keywords-hash, finder--builtins-alist): New vars.
5015         (finder-compile-keywords): Compute package--builtins and
5016         finder-keywords-hash instead of finder-keywords-hash, respecting
5017         the "Package" header.
5018         (finder-unknown-keywords, finder-list-matches):
5019         Use finder-keywords-hash and package--list-packages.
5020         (finder-mode): Don't set font-lock-defaults.
5021         (finder-exit): We don't use "*Finder-package*" and "*Finder
5022         Category*" buffers anymore.
5024         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5025         (package--builtins): Set default value to nil.
5026         (package-initialize): Load precomputed value of package--builtins
5027         from finder-inf.el.
5028         (package-alist, package-compute-transaction)
5029         (package-download-transaction): Improve docstring.
5030         (package-read-all-archive-contents): Do not change
5031         package--builtins here.
5032         (list-packages): Make package-list-packages an alias for this.
5033         Sort by status by default.
5034         (package--list-packages): Add optional PACKAGES arg.
5035         (describe-package-1): Use font-lock-face property.  For built-in
5036         packages, insert file commentary.
5037         (package--generate-package-list): Rename from
5038         package-list-packages-internal; all callers changed.  Add optional
5039         PACKAGES arg.  Add alphabetical sort fallbacks.
5040         (package-menu--version-predicate, package-menu--status-predicate)
5041         (package-menu--description-predicate)
5042         (package-menu--name-predicate): New functions.
5044         * info.el (Info-finder-find-node): Search package-alist instead of
5045         finder-package-info.
5047 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5049         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5050         "alpha" and "beta".
5051         (version-to-list): Handle versions like "10.3d".
5053 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5055         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5056         (macroexp-accumulate): Use `declare'.
5058 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5060         * whitespace.el (whitespace-style): Adjust type declaration.
5062 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5064         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5065         empty argument to gvfs-copy.
5067 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5069         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5070         handle new TRASH arg of `delete-file'.
5072 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5074         * net/tramp.el (tramp-handle-insert-directory): Don't use
5075         `forward-word', its default syntax could be changed.
5077 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5078             Michael Albinus  <michael.albinus@gmx.de>
5080         Implement compression for inline methods.
5082         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5083         (tramp-copy-size-limit): Allow also nil.
5084         (tramp-inline-compress-commands): New defconst.
5085         (tramp-find-inline-compress, tramp-get-inline-compress)
5086         (tramp-get-inline-coding): New defuns.
5087         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5088         replaced by `tramp-get-inline-coding'.
5089         (tramp-handle-file-local-copy, tramp-handle-write-region)
5090         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5092 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
5094         Detect ssh 'ControlMaster' argument automatically in some cases.
5096         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5097         (tramp-default-method): Use it.
5099 2010-08-26  Karel Klíč  <kklic@redhat.com>
5101         * net/tramp.el (tramp-file-name-for-operation):
5102         Add file-selinux-context.
5104 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
5106         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5108 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5110         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5111         (Bug#6907).
5113 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
5115         * progmodes/js.el: Make indentation more customizable (Bug#6914).
5116         (js-paren-indent-offset, js-square-indent-offset)
5117         (js-curly-indent-offset): New options.
5118         (js--proper-indentation): Use them.
5120 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
5122         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5123         instead of inspecting font-lock properties (Bug#6916).
5125 2010-08-26  David Reitter  <david.reitter@gmail.com>
5127         * server.el (server-visit-files): Run pre-command-hook and
5128         post-command-hook for each buffer while it is current (Bug#6910).
5129         (server-execute): Do not run hooks here.
5131 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
5133         Sync with Tramp 2.1.19.
5135         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5136         (tramp-reporter-dump-variable, tramp-load-report-modules)
5137         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5138         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5140         * net/tramp-compat.el (top): Do not autoload
5141         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5142         only when `start-file-process' is not bound.
5143         (byte-compile-not-obsolete-vars): Define if not bound.
5144         (tramp-compat-funcall): New defmacro.
5145         (tramp-compat-line-beginning-position)
5146         (tramp-compat-line-end-position)
5147         (tramp-compat-temporary-file-directory)
5148         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5149         (tramp-compat-copy-file, tramp-compat-copy-directory)
5150         (tramp-compat-delete-file, tramp-compat-delete-directory)
5151         (tramp-compat-number-sequence, tramp-compat-process-running-p):
5152         Use it.
5153         (tramp-advice-file-expand-wildcards): Do not use
5154         `tramp-handle-file-remote-p'.
5155         (tramp-compat-make-temp-file): Simplify fallback implementation.
5156         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5157         (tramp-compat-copy-tree): Remove function.
5158         (tramp-compat-delete-file): New defun.
5159         (tramp-compat-delete-directory): Provide implementation for older
5160         Emacsen.
5161         (tramp-compat-file-attributes): Handle only
5162         `wrong-number-of-arguments' error.
5164         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5165         Add PRESERVE_SELINUX_CONTEXT.
5166         (tramp-fish-handle-delete-file): Add TRASH arg.
5167         (tramp-fish-handle-directory-files-and-attributes):
5168         Do not use `tramp-fish-handle-file-attributes.
5169         (tramp-fish-handle-file-local-copy)
5170         (tramp-fish-handle-insert-file-contents)
5171         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5173         * net/tramp-gvfs.el (top): Require url-util.
5174         (tramp-gvfs-mount-point): Remove.
5175         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5176         and `set-file-selinux-context'.
5177         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5178         (tramp-gvfs-handle-file-selinux-context)
5179         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5180         (with-tramp-dbus-call-method): Format trace message.
5181         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5182         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5183         Implement backup call, when operation on local files fails.
5184         Use progress reporter.  Flush properties of changed files.
5185         (tramp-gvfs-handle-delete-file): Add TRASH arg.
5186         Use `tramp-compat-delete-file'.
5187         (tramp-gvfs-handle-expand-file-name): Expand "~/".
5188         (tramp-gvfs-handle-make-directory): Make more traces.
5189         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5190         (tramp-gvfs-url-file-name): Hexify file name in url.
5191         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5192         into account for the resulting file name.
5193         (tramp-gvfs-handler-askquestion): Preserve current message, in
5194         order to let progress reporter continue afterwards.  (Bug#6257)
5195         Return dummy mountpoint, when the answer is "no".
5196         See `tramp-gvfs-maybe-open-connection'.
5197         (tramp-gvfs-handler-mounted-unmounted)
5198         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5199         attribute "default_location".  Set "prefix" property.
5200         Handle default-location.
5201         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5202         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5203         exists.  Raise an error, if not (due to a corresponding answer
5204         "no" in interactive questions, for example).
5205         Use `tramp-compat-funcall'.
5207         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5208         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5209         (tramp-imap-do-copy-or-rename-file)
5210         (tramp-imap-handle-insert-file-contents)
5211         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5212         (tramp-imap-handle-delete-file): Add TRASH arg.
5214         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5215         Add PRESERVE-SELINUX-CONTEXT.
5216         (tramp-smb-handle-copy-file)
5217         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5218         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5219         Use `with-progress-reporter'.
5220         (tramp-smb-handle-delete-file): Add TRASH arg.
5222         * net/tramp.el (tramp-methods): Move hostname to the end in all
5223         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
5224         appropriate.
5225         (tramp-verbose): Describe verbose level 9.
5226         (tramp-completion-function-alist)
5227         (tramp-file-name-regexp, tramp-chunksize)
5228         (tramp-local-coding-commands, tramp-remote-coding-commands)
5229         (with-connection-property, tramp-completion-mode-p)
5230         (tramp-action-process-alive, tramp-action-out-of-band)
5231         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5232         (tramp-exists-file-name-handler): Fix docstring.
5233         (tramp-remote-process-environment): Use `format' instead of
5234         `concat'.  Protect version string by apostroph.
5235         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5236         XEmacs.
5237         (tramp-file-name-regexp-unified)
5238         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5239         not regard the volume letter as remote filename.  (Bug#5447)
5240         (tramp-perl-file-attributes)
5241         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5242         (tramp-vc-registered-read-file-names): Read input as
5243         here-document, otherwise the command could exceed maximum length
5244         of command line.
5245         (tramp-file-name-handler-alist): Add `file-selinux-context' and
5246         `set-file-selinux-context'.
5247         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5248         backtrace functions.
5249         (tramp-error-with-buffer): Don't show the connection buffer when
5250         we are in completion mode.
5251         (tramp-progress-reporter-update, tramp-remote-selinux-p)
5252         (tramp-handle-file-selinux-context)
5253         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5254         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5255         New defuns.
5256         (with-progress-reporter): New defmacro.
5257         (tramp-debug-outline-regexp): New defconst.
5258         (top, tramp-rfn-eshadow-setup-minibuffer)
5259         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5260         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5261         (tramp-completion-mode-p, tramp-check-for-regexp)
5262         (tramp-open-connection-setup-interactive-shell)
5263         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5264         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5265         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5266         Use `tramp-compat-funcall'.
5267         (tramp-handle-make-symbolic-link): Flush file properties.
5268         (tramp-handle-load, tramp-handle-file-local-copy)
5269         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5270         (tramp-handle-vc-registered, tramp-maybe-send-script)
5271         (tramp-find-shell): Use `with-progress-reporter'.
5272         (tramp-do-file-attributes-with-stat): Add space in format string,
5273         in order to work around a bug in pdksh.  Reported by Gilles Pion
5274         <gpion@lfdj.com>.
5275         (tramp-handle-verify-visited-file-modtime): Do not send a command
5276         when the connection is not established.
5277         (tramp-handle-set-file-times): Simplify the check for utc.
5278         (tramp-handle-directory-files-and-attributes)
5279         (tramp-get-remote-path): Use `copy-tree'.
5280         (tramp-completion-handle-file-name-all-completions): Ensure, that
5281         non remote files are still checked.  Oops.
5282         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5283         Handle PRESERVE-SELINUX-CONTEXT.
5284         (tramp-do-copy-or-rename-file): Add progress reporter.
5285         (tramp-do-copy-or-rename-file-directly): Do not use
5286         `tramp-handle-file-remote-p'.
5287         (tramp-do-copy-or-rename-file-out-of-band):
5288         Use `tramp-compat-delete-directory'.
5289         (tramp-do-copy-or-rename-file-out-of-band)
5290         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5291         Use `format-spec-make'.
5292         (tramp-handle-delete-file): Add TRASH arg.
5293         (tramp-handle-dired-uncache): Flush directory cache, not only file
5294         cache.
5295         (tramp-handle-expand-file-name)
5296         (tramp-completion-handle-file-name-all-completions)
5297         (tramp-completion-handle-file-name-completion):
5298         Use `tramp-connectable-p'.
5299         (tramp-handle-start-file-process): Set connection property "vec".
5300         Use it, in order to invalidate file caches.  Check only for
5301         `remote-tty' process property.
5302         Implement tty setting.  (Bug#4604, Bug#6360)
5303         (tramp-file-name-for-operation): Add `call-process-region' and
5304         `set-file-selinux-context'.
5305         (tramp-find-foreign-file-name-handler)
5306         (tramp-advice-make-auto-save-file-name)
5307         (tramp-set-auto-save-file-modes): Remove superfluous check for
5308         `stringp'.  This is done inside `tramp-tramp-file-p'.
5309         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
5310         operations when we are in completion mode.  This gives the user
5311         the chance to correct the file name in the minibuffer.
5312         (tramp-completion-mode-p): Use `non-essential'.
5313         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5314         compatibility: Use `completion-ignore-case' if
5315         `read-file-name-completion-ignore-case' does not exist.
5316         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5317         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5318         `tramp-open-shell'.
5319         (tramp-action-password): Hide password prompt before next run.
5320         (tramp-process-actions): Widen connection buffer for the trace.
5321         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5322         process property.  Trace stty settings if `tramp-verbose' >= 9.
5323         Apply workaround for IRIX64 bug.  Move argument of last
5324         `tramp-send-command' where it belongs to.
5325         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5326         front of `login-args'.
5327         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5328         on "/dev/null" instead of "/".
5329         (tramp-get-ls-command-with-dired): Make test for "--dired"
5330         stronger.
5331         (tramp-set-auto-save-file-modes): Adapt version check.
5332         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5333         (tramp-handle-process-file): Call the program in a subshell, in
5334         order to preserve working directory.
5335         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5336         `tramp-remote-sh' from `tramp-methods'.
5337         (tramp-get-ls-command): Make test for "--color=never" stronger.
5338         (tramp-check-for-regexp): Use (forward-line 1).
5340         * net/trampver.el: Update release number.
5342 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5344         * help.el (help-map): Bind `C-h P' to describe-package.
5346         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5348         * emacs-lisp/package.el (package-refresh-contents): Catch errors
5349         when downloading archives.
5350         (describe-package-1): Add package commentary.
5351         (package-install-button-action): New function.
5352         (package-menu-mode-map): Bind ? to package-menu-describe-package.
5353         (package-menu-view-commentary): Function removed.
5354         (package-list-packages-internal): Hide the `package' package too.
5356 2010-08-25  Kenichi Handa  <handa@m17n.org>
5358         * language/misc-lang.el ("Arabic"): New language environment.
5359         Setup composition-function-table for Arabic characters.
5361         * international/fontset.el (setup-default-fontset): Fix typo for
5362         arabic OTF spec (fini->fina).
5364 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
5366         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5367         on all frames.
5369 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5371         * whitespace.el: Allow cleaning up blanks without blank
5372         visualization (Bug#6651).  Adjust help window for
5373         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5374         instead of whitespace-line-column (from EmacsWiki).  New version
5375         13.1.
5376         (whitespace-style): Add new value 'face.  Adjust docstring.
5377         (whitespace-space, whitespace-hspace, whitespace-tab):
5378         Adjust foreground property face.
5379         (whitespace-line-column): Adjust docstring and type declaration.
5380         (whitespace-style-value-list, whitespace-toggle-option-alist)
5381         (whitespace-help-text): Adjust const initialization.
5382         (whitespace-toggle-options, global-whitespace-toggle-options):
5383         Adjust docstring.
5384         (whitespace-display-window, whitespace-interactive-char)
5385         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5386         (whitespace-help-scroll): New fun.
5388 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5390         * emacs-lisp/package.el (list-packages): Alias for
5391         package-list-packages.
5393 2010-08-24  Kevin Ryde  <user42@zip.com.au>
5395         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5396         (Bug#5651).
5398         * progmodes/ruby-mode.el (ruby): Add defgroup.
5400 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5402         * progmodes/python.el: Add Ipython support (Bug#5390).
5403         (python-shell-prompt-alist)
5404         (python-shell-continuation-prompt-alist): New options.
5405         (python--set-prompt-regexp): New function.
5406         (inferior-python-mode, run-python, python-shell):
5407         Require ansi-color.  Use python--set-prompt-regexp to set the comint
5408         prompt based on the Python interpreter.
5409         (python--prompt-regexp): New var.
5410         (python-check-comint-prompt)
5411         (python-comint-output-filter-function): Use it.
5412         (run-python): Use a pipe (Bug#5694).
5414 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
5416         * progmodes/python.el (python-send-region): Send a different
5417         Python command if Ipython is in use.
5418         (python-check-version): Use a Python command to find the version.
5420 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5422         * mouse.el (mouse-yank-primary): Avoid setting primary when
5423         deactivating the mark (Bug#6872).
5425 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
5427         * progmodes/python.el (python-block-pairs): Allow use of "finally"
5428         with "else" (Bug#3991).
5430 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
5432         * net/dbus.el: Accept UNIX domain sockets as bus address.
5433         (top): Don't initialize `dbus-registered-objects-table' anymore,
5434         this is done in dbusbind,c.
5435         (dbus-check-event): Adapt test for bus.
5436         (dbus-return-values-table, dbus-unregister-service)
5437         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5438         Adapt doc string.
5440 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
5442         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5444 2010-08-22  Juri Linkov  <juri@jurta.org>
5446         * simple.el (read-extended-command): New function with the logic
5447         for `completing-read' moved to Elisp from `execute-extended-command'.
5448         Use `function-called-at-point' in `minibuffer-default-add-function'
5449         to get a command name for M-n (bug#5364, bug#5214).
5451 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5453         * startup.el (command-line-1): Issue warning for ignored arguments
5454         --unibyte, etc (Bug#6886).
5456 2010-08-22  Leo  <sdl.web@gmail.com>
5458         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5459         (ignore, bright, dim, keyword): Split list of nicknames before
5460         passing to rcirc-add-or-remove (Bug#6894).
5462 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5464         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5466 2010-08-22  Leo  <sdl.web@gmail.com>
5468         Fix buffer-list rename&refresh after killing a buffer in ido.
5469         * ido.el: Revert Óscar's.
5470         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5471         Remember the buffers at head, rather than their name.
5472         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5474 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
5475             Stefan Monnier  <monnier@iro.umontreal.ca>
5477         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5478         extra backslash added to each line (bug#6890).
5480 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5482         * subr.el (read-key): Don't echo keystrokes (bug#6883).
5484 2010-08-22  Glenn Morris  <rgm@gnu.org>
5486         * menu-bar.el (menu-bar-games-menu): Add landmark.
5488 2010-08-22  Glenn Morris  <rgm@gnu.org>
5490         * align.el (align-regexp): Make group and spacing arguments
5491         use the interactive defaults when non-interactive.  (Bug#6698)
5493         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5494         expansion, so as not to need sendmail.
5495         (mail-text-start): Remove declaration.
5496         (rmail-retry-failure): Require sendmail.
5498 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5500         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5502 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
5504         * progmodes/flymake.el (flymake-start-syntax-check-process):
5505         Use `start-file-process' in order to let it run also on remote hosts.
5507 2010-08-22  Kenichi Handa  <handa@m17n.org>
5509         * files.el: Add `word-wrap' as safe local variable.
5511 2010-08-22  Glenn Morris  <rgm@gnu.org>
5513         * woman.el (woman-translate): Case matters.  (Bug#6849)
5515 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5517         * simple.el (kill-region): Doc fix (Bug#6787).
5519 2010-08-22  Glenn Morris  <rgm@gnu.org>
5521         * calendar/diary-lib.el (diary-header-line-format):
5522         Fit it to the window, not the frame.
5524 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
5526         * subr.el (ignore-errors): Add debug declaration.
5528 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
5530         * whitespace.el (whitespace-color-off): Remove post-command-hook
5531         locally.
5533 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5535         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5537 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5539         * cus-edit.el (custom-group-value-create): Add extra newline
5540         before end line (Bug#6876).
5542 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5544         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5545         when extending it.  Before killing on the second click, check if
5546         the buffer is the correct one.  Doc fix.
5547         (mouse-secondary-save-then-kill): Allow usage without first
5548         calling mouse-start-secondary, by defaulting to point.  Don't save
5549         an empty secondary selection.  Doc fix.
5551 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5553         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
5554         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5555         New version 13.0.
5556         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5557         Adjust initialization.
5558         (whitespace-bob-marker, whitespace-eob-marker)
5559         (whitespace-buffer-changed): New vars.
5560         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5561         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5562         (whitespace-post-command-hook, whitespace-display-char-on):
5563         Adjust code.
5564         (whitespace-looking-back, whitespace-buffer-changed): New funs.
5565         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5567 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5569         * files.el (locate-file-completion-table): Only list the .el and .elc
5570         extensions if there's no other choice (bug#5955).
5572         * facemenu.el (facemenu-self-insert-data): New var.
5573         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5574         New functions.
5575         (facemenu-add-face): Use them.
5577         * simple.el (blink-matching-open): Obey forward-sexp-function.
5579 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * simple.el (prog-mode-map): New var.
5582         (prog-indent-sexp): New command.
5584         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5586         * progmodes/prolog.el (smie): Require.
5588         * emacs-lisp/smie.el (smie-default-backward-token)
5589         (smie-default-forward-token): Strip properties.
5590         (smie-next-sexp): Be more careful with associative operators.
5591         (smie-forward-sexp-command): Generalize.
5592         (smie-backward-sexp-command): Simplify.
5593         (smie-closer-alist): New var.
5594         (smie-close-block): New command.
5595         (smie-indent-debug-log): New var.
5596         (smie-indent-offset-rule): Add a few more cases.
5597         (smie-indent-column): New function.
5598         (smie-indent-after-keyword): Use it.
5599         (smie-indent-keyword): Use it.
5600         Fix up the opener code's point position.
5601         (smie-indent-comment): Only applies at BOL.
5602         (smie-indent-debug): New command.
5604         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5605         declarations that are useful before running the macro.
5607 2010-08-18  Joakim Verona  <joakim@verona.se>
5609         * image.el (imagemagick-types-inhibit): New variable.
5610         (imagemagick-register-types): New function.
5611         * image-mode.el (image-transform-properties): New function.
5612         (image-transform-set-scale, image-transform-fit-to-height)
5613         (image-transform-set-rotation, image-transform-set-resize)
5614         (image-transform-fit-to-width, image-transform-fit-to-height):
5615         New functions.
5616         (image-toggle-display-image): Support image transforms.
5618 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5620         * image.el (create-animated-image): Don't add heuristic mask to image
5621         (Bug#6839).
5623 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
5625         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5626         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5628 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5630         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5632         Font-lock '...' strings, plus various simplifications and fixes.
5633         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5634         (octave-font-lock-close-quotes): New function.
5635         (octave-font-lock-syntactic-keywords): New var.
5636         (octave-mode): Use it.  Set beginning-of-defun-function.
5637         (octave-mode-map): Don't override the <foo>-defun commands.
5638         (octave-mode-menu): Pass it directly to easy-menu-define;
5639         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5640         (octave-block-match-alist): Fix up last change so that
5641         octave-close-block uses the more specific keyword.
5642         (info-lookup-mode): Silence byte-compiler.
5643         (octave-beginning-of-defun): Not interactive any more.
5644         Optimize slightly.
5645         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5646         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5647         (octave-completion-at-point-function): Make sure point is within
5648         beg..end.
5649         (octave-reindent-then-newline-and-indent):
5650         Use reindent-then-newline-and-indent.
5651         (octave-add-octave-menu): Remove.
5653 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
5655         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5656         (report-emacs-bug-can-use-xdg-email): New functions.
5657         (report-emacs-bug): Set can-xdg-email to result of
5658         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
5659         \C-cm to report-emacs-bug-insert-to-mailer and add help text
5660         about it.
5662         * net/browse-url.el (browse-url-default-browser): Add cond
5663         for browse-url-xdg-open.
5664         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5666 2010-08-17  Glenn Morris  <rgm@gnu.org>
5668         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5669         (c-fontify-recorded-types-and-refs): Define for compiler.
5670         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5671         before use.
5673         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5674         Fix format call.
5676 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
5678         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5679         properties.
5680         (tramp-handle-process-file): Call the program in a subshell, in
5681         order to preserve working directory.
5682         (tramp-action-password): Hide password prompt before next run.
5683         (tramp-process-actions): Widen connection buffer for the trace.
5685 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5687         * net/rcirc.el (rcirc-log-process-buffers): New option.
5688         (rcirc-print): Use it.
5689         (rcirc-generate-log-filename): New function.
5690         (rcirc-log-filename-function): Change default to
5691         rcirc-generate-log-filename (Bug#6828).
5693 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
5695         * simple.el (deactivate-mark): If select-active-regions is `only',
5696         only set selection for temporarily active regions.
5698         * cus-start.el: Change defcustom for select-active-regions.
5700 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5702         * mouse.el (mouse--drag-set-mark-and-point): New function.
5703         (mouse-drag-track): Use LOCATION arg to push-mark.
5704         Use mouse--drag-set-mark-and-point to take click-count into
5705         consideration when updating point and mark (Bug#6840).
5707 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5709         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5710         Give the Ruby rule a lower priority than Gnu (Bug#6778).
5712 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5714         * font-lock.el (lisp-font-lock-keywords-2):
5715         Add combine-after-change-calls, condition-case-no-debug,
5716         with-demoted-errors, and with-silent-modifications (Bug#6025).
5718 2010-08-14  Kevin Ryde  <user42@zip.com.au>
5720         * emacs-lisp/copyright.el (copyright-update-year)
5721         (copyright-update): Temporary switch-to-buffer to ensure the
5722         buffer change being queried is visible (Bug#5394).
5724 2010-08-14  Tom Tromey  <tromey@redhat.com>
5726         * progmodes/etags.el (tags-file-name): Mark safe if stringp
5727         (Bug#6733).
5729 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
5731         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5732         MS-DOS.  (Bug#6689)
5734 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5736         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5737         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5738         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5739         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5740         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5741         Call menu-bar-set-tool-bar-position.
5743 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5745         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5746         comment style (bug#6834).
5747         * progmodes/scheme.el (scheme-mode-syntax-table):
5748         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5749         "b" flag in "' 14b" syntax.
5751         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5752         for (un)commenting the region and performing completion.
5753         (octave-mode-menu): Use standard commands for help and completion.
5754         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5755         (octave-mode): Use define-derived-mode.
5756         Set completion-at-point-functions and don't set columns.
5757         Don't disable adaptive-fill-regexp.
5758         (octave-describe-major-mode, octave-comment-region)
5759         (octave-uncomment-region, octave-comment-indent)
5760         (octave-indent-for-comment): Remove.
5761         (octave-indent-calculate): Rename from calculate-octave-indent.
5762         (octave-indent-line, octave-fill-paragraph): Update caller.
5763         (octave-initialize-completions): No need to make an alist.
5764         (octave-completion-at-point-function): New function.
5765         (octave-complete-symbol): Use it.
5766         (octave-insert-defun): Use define-skeleton.
5768         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5769         (octave-mode-map): Use comment-dwim (bug#6829).
5771 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5773         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5774         indentation of inserted comment.
5776 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5778         * faces.el (region): Add type gtk that uses gtk colors.
5780         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5781         Handle theme-name change.
5783 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5785         * progmodes/sql.el: Version 2.5
5786         (sql-product-alist): Add :prompt-cont-regexp property for several
5787         database products.
5788         (sql-prompt-cont-regexp): New variable.
5789         (sql-output-newline-count, sql-output-by-send):
5790         New variables.  Record number of newlines in input text.
5791         (sql-send-string): Handle multiple filters and count newlines.
5792         (sql-send-magic-terminator): Count terminator newline.
5793         (sql-interactive-remove-continuation-prompt): Filters output to
5794         remove continuation prompts; one for each newline.
5795         (sql-interactive-mode): Set up new variables, prompt regexp and
5796         output filter.
5797         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5798         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5800 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5802         * emacs-lisp/pcase.el: New file.
5804 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5806         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5807         as here-document, otherwise the command could exceed maximum
5808         length of command line.
5809         (tramp-handle-vc-registered): Call script accordingly.
5810         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5812 2010-08-10  Kenichi Handa  <handa@m17n.org>
5814         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5815         composable pattern.
5817 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5819         * emacs-lisp/package.el (package-version-split)
5820         (package--version-first-nonzero, package-version-compare):
5821         Functions removed.
5822         (package-directory-list, package-load-all-descriptors)
5823         (package--built-in, package-activate, define-package)
5824         (package-installed-p, package-compute-transaction)
5825         (package-read-all-archive-contents)
5826         (package--add-to-archive-contents, package-buffer-info)
5827         (package-tar-file-info, package-list-packages-internal):
5828         Use version-to-list and version-list-*.
5830         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5831         Use version-to-list.
5832         (package-upload-buffer-internal): Use version-list-<=.
5834 2010-08-09  Kenichi Handa  <handa@m17n.org>
5836         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5837         composable pattern.
5839 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5841         * tutorial.el (tutorial--default-keys): C-d is now bound to
5842         delete-forward-char (Bug#6826).
5844         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5845         for `double' value of mouse-1-click-follows-link (Bug#6807).
5847 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5849         * replace.el (replace-highlight): Bind isearch-forward and
5850         isearch-error, ensuring that highlighting is updated if the user
5851         switches the search direction (Bug#6808).
5853         * isearch.el (isearch-lazy-highlight-forward): New var.
5854         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5855         (isearch-lazy-highlight-update): Use it.
5857 2010-08-08  Kenichi Handa  <handa@m17n.org>
5859         * international/mule.el (define-charset): Store NAME as :base property.
5860         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5861         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5862         current priority.  Force using the designation of the specific
5863         charset by adding `charset' text property.  Improve the whole algorithm.
5865 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5867         * emulation/pc-select.el (pc-selection-mode-hook)
5868         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5869         (pc-selection-mode): Fix typos in docstrings.
5871 2010-08-08  Kenichi Handa  <handa@m17n.org>
5873         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5874         ctext-non-standard-encodings-alist here.
5876         * international/mule.el (ctext-non-standard-encodings-alist):
5877         Add "koi8-r" and "microsoft-cp1251".
5878         (ctext-standard-encodings): New variable.
5879         (ctext-non-standard-encodings-table): List only elements for
5880         non-standard encodings.
5881         (ctext-pre-write-conversion): Adjust for the above change.
5882         Check ctext-standard-encodings.
5884         * international/mule-conf.el (compound-text): Doc fix.
5885         (ctext-no-compositions): Doc fix.
5886         (compound-text-with-extensions): Doc fix.
5888 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5890         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5892 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5894         * progmodes/which-func.el (which-func-format): Split help-echo text
5895         into lines, like other mode-line tooltips.
5897         * server.el (server-start): When using TCP sockets, force IPv4
5898         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5900 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5902         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5904 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5906         * term.el (term-delimiter-argument-list): Reflow docstring.
5907         (term-read-input-ring, term-write-input-ring, term-send-input)
5908         (term-bol, term-erase-in-display, serial-supported-or-barf):
5909         Fix typos in docstrings.
5911 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5913         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5915 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5917         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5919 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5921         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5922         Fix typo in docstring (bug#6747).
5924 2010-08-08  Leo  <sdl.web@gmail.com>
5926         * eshell/esh-io.el (eshell-get-target): Better detection of
5927         read-only file (Bug#6762).
5929 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5931         * align.el (align-default-spacing): Doc fix.
5932         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5934 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5936         * calendar/icalendar.el
5937         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5938         (icalendar--get-weekday-numbers): New.
5939         (icalendar--convert-recurring-to-diary): Handle multiple byday
5940         values in weekly rules.  (Bug#6766)
5942 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5944         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5945         (icalendar--create-uid, icalendar-export-region)
5946         (icalendar--parse-summary-and-rest): Code formatting.
5948 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5950         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5951         to italicize headers.
5952         (calc-highlight-selections-with-faces): New variable.
5953         (calc-selected-face, calc-nonselected-face): New faces.
5955         * calc/calccomp.el (math-comp-highlight-string): Use
5956         `calc-highlight-selections-with-faces' to determine how to highlight
5957         sub-formulas.
5959         * calc/calc-sel.el (calc-show-selections): Change message to when
5960         using faces to highlight selections.
5962 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5964         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5965         Add SQLite 3 keywords, functions and datatypes.
5966         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5967         (Bug#6686).
5969 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5971         * simple.el (select-active-regions): Move to keyboard.c.
5972         (deactivate-mark): Used saved-region-selection.
5973         (select-active-region): Function removed.
5974         (activate-mark, set-mark, push-mark-command)
5975         (handle-shift-selection): Don't call it.
5976         (keyboard-quit): Avoid adding the region to the window selection.
5978         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5979         select-active-regions implementation.
5980         (mouse-yank-at-click): Doc fix.
5982         * cus-start.el: Add custom declaration for select-active-regions.
5984 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5986         * simple.el (delete-forward-char): Doc fix.
5988         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5989         after reading the tutorial.
5991 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5993         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5994         Fix for the case that a C style comment has its delimiters alone on
5995         their respective lines.
5997 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5999         * net/tramp.el (tramp-handle-start-file-process): Set connection
6000         property "vec".
6001         (tramp-process-sentinel): Use it for flushing the cache.
6002         We cannot do it via the process buffer, the buffer could be deleted
6003         already when running the sentinel.
6005 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6007         * comint.el (comint-mode): Make directory tracking functions
6008         functional on remote files.  (Bug#6764)
6010 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6012         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6014 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6016         * emacs-lisp/find-gc.el (find-gc-source-files):
6017         Rename unexec.c => unexcoff.c.
6019         * emacs-lisp/authors.el (authors-fixed-entries):
6020         Rename unexec.c => unexcoff.c.
6022 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6024         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6025         cache, not only file cache.
6026         (tramp-process-sentinel): New defun.
6027         (tramp-handle-start-file-process): Use it, in order to invalidate
6028         file caches.
6030 2010-08-03  Leo  <sdl.web@gmail.com>
6032         * server.el (server-start): Simplify loop.
6034 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6036         * frame.el (screen-height, screen-width, set-screen-width)
6037         (set-screen-height): Remove ancient compatibility aliases.
6039         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6040         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6042         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6043         that change current buffer.
6045 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6047         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6048         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6050 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6052         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6054 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6056         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6057         (package--builtins): Tweak descriptions.
6058         (package-print-package): Upcase descriptions if necessary.
6059         Show all built-in packages in font-lock-builtin-face.
6060         (package-list-packages-internal): Omit "emacs" package.
6061         Show status of built-in packages as "built-in".
6063 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6065         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6066         before killing to preserve the primary selection (Bug#6701).
6068         * term/x-win.el (x-select-text): Doc fix.
6070 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6072         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6073         (objc-font-lock-extra-types):
6074         * progmodes/cc-mode.el (c-basic-common-init):
6075         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6076         (c++-make-template-syntax-table)
6077         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6078         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6079         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6080         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6081         * progmodes/cc-fonts.el (c-make-inverse-face)
6082         (c-basic-matchers-after):
6083         * progmodes/cc-engine.el (c-forward-keyword-clause)
6084         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6085         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6086         (c-guess-continued-construct, c-guess-basic-syntax):
6087         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6088         The above functions were modified or created.
6090 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
6092         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6094 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
6096         * files.el (bidi-paragraph-direction): Define safe local values.
6098         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6099         language-info-alist.  Remove outdated FIXME in a comment.
6101 2010-07-31  Alan Mackenzie  <acm@muc.de>
6103         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6104         Auto-fill broken in C/C++ modes.
6106 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
6108         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6109         (menu-bar-showhide-tool-bar-menu-customize-disable)
6110         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6111         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6112         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6113         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6114         make a menu for Options => toolbar that can move it.
6116 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
6118         * emacs-lisp/package-x.el (package--make-rss-entry):
6119         (package-maint-add-news-item, package--update-news)
6120         (package-upload-buffer-internal): New arg ARCHIVE-URL.
6122         * emacs-lisp/package.el (package-archive-url): Rename from
6123         package-archive-id.
6124         (package-install): Doc fix.
6125         (package-download-single, package-download-tar, package-install)
6126         (package-menu-view-commentary): Callers changed.
6128 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
6130         * net/tramp.el (tramp-handle-start-file-process): Check only for
6131         `remote-tty' process property.
6132         (tramp-open-shell): Don't check for tty.
6133         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6134         process property.
6136         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6137         host.
6139 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
6141         * emacs-lisp/package.el (package-load-list, package-archives)
6142         (package-archive-contents, package-user-dir)
6143         (package-directory-list, package--builtins, package-alist)
6144         (package-activated-list, package-obsolete-alist): Mark as risky.
6146 2010-07-28  Phil Hagelberg  <phil@evri.com>
6148         Add support for non-default package repositories.
6149         * emacs-lisp/package.el (package-archive-base): Var deleted.
6150         (package-archives): New variable.
6151         (package-archive-contents): Doc fix.
6152         (package-load-descriptor): Do nothing if descriptor file is missing.
6153         (package--write-file-no-coding): New function.
6154         (package-unpack-single): Use it.
6155         (package-archive-id): New function.
6156         (package-download-single, package-download-tar)
6157         (package-menu-view-commentary): Use it.
6158         (package-installed-p): Make second argument optional.
6159         (package-read-all-archive-contents): New function.
6160         (package-initialize): Use it.
6161         (package-read-archive-contents): Add ARCHIVE argument.
6162         (package--add-to-archive-contents): New function.
6163         (package-install): Don't call package-read-archive-contents.
6164         (package--download-one-archive): Store archive file in a
6165         subdirectory of package-user-dir.
6166         (package-menu-execute): Remove spurious line movement.
6168 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
6170         * cus-start.el (tool-bar-style): Add text-image-horiz.
6172 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6174         * progmodes/gud.el (gud-common-init): Check for remoteness of
6175         `file', and not of `default-directory'.
6177 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6179         * net/tramp.el (tramp-methods): Move hostname to the end in all
6180         ssh `tramp-login-args'.
6181         (tramp-verbose): Describe verbose level 9.
6182         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6183         (tramp-open-connection-setup-interactive-shell): Trace stty
6184         settings if `tramp-verbose' >= 9.
6185         (tramp-handle-start-file-process): Implement tty setting.
6186         (Bug#4604, Bug#6360)
6188         * net/tramp-cmds.el (tramp-bug): Recommend setting of
6189         `tramp-verbose' to 9.
6191 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
6193         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6194         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6195         Remove references to package `lisp-re' (bug#4369).
6197 2010-07-27  Tom Tromey  <tromey@redhat.com>
6199         * progmodes/js.el (js-mode):
6200         * progmodes/make-mode.el (makefile-mode):
6201         * progmodes/simula.el (simula-mode):
6202         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6204 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
6206         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6208         * time.el (display-time-day-and-date): Remove spurious * in docstring.
6209         (display-time-world-buffer-name, display-time-world-mode-map):
6210         Fix typos in docstrings.
6212 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
6214         * image-mode.el (image-display-size): New function.
6215         (image-forward-hscroll, image-next-line, image-eol, image-eob)
6216         (image-mode-fit-frame): Use it (Bug#6639).
6218 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
6220         * dired.el (dired-buffers-for-dir): Handle list values of
6221         dired-directory (Bug#6636).
6223 2010-07-26  Sam Steingold  <sds@gnu.org>
6225         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6226         Do not call `x-get-selection' the second time, reuse the value.
6228 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
6230         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6231         which consist of control chars only.  Suggested by Richard Stallman.
6233 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
6235         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6236         exists before passing an error to find-file-not-found-functions
6237         (bug#6723).
6239 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
6241         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6242         Remove leading nil element, adjust values.
6243         (tetris-shapes, tetris-shape-scores):
6244         Change representation of shapes and remove some redundancy.
6245         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6246         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6247         Adjust for working with new representation of shapes.
6248         (tetris-shape-rotations): New function.
6249         (tetris-move-bottom, tetris-move-left, tetris-move-right)
6250         (tetris-rotate-prev, tetris-rotate-next):
6251         Adjust for working with the new version of tetris-test-shape.
6253 2010-07-23  Markus Triska  <markus.triska@gmx.at>
6255         * progmodes/ps-mode.el: Use comint (bug#5954).
6256         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6257         (ps-mode-other-newline): Simplify.
6258         (ps-run-mode): Derive from comint-mode instead of
6259         fundamental-mode, yielding input history etc.
6260         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6261         (ps-run-send-string): Adapt for comint-mode.
6262         (ps-run-newline): Remove now unneeded function.
6264 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6266         * net/tramp.el (tramp-methods): Move hostname to the end in all
6267         plink `tramp-login-args'.
6269 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6271         * net/tramp.el (tramp-open-shell): New defun.
6272         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6273         Use it.
6275 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6277         * net/tramp.el (tramp-file-name-regexp-unified)
6278         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6279         not regard the volume letter as remote filename.  (Bug#5447)
6281 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
6283         * custom.el (custom-declare-variable): Give a clearer error message
6284         when the docstring is missing (bug#6476).
6286 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
6288         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
6289         (sql-login-params): New widget definition.
6290         (sql-oracle-login-params, sql-mysql-login-params)
6291         (sql-solid-login-params, sql-sybase-login-params)
6292         (sql-informix-login-params, sql-ingres-login-params)
6293         (sql-ms-login-params, sql-postgres-login-params)
6294         (sql-interbase-login-params, sql-db2-login-params)
6295         (sql-linter-login-params): Use it.
6296         (sql-sqlite-login-params): Use it; Define "database" parameter as
6297         a file name.
6298         (sql-sqlite-program): Change to "sqlite3".
6299         (sql-comint-sqlite): Make sure database name is complete.
6300         (sql-for-each-login): New function.
6301         (sql-connect, sql-save-connection): Use it.
6302         (sql-get-login-ext): New function.
6303         (sql-get-login): Use it.
6304         (sql-make-alternate-buffer-name): Handle :file parameters.
6306 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
6308         * dired.el (dired-no-confirm): Document value t and fix defcustom to
6309         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
6311 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
6313         * dired.el (dired-mode-map): Use command remapping (bug#6632).
6315 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
6317         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6319 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
6321         * net/tramp.el (tramp-get-ls-command)
6322         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6323         instead of "/".
6325 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
6327         * progmodes/sql.el: Version 2.3.
6328         (sql-connection-alist): Change keys from symbols to strings;
6329         enhanced the widget definition.
6330         (sql-mode-menu): Add submenu to select connections.
6331         (sql-interactive-mode-menu): Add "Save Connection" item.
6332         (sql-add-product): Fix menu item.
6333         (sql-get-product-feature): Improved error handling.
6334         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6335         (sql-make-alternate-buffer-name): Simplified.
6336         (sql-product-interactive): Handle missing product.
6337         (sql-connect): Support string keys, minor improvements.
6338         (sql-save-connection): New function.
6339         (sql-connection-menu-filter): New function.
6341 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6343         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6344         (tramp-open-connection-setup-interactive-shell):
6345         Apply workaround for IRIX64 bug.  Move argument of last
6346         `tramp-send-command' where it belongs to.
6348 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6350         * net/tramp.el (tramp-perl-file-attributes)
6351         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6352         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6353         front of `login-args'.
6355 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
6357         * time.el (display-time-world-mode): Define with `define-derived-mode'.
6358         Set `show-trailing-whitespace' to nil.
6359         (display-time-world-display): Simplify.
6361 2010-07-18  Alan Mackenzie  <acm@muc.de>
6363         Enhance `c-file-style' in file/directory local variables.
6364         * progmodes/cc-mode.el (c-count-cfss): New function.
6365         (c-before-hack-hook): Call `c-set-style' differently according to
6366         whether c-file-style was set in file or directory local
6367         variables.
6369 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
6371         * progmodes/sql.el: Version 2.2.
6372         (sql-product, sql-user, sql-database, sql-server, sql-port):
6373         Use defcustom :safe keyword rather than putting safe-local-variable
6374         property.
6375         (sql-password): Use defcustom :risky keyword rather than putting
6376         risky-local-variable property.
6377         (sql-oracle-login-params, sql-sqlite-login-params)
6378         (sql-solid-login-params, sql-sybase-login-params)
6379         (sql-informix-login-params, sql-ingres-login-params)
6380         (sql-ms-login-params, sql-postgres-login-params)
6381         (sql-interbase-login-params, sql-db2-login-params)
6382         (sql-linter-login-params): Add `port' option.
6383         (sql-get-product-feature): Add NO-INDIRECT parameter.
6384         (sql-comint-oracle, sql-comint-sybase)
6385         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6386         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6387         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6388         (sql-comint-linter): Rename sql-connect-* functions to
6389         sql-comint-*.
6390         (sql-product-alist, sql-mode-menu): Rename as above and
6391         :sqli-connect-func to :sqli-comint-func.
6392         (sql-connection): New variable.
6393         (sql-interactive-mode): Set it.
6394         (sql-connection-alist): New variable.
6395         (sql-connect): New function.
6396         (sql--alt-buffer-part, sql--alt-if-not-empty)
6397         (sql-make-alternate-buffer-name): Improved alternative buffer name.
6399 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6401         * image-mode.el (image-bookmark-make-record): Do not set context
6402         in an image (Bug#6650).
6404 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6406         * simple.el (select-active-region): New function.
6407         (push-mark-command, set-mark, activate-mark)
6408         (handle-shift-selection): Use it.
6409         (deactivate-mark): Don't check for size of region.
6411         * mouse.el (mouse-drag-track): Use select-active-region.
6413 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
6415         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6416         "--dired" stronger.
6418 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6420         * term/x-win.el (x-select-enable-primary): Change default to nil.
6421         (x-select-enable-clipboard): Add :version keyword.
6423         * mouse.el (mouse-drag-copy-region):
6424         * simple.el (select-active-regions): Likewise.
6426 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
6428         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6429         (vc-coding-system-for-diff): Use it to decide whether to inherit
6430         from the file the EOL format for reading the diffs of that file.
6431         (Bug#4451)
6433 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
6435         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6436         unibyte, so compressed attachments are not compressed again.
6438 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
6440         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6441         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6442         (tramp-find-shell): Simplify setting connection property.
6443         (tramp-get-ls-command): Make test for "--color=never" stronger.
6445 2010-07-15  Simon South  <ssouth@member.fsf.org>
6447         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6448         blocks within record declarations (i.e. variant parts) correctly.
6450 2010-07-15  Simon South  <ssouth@member.fsf.org>
6452         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6453         over literal tokens when parsing so newlines aren't "absorbed" by
6454         single-line comments.  Corrects the indentation of case blocks
6455         that have a comment on the first line.
6457 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
6459         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6460         by Drew Adams (Bug#5504).
6462 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6464         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6465         now that Unicode is used (Bug#6594).
6467 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
6469         * term/x-win.el (x-select-enable-clipboard): Default to t.
6470         (x-initialize-window-system): Don't overwrite Paste menu item.
6472         * simple.el (select-active-regions): Default to t.
6473         (push-mark-command): Don't overwrite primary with empty string.
6475         * mouse.el: Bind mouse-2 to mouse-yank-primary.
6476         (mouse-drag-copy-region): Default to nil.
6478         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6479         Cut/Copy/Paste menu bar items.
6481 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6483         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6484         Patch applied by Karl Fogel.
6486         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6487         and `bookmark-current-buffer' if they have been already set in
6488         another buffer (e.g gnus-art).
6490 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6491             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6493         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6495         * bookmark.el (bookmark-make-record-default): Allow unneeded
6496         information to be omitted from the record.
6498         Adjust declarations and calls:
6500         * info.el (bookmark-make-record-default): Adjust declaration.
6501         (Info-bookmark-make-record): Adjust call.
6503         * woman.el (bookmark-make-record-default): Adjust declaration.
6504         (woman-bookmark-make-record): Adjust call.
6506         * man.el (bookmark-make-record-default): Adjust declaration.
6507         (Man-bookmark-make-record): Adjust call.
6509         * image-mode.el (bookmark-make-record-default): Adjust declaration.
6511         * doc-view.el (bookmark-make-record-default): Adjust declaration.
6513 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6515         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6516         This is also from Thierry Volpiatto's patch in bug #6444.  However,
6517         because it was extraneous to the functional change in that patch,
6518         and causes a re-indendation, I am committing it separately.
6520 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6522         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6523         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6524         Patch applied by Karl Fogel (Bug#6444).
6526 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
6528         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6530 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
6532         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6533         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
6534         (ns-alternatives-map): Change S-tab binding to backtab
6535         (bug#6616).
6537         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6538         under ns.
6540 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6542         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6543         (Bug#5806)
6545         * language/tv-util.el (tai-viet-re): Remove format.
6547 2010-07-12  Kenichi Handa  <handa@m17n.org>
6549         * language/hebrew.el: Remove no-byte-compile declaration.
6550         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
6551         composition-function-table for 3-character looking back.
6552         (hebrew-font-get-precomposed): New function.
6553         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6555 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
6557         * mouse.el (mouse-drag-track): Handle select-active-regions
6558         (Bug#6612).
6560 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
6562         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6563         empty argument to gvfs-copy.
6565 2010-07-10  Glenn Morris  <rgm@gnu.org>
6567         * calendar/calendar.el (calendar-week-end-day): New function.
6568         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6569         Respect calendar-week-start-day.  (Bug#6606)
6570         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6571         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6572         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6573         respect calendar-week-start-day.
6575 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
6577         * simple.el (use-region-p): Doc fix (Bug#6607).
6579 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
6581         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6582         Add regexps for cucumber and ruby.
6584 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
6586         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6587         (epa-file-insert-file-contents): Hack to prevent
6588         find-file from opening empty buffer when decryption failed
6589         (bug#6568).
6591 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
6593         * textmodes/ispell.el (ispell-alternate-dictionary):
6594         Use file-readable-p.
6595         Return nil if no word-list is found at default locations.
6596         (ispell-complete-word-dict): Default to nil.
6597         (ispell-command-loop): Use 'word-list' when using lookup-words.
6598         (lookup-words): Use ispell-complete-word-dict or
6599         ispell-alternate-dictionary.  Check for word-list availability
6600         and handle errors if needed with better messages (Bug#6539).
6601         (ispell-complete-word): Use ispell-complete-word-dict or
6602         ispell-alternate-dictionary.
6604 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
6606         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6607         builtins (BufferError, BytesWarning, WindowsError; callables
6608         bin, bytearray, bytes, format, memoryview, next, print; __package__).
6610 2010-07-07  Glenn Morris  <rgm@gnu.org>
6612         * play/zone.el (top-level): Do not require timer, tabify, or cl.
6613         (zone-shift-left): Ignore intangibility, and any errors from
6614         forward-char.
6615         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
6616         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6617         deleting, and copying text properties.
6618         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6619         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6620         to point-max is hard.
6621         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6622         (zone-fill-out-screen): Ignore intangibility.
6624 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
6626         * menu-bar.el (menu-bar-mode):
6627         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6628         if it has been set.
6630         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6631         word/line selection (Bug#6565).
6633 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
6635         * net/dbus.el (dbus-send-signal): Declare function.
6637 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
6639         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6640         (dbus-register-property): New optional argument EMITS-SIGNAL.
6641         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6643 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
6645         * mouse.el (mouse-drag-overlay): Variable deleted.
6646         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6647         (mouse--remap-link-click-p): New function.
6648         (mouse-drag-track): Handle dragging by using temporary Transient
6649         Mark mode, instead of a special overlay.
6650         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6651         mouse-show-mark.
6653         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6654         deleted.
6656 2010-07-02  Juri Linkov  <juri@jurta.org>
6658         * autoinsert.el (auto-insert-alist): Fix readability
6659         by using dotted pair notation for lambda.
6661 2010-07-02  Juri Linkov  <juri@jurta.org>
6663         * faces.el (read-face-name): Rename arg `string-describing-default'
6664         to `default'.  Doc fix.  Display the default value in quotes
6665         in the prompt.  With empty input, return the `default' arg,
6666         unless the default value is a string (in which case return nil).
6667         (describe-face): Replace the string `default' arg of `read-face-name'
6668         with the symbol `default'.
6670 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
6672         * emulation/viper-cmd.el (viper-delete-backward-char)
6673         (viper-del-backward-char-in-insert)
6674         (viper-del-backward-char-in-replace, viper-change)
6675         (viper-backward-indent): Replace delete-backward-char with
6676         delete-char (Bug#6552).
6678 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
6680         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6682 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6684         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6685         argument passed to frame-creation-function (Bug#5378).
6687         * faces.el (x-handle-named-frame-geometry)
6688         (x-handle-reverse-video, x-create-frame-with-faces)
6689         (face-set-after-frame-default, tty-create-frame-with-faces):
6690         Don't separately consult default-frame-alist.  It is now passed as the
6691         PARAMETER argument.
6693 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
6695         * startup.el (command-line): Don't call tool-bar-setup in a
6696         tty-only build.
6698 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6700         * ruler-mode.el (ruler--save-header-line-format): New fun.
6701         (ruler-mode): Use it as a setter function, so as not to overwrite
6702         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6704 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
6706         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
6707         (vc-root-diff, vc-print-root-log, vc-log-incoming)
6708         (vc-log-outgoing): Use it.
6709         (vc-diff-internal): Set diff-vc-backend.
6711         * vc/diff-mode.el (diff-vc-backend): New var.
6713 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
6715         * dynamic-setting.el (font-setting-change-default-font):
6716         Remove call to message.
6718 2010-06-28  Kenichi Handa  <handa@m17n.org>
6720         * international/quail.el (quail-insert-kbd-layout): Fix the
6721         showing of untranslated characters.
6723 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
6725         * simple.el (delete-active-region): New option.
6726         (delete-backward-char): Implement in Lisp.
6727         (delete-forward-char): New command.
6729         * mouse.el (mouse-region-delete-keys): Deleted.
6730         (mouse-show-mark): Simplify.
6732         * bindings.el (global-map): Bind delete and DEL, the former to
6733         delete-forward-char.
6735 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6737         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6738         (ruby-mode): Bind indent-line-function (Bug#5119).
6740 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6742         * startup.el (command-line): Recognize "0" X resource value.
6744 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6746         * startup.el (command-line): Use X resources to set the value of
6747         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6749         * menu-bar.el (menu-bar-mode):
6750         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6751         Set init-value to t.
6753         * frame.el (frame-notice-user-settings): Don't change
6754         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6755         vice versa (Bug#2249).
6757 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6759         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6761 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6763         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6764         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6766         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6767         default directories are expanded (Bug#6143).
6769 2010-06-24  Juri Linkov  <juri@jurta.org>
6771         * minibuffer.el (completions-format): Change default from nil to
6772         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6774 2010-06-24  Juri Linkov  <juri@jurta.org>
6776         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6777         buffer-locally to lambda that re-runs the vc diff command.
6778         (Bug#6447)
6780 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6782         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6783         echo area is in use (Bug#3412).
6785 2010-06-22  Glenn Morris  <rgm@gnu.org>
6787         * textmodes/texinfmt.el (texinfo-format-region)
6788         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6789         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6790         (texinfo-format-option, texinfo-noindent):
6791         Use line-beginning-position and line-end-position.
6793         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6794         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6795         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6796         utf-8 characters.
6798 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6800         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6801         forward-line fallout.
6803 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6805         * mouse.el (mouse-appearance-menu): Add docstring.
6807         * help.el (describe-key): Print up-event using key-description.
6809 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6811         * net/zeroconf.el (zeroconf-resolve-service)
6812         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6813         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6815 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6817         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6819 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6821         Avoid displaying files with a nil state in vc-dir.
6822         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6823         cases that cause insertion.
6824         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6825         with a nil state.
6827 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6829         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6831 2010-06-29  Leo  <sdl.web@gmail.com>
6833         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6835 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6837         * generic-x.el (bat-generic-mode): Fix regexp for command line
6838         switches (Bug#5719).
6840 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6842         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6843         of nconc to avoid pure storage error (Bug#6239).
6845 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6847         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6848         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6849         bindings of bookmark-automatically-show-annotations (Bug#6515).
6851 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6853         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6854         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6856 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6858         * comint.el (make-comint, make-comint-in-buffer): Mention return
6859         value in the docstrings.  (Bug#6498)
6861 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6863         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6864         since it is not present when using some non-default switches.
6866 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6868         * simple.el (compose-mail): Fix doc string to refer to
6869         `compose-mail-user-agent-warnings', instead of to the
6870         nonexistent `compose-mail-check-user-agent'.
6872 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6874         Fix an indentation bug:
6876         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6877         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6878         of existing values.
6880         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6881         (c-clear->-pair-props-if-match-before): now return t when they've
6882         cleared properties, nil otherwise.
6883         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6884         by taking account of the existing value.
6886         * progmodes/cc-defs.el
6887         (c-clear-char-property-with-value-function): Fix this to clear the
6888         property rather than overwriting it with nil.
6890 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6892         * emacs-lisp/package.el (package-print-package): Add link to
6893         package description via describe-package.
6894         (describe-package-1): List package requirements.  Add button to
6895         perform installation.
6896         (package-menu-describe-package): New command.
6898         * help-mode.el (help-package): New button type.
6900 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6902         * emacs-lisp/package.el: Move package-list-packages binding to
6903         menu-bar.el.
6904         (describe-package, describe-package-1, package--dir): New funs.
6905         (package-activate-1): Use package--dir.
6907         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6909         * help-mode.el (help-package-def): New button type.
6911         * menu-bar.el: Move package-list-packages binding here from
6912         package.el.
6914 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6916         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6918 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6920         * emacs-lisp/edebug.el (edebug-read-list):
6921         Phase out old-style backquotes.
6923 2010-06-17  Juri Linkov  <juri@jurta.org>
6925         * help-mode.el (help-mode): Set buffer-local variable
6926         revert-buffer-function to help-mode-revert-buffer.
6927         (help-mode-revert-buffer): New function.
6929         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6930         before popping to "*info*" (like in other Info functions).
6931         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6932         old-history-forward.  Pop to old-buffer-name or "*info*" to
6933         recreate the killed buffer.  Set Info-history-forward from
6934         old-history-forward.
6935         (Info-breadcrumbs-depth): Add :group and :version.
6937 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6939         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6941 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6943         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6944         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6946 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6948         * emacs-lisp/package.el (package-menu-mode-map):
6949         Move initialization into declaration.
6951         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6953 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6955         * emacs-lisp/package.el (package-archive-base): Point to
6956         elpa.gnu.org.
6957         (package-enable, package-load-list): New defcustoms.
6958         (package-user-dir, package-directory-list): Turn into defcustoms.
6959         Don't include package-user-dir in package-directory-list.
6960         (package--builtins-base): Don't include Emacs as a "package".
6961         (package-subdirectory-regexp): New var.
6962         (package-load-all-descriptors, package-compute-transaction)
6963         (package-download-transaction): Obey package-load-list.
6964         (package-activate-1): Rename from package-do-activate.
6965         (package-list-packages-internal): Check package-load-list.
6966         (package-load-descriptor, package-generate-autoloads)
6967         (package-unpack, package-unpack-single)
6968         (package--read-archive-file, package-delete):
6969         Use expand-file-name.
6971         * emacs-lisp/package-x.el: New file.  Package uploading
6972         functionality split out from package.el.
6974         * startup.el (command-line): Load packages after reading init file.
6976 2010-06-17  Tom Tromey  <tromey@redhat.com>
6978         * emacs-lisp/package.el: New file.
6980 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6982         Fix vc-annotate for renamed files when using Git.
6983         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6984         ls-files.  Doe not pass the object as a file name to cat-file, it
6985         is not a file name.
6986         (vc-git-annotate-command): Pass the file name using -- to avoid
6987         ambiguity with the revision.
6988         (vc-git-previous-revision): Pass a relative file name.
6990 2010-06-22  Glenn Morris  <rgm@gnu.org>
6992         * progmodes/js.el (js-mode-map): Use standard capitalization and
6993         ellipses for menu entries.
6995         * wid-edit.el (widget-complete): Doc fix.
6997 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6999         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7001 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7003         Fix annotating other revisions for renamed files in vc-annotate.
7004         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7005         VC backend.  Use it when non-nil.
7006         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7007         (Bug#6487).
7009         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7010         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7011         Do not pass the file name to the 'previous-revision call when we
7012         don't want a file diff.  (Bug#6489)
7014 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7016         Fix finding revisions for renamed files in vc-annotate.
7017         * vc/vc.el (vc-find-revision): Add an optional argument for
7018         the VC backend.  Use it when non-nil.
7019         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7020         backend to vc-find-revision.  (Bug#6487)
7022 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7024         Fix reading file names in Git annotate buffers.
7025         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7026         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
7028 2010-06-20  Alan Mackenzie  <acm@muc.de>
7030         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7031         in file local variables, set it first.
7033 2010-06-19  Glenn Morris  <rgm@gnu.org>
7035         * descr-text.el (describe-char-unicode-data): Insert separating
7036         space when needed.  (Bug#6422)
7038         * progmodes/idlwave.el (idlwave-action-and-binding):
7039         Fix typo in 2009-12-03 change.  (Bug#6450)
7041 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7043         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7044         handling for `lambda' (misunderstanding).
7046 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
7048         * calc/calc-poly.el (math-accum-factors): Make sure that
7049         constants aren't distributed after they are factored out.
7051 2010-06-16  Juri Linkov  <juri@jurta.org>
7053         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7054         `list-colors-print'.  (Bug#6332)
7056         * subr.el (read-quoted-char): Fix up last change (bug#6290).
7058 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7060         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7061         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
7063         * font-lock.el (font-lock-major-mode): Rename from
7064         font-lock-mode-major-mode to distinguish it from
7065         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7066         (font-lock-set-defaults):
7067         * font-core.el (font-lock-default-function): Adjust users.
7068         (font-lock-mode): Don't set it at all.
7070 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7072         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7074 2010-06-16  Glenn Morris  <rgm@gnu.org>
7076         * calendar/appt.el (appt-time-msg-list): Doc fix.
7077         (appt-check): Let-bind appt-warn-time.
7078         (appt-add): Make the 3rd argument optional.
7079         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
7080         Only add WARNTIME to the output list if non-nil.
7082 2010-06-16  Ivan Kanis  <apple@kanis.eu>
7084         * calendar/appt.el (appt-check): Let the 3rd element of
7085         appt-time-msg-list specify the warning time.
7086         (appt-add): Add new argument with the warning time.  (Bug#5176)
7088 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7090         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7091         older than version 1.6.  (Bug#6361)
7093 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
7095         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7096         used by cl-do-arglist.  (Bug#6408)
7098 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
7100         * textmodes/ispell.el (ispell-dictionary-base-alist):
7101         Fix portuguese casechars/not-casechars for missing 'çÇ'.
7102         Suggested by Rolando Pereira (bug#6434).
7104 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
7106         * facemenu.el (list-colors-sort): Doc fix.
7108 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7110         * progmodes/sql.el (sql-connect-mysql): Fix typo.
7112 2010-06-14  Juri Linkov  <juri@jurta.org>
7114         Add sort option `list-colors-sort'.  (Bug#6332)
7115         * facemenu.el (color-rgb-to-hsv): New function.
7116         (list-colors-sort): New defcustom.
7117         (list-colors-sort-key): New function.
7118         (list-colors-display): Doc fix.  Sort list according to the option
7119         `list-colors-sort'.
7120         (list-colors-print): Add HSV values to `help-echo' property of
7121         RGB strings.
7123 2010-06-14  Juri Linkov  <juri@jurta.org>
7125         * compare-w.el: Move to the "vc" subdirectory.
7127 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7129         * image-mode.el (image-mode-map): Remap left-char and right-char.
7131         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7133 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
7135         * term/common-win.el (x-colors): Add all the color names defined
7136         in rgb.txt (Bug#6332).
7138         * facemenu.el (list-colors-print): Don't print extra names if it
7139         will overflow the window width.
7141         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7142         change (Bug#6343).
7144 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
7146         * files.el (make-directory): Doc fix (bug#6396).
7148 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
7150         * net/tramp.el (tramp-remote-process-environment): Protect version
7151         string by apostroph.
7152         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7153         XEmacs.
7154         (tramp-file-name-for-operation): Add `call-process-region'.
7155         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7157         * net/tramp-compat.el (top): Do not autoload
7158         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7159         only when `start-file-process' is not bound.
7160         (tramp-advice-file-expand-wildcards): Do not use
7161         `tramp-handle-file-remote-p'.
7162         (tramp-compat-make-temp-file): Handle the case, that
7163         `make-temp-file' has no third argument EXTENSION.
7165 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
7167         * makefile.w32-in (WINS_BASIC): Include new directory vc.
7169         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7171 2010-06-11  Juri Linkov  <juri@jurta.org>
7173         * finder.el (finder-known-keywords): Add keyword "vc"
7174         for version control.
7176         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7177         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7178         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7179         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7181 2010-06-11  Juri Linkov  <juri@jurta.org>
7183         Move version control related files to the "vc" subdirectory.
7184         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7185         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7186         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7187         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7188         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7189         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7190         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7191         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7192         Move files to the "vc" subdirectory.
7194 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
7196         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7197         (Bug#6367).
7199 2010-06-11  Stephen Eglen  <stephen@gnu.org>
7201         * shell.el: Bind `shell-resync-dirs' to M-RET.
7203 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
7205         * notifications.el: Move file from lisp/net, because it is
7206         supposed to talk locally to the user.
7208 2010-06-10  Julien Danjou  <julien@danjou.info>
7210         * net/notifications.el (notifications-on-action-signal)
7211         (notifications-on-closed-signal): Pass notification id as first
7212         argument to the callback functions.  Add docstrings.
7213         (notifications-notify): Fix docstring.
7215 2010-06-10  Glenn Morris  <rgm@gnu.org>
7217         * emacs-lisp/authors.el (authors-ignored-files)
7218         (authors-valid-file-names): Add some files.
7220 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7222         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7223         merge conflict, giving preference to the emacs-23 version of the code.
7225 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7227         * emacs-lisp/advice.el (ad-compile-function):
7228         Define warning-suppress-types before we let-bind it (bug#6275).
7230         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7231         declare it, make it buffer-local and permanent-local (bug#6324).
7232         (vc-resynch-window): Adjust name.
7233         * vc-hooks.el (vc-find-file-hook): Adjust name.
7235 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
7237         * net/notifications.el (notifications-notify): Fix docstring.
7239 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7241         Update to Unicode 6.0.0 beta.
7242         * international/charprop.el: Update copyright.
7243         * international/mule-cmds.el (ucs-names): Update character ranges.
7244         * international/uni-bidi.el:
7245         * international/uni-category.el:
7246         * international/uni-combining.el:
7247         * international/uni-comment.el:
7248         * international/uni-decimal.el:
7249         * international/uni-decomposition.el:
7250         * international/uni-digit.el:
7251         * international/uni-lowercase.el:
7252         * international/uni-mirrored.el:
7253         * international/uni-name.el:
7254         * international/uni-numeric.el:
7255         * international/uni-old-name.el:
7256         * international/uni-titlecase.el:
7257         * international/uni-uppercase.el: Regenerate.
7259 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7261         * emacs-lisp/smie.el (comment-string-strip): Declare function.
7262         (smie-precs-precedence-table): Fix typo in docstring.
7264         * vc-mtn.el (log-edit-extract-headers): Declare function.
7266         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7268         * net/notifications.el (dbus-register-signal): Declare function.
7269         (notifications-notify): Fix typos and reflow docstring.
7271 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7273         Improve VC create/retrieve tag/branch.
7274         * vc.el (vc-create-tag): Do not read the directory name for VCs
7275         with repository revision granularity.  Adjust the tag/branch
7276         prompt.  Reset VC properties.
7277         (vc-retrieve-tag): Do not read the directory name for VCs
7278         with repository revision granularity.  Reset VC properties.
7280 2010-06-09  Julien Danjou  <julien@danjou.info>
7282         * net/notifications.el: New file.
7284 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7286         Add optional support for resetting VC properties.
7287         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7288         call vc-file-clearprops when true.
7289         (vc-resynch-buffer): Add new optional argument, pass it down.
7290         (vc-resynch-buffers-in-directory): Likewise.
7292         Improve support for special markup in the VC commit message.
7293         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7294         * vc-hg.el (vc-hg-checkin): Add support for Date:.
7295         * vc-git.el (vc-git-checkin):
7296         * vc-bzr.el (vc-bzr-checkin): Likewise.
7298 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7300         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7301         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7303 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
7305         * iimage.el: Remove images as soon as the underlying text is modified.
7306         (iimage-modification-hook): New function.
7307         (iimage-mode-buffer): Use it.
7309 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7311         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7312         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
7313         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
7314         (smie-indent-keyword): Add handling of open-paren keywords.
7315         (smie-indent-comment-continue): Don't assume comment-continue.
7317 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
7319         * window.el (pop-to-buffer): Remove the conditional that
7320         compares new-window and old-window, so it will reselect
7321         the selected window unconditionally.
7322         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7324 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7326         * emacs-lisp/smie.el (smie-indent-offset-after)
7327         (smie-indent-forward-token, smie-indent-backward-token): New functions.
7328         (smie-indent-after-keyword): Use them.
7329         (smie-indent-fixindent): Only applies to the indentation of the BOL.
7330         (smie-indent-keyword): Tweak the black magic.
7331         (smie-indent-comment-continue): Strip comment-continue before use.
7332         (smie-indent-functions): Indent comments before keywords.
7334 2010-06-06  Juri Linkov  <juri@jurta.org>
7336         * isearch.el (isearch-lazy-highlight-search): Fix looping
7337         by checking for empty match.  This syncs this loop with the
7338         similar loop in `isearch-search'.  (Bug#6362)
7340 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
7342         * net/dbus.el (dbus-register-method): Declare function.
7343         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7344         (dbus-introspect): Doc fix.
7345         (dbus-event-bus-name, dbus-introspect-get-interface)
7346         (dbus-introspect-get-argument): Reflow docstrings.
7348 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
7350         vc-log-incoming/vc-log-outgoing fixes for Git.
7351         * vc-git.el (vc-git-log-view-mode): Fix font lock for
7352         incoming/outgoing logs.
7353         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7354         instead of vc-git-compute-remote.
7355         (vc-git-compute-remote): Remove.
7357 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
7359         * term/common-win.el (x-colors): Add "dark green" and "dark
7360         turquoise" (Bug#6332).
7362 2010-06-04  Juri Linkov  <juri@jurta.org>
7364         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7365         Instead of setting `replace' to t and replacing the same string
7366         with itself, don't do certain actions when
7367         kill-do-not-save-duplicates is non-nil and string is equal to car
7368         of kill-ring: don't call menu-bar-update-yank-menu, don't push
7369         interprogram-paste strings to kill-ring, and don't push the input
7370         argument `string' to kill-ring.
7371         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7373 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7375         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7377 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
7379         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7380         (tramp-gvfs-handler-mounted-unmounted)
7381         (tramp-gvfs-connection-mounted-p): Handle default-location.
7383         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7384         move files to trash.
7386 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7388         * international/mule-cmds.el (nonascii-insert-offset)
7389         (nonascii-translation-table): Add obsolescence information.
7391         * international/mule.el (make-translation-table-from-vector): Doc fix.
7393 2010-06-03  Glenn Morris  <rgm@gnu.org>
7395         * desktop.el (desktop-clear-preserve-buffers):
7396         Add "*Warnings*" buffer.  (Bug#6336)
7398 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
7400         vc-log-incoming/vc-log-outgoing improvements for Git.
7401         * vc-git.el (vc-git-log-outgoing): Use the same format as the
7402         short log.
7403         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
7405         Add bindings for vc-log-incoming and vc-log-outgoing.
7406         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7407         and vc-log-outgoing.
7408         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7409         and vc-log-outgoing.
7411 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7413         * net/rcirc.el (rcirc-sort-nicknames): Remove.
7414         (rcirc-handler-366): Always sort nicknames.
7416 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
7418         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7420 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7422         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7424 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7426         * net/rcirc.el (rcirc-sort-nicknames): Change default.
7427         (rcirc-sort-nicknames-join): Avoid setq.
7429 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7431         * net/rcirc.el (rcirc-sort-nicknames): New custom.
7432         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7433         (rcirc-handler-366): Use them.
7435 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         Split smie-indent-calculate into more manageable chunks.
7438         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7439         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7440         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7441         (smie-indent-exps): Extract from smie-indent-calculate.
7442         (smie-indent-functions): New var.
7443         (smie-indent-functions): Use them.
7445 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7447         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7448         (smie-indent-calculate): Simplify and cleanup.
7450 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
7452         * net/tramp-gvfs.el (top): Require url-util.
7453         (tramp-gvfs-mount-point): Remove.
7454         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7455         New defuns.
7456         (with-tramp-dbus-call-method): Format trace message.
7457         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7458         Implement backup call, when operation on local files fails.
7459         Use progress reporter.  Flush properties of changed files.
7460         (tramp-gvfs-handle-make-directory): Make more traces.
7461         (tramp-gvfs-url-file-name): Hexify file name in url.
7462         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7463         into account for the resulting file name.
7464         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7465         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
7466         (tramp-gvfs-handler-mounted-unmounted)
7467         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7468         attribute "default_location".  Set "prefix" property.
7469         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7470         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7471         exists.  Raise an error, if not (due to a corresponding answer
7472         "no" in interactive questions, for example).
7474 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
7476         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7478 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
7480         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7481         right-*.  (Bug#6265)
7483 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
7485         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7486         * vc-git.el (vc-git-compute-remote): New function.
7487         (vc-git-log-outgoing): Use it instead of hard coding a value.
7488         (vc-git-log-incoming): New function.
7490         Improve state updating for VC tag commands.
7491         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7492         to update the state of all buffers in the directory.
7494         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7496 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7498         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7499         `file-directory-p' to the filename part rather than to the whole text.
7501 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7503         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7505 2010-05-31  Drew Adams  <drew.adams@oracle.com>
7507         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7509 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
7511         * subr.el (momentary-string-display): Just use read-event to read
7512         the exit event (Bug#6238).
7514 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
7516         * international/mule.el (define-coding-system): Doc fix (bug#6313).
7518 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7520         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7521         Suggested by Eli Zaretskii <eliz@gnu.org>.
7523 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7525         * minibuffer.el (completion-file-name-table): Don't return a boundary
7526         past the end of `string' (bug#6299).
7527         (completion--file-name-table): Delegate to completion-file-name-table
7528         for the `boundaries' case.
7530 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7532         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7533         movement commands.
7535         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7536         `path-separator', but maintain compatibility with Emacs 20.2.
7538 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7540         * server.el (server-process-filter): Receive parent-id argument
7541         from emacsclient.
7542         (server-create-window-system-frame): New arg.  Pass parent-id as
7543         frame parameter.
7545 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
7547         Bidi-sensitive word movement with arrow keys.
7548         * subr.el (right-arrow-command, left-arrow-command): Move to
7549         bindings.el.
7551         * bindings.el (right-char, left-char): Move from subr.el and
7552         rename from right-arrow-command and left-arrow-command.
7553         (right-word, left-word): New functions.
7554         (global-map) <right>: Bind to right-char.
7555         (global-map) <left>: Bind to left-char.
7556         (global-map) <C-right>: Bind to right-word.
7557         (global-map) <C-left>: Bind to left-word.
7559         * ls-lisp.el (ls-lisp-classify-file): New function.
7560         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7561         (ls-lisp-classify): Call ls-lisp-classify-file.
7562         (insert-directory): Remove blanks from switches.
7564 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7566         * ansi-color.el: Delete unused escape sequences (Bug#6085).
7567         (ansi-color-drop-regexp): New constant.
7568         (ansi-color-apply, ansi-color-filter-region)
7569         (ansi-color-apply-on-region): Delete unrecognized control sequences.
7570         (ansi-color-apply): Build string list before calling concat.
7572 2010-05-28  Juri Linkov  <juri@jurta.org>
7574         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7575         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7576         (Bug#5270)
7578 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7580         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7581         to ignored backtrace functions.
7582         (with-progress-reporter): Expand docstring.
7583         (tramp-handle-delete-file): Implement TRASH argument.
7584         (tramp-get-remote-trash): New defun.
7586 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7588         * net/tramp-compat.el (tramp-compat-delete-file):
7589         Use `symbol-value' for backward compatibility.
7591         * net/tramp.el (tramp-handle-make-symbolic-link)
7592         (tramp-handle-load)
7593         (tramp-do-copy-or-rename-file-via-buffer)
7594         (tramp-do-copy-or-rename-file-directly)
7595         (tramp-do-copy-or-rename-file-out-of-band)
7596         (tramp-handle-process-file, tramp-handle-call-process-region)
7597         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7598         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7599         (tramp-delete-temp-file-function): Use `delete-file' instead
7600         of `tramp-compat-delete-file'.
7602         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7603         (tramp-fish-handle-make-symbolic-link)
7604         (tramp-fish-handle-process-file): Use `delete-file' instead
7605         of `tramp-compat-delete-file'.
7607         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7608         Use `delete-file' instead of `tramp-compat-delete-file'.
7610         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7611         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7612         `tramp-compat-delete-file'.
7614         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7615         Use `delete-file' instead of `tramp-compat-delete-file'.
7617         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7618         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7619         (tramp-smb-handle-write-region): Use `delete-file' instead of
7620         `tramp-compat-delete-file'.
7621         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7623 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7625         * dired.el (dired-delete-file): New arg TRASH.
7626         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7627         (dired-do-flagged-delete, dired-do-delete): Use trash.
7629         * speedbar.el (speedbar-item-delete): Allow trashing.
7631         * files.el (delete-directory): New arg TRASH.
7633         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7634         (ange-ftp-rename-remote-to-remote)
7635         (ange-ftp-rename-local-to-remote)
7636         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7637         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7638         `delete-file'.
7639         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7640         allow trashing.
7642         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7643         handle new TRASH arg of `delete-file'.
7645         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7646         (tramp-handle-make-symbolic-link, tramp-handle-load)
7647         (tramp-do-copy-or-rename-file-via-buffer)
7648         (tramp-do-copy-or-rename-file-directly)
7649         (tramp-do-copy-or-rename-file-out-of-band)
7650         (tramp-handle-process-file, tramp-handle-call-process-region)
7651         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7652         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7653         (tramp-delete-temp-file-function): Use null TRASH arg in
7654         tramp-compat-delete-file call.
7656         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7657         (tramp-fish-handle-delete-file)
7658         (tramp-fish-handle-make-symbolic-link)
7659         (tramp-fish-handle-process-file): Use null TRASH arg in
7660         `tramp-compat-delete-file' call.
7662         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7663         arg in `tramp-compat-delete-file' call.
7665         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7666         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7667         `tramp-compat-delete-file' call.
7669         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7670         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7671         `tramp-compat-delete-file' call.
7673         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7674         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7675         (tramp-smb-handle-write-region): Use null TRASH arg in
7676         tramp-compat-delete-file call.
7677         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7678         (tramp-smb-handle-delete-file): Rename arg.
7680         * diff.el (diff-sentinel):
7681         * epg.el (epg--make-temp-file, epg-decrypt-string)
7682         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7683         * jka-compr.el (jka-compr-partial-uncompress)
7684         (jka-compr-call-process, jka-compr-write-region):
7685         * server.el (server-sentinel): Remove optional arg from
7686         delete-file, reverting 2010-05-03 change.
7688 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7690         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7691         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7693 2010-05-27  Kenichi Handa  <handa@m17n.org>
7695         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7696         element of GSTRING is nil.
7698 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7700         * emacs-lisp/smie.el (smie-forward-token-function)
7701         (smie-backward-token-function): New vars.
7702         (smie-backward-sexp, smie-forward-sexp)
7703         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7704         (smie-default-backward-token): Rename from smie-backward-token and
7705         skip comments.
7706         (smie-default-forward-token): Rename from smie-forward-token and
7707         skip comments.
7708         (smie-next-sexp): Handle nil results from next-token.
7709         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7711 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7713         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7714         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7716 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7718         * htmlfontify.el (hfy-face-resolve-face): New function.
7719         (hfy-face-to-style): Use it (Bug#6279).
7721 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7723         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7724         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7726 2010-05-26  Glenn Morris  <rgm@gnu.org>
7728         * emulation/edt.el (edt-load-keys): Use locate-library.
7730 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7732         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7733         (log-edit-changelog-entries): Doc fix.
7734         (log-edit-changelog-insert-entries): Args changed.
7735         Rename relative filenames in ChangeLog entries.  Delete tabs.
7736         (log-edit-insert-changelog-entries): Reorganize return value of
7737         `log-edit-changelog-entries' to pass filenames to
7738         log-edit-changelog-insert-entries.
7740 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7742         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7743         `image-dired-dired-insert-marked-thumbs' to
7744         `image-dired-dired-toggle-marked-thumbs'.
7746         * image-dired.el: Require cl when compiling.
7747         (image-dired-dired-toggle-marked-thumbs): Rename from
7748         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7749         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7750         to 'no-dir.  Skip files whose names don't match
7751         `image-file-name-regexp'.  When file has a thumbnail overlay,
7752         delete it.  (Bug#5270)
7754 2010-05-25  Juri Linkov  <juri@jurta.org>
7756         * image-mode.el (image-mode): Add image-after-revert-hook to
7757         after-revert-hook.
7758         (image-after-revert-hook): New function.  (Bug#5669)
7760 2010-05-25  Juri Linkov  <juri@jurta.org>
7762         * image.el (image-animated-p): When delay between animated images
7763         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7765 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7767         * net/tramp.el (tramp-handle-insert-directory): Don't use
7768         `forward-word', its default syntax could be changed.
7770 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7772         * net/tramp.el (tramp-progress-reporter-update): New defun.
7773         (with-progress-reporter): Use it.
7774         (tramp-process-actions):
7775         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7776         Preserve current message, in order to let progress reporter continue
7777         afterwards.  (Bug#6257)
7779 2010-05-25  Glenn Morris  <rgm@gnu.org>
7781         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7782         Add :version.
7784 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7786         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7787         (rcirc-default-full-name): Change to "unknown".
7788         (rcirc-user-name-history): Add variable.
7790 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7791             Jonathan Rockway  <jon@jrock.us>
7793         * net/rcirc.el (rcirc-server-alist): Add :pass.
7794         (rcirc): When prompting for connection parameters, also prompt for
7795         username and password.
7796         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7797         value to server when connecting.
7799 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7801         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7802         (smie-merge-prec2s): Pass the tables as separate args.
7803         (smie-bnf-precedence-table): Adjust call accordingly.
7804         (smie-prec2-levels): Set levels at the end.
7806         Replace Lisp calls to delete-backward-char by delete-char.
7807         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7808         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7809         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7810         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7811         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7812         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7813         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7814         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7815         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7816         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7817         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7818         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7819         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7820         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7821         delete-backward-char by calls to delete-char.
7823 2010-05-25  Kenichi Handa  <handa@m17n.org>
7825         * language/hebrew.el (hebrew-shape-gstring): New function.
7826         Register it in composition-function-table for all Hebrew combining
7827         characters.
7829 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7831         * epa.el (epa--select-keys): Don't explicitly delete the window since
7832         that can fail (e.g. sole window in frame).  Use dedication instead.
7834 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7836         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7838 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7840         * image.el (image-refresh): Define as an alias for image-flush.
7842         * image-mode.el (image-toggle-display-image): Caller changed.
7844 2010-05-21  Juri Linkov  <juri@jurta.org>
7846         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7847         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7848         whitespace, call wildcard-to-regexp on substrings and concat them
7849         with "\\|".  (Bug#6114)
7851 2010-05-21  Alan Mackenzie  <acm@muc.de>
7853         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7854         Replace parameter `here' with `here-' and `here-plus', which sandwich
7855         any pertinent CPP construct.
7856         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7857         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7858         CPP construct from taking part in the scanning.
7860 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7862         * net/tramp.el (tramp-do-copy-or-rename-file)
7863         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7864         Tune `with-progress-reporter' messages.
7865         (tramp-handle-vc-registered):
7866         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7867         (tramp-fish-handle-insert-file-contents)
7868         (tramp-fish-maybe-open-connection):
7869         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7870         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7871         (tramp-imap-handle-insert-file-contents)
7872         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7874 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7876         * add-log.el (change-log-font-lock-keywords):
7877         Highlight all authors in multi-author entries.
7879         * smerge-mode.el (smerge-refine-ignore-whitespace)
7880         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7881         Fix typos in docstrings.
7882         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7884 2010-05-21  Glenn Morris  <rgm@gnu.org>
7886         * progmodes/fortran.el (fortran-mode):
7887         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7889         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7890         having a relative path in src/Makefile.in.
7892 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7894         * help-mode.el (help-make-xrefs): For Info node links turn
7895         newlines into spaces.  Link node names with newlines are matched
7896         by help-xref-info-regexp and buttonized, this change ensures they
7897         can be followed successfully with RET.  (Bug#6206)
7899 2010-05-20  Juri Linkov  <juri@jurta.org>
7901         * locate.el (locate): Use pop-to-buffer instead of
7902         switch-to-buffer-other-window.  (Bug#6204)
7904 2010-05-20  Juri Linkov  <juri@jurta.org>
7906         * replace.el (replace-highlight): Fix lazy-highlighting
7907         for `M-s w str M-% str RET'.
7909 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7911         * isearch.el (isearch-yank-word-or-char): Pull next subword
7912         when `subword-mode' is activated.  (Bug#6220)
7914 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7916         * isearch.el (isearch-update-post-hook): New hook.
7917         (isearch-update): Use the new hook.  (Bug#6225)
7919 2010-05-20  Juri Linkov  <juri@jurta.org>
7921         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7922         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7923         (Bug#6222)
7925 2010-05-20  Juri Linkov  <juri@jurta.org>
7927         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7928         (Bug#6223)
7930 2010-05-20  Juri Linkov  <juri@jurta.org>
7932         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7933         FILE-NAME to read from the minibuffer when called interactively
7934         with prefix argument instead of using buffer-file-name.
7935         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7937         * dired.el: Update autoloads.
7939 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7941         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7942         nxml-finish-element, for consistency with SGML mode.
7944         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7945         octave-close-block.
7947 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7949         * composite.el: Require cl when compiling.
7950         (reference-point-alist, compose-gstring-for-graphic)
7951         (compose-gstring-for-terminal): Fix typos in docstrings.
7953 2010-05-19  Juri Linkov  <juri@jurta.org>
7955         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7956         set-window-parameter.
7958 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7960         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7961         where appropriate.
7962         (tramp-maybe-open-connection): Use it.
7964 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7966         * simple.el (move-end-of-line): Make sure we are at line beginning
7967         before backing up to end of previous line.
7969 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7971         * password-cache.el (password-cache-remove): Fix docstring.
7973         * net/secrets.el: Autoload the widget functions.
7974         (secrets-search-items, secrets-create-item)
7975         (secrets-get-attributes, secrets-expand-item): Attributes will be
7976         stored on the password database without leading ":", as all other
7977         clients do as well.
7978         (secrets-mode): Fix docstring.
7979         (secrets-show-secrets): Provide it as autoloaded command only when
7980         D-Bus support is available.  Check existence of Secret Service API.
7982 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7984         * indent.el (indent-region): Deactivate region (bug#6200).
7986 2010-05-19  Glenn Morris  <rgm@gnu.org>
7988         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7990 2010-05-19  Kenichi Handa  <handa@m17n.org>
7992         * composite.el: Register compose-gstring-for-graphic in
7993         composition-function-table only for combining characters (Mn, Mc, Me).
7995 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7997         * calc/calc-trail.el (calc-trail-isearch-forward)
7998         (calc-trail-isearch-backward): Ensure that the new window
7999         point is set correctly.
8001 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8003         * subr.el (read-quoted-char): Resolve modifiers after key
8004         remapping (bug#6212).
8006 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
8008         Add visualization code for secrets.
8009         * net/secrets.el (secrets-mode): New major mode.
8010         (secrets-show-secrets, secrets-show-collections)
8011         (secrets-expand-collection, secrets-expand-item)
8012         (secrets-tree-widget-after-toggle-function)
8013         (secrets-tree-widget-show-password): New defuns.
8015 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8017         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8018         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8019         handled in smie-next-sexp.
8020         (smie-indent-calculate): Provide a starting indentation (so the
8021         recursion is well-founded ;-).
8023         Fix handling of non-associative equal levels.
8024         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8025         when it's not needed.
8026         (smie-op-left, smie-op-right): New functions.
8027         (smie-next-sexp): New function, extracted from smie-backward-sexp.
8028         Better handle equal levels to distinguish the associative case from
8029         the "multi-keyword construct" case.
8030         (smie-backward-sexp, smie-forward-sexp): Use it.
8032 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
8034         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8036         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8037         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8039 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8041         Provide a simple generic indentation engine and use it for Prolog.
8042         * emacs-lisp/smie.el: New file.
8043         * progmodes/prolog.el (prolog-smie-op-levels)
8044         (prolog-smie-indent-rules): New var.
8045         (prolog-mode-variables): Use them to configure SMIE.
8046         (prolog-indent-line, prolog-indent-level): Remove.
8048 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8050         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8051         order before computing the averages.
8053 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
8055         * calc/calc-vec.el (calc-histogram):
8056         (calcFunc-histogram): Allow vectors as inputs.
8057         (math-vector-avg): New function.
8059         * calc/calc-ext.el (math-group-float): Have the number of digits
8060         being grouped depend on the radix (Bug#6189).
8062 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
8064         * version.el (emacs-copyright, emacs-version): Don't define here,
8065         now that emacs.c defines it.
8067 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
8069         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8070         "Describe Language Environment" menu item.
8072         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8074         Bidi-sensitive movement with arrow keys.
8075         * subr.el (right-arrow-command, left-arrow-command): New functions.
8077         * bindings.el (global-map): Bind them to right and left arrow keys.
8079         Don't override standard definition of convert-standard-filename.
8080         * files.el (convert-standard-filename):
8081         Call w32-convert-standard-filename and dos-convert-standard-filename on
8082         the corresponding systems.
8084         * w32-fns.el (w32-convert-standard-filename): Rename from
8085         convert-standard-filename.  Doc fix.
8087         * dos-fns.el (dos-convert-standard-filename): Doc fix.
8088         (convert-standard-filename): Don't defalias.
8089         (register-name-alist, make-register, register-value)
8090         (set-register-value, intdos): Obsolete aliases for the
8091         corresponding dos-* functions and variables.
8092         (dos-intdos): Add a doc string.
8094 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
8096         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8097         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8098         (math-compose-tex-func):
8099         * calc/calccomp.el (math-compose-expr):
8100         * calc/calc-ext.el (math-format-flat-expr-fancy):
8101         * calc/calc-store.el (calc-read-var-name):
8102         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8104         * calc/calc.el (var-π, var-φ, var-γ): New variables.
8105         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8106         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8107         (math-standard-units): Add units.
8109 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8111         * progmodes/asm-mode.el (asm-mode):
8112         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8114         * pcomplete.el (pcomplete-completions-at-point): New function,
8115         extracted from pcomplete-std-complete.
8116         (pcomplete-std-complete): Use it.
8118 2010-05-15  Glenn Morris  <rgm@gnu.org>
8120         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8121         Remove references to CVS, RCS and Old directories.
8123 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
8125         * calc/calc-bin.el (math-format-twos-complement): Group digits when
8126         appropriate.
8128 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8130         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8131         (sh-mode-syntax-table): Give it a default value instead.
8132         (sh-header-marker): Make buffer-local.
8133         (sh-mode): Move make-local-variable to the corresponding setq.
8134         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8135         Use complete-with-action.
8137         * simple.el (prog-mode): New (abstract) major mode.
8138         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8139         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8141 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
8143         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8144         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8145         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8146         (sql-make-alternate-buffer-name, sql-placeholders-filter)
8147         (sql-escape-newlines-filter, sql-input-sender)
8148         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8150 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
8152         Add TeX open-block and close-block keybindings to SGML, and vice versa.
8154         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8155         latex-open-block and C-c / to latex-close-block.
8157         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8158         and C-c C-e to sgml-close-tag.
8160 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
8162         * net/tramp.el (with-progress-reporter): Create reporter object
8163         only when the message would be displayed.  Handle nested calls.
8164         (tramp-handle-load, tramp-handle-file-local-copy)
8165         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8166         (tramp-maybe-send-script, tramp-find-shell):
8167         Use `with-progress-reporter'.
8168         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8169         Fix message text.
8171         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8172         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8173         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8174         Use `with-progress-reporter'.
8176 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
8178         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8179         process everytime when spellchecking from the minibuffer (bug#6143).
8181 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8185         * dos-fns.el: Add "dos-" prefix for namespace control.
8186         (convert-standard-filename): Define as alias for
8187         dos-convert-standard-filename but only if applicable.
8189 2010-05-12  Alan Mackenzie  <acm@muc.de>
8191         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8192         Push the mark at the start of these functions when appropriate.
8194 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8196         * minibuffer.el (completion-cycle-threshold): New custom var.
8197         (completion--do-completion): Use it.
8198         (minibuffer-complete): Use cycling if appropriate.
8200 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
8202         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8203         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8205 2010-05-11  Juri Linkov  <juri@jurta.org>
8207         * scroll-all.el (scroll-all-check-to-scroll):
8208         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8210 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * iimage.el (iimage-mode-map): Move initialization into declaration.
8213         (iimage-mode-buffer): Use with-silent-modifications.
8214         Simplify calling convention.  Adjust callers.
8215         (iimage-mode): Don't run hook redundantly.
8217         * minibuffer.el (completion-pcm--pattern->regex):
8218         Fix last change (bug#6160).
8220 2010-05-10  Juri Linkov  <juri@jurta.org>
8222         Remove nodes visited during Isearch from the Info history.
8223         * info.el (Info-isearch-initial-history)
8224         (Info-isearch-initial-history-list): New variables.
8225         (Info-isearch-start): Record initial values of
8226         Info-isearch-initial-history and Info-isearch-initial-history-list.
8227         Add Info-isearch-end to isearch-mode-end-hook.
8228         (Info-isearch-end): New function.
8230 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
8232         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8233         format string, in order to work around a bug in pdksh.
8234         Reported by Gilles Pion <gpion@lfdj.com>.
8235         (tramp-handle-verify-visited-file-modtime): Do not send a command
8236         when the connection is not established.
8237         (tramp-handle-set-file-times): Simplify the check for utc.
8239 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
8241         Fix use of `filter-buffer-substring' (rework previous change).
8242         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8243         (cua-repeat-replace-region):
8244         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8245         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8246         (cua-cut-region-to-global-mark): Use it.
8248 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
8250         * progmodes/sql.el: Version 2.1.
8251         (sql-product-alist): Redesign structure of product info.
8252         (sql-product, sql-user, sql-server, sql-database): Safe variables.
8253         (sql-port, sql-port-history): New variables.
8254         (sql-interactive-product): New variable.
8255         (sql-send-terminator): New variable.
8256         (sql-imenu-generic-expression): Add "Types" imenu entry.
8257         (sql-oracle-login-params, sql-sqlite-login-params)
8258         (sql-mysql-login-params, sql-solid-login-params)
8259         (sql-sybase-login-params, sql-informix-login-params)
8260         (sql-ingres-login-params, sql-ms-login-params)
8261         (sql-postgres-login-params, sql-interbase-login-params)
8262         (sql-db2-login-params, sql-linter-login-params)
8263         (sql-oracle-scan-on): New variables.
8264         (sql-mode-map): Add C-c C-i to start interactive mode.
8265         (sql-mode-menu): Update existing menu entries.
8266         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8267         (sql-mode-oracle-font-lock-keywords)
8268         (sql-mode-postgres-font-lock-keywords)
8269         (sql-mode-ms-font-lock-keywords)
8270         (sql-mode-sybase-font-lock-keywords)
8271         (sql-mode-informix-font-lock-keywords)
8272         (sql-mode-interbase-font-lock-keywords)
8273         (sql-mode-ingres-font-lock-keywords)
8274         (sql-mode-solid-font-lock-keywords)
8275         (sql-mode-mysql-font-lock-keywords)
8276         (sql-mode-sqlite-font-lock-keywords)
8277         (sql-mode-db2-font-lock-keywords)
8278         (sql-mode-linter-font-lock-keywords): Update initialization to
8279         reduce run-time complexity.
8280         (sql-add-product, sql-del-product): New functions.
8281         (sql-set-product-feature, sql-get-product-feature): New functions.
8282         (sql-product-font-lock): Update product API.
8283         (sql-add-product-keywords): New function.
8284         (sql-highlight-product): Update product API.
8285         (sql-help-list-products): New function.
8286         (sql-help): Dynamically lists free and non-free products.
8287         (sql-get-login): Correct bug in handling history and added
8288         prompt for port.
8289         (sql-copy-column): Copy without properties.
8290         (sqli-input-sender): Apply filters to SQLi input.
8291         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8292         Implement as a filter.
8293         (sql-escape-newlines-filter): Implement as a filter.
8294         (sql-remove-tabs-filter): New function.
8295         (sql-send-magic-terminator): New function.
8296         (sql-send-string): Implement magic terminator.
8297         (sql-send-region): Use `sql-send-string'.
8298         (sql-interactive-mode): Use product API.
8299         (sql-product-interactive): Use product API.
8300         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8301         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8302         (sql-db2, sql-linter): Use `sql-product-interactive'.
8303         (sql-connect): New function.
8304         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8305         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8306         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8307         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8308         Use `sql-connect'.
8310 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8312         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8313         New custom variable.
8314         (completion-pcm--string->pattern): Use it.
8315         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8316         Make it handle any symbol as `any'.
8317         (completion-pcm--merge-completions): Extract common suffix for the new
8318         `prefix' symbol as well.
8319         (completion-substring--all-completions): Use the new `prefix' symbol.
8321 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
8323         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8324         not bound.
8325         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8326         (tramp-compat-funcall): New defmacro.
8327         (tramp-compat-line-beginning-position)
8328         (tramp-compat-line-end-position)
8329         (tramp-compat-temporary-file-directory)
8330         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8331         (tramp-compat-copy-file, tramp-compat-copy-directory)
8332         (tramp-compat-delete-file, tramp-compat-delete-directory)
8333         (tramp-compat-number-sequence, tramp-compat-process-running-p)
8334         * net/tramp.el (top, with-progress-reporter)
8335         (tramp-rfn-eshadow-setup-minibuffer)
8336         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8337         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8338         (tramp-completion-mode-p, tramp-check-for-regexp)
8339         (tramp-open-connection-setup-interactive-shell)
8340         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8341         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8342         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8343         * net/tramp-cmds.el (tramp-cleanup-all-connections)
8344         (tramp-reporter-dump-variable, tramp-load-report-modules)
8345         (tramp-append-tramp-buffers)
8346         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8348         * net/tramp-imap.el (top): Autoload `epg-make-context'.
8350 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8352         * progmodes/compile.el (compilation-buffer-modtime): Rename from
8353         buffer-modtime.  Adjust users.
8355 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8357         * international/mule.el (auto-coding-alist): Only purecopy
8358         car of each item, not the whole list (Bug#6083).
8360 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8362         * progmodes/js.el (js-mode): Make paragraph variables local before
8363         calling c-setup-paragraph-variables (Bug#6071).
8365 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
8367         * composite.el (compose-region, reference-point-alist): Fix typos
8368         in the doc strings.
8370 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8372         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8373         gnuplot's "set" command.
8375 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8377         * abbrev.el (last-abbrev-text): Doc fix.
8378         (abbrev-prefix-mark): Don't escape parenthesis.
8380 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
8382         * composite.el (find-composition): Doc fix.
8384 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8386         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8387         (sql-oracle-program, sql-sqlite-options)
8388         (sql-query-placeholders-and-send): Doc fixes.
8389         (sql-set-product, sql-interactive-mode): Reflow docstrings.
8390         (sql-imenu-generic-expression, sql-buffer)
8391         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8392         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8393         (sql-mode-sybase-font-lock-keywords)
8394         (sql-mode-informix-font-lock-keywords)
8395         (sql-mode-interbase-font-lock-keywords)
8396         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8397         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8398         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8399         (sql-product-feature, sql-highlight-product)
8400         (comint-line-beginning-position, sql-rename-buffer)
8401         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8402         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8403         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8404         Fix typos in docstrings.
8406 2010-05-08  Juri Linkov  <juri@jurta.org>
8408         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8409         property instead of `invisible' and `after-string' (bug#5998).
8411 2010-05-08  Juri Linkov  <juri@jurta.org>
8413         * image-mode.el (image-mode-as-text): Fix typo in docstring.
8415 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8417         * filecache.el (file-cache-add-directory-list)
8418         (file-cache-add-directory-recursively): Fix typos in docstrings.
8420 2010-05-08  Kenichi Handa  <handa@m17n.org>
8422         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8423         (gujarati-composable-pattern): Fix typo.
8425 2010-05-08  Kenichi Handa  <handa@m17n.org>
8427         * language/indian.el (oriya-composable-pattern)
8428         (tamil-composable-pattern, malayalam-composable-pattern):
8429         Add two-part vowels to "v" (vowel sign).
8431 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8433         * files.el (copy-directory): Handle symlinks (Bug#5982).
8435 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
8437         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8438         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
8439         (Bug#5846).
8441 2010-05-08  Glenn Morris  <rgm@gnu.org>
8443         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8445         * minibuffer.el (completion-at-point): Doc fix.
8447 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         * electric.el (Electric-command-loop): Minor tweak.
8451         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8452         better with dedicated windows.
8454 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
8456         * Version 23.2 released.
8458 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
8459             Stefan Monnier  <monnier@iro.umontreal.ca>
8461         Highlight vendor specific properties.
8462         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8463         (css-proprietary-property): New face.
8464         (css-font-lock-keywords): Use them.
8466 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
8468         * cus-start.el (all): Add native condition for tool-bar-* symbols.
8470 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8473         * files.el (auto-mode-alist): Remove redundant entries.
8475         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8476         * simple.el (auto-save-mode): Move from files.el.
8477         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8479 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
8481         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8483 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
8485         * mail/binhex.el (binhex-decode-region-internal)
8486         * mail/uudecode.el (uudecode-decode-region-internal)
8487         * net/dns.el (dns-read-string-name, dns-write, dns-read)
8488         (dns-read-type, dns-query)
8489         * pgg-parse.el (pgg-parse-armor)
8490         * pgg.el (pgg-verify-region)
8491         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8492         XEmacs.
8494         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8496 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
8498         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8500         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8501         * emulation/cua-base.el (cua-repeat-replace-region):
8502         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8503         (cua-cut-region-to-global-mark):
8504         Remove text properties with `set-text-properties'.
8506 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
8508         * net/tramp.el (top, with-progress-reporter):
8509         Use `symbol-function' inside `funcall'.
8511         * net/tramp-compat.el (tramp-compat-file-attributes)
8512         (tramp-compat-delete-file, tramp-compat-delete-directory):
8513         Handle only `wrong-number-of-arguments' error.
8515         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8516         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8517         inside `funcall'.
8519 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8521         * minibuffer.el (completion--sreverse, completion--common-suffix):
8522         New functions.
8523         (completion-pcm--merge-completions): Extract common suffix when safe.
8525         * emacs-lisp/easy-mmode.el (define-minor-mode):
8526         Make :variable more flexible.
8527         * files.el (auto-save-mode): Use it to define using define-minor-mode.
8529 2010-05-05  Juri Linkov  <juri@jurta.org>
8531         Add `slow' and `history' tags to the desktop data.
8533         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8534         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8535         (Info-finder-find-node): Require `finder.el' to be able
8536         to restore node from the desktop.
8537         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
8538         data `Info-history' and `slow' tag in the assoc list.
8539         (Info-restore-desktop-buffer): Don't restore nodes with the
8540         `slow' tag.  Restore `Info-history'.
8542 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
8544         Add FORCE argument to `delete-file'.
8546         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8547         forcing to delete the temporary file.
8548         (ange-ftp-delete-file): Add FORCE arg.
8549         (ange-ftp-rename-remote-to-remote)
8550         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8551         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8552         Force file deletion.
8554         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8556         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8557         (tramp-handle-make-symbolic-link, tramp-handle-load)
8558         (tramp-do-copy-or-rename-file-via-buffer)
8559         (tramp-do-copy-or-rename-file-directly)
8560         (tramp-do-copy-or-rename-file-out-of-band)
8561         (tramp-handle-process-file, tramp-handle-call-process-region)
8562         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8563         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8564         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8566         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8567         (tramp-fish-handle-make-symbolic-link)
8568         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8570         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8571         Use `tramp-compat-delete-file'.
8573         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8574         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8576         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8577         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8579         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8580         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8581         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8582         Use `tramp-compat-delete-file'.
8584 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8586         Minor cleanups.
8587         * subr.el (add-minor-mode): Use push.
8588         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8589         * emulation/edt.el (edt-select-mode): Simplify.
8591         Use define-minor-mode in more cases.
8592         * term/tvi970.el (tvi970-set-keypad-mode):
8593         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8594         (normal-erase-is-backspace-mode):
8595         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8596         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8597         (get-scroll-bar-mode): New function.
8598         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8600         Use define-minor-mode for less obvious cases.
8601         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8602         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8603         * international/iso-ascii.el (iso-ascii-mode):
8604         * frame.el (auto-raise-mode, auto-lower-mode):
8605         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8607 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8609         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8610         in order to see error messages for failed logins.
8612 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8614         * diff.el (diff-sentinel):
8616         * epg.el (epg--make-temp-file, epg-decrypt-string)
8617         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8619         * jka-compr.el (jka-compr-partial-uncompress)
8620         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8622         * server.el (server-sentinel): Use delete-file's new FORCE arg
8623         (Bug#6070).
8625 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8627         Use define-minor-mode where applicable.
8628         * view.el (view-mode):
8629         * type-break.el (type-break-query-mode)
8630         (type-break-mode-line-message-mode):
8631         * textmodes/reftex.el (reftex-mode):
8632         * term/vt100.el (vt100-wide-mode):
8633         * tar-mode.el (tar-subfile-mode):
8634         * savehist.el (savehist-mode):
8635         * ibuf-ext.el (ibuffer-auto-mode):
8636         * composite.el (auto-composition-mode):
8637         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8638         Use define-minor-mode.
8639         (vhdl-mode): Use static mode-line format.
8640         (vhdl-mode-line-update): Delete.
8641         (vhdl-create-mode-menu, vhdl-activate-customizations)
8642         (vhdl-hs-minor-mode): Don't bother calling it.
8644 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         * simple.el (with-wrapper-hook): Move.
8647         (buffer-substring-filters): Mark obsolete.
8648         (filter-buffer-substring-functions): New variable.
8649         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8651 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8652             Michael Albinus  <michael.albinus@gmx.de>
8654         Implement compression for inline methods.
8656         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8657         (tramp-copy-size-limit): Allow also nil.
8658         (tramp-inline-compress-commands): New defconst.
8659         (tramp-find-inline-compress, tramp-get-inline-compress)
8660         (tramp-get-inline-coding): New defuns.
8661         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8662         replaced by `tramp-get-inline-coding'.
8663         (tramp-handle-file-local-copy, tramp-handle-write-region)
8664         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8666 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8668         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8669         Remove unused functions.
8671         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8672         Set find-tag-default-function as a variable rather than a property.
8674         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8675         * progmodes/etags.el (tags-completion-at-point-function):
8676         Remove left over interactive spec.  Add autoloading stub.
8677         (complete-tag): Use tags-completion-at-point-function.
8679 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8681         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8683 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8685         * ido.el (ido-init-completion-maps): Remove C-v binding.
8686         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8688 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8690         * minibuffer.el (tags-completion-at-point-function): New function.
8691         (completion-at-point-functions): Use it.
8693         * progmodes/etags.el (complete-tag): Revert last change.
8695 2010-04-29  Alan Mackenzie  <acm@muc.de>
8697         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8698         off-by-one error (in end of macro position).
8700 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8703         firefox is absent.  Don't autoload.
8704         (browse-url-galeon-program): Don't autoload.
8706 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8708         * bindings.el (complete-symbol): Move into minibuffer.el.
8710         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8711         completion cannot be performed, return nil instead of signalling
8712         an error.
8713         (completion-at-point): Make it an alias for complete-symbol.
8714         (complete-symbol): Move from bindings.el, and replace with the
8715         body of completion-at-point.
8717         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8719 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8721         * net/tramp.el (tramp-remote-selinux-p): New defun.
8722         (tramp-handle-file-selinux-context)
8723         (tramp-handle-set-file-selinux-context): Use it.
8725 2010-04-28  Sam Steingold  <sds@gnu.org>
8727         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8728         `safe-local-variable' if the value is a string or a symbol with
8729         the property `bug-reference-url-format'.
8731 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8733         * progmodes/bug-reference.el (bug-reference-url-format):
8734         Revert 2010-04-27 change due to security risk.
8736 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8738         Make it possible to locally disable a globally enabled mode.
8739         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8740         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8741         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8742         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8743         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8744         that subsequent hooks get a chance to disable it.
8746 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8748         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8749         Avoid re-enabling a minor mode after the user turned the minor mode
8750         off if MODE-enable-in-buffers is run twice (typically once from
8751         fundamental-mode's after-change-major-mode-hook and a second time from
8752         run-mode-hook's own after-change-major-mode-hook).
8754         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8756 2010-04-27  Sam Steingold  <sds@gnu.org>
8758         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8759         `safe-local-variable' if the value is a string or a function, as
8760         documented and implemented on 2010-04-02.
8762 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8764         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8765         when method is 'kill.
8767 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8769         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8770         condition in default directory check.
8771         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8772         Kill ispell process when killing its associated buffer.
8774 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8776         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8777         but we aren't using it.
8779 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8781         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8782         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8784 2010-04-24  Glenn Morris  <rgm@gnu.org>
8786         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8787         Ignore VCS-ignore files, and deleted nextstep preferences files.
8788         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8789         (authors-ambiguous-files): New list.
8790         (authors-valid-file-names): Add some deleted files.
8791         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8792         (authors-disambiguate-file-name): New function.  (Bug#5501)
8793         (authors-canonical-file-name): Doc fix.
8794         Don't warn about obsolete files.
8795         (authors-canonical-file-name, authors-scan-el):
8796         Use authors-disambiguate-file-name.
8798         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8799         Add autoload cookies.
8800         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8801         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8802         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8803         They have definitions / compiler macros in cl.el.
8804         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8805         Replace manual autoloads with generated ones.
8806         (htmlfontify-unload-rgb-file): Remove autoload.
8807         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8809 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8811         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8812         (byte-compile-setq-default): Optimize for the
8813         single-var case and don't call byte-compile-form in this case to avoid
8814         inf-loop with byte-compile-set-default.
8816         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8818 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8820         Implement SELINUX backends.
8822         * net/tramp.el (tramp-file-name-handler-alist):
8823         Add `file-selinux-context' and `set-file-selinux-context'.
8824         (tramp-handle-file-selinux-context)
8825         (tramp-handle-set-file-selinux-context): New defuns.
8826         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8827         Handle PRESERVE-SELINUX-CONTEXT.
8829         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8830         Add `file-selinux-context' and `set-file-selinux-context'.
8831         (tramp-gvfs-handle-file-selinux-context)
8832         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8833         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8835         * net/ange-ftp.el (ange-ftp-copy-file):
8836         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8837         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8838         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8839         Add PRESERVE-SELINUX-CONTEXT.
8841 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8843         Synchronize with Tramp repository.
8845         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8846         (tramp-action-process-alive, tramp-action-out-of-band)
8847         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8848         (tramp-exists-file-name-handler): Fix docstring.
8849         (with-progress-reporter): New defmacro.
8850         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8851         (tramp-maybe-open-connection): Use it.
8853 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8855         Detect ssh 'ControlMaster' argument automatically in some cases.
8857         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8858         (tramp-default-method): Use it.
8860 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8862         * net/tramp.el (tramp-handle-copy-file): Add new optional
8863         parameter `preserve-selinux-context'.
8864         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8866 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8868         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8869         Ensure, that non remote files are still checked.  Oops.
8871 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8873         Fix Bug#5840.
8875         * icomplete.el (icomplete-completions): Use `non-essential'.
8877         * net/tramp.el (tramp-connectable-p): New defun.
8878         (tramp-handle-expand-file-name)
8879         (tramp-completion-handle-file-name-all-completions)
8880         (tramp-completion-handle-file-name-completion): Use it.
8882 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8884         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8886 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8888         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8890         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8892         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8893         is present.
8895         * info.el (info-tool-bar-map): Add labels.
8897         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8899         * cus-edit.el (custom-commands): Add labels for tool bar.
8900         (custom-buffer-create-internal, Custom-mode): Adjust for
8901         labels in custom-commands.
8903         * dynamic-setting.el: Renamed from font-setting.el.
8905 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8907         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8908         toggles the use of virtual buffers.
8909         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8910         (ido-toggle-virtual-buffers): New function.
8912 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8914         Use `define-derived-mode'; fix window selection; doc fixes.
8915         * play/tetris.el (tetris, tetris-update-speed-function)
8916         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8917         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8918         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8919         (tetris-pause-game): Fix typos in docstrings.
8920         (tetris-mode-map, tetris-null-map):
8921         Move initialization into declaration.
8922         (tetris-mode): Define with `define-derived-mode';
8923         set show-trailing-whitespace to nil.
8924         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8926 2010-04-21  Karel Klíč  <kklic@redhat.com>
8928         * files.el (backup-buffer): Handle SELinux context, and return it
8929         if a backup was made by renaming.
8930         (backup-buffer-copy): Set SELinux context to the target file.
8931         (basic-save-buffer): Set SELinux context of the newly written file.
8932         (basic-save-buffer-1): Now it also returns any SELinux context.
8933         (basic-save-buffer-2): Set SELinux context of the newly created file,
8934         and return it.
8935         * net/tramp.el (tramp-file-name-for-operation):
8936         Add file-selinux-context.
8938 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8940         Make the log-edit comments use RFC822 format throughout.
8942         * vc.el (vc-checkin, vc-modify-change-comment):
8943         Adjust to new vc-start/finish-logentry.
8944         (vc-find-conflicted-file): New command.
8945         (vc-transfer-file): Adjust to new vc-checkin.
8946         (vc-next-action): Improve scoping.
8948         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8949         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8951         * vc-git.el (vc-git-log-edit-mode): Remove.
8952         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8953         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8955         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8956         (vc-start-logentry): Remove argument `extra'.
8957         (vc-finish-logentry): Remove extra args.
8959         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8960         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8961         (vc-bzr-conflicted-files): New function.
8963         * log-edit.el (log-edit-extra-flags)
8964         (log-edit-before-checkin-process): Remove.
8965         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8966         (log-edit-headers-alist): New var.
8967         (log-edit-header-contents-regexp): New const.
8968         (log-edit-match-to-eoh): New function.
8969         (log-edit-font-lock-keywords): Use them.
8970         (log-edit): Insert a "Summary:" header as default.
8971         (log-edit-mode): Mark font-lock rules as case-insensitive.
8972         (log-edit-done): Cleanup headers.
8973         (log-view-process-buffer): Remove.
8974         (log-edit-extract-headers): New function to replace it.
8976 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8978         * subr.el (default-direction-reversed): Remove obsolescence info.
8980 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8982         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8983         windows/frames.
8985         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8986         I.e. include text after point in the completion region.
8987         Also, return nil when we're not after/in a symbol.
8989         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8990         default enable-multibyte-characters.
8992 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8994         * international/mule.el: Help the user choose a valid coding-system.
8995         (read-buffer-file-coding-system): New function.
8996         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8997         coding-system cannot encode all the chars.
8999         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9000         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9001         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9002         Don't use *vc-bzr-shelve*.
9004 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
9006         Fix the version number for added files.
9007         * vc-hg.el (vc-hg-working-revision): Check if the file is
9008         registered after hg parent fails (Bug#5961).
9010 2010-04-19  Glenn Morris  <rgm@gnu.org>
9012         * htmlfontify.el (htmlfontify-buffer)
9013         (htmlfontify-copy-and-link-dir): Autoload entry points.
9015 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
9017         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9018         name relative to the project root (Bug#5960).
9020 2010-04-19  Glenn Morris  <rgm@gnu.org>
9022         * vc-git.el (vc-git-print-log): Doc fix.
9024 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
9026         * ido.el (ido-file-internal): Fix 2009-12-02 change.
9028 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
9030         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9031         default settings (Bug#5928).
9033 2010-04-19  Glenn Morris  <rgm@gnu.org>
9035         * progmodes/fortran.el (fortran-match-and-skip-declaration):
9036         New function.
9037         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
9039 2010-04-19  Kenichi Handa  <handa@m17n.org>
9041         * language/indian.el (malayalam-composable-pattern): Fix previous
9042         change (add U+0D4D "SIGN VIRAMA").
9043         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9044         (tamil-composable-pattern): Fix typo in the regexp.
9045         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9046         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9047         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9049 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9051         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9052         paragraph-separate (Bug#5821).
9054 2010-04-19  Juri Linkov  <juri@jurta.org>
9056         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9058         * info.el (Info-find-node-2): Comment out code that skips
9059         breadcrumbs line.
9060         (Info-mouse-follow-link): New command.
9061         (Info-link-keymap): New keymap.
9062         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9063         Return a string with links instead of inserting breadcrumbs
9064         to the Info buffer.
9065         (Info-fontify-node): Comment out code that inserts breadcrumbs.
9066         Instead of putting the `invisible' text property over the Info
9067         header, make an overlay over the Info header with the `invisible'
9068         property and `after-string' set to the string returned by
9069         `Info-breadcrumbs'.
9071 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9073         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9074         Reported by monkey@sandpframing.com.
9076 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9078         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9079         (tmm-get-keymap): Add key-binding shortcuts now that they're not
9080         available in the "keyseq cache" any more.
9082         * custom.el (defcustom): Add edebug spec.
9084 2010-04-18  Juri Linkov  <juri@jurta.org>
9086         Test for special mode-class in view-buffer instead of view-file (bug#5513).
9088         * view.el (view-file, view-buffer): Move test for special mode-class
9089         from view-file to view-buffer.
9091         * tar-mode.el (tar-extract): Turn if's into one cond
9092         like in arc-mode.el.
9094 2010-04-18  Juri Linkov  <juri@jurta.org>
9096         Add 7z archive format support (bug#5475).
9098         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9099         (archive-7z-extract): New defcustom.
9100         (archive-find-type): Add magic string for 7z.
9101         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9102         If `stderr-file' is non-nil, use `(t stderr-file)' for the
9103         `buffer' arg of `call-process'.
9104         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9105         call the function `archive-7z-extract' with the variable
9106         `archive-7z-extract' let-bound to `archive-zip-extract'.
9107         (archive-7z-summarize, archive-7z-extract): New functions.
9109         * international/mule.el (auto-coding-alist):
9110         * files.el (auto-mode-alist): Add 7z file extension.
9112 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9114         * loadup.el: Setup hash-cons for pure data.
9116         Fix duplicate entries in cedet's loaddefs.el files.
9117         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9118         Should make most file-local generated-autoload-file unnecessary.
9119         (print-readably): Silence warnings.
9120         (autoload-find-destination): Take load-name as an arg to make sure
9121         it's the same as the one that will be in the file.
9122         (autoload-generate-file-autoloads): Adjust to above changes.
9123         Try to make the dataflow a bit simpler.
9125         * cvs-status.el (cvs-refontify): Remove unused.
9127 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
9129         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9131         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9132         twos-complement mode.
9134 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
9136         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9137         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
9138         (calc-inverse): Add "Option" to message, as appropriate.
9139         (calc-hyperbolic): Add "Option" to message, as appropriate.
9140         (calc-option, calc-is-option): New functions.
9142         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9143         (calc-option-prefix-help): New function.
9145         * calc/calc-misc.el (calc-help): Add "Option" entry.
9147         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9148         (calc-option-flag): New variable.
9149         (calc-do): Set `calc-option-flag to nil.
9150         (calc-set-mode-line): Add "Opt " as appropriate.
9152 2010-04-16  Juri Linkov  <juri@jurta.org>
9154         Move scrolling commands from simple.el to window.el
9155         because their primitives are implemented in window.c.
9157         * simple.el (scroll-error-top-bottom)
9158         (scroll-up-command, scroll-down-command, scroll-up-line)
9159         (scroll-down-line, scroll-other-window-down)
9160         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9161         * window.el (scroll-error-top-bottom)
9162         (scroll-up-command, scroll-down-command, scroll-up-line)
9163         (scroll-down-line, scroll-other-window-down)
9164         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9165         Move from simple.el to window.el because their primitives are
9166         implemented in window.c.
9168 2010-04-16  Juri Linkov  <juri@jurta.org>
9170         * isearch.el (isearch-lookup-scroll-key): Check both
9171         `isearch-scroll' and `scroll-command' properties.
9172         (scroll-up, scroll-down): Remove `isearch-scroll' property.
9174         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9176         * simple.el (scroll-up-command, scroll-down-command)
9177         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9179 2010-04-15  Juri Linkov  <juri@jurta.org>
9181         * simple.el (scroll-up-command, scroll-down-command)
9182         (scroll-up-line, scroll-down-line): Put `scroll-command'
9183         property on the these symbols.  Remove them from
9184         `scroll-preserve-screen-position-commands'.
9186         * mwheel.el (mwheel-scroll): Put `scroll-command' and
9187         `isearch-scroll' properties on the `mwheel-scroll' symbol.
9188         Remove it from `scroll-preserve-screen-position-commands'.
9190         * isearch.el (isearch-allow-scroll): Doc fix.
9192 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
9194         * net/tramp.el (tramp-error-with-buffer): Don't show the
9195         connection buffer when we are in completion mode.
9196         (tramp-file-name-handler): Catch the error for some operations
9197         when we are in completion mode.  This gives the user the chance to
9198         correct the file name in the minibuffer.
9200 2010-04-15  Glenn Morris  <rgm@gnu.org>
9202         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9204 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
9206         Simplify by using `define-derived-mode'.
9207         * info.el (Info-mode):
9208         * calendar/todo-mode.el (todo-mode):
9209         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9210         (gomoku-mode-map): Move initialization into declaration.
9212 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
9214         Fix Bug#5840.
9215         * ido.el (ido-file-name-all-completions-1):
9216         * minibuffer.el (minibuffer-completion-help):
9217         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9219 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9221         * simple.el (non-essential): New var.
9223         Add a new field `location' to bookmarks for non-file bookmarks.
9224         * bookmark.el (bookmark-location): Use the new field, if present.
9225         (bookmark-insert-location): Undo last change, not needed any more.
9226         * man.el (Man-bookmark-make-record):
9227         * woman.el (woman-bookmark-make-record): Add `location' field.
9229 2010-04-14  Juri Linkov  <juri@jurta.org>
9231         * simple.el (scroll-error-top-bottom): New defcustom.
9232         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
9234         * emulation/pc-select.el (pc-select-override-scroll-error):
9235         Obsolete in favor of `scroll-error-top-bottom'.
9237 2010-04-14  Juri Linkov  <juri@jurta.org>
9239         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9240         `scroll-up-command' and `M-v' to `scroll-down-command'.
9242         * emulation/cua-rect.el (cua--init-rectangles):
9243         * forms.el (forms--change-commands):
9244         * image-mode.el (image-mode-map):
9245         Remap scroll-down-command and scroll-up-command
9246         in addition to scroll-down and scroll-up.
9248 2010-04-14  Juri Linkov  <juri@jurta.org>
9250         * mwheel.el (scroll-preserve-screen-position-commands):
9251         Add mwheel-scroll to this list of commands.
9253         * simple.el (scroll-preserve-screen-position-commands):
9254         Add scroll-up-command, scroll-down-command, scroll-up-line,
9255         scroll-down-line to this list of commands.
9257 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9259         * obsolete/complete.el: Move from lisp/complete.el.
9261         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9263         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9264         to the minor mode function now turns the mode ON unconditionally.
9266 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9268         * vc-dir.el (vc-dir-kill-line): New command.
9269         (vc-dir-mode-map): Bind it to C-k.
9271         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9273         * woman.el: Add bookmark declarations to silence the compiler.
9274         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9275         step to compatibility between man and woman bookmarks.
9276         Adjust for Man-default-bookmark-title renaming.
9277         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
9279         * man.el: Add bookmark declarations to silence the compiler.
9280         (Man-name-local-regexp): Make it match NAME as well.
9281         (Man-getpage-in-background): Return the buffer.
9282         (Man-notify-when-ready): Use `case'.
9283         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9284         Don't hardcode "NAME".  Simplify.
9285         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9286         Rename from Man-bookmark-make-record.
9287         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
9288         we have the actual man-args.  Use Man-getpage-in-background rather
9289         than `man' since the arg is already processed.  Let bookmark.el do the
9290         window handling.  Only wait for the relevant process.
9291         Don't forget to autoload.
9293         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9295 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9297         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9298         New functions.
9299         (woman-mode): Setup bookmark support.
9301         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9302         (man-bookmark-jump): New functions.
9303         (Man-mode): Setup bookmark support.
9305 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
9307         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9308         recognize ssh-keygen prompt (Bug#2817).
9310 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9312         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9314 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9316         Synchronize with Tramp repository.
9318         * net/tramp.el (tramp-completion-function-alist)
9319         (tramp-file-name-regexp, tramp-chunksize)
9320         (tramp-local-coding-commands, tramp-remote-coding-commands):
9321         Fix docstring.
9322         (tramp-remote-process-environment): Use `format' instead of `concat'.
9323         (tramp-handle-directory-files-and-attributes)
9324         (tramp-get-remote-path): Use `copy-tree'.
9325         (tramp-handle-file-name-all-completions): Backward/ XEmacs
9326         compatibility: Use `completion-ignore-case' if
9327         `read-file-name-completion-ignore-case' does not exist.
9328         (tramp-do-copy-or-rename-file-directly): Do not use
9329         `tramp-handle-file-remote-p'.
9330         (tramp-do-copy-or-rename-file-out-of-band):
9331         Use `tramp-compat-delete-directory'.
9332         (tramp-do-copy-or-rename-file-out-of-band)
9333         (tramp-compute-multi-hops, tramp-maybe-open-connection):
9334         Use `format-spec-make'.
9335         (tramp-find-foreign-file-name-handler)
9336         (tramp-advice-make-auto-save-file-name)
9337         (tramp-set-auto-save-file-modes): Remove superfluous check for
9338         `stringp'.  This is done inside `tramp-tramp-file-p'.
9339         (tramp-debug-outline-regexp): New defconst.
9340         (tramp-get-debug-buffer): Use it.
9341         (tramp-check-for-regexp): Use (forward-line 1).
9342         (tramp-set-auto-save-file-modes): Adapt version check.
9344         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9345         Wrap call of `featurep' for 2nd argument.
9346         (tramp-compat-make-temp-file): Simplify fallback implementation.
9347         (tramp-compat-copy-tree): Remove function.
9348         (tramp-compat-delete-directory): Provide implementation for older
9349         Emacsen.
9351         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9352         Do not use `tramp-fish-handle-file-attributes.
9354         * net/trampver.el: Update release number.
9356 2010-04-10  Glenn Morris  <rgm@gnu.org>
9358         * progmodes/compile.el (compilation-save-buffers-predicate):
9359         Add missing :version tag.
9361 2010-04-09  Sam Steingold  <sds@gnu.org>
9363         * progmodes/compile.el (compilation-save-buffers-predicate):
9364         Remove the "autoload" cookie.
9366         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9367         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9368         and `bug-reference-prog-mode' can be used in hooks directly.
9370 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
9372         Add --author support to git commit.
9373         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9374         (vc-git-log-edit-mode): New minor mode.
9375         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9376         New declarations.
9378 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
9380         * vc-hooks.el, vc-git.el: Improve documentation comments.
9382 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9384         Fix some of the problems in defsubst* (bug#5728).
9385         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9386         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9388 2010-04-07  Sam Steingold  <sds@gnu.org>
9390         * progmodes/compile.el (compilation-save-buffers-predicate):
9391         New custom variable.
9392         (compile, recompile): Pass it to `save-some-buffers'.
9394 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
9396         * wid-edit.el (widget-choose): Move cursor to the second line of
9397         the buffer (Bug#5695).
9399 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9401         Add new VC methods: vc-log-incoming and vc-log-outgoing.
9402         * vc.el (vc-print-log-setup-buttons): New function split out from
9403         vc-print-log-internal.
9404         (vc-log-internal-common): New function, a parametrized version of
9405         vc-print-log-internal.
9406         (vc-print-log-internal): Just call vc-log-internal-common with the
9407         right arguments.
9408         (vc-incoming-outgoing-internal):
9409         (vc-log-incoming, vc-log-outgoing): New functions.
9410         (vc-log-view-type): New permanent local variable.
9412         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9414         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9415         of the dynamic bound vc-short-log.
9416         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9418         * vc-git.el (vc-git-log-outgoing): New function.
9419         (vc-git-log-view-mode): Use vc-log-view-type instead
9420         of the dynamic bound vc-short-log.
9422         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9423         of the dynamic bound vc-short-log.  Highlight the tag.
9424         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9425         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9426         (vc-hg-incoming-mode): Remove.
9427         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9429 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9431         Fix default-directory for vc-root-diff.
9432         * vc.el (vc-root-diff): Bind default-directory to the root
9433         directory for the diff command.
9435 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
9437         * progmodes/verilog-mode.el (verilog-forward-sexp):
9438         (verilog-calc-1): Support "disable fork" and "fork wait" multi
9439         word keywords, suggested by Steve Pearlmutter.
9440         (verilog-pretty-declarations): Support lineup of declarations in
9441         port lists.
9442         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9443         fix bug for /* / comments.
9444         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9445         Speed up and simplfy as this is never called with a bound.
9446         (verilog-pretty-declarations): Enhance to line up declarations
9447         inside a parameter list, suggested by Alan Morgan.
9448         (verilog-pretty-expr): Tune assignment regular expression match
9449         string for corner cases; also use markers instead of character
9450         number as indent changes the later.
9452 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
9454         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9455         as missing keyword.
9456         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9457         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
9458         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9459         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
9460         Tennant.
9461         (verilog-keywords):
9462         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9463         1800-2009 keywords, including "global.".
9465 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9467         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9468         appearing in buffer list (if a live buffer name matched a recentf
9469         file basename).  Should use uniquify to offer a real solution.
9471 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9473         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9474         comment to code, and add a :version tag.
9475         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9477 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
9479         Enable recentf-mode if using virtual buffers.
9480         * ido.el (recentf-list): Declare for byte-compiler.
9481         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
9482         (ido-make-buffer-list): Simplify.
9483         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
9485 2010-04-05  Juri Linkov  <juri@jurta.org>
9487         Scrolling commands which scroll a line instead of full screen.
9488         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9490         * simple.el (scroll-up-line, scroll-down-line): New commands.
9491         Put property isearch-scroll=t on them.
9493         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9494         Remove commands.
9496 2010-04-05  Juri Linkov  <juri@jurta.org>
9498         Scrolling commands which do not signal errors at top/bottom.
9499         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9501         * simple.el (scroll-up-command, scroll-down-command): New commands.
9502         Put property isearch-scroll=t on them.
9504         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9505         `scroll-down-command' and [next] from `scroll-up' to
9506         `scroll-up-command'.
9508         * emulation/cua-base.el: Put property CUA=move on
9509         `scroll-up-command' and `scroll-down-command'.
9510         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9511         and `scroll-down-command' to `cua-scroll-down'.
9513 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
9515         * help.el (describe-mode): Return nil.
9517 2010-04-04  John Wiegley  <jwiegley@gmail.com>
9519         * ido.el (ido-use-virtual-buffers): New variable to indicate
9520         whether "virtual buffer" support is enabled for IDO.
9521         (ido-virtual): Face used to indicate virtual buffers in the list.
9522         (ido-buffer-internal): If a buffer is chosen, and no such buffer
9523         exists, but a virtual buffer of that name does (which would be why
9524         it was in the list), recreate the buffer by reopening the file.
9525         (ido-make-buffer-list): If virtual buffers are being used, call
9526         `ido-add-virtual-buffers-to-list' before the make list hook.
9527         (ido-virtual-buffers): New variable which contains a copy of the
9528         current contents of the `recentf-list', albeit pared down for the
9529         sake of speed, and with proper faces applied.
9530         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9531         create a list of "virtual buffers" to present to the user in
9532         addition to the currently open set.  Note that this logic could
9533         get rather slow if that list is too large.  With the default
9534         `recentf-max-saved-items' of 200, there is little speed penalty.
9536 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9538         * font-lock.el: Require CL when compiling.
9539         (font-lock-turn-on-thing-lock): Use `case'.
9541 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
9543         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9544         Zaretskii.
9546 2010-04-02  Juri Linkov  <juri@jurta.org>
9548         * ehelp.el (electric-help-orig-major-mode):
9549         New buffer-local variable.
9550         (electric-help-mode): Set it to original major-mode.  Doc fix.
9551         (with-electric-help): Use `electric-help-orig-major-mode' instead
9552         of (default-value 'major-mode).  Doc fix.
9553         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9555 2010-04-02  Sam Steingold  <sds@gnu.org>
9557         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9558         `vc-hg-command' with a list of flags.
9560         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9561         Also accept "patch" and "RFE".
9562         (bug-reference-fontify): `bug-reference-url-format' can also be a
9563         function to be able to handle the bug kind.
9564         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9566 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
9568         * tmm.el (tmm-get-keymap): Check with symbolp before passing
9569         value to fboundp, it may not be a symbol.
9571 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9573         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9575 2010-03-31  Juri Linkov  <juri@jurta.org>
9577         * simple.el (next-line, previous-line): Re-throw a signal
9578         with `signal' instead of using `ding'.
9579         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9581 2010-03-31  Juri Linkov  <juri@jurta.org>
9583         * simple.el (keyboard-escape-quit): Raise deselecting the active
9584         region higher than exiting the minibuffer.
9585         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9587 2010-03-31  Juri Linkov  <juri@jurta.org>
9589         * image.el (image-animated-p): Use `image-metadata' instead of
9590         `image-extension-data'.  Get GIF extenstion data from metadata
9591         property `extension-data'.
9593 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9595         * simple.el (append-to-buffer): Simplify.
9597 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9599         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9600         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9602 2010-03-31  Kenichi Handa  <handa@m17n.org>
9604         * language/sinhala.el (composition-function-table): Fix regexp for
9605         the new Unicode specification.
9607         * language/indian.el (devanagari-composable-pattern)
9608         (tamil-composable-pattern, kannada-composable-pattern)
9609         (malayalam-composable-pattern): Adjust for the new Unicode
9610         specification.
9611         (bengali-composable-pattern, gurmukhi-composable-pattern)
9612         (gujarati-composable-pattern, oriya-composable-pattern)
9613         (telugu-composable-pattern): New variables to cope with the new
9614         Unicode specification.  Use them in composition-function-table.
9616 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         Make tmm-menubar work for the Buffers menu again (bug#5726).
9619         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9620         vectors rather than cons cells, as used in menu-bar-update-buffers.
9622 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9624         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9625         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9626         electric punctuation for "{}();,:" (Bug#5586).
9628         * mail/sendmail.el (mail-default-directory): Doc fix.
9630 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9632         * mail/sendmail.el (mail-default-directory): Doc fix.
9634 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9636         * subr.el (version-regexp-alist, version-to-list)
9637         (version-list-<, version-list-=, version-list-<=)
9638         (version-list-not-zero, version<, version<=, version=): Doc fix.
9639         (Bug#5744).
9641 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9643         * vc.el (vc-root-diff): Doc fix.
9645 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9647         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9649         * simple.el (append-to-buffer): Fix last change.
9651 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9653         * simple.el (append-to-buffer): Ensure that point is preserved if
9654         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9655         (Bug#5749)
9657 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9659         * files.el (auto-mode-case-fold): Change default to t.
9661 2010-03-30  Juri Linkov  <juri@jurta.org>
9663         * dired-x.el (dired-omit-mode): Doc fix.
9665 2010-03-30  Juri Linkov  <juri@jurta.org>
9667         * replace.el (occur-accumulate-lines): Move occur-engine related
9668         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9669         to be located after `occur-engine'.
9671 2010-03-30  Juri Linkov  <juri@jurta.org>
9673         Make occur handle multi-line matches cleanly with context.
9674         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9676         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9677         (occur-engine): Add local variables `ret', `prev-after-lines',
9678         `prev-lines'.  Use more arguments for `occur-context-lines'.
9679         Set first elem of its returned list to `data', and the second elem
9680         to `prev-after-lines'.  Don't print the separator line.
9681         In the end, print remaining context after-lines.
9682         (occur-context-lines): Add new arguments `begpt', `endpt',
9683         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9684         after-lines of the previous match with before-lines of the
9685         current match and not overlap them.  Return a list with two
9686         values: the output line and the list of context after-lines.
9688 2010-03-30  Juri Linkov  <juri@jurta.org>
9690         * replace.el (occur-accumulate-lines): Fix a bug where the first
9691         context line at the beginning of the buffer was missing.
9693 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9695         * files.el: Make bidi-display-reordering safe variable for boolean
9696         values.
9698 2010-03-29  Phil Hagelberg  <phil@evri.com>
9699             Chong Yidong  <cyd@stupidchicken.com>
9701         * subr.el: Extend progress reporters to perform "spinning".
9702         (progress-reporter-update, progress-reporter-do-update):
9703         Handle non-numeric value arguments.
9704         (progress-reporter--pulse-characters): New var.
9706 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9708         * progmodes/compile.el (compilation-start): Fix regexp detection
9709         of initial cd command (Bug#5771).
9711 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9713         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9715 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9717         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9718         * progmodes/gdb-mi.el: Restore.
9719         * progmodes/gdb-ui.el: Remove.
9720         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9722 2010-03-25  Glenn Morris  <rgm@gnu.org>
9724         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9725         all dired buffers, even tramp ones.  (Bug#5755)
9727 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9729         Add "union tags" in mpc.el.
9730         * mpc.el: Remove backward compatibility code.
9731         (mpc-browser-tags): Change default.
9732         (mpc--find-memoize-union-tags): New var.
9733         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9734         (mpc-cmd-find): Handle the case where the playlist does not exist.
9735         Handle union-tags.
9736         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9737         (mpc-cmd-add): Use mpc-cmd-flush.
9738         (mpc-tagbrowser-tag-name): New fun.
9739         (mpc-tagbrowser-buf): Use it.
9740         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9742 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9744         Misc cleanup.
9745         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9746         Use replace-regexp-in-string.
9747         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9748         (makefile-imake-mode-syntax-table): Move init into defvar.
9749         (makefile-mode): Use define-derived-mode.
9751         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9752         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9753         not be present any more.
9755 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9757         * faces.el (set-face-attribute): Fix typo in docstring.
9758         (face-valid-attribute-values): Reflow docstring.
9760 2010-03-24  Glenn Morris  <rgm@gnu.org>
9762         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9764 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9766         * indent.el (indent-for-tab-command): Doc fix.
9768 2010-03-24  Alan Mackenzie  <acm@muc.de>
9770         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9771         Fix off-by-one error.  Fixes bug #5747.
9773 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9775         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9776         (image-dired-read-comment): Doc fix.
9778         * json.el (json-object-type, json-array-type, json-key-type)
9779         (json-false, json-null, json-read-number):
9780         * minibuffer.el (completion-in-region-functions):
9781         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9782         (cal-tex-cursor-week):
9783         * emacs-lisp/trace.el (trace-function):
9784         * eshell/em-basic.el (eshell/printnl):
9785         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9786         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9787         * obsolete/levents.el (allocate-event, event-key, event-object)
9788         (event-point, event-process, event-timestamp, event-to-character)
9789         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9790         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9791         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9792         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9793         (reftex-highlight-selection): Fix typos in docstrings.
9795 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9797         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9799 2010-03-24  Glenn Morris  <rgm@gnu.org>
9801         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9802         2008-02-13 without comment; mark it obsolete.
9803         (rmail-highlight-headers): Use rmail-highlight-face once more.
9805 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9807         * woman.el (woman2-process-escapes): Only consume the newline if
9808         the filler character is on a line by itself (Bug#5729).
9810 2010-03-24  Kenichi Handa  <handa@m17n.org>
9812         * language/indian.el (devanagari-composable-pattern): Add more
9813         consonants.
9815 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9817         * net/trampver.el: Update release number.
9819 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9821         * net/tramp.el (tramp-find-executable):
9822         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9823         output of "wc -l" more robust.
9824         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9825         (tramp-open-connection-setup-interactive-shell): Remove workaround
9826         for OpenSolaris bug, it is not needed anymore.
9828 2010-03-24  Glenn Morris  <rgm@gnu.org>
9830         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9832 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9834         * files.el (auto-mode-alist): Accept more verilog file patterns.
9836 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9838         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9840 2010-03-24  Glenn Morris  <rgm@gnu.org>
9842         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9843         log-edit-before-checkin-process.
9845         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9847         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9849         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9850         (log-view-process-buffer, log-edit-extra-flags): Declare.
9852         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9854 2010-03-23  Sam Steingold  <sds@gnu.org>
9856         Fix bug#5620: recalculate all markers on compilation buffer
9857         modifications, not on file modifications.
9858         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9859         variable: the buffer modification time, for buffers not associated with
9860         files.
9861         (compilation-mode): Create it.
9862         (compilation-filter): Update it.
9863         (compilation-next-error-function): Use it instead of
9864         `visited-file-modtime' for timestamp.
9866 2010-03-23  Juri Linkov  <juri@jurta.org>
9868         Implement Occur multi-line matches.
9869         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9871         * replace.el (occur): Doc fix.
9872         (occur-engine): Set `begpt' to the beginning of the first line.
9873         Set `endpt' to the end of the last match line.  At first, count
9874         line numbers between `origpt' and `begpt'.  Split out code from
9875         `out-line' variable to new let-bindings `match-prefix' and
9876         `match-str'.  In `out-line' add non-numeric prefix to all
9877         non-first lines of multi-line matches.  Finally, count lines
9878         between `begpt' and `endpt' and add to `lines'.
9880 2010-03-23  Juri Linkov  <juri@jurta.org>
9882         * replace.el (occur-accumulate-lines, occur-engine):
9883         Use `occur-engine-line' instead of duplicate code.
9884         (occur-engine-line): New function created from duplicate code
9885         in `occur-accumulate-lines' and `occur-engine'.
9887         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9888         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9890 2010-03-23  Juri Linkov  <juri@jurta.org>
9892         * finder.el: Remove TODO tasks.
9894         * info.el (Info-finder-find-node): Add node "all"
9895         with all package info.  Handle a list of multiple keywords
9896         separated by comma.
9897         (info-finder): In interactive use with a prefix argument,
9898         use `completing-read-multiple' to read a list of keywords
9899         separated by comma.
9901 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9903         Add a new completion style `substring'.
9904         * minibuffer.el (completion-basic--pattern): New function.
9905         (completion-basic-try-completion, completion-basic-all-completions):
9906         Use it.
9907         (completion-substring--all-completions)
9908         (completion-substring-try-completion)
9909         (completion-substring-all-completions): New functions.
9910         (completion-styles-alist): New style `substring'.
9912 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9914         Get rid of .elc files after removal of the corresponding .el.
9915         * Makefile.in (compile-clean): New target.
9916         (compile-main): Use it.
9918 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9920         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9921         don't do make there.  When compiling with separate object dir, there
9922         is no Makefile there.
9924 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9926         Get rid of the ELCFILES abomination, again.
9927         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9928         (all, compile): Don't call compile-last.
9929         (compile-main): Build the "elcfiles" list dynamically.
9930         (compile-targets): New (internal) target.
9932 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9934         * Makefile.in (top_srcdir): Define.
9935         (abs_top_builddir): Define.
9936         (srcdir): Don't append `/..'.
9937         (EMACS): Use ${abs_top_builddir}.
9938         (all, compile, compile-always, compile-last): Don't set emacswd.
9939         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9940         $(srcdir).
9941         (lisp): Use $(srcdir) instead of @srcdir@.
9943 2010-03-21  Juri Linkov  <juri@jurta.org>
9945         Fix message of multi-line occur regexps and multi-buffer header lines.
9946         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9948         * replace.el (occur-1): Don't display regexp if it is longer
9949         than window-width.  Use `query-replace-descr' to display regexp.
9950         (occur-engine): Don't display regexp in the buffer header for
9951         multi-buffer occur.  Display a separate header line with total
9952         match count and regexp for multi-buffer occur.
9953         Use `query-replace-descr' to display regexp.
9955 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9957         * net/secrets.el: Fix parenthesis.
9958         (secrets-enabled): Fix parenthesis.
9960 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9962         Use more relative file and directory names.
9963         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9964         (setwins, setwins_almost, setwins_for_subdirs):
9965         Don't `cd'; output relative names.
9966         (all, compile, compile-always, compile-last): Set emacswd.
9967         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9968         Just cd to the lisp source dir so we can use relative file names.
9970         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9972 2010-03-20  Glenn Morris  <rgm@gnu.org>
9974         * textmodes/rst.el: Use faces for font-lock customization, and make the
9975         old -face variables obsolete.
9976         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9977         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9978         (rst-block-face, rst-external-face, rst-definition-face)
9979         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9980         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9981         Make obsolete.
9982         (rst-font-lock-keywords-function): Update for above changes.
9984 2010-03-20  Juri Linkov  <juri@jurta.org>
9986         * s-region.el:
9987         * obsolete/s-region.el: Move to obsolete.
9989 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9991         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9993 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9995         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9997 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9999         Add special markup processing for commit logs.
10000         * log-edit.el (log-edit-extra-flags): New variable.
10001         (log-edit): Add new argument MODE.  Use that mode when non-nil
10002         instead of the log-view-mode.
10003         (log-view-process-buffer): New function.
10005         * vc.el: Document that the checkin method takes optional
10006         arguments.  Document new backend specific method: log-view-mode.
10007         (vc-default-log-edit-mode): New function.
10008         (vc-checkin): Use a backend specific log-view-mode.
10009         Pass extra arguments to the checkin method.
10010         (vc-modify-change-comment): Pass a dummy extra argument.
10012         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10013         log-edit.
10014         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10015         (vc-finish-logentry): Process the log buffer before passing it
10016         down.  Pass log-edit-extra-flags.
10018         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10019         command.
10020         (log-edit-extra-flags, log-edit-before-checkin-process):
10021         New declarations.
10023         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10024         command.
10025         (log-edit-extra-flags, log-edit-before-checkin-process):
10026         New declarations.
10027         (vc-hg-log-edit-mode): New derived mode.
10029         * vc-arch.el (vc-arch-checkin):
10030         * vc-cvs.el (vc-cvs-checkin):
10031         * vc-git.el (vc-git-checkin):
10032         * vc-mtn.el (vc-mtn-checkin):
10033         * vc-rcs.el (vc-rcs-checkin):
10034         * vc-sccs.el (vc-sccs-checkin):
10035         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10037 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10039         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10040         parent typo).
10042 2010-03-19  Glenn Morris  <rgm@gnu.org>
10044         * password-cache.el (password-cache, password-cache-expiry): Autoload.
10046 2010-03-18  Glenn Morris  <rgm@gnu.org>
10048         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10050         * replace.el (query-replace-history): Give it a doc string.
10051         (map-query-replace-regexp): Use query-replace-from-history-variable
10052         and query-replace-to-history-variable.
10054         * mail/hashcash.el (declare-function): Remove duplicate definition.
10056         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10057         Make it an obsolete alias for report-emacs-bug-address.
10058         (message-strip-special-text-properties): Declare.
10059         (report-emacs-bug): Remove test for a pretest bug address.
10060         Combine message-mode-specific code.
10062         * mail/supercite.el: Don't require sendmail.
10063         (mh-in-header-p): Declare rather than using with-no-warnings.
10064         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10065         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
10067         * calendar/cal-french.el: Convert to utf-8.
10069         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10070         Emacs scripts.
10072 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
10074         * net/secrets.el (secrets-enabled): New variable.  Use it instead
10075         of a subfeature.
10077 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
10079         * net/secrets.el (top): Register the D-Bus signals only when the
10080         service "org.freedesktop.secrets" can be pinged.
10081         Provide subfeature `enabled'.
10083 2010-03-14  Juri Linkov  <juri@jurta.org>
10085         Add finder unknown keywords.
10087         * finder.el (finder-unknown-keywords): New function.
10089         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10090         to create a Finder node with unknown keywords.
10092 2010-03-14  Juri Linkov  <juri@jurta.org>
10094         * finder.el (finder-compile-keywords): Replace `princ' with
10095         `prin1' on a list of symbols interned from keyword strings.
10097         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10098         a comma, then split keywords using a comma and optional whitespace.
10099         Otherwise, split by whitespace.
10101         * complete.el:
10102         * face-remap.el:
10103         * log-view.el:
10104         * net/hmac-def.el:
10105         * net/hmac-md5.el:
10106         * net/netrc.el:
10107         * progmodes/mixal-mode.el: Fix keywords.
10109 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
10111         * Makefile.in (ELCFILES): Add net/secrets.elc.
10113         * net/secrets.el: New file.
10115 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10117         * facemenu.el (list-colors-display, list-colors-print): New arg
10118         callback.  Use it to allow selecting colors.
10120         * wid-edit.el (widget-image-insert): Insert image prop even if the
10121         current display is non-graphic.
10122         (widget-field-value-set): New fun.
10123         (editable-field): Use it.
10124         (widget-field-value-get): Clean up unused var.
10125         (widget-color-value-create, widget-color--choose-action):
10126         New funs.  Allow using list-colors-display to choose color.
10128 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10130         * cus-edit.el: Resort topmost custom groups.
10131         (custom-buffer-sort-alphabetically): Default to t.
10132         (customize-apropos): Use apropos-parse-pattern.
10133         (custom-search-field): New var.
10134         (custom-buffer-create-internal): Add custom-apropos search field.
10135         (custom-add-parent-links): Don't display parent doc.
10136         (custom-group-value-create): Don't sort top-level custom group.
10137         (custom-magic-value-create): Show visibility button before option name.
10139         (custom-variable-state): New fun, from custom-variable-state-set.
10140         (custom-variable-state-set): Use it.
10141         (custom-group-value-create): Hide options with standard values
10142         using the :hidden-states property.  Use progress reporter.
10144         (custom-show): Simplify.
10145         (custom-visibility): Disable images by default.
10146         (custom-variable): New property :hidden-states.
10147         (custom-variable-value-create): Enable images for
10148         custom-visibility widgets.  Use :hidden-states property to
10149         determine initial visibility.
10151         * wid-edit.el (widget-image-find): Give images center ascent.
10152         (visibility): Add :on-image and :off-image properties.
10153         (widget-visibility-value-create): Use them.
10155 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10157         * cus-edit.el (processes): Remove from development group.
10158         (oop, hypermedia): Delete group.
10159         (comm): Promote to top-level group.
10161         * net/browse-url.el (browse-url):
10162         * net/xesam.el (xesam):
10163         * net/tramp.el (tramp):
10164         * net/goto-addr.el (goto-address):
10165         * net/ange-ftp.el (ange-ftp): Put in comm group.
10167         * view.el (view): Remove from editing group.
10169         * uniquify.el (uniquify): Put in files group.
10171         * net/browse-url.el (browse-url):
10172         * ps-print.el (postscript): Put in external group.
10174         * cus-edit.el (outlines):
10175         * textmodes/text-mode.el (text-mode-hook):
10176         * textmodes/table.el (table):
10177         * textmodes/picture.el (picture):
10178         * outline.el (outlines): Put in wp group.
10180         * nxml/nxml-mode.el (nxml): Remove from wp group.
10182         * net/tramp-imap.el (tramp-imap): Put in tramp group.
10184         * mail/metamail.el (metamail): Remove from hypermedia group.
10186         * cus-edit.el (abbrev):
10187         * whitespace.el (whitespace):
10188         * vcursor.el (vcursor):
10189         * reveal.el (reveal):
10190         * hl-line.el (hl-line): Put in convenience group.
10192         * epg-config.el (epg): Put in data group.
10194         * emulation/pc-select.el (pc-select): Put in emulations group.
10196         * calculator.el (calculator): Put in applications group.
10198 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10200         Add .dir-locals.el support for file-less buffers.
10201         * files.el (hack-local-variables): Split out code to apply local
10202         variable settings ...
10203         (hack-local-variables-apply): ... here.  New function.
10204         (hack-dir-local-variables): Use the default directory for when the
10205         buffer does not have an associated file.
10206         (hack-dir-local-variables-non-file-buffer): New function.
10207         * diff-mode.el (diff-mode):
10208         * vc-annotate.el (vc-annotate-mode):
10209         * vc-dir.el (vc-dir-mode):
10210         * log-edit.el (log-edit-mode):
10211         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10213 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10215         Add support for shelving snapshots and for showing shelves.
10216         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10217         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10218         New functions.
10219         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10220         (vc-bzr-extra-menu-map): Map them.
10222 2010-03-11  Glenn Morris  <rgm@gnu.org>
10224         * cus-edit.el (customize-changed-options-previous-release):
10225         Bump to 23.1.
10227         * image.el (image-animate-max-time): Fix :version tag.
10229 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
10231         * Branch for 23.2.
10233 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10235         * vc-git.el (vc-git-revision-table): Include remote branches.
10237 2010-03-10  Kim F. Storm  <storm@cua.dk>
10239         Animated image API.
10240         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10242         * image.el (image-animate-max-time): New defcustom.
10243         (image-animated-types): New defconst.
10244         (create-animated-image, image-animate-timer)
10245         (image-animate-start, image-animate-stop, image-animate-timeout)
10246         (image-animated-p): New functions.
10248         * image-mode.el (image-toggle-display-image):
10249         Replace `create-image' with `create-animated-image'.
10251 2010-03-09  Miles Bader  <miles@gnu.org>
10253         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10254         instead of "format:"; this ensures that the output is
10255         newline-terminated.
10257 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
10259         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10260         that all errors are caught, and that the return value is always a
10261         list (Bug#5692).
10263 2010-03-08  Kenichi Handa  <handa@m17n.org>
10265         * language/misc-lang.el (windows-1256): New coding system.
10266         (cp1256): New alias of windows-1256 (bug#5690).
10268 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
10270         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10271         call to rfc822-bad-address.  (Bug#5692)
10273 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10275         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10276         Use vc-git-root as default directory for revision path (Bug#5657).
10278 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
10280         * calculator.el (calculator): Don't bind split-window-keep-point
10281         (Bug#5674).
10283 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10285         * vc-git.el: Re-flow to fit into 80 columns.
10286         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10287         Remove spurious `quote' element in each case alternative.
10288         (vc-git-show-log-entry): Use prog1.
10289         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10291 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10293         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10295 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
10297         * macros.el (insert-kbd-macro): Look up keyboard macro using the
10298         definition, not the name (Bug#5481).
10300 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10302         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10303         argument with a local variable.  (Bug#5670)
10305 2010-03-02  Juri Linkov  <juri@jurta.org>
10307         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
10309 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
10311         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10312         error when FILENAME and NEWNAME are existing remote directories.
10314         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10315         parameter DIR-FLAG.
10317 2010-03-02  Glenn Morris  <rgm@gnu.org>
10319         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10320         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10322 2010-03-01  Kenichi Handa  <handa@m17n.org>
10324         * language/burmese.el (burmese-composable-pattern): Rename from
10325         myanmar-composable-pattern.
10327         * international/characters.el (script-list):
10328         * international/fontset.el (script-representative-chars):
10329         Change myanmar to burmese.
10330         (otf-script-alist): Likewise.
10331         (setup-default-fontset): Likewise.  Re-fix :otf spec.
10333 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
10335         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10337 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
10339         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10341 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10343         * net/tramp.el (tramp-handle-write-region): START can be a string.
10344         Take care in the checks.  Reported by Dan Davison
10345         <davison@stats.ox.ac.uk>.
10347 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10349         * net/dbus.el (dbus-introspect, dbus-get-property)
10350         (dbus-set-property, dbus-get-all-properties):
10351         Use `dbus-call-method' when noninteractive.  (Bug#5645)
10353 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
10355         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10356         * emacs-lisp/elint.el (elint-add-required-env):
10357         * calendar/icalendar.el (icalendar--add-diary-entry):
10358         * calc/calcalg2.el (math-tracing-integral):
10359         * files.el (recover-session-finish): Use with-current-buffer
10360         instead of save-excursion.
10362 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10364         Fix in-buffer completion when after-change-functions modify the buffer.
10365         * minibuffer.el (completion--replace): New function.
10366         (completion--do-completion): Use it and use relative movement.
10368 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
10370         * international/fontset.el (setup-default-fontset): Fix :otf spec.
10372 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
10374         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10375         Allow the characters _<> in the stack entry (Bug#5653).
10377 2010-02-26  Kenichi Handa  <handa@m17n.org>
10379         * language/burmese.el: Fix entries in composition-function-table.
10380         (myanmar-composable-pattern): New variable.
10382         * international/fontset.el (setup-default-fontset): Add an entry
10383         for myanmar.
10385         * international/characters.el (script-list): Add Myanmar
10386         Extended-A.
10388 2010-02-26  Glenn Morris  <rgm@gnu.org>
10390         * custom.el (custom-initialize-delay): Doc fix.
10392         * mail/sendmail.el (send-mail-function): Autoload the call
10393         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10395 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
10397         * files.el (hack-local-variables-filter): For eval forms, also
10398         check safe-local-variable-p (Bug#5636).
10400 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
10402         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10403         setting the modes by `ignore-errors'.  It might fail, for example
10404         if the file is not owned by the user but the group.
10405         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10407 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
10409         * files.el (directory-listing-before-filename-regexp):
10410         Use stricter matching for iso-style dates, to avoid false matches with
10411         date-like filenames (Bug#5597).
10413         * htmlfontify.el (htmlfontify): Doc fix.
10415         * eshell/eshell.el (eshell): Doc fix.
10417         * startup.el (fancy-about-screen): In mode-line, apply
10418         mode-line-buffer-id face only to the buffer name (Bug#5613).
10420 2010-02-20  Kevin Ryde  <user42@zip.com.au>
10422         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10423         In `watcom' anchor regexp to start of line, to avoid slowness
10424         (Bug#5599).
10426 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
10428         * subr.el (remove-yank-excluded-properties): Explain in a comment
10429         why `category' property is removed.
10431 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
10433         * isearch.el (isearch-update-post-hook, isearch-update):
10434         Revert 2010-02-17 change.
10436 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
10438         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10439         (icalendar--convert-weekly-to-ical)
10440         (icalendar--convert-yearly-to-ical)
10441         (icalendar--convert-block-to-ical)
10442         (icalendar--convert-cyclic-to-ical)
10443         (icalendar--convert-anniversary-to-ical): Take care of time
10444         specifications where hour has 1-digit only (Bug#5549).
10446 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
10448         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10449         of disassemble output in GDB 7.1.
10451 2010-02-19  Glenn Morris  <rgm@gnu.org>
10453         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10454         property.  (Bug#5593)
10456 2010-02-18  Sam Steingold  <sds@gnu.org>
10458         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10460 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10462         Use abbreviated file names in bookmarks (bug#5591).
10463         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10464         calls to expand-file-name.
10465         (bookmark-relocate): Use abbreviated file names in bookmarks.
10466         (bookmark-load): Use abbreviated file names in messages.
10468 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10470         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10471         expand "." and "..".  Reported by Thierry Volpiatto
10472         <thierry.volpiatto@gmail.com>.
10474 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10476         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10477         permissions of the temporary file to "0600".  In case the remote
10478         file has no read permissions for the owner, there might be
10479         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
10481 22010-02-18  Glenn Morris  <rgm@gnu.org>
10483         * emacs-lisp/authors.el (authors-renamed-files-alist):
10484         Add entries for INSTALL.CVS.
10486 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
10488         * vc-bzr.el: Fix typo in Known Bugs section.
10490         * isearch.el (isearch-update-post-hook): New hook.
10491         (isearch-update): Use the new hook.
10493 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
10495         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10496         Fix errors in copying directories.
10497         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10498         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10499         (tramp-handle-delete-file)
10500         (tramp-handle-dired-recursive-delete-directory)
10501         (tramp-handle-write-region): Flush also the cache for the upper
10502         directory.
10504 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
10506         * simple.el (save-interprogram-paste-before-kill): Doc fix.
10508         * cus-edit.el (hardware): Doc fix.
10510         * man.el (man): Add to external custom group.
10512         * delim-col.el (columns): Move to wp custom group.
10514         * doc-view.el (doc-view): Add to data custom group.
10516         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10518         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10519         by ispell-parse-output (Bug#5575).
10521 2010-02-16  Kenichi Handa  <handa@m17n.org>
10523         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10524         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10525         (skkdic-convert): Use `euc-japan' coding system for writing.
10527 2010-02-16  Glenn Morris  <rgm@gnu.org>
10529         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10530         tex-main-file before using it.  (Bug#5562)
10532 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10534         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10535         warnings, since it is annoying for the user to see them each time he
10536         runs the code.
10538 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
10540         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10541         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10542         instead of PROC for caching "first-password-request".  Otherwise,
10543         new processes would not profit from passwords already entered.
10545         * net/tramp-cache.el (tramp-dump-connection-properties):
10546         Don't save "first-password-request" property.
10548 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
10550         * outline.el (outline-head-from-level):
10551         * simple.el (with-wrapper-hook):
10552         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10553         (elint-defun, elint-buffer-env, elint-top-form-logged)
10554         (elint-unbound-variable):
10555         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10556         Fix typos in docstrings.
10558 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
10560         * files.el (insert-directory): When WILDCARD-REGEXP and
10561         FULL-DIRECTORY-P are nil, insert the file entry instead of the
10562         whole directory.  (Bug#5551)
10564         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
10565         dired's alignment sanity.  (Bug#5516)
10567 2010-02-14  Juri Linkov  <juri@jurta.org>
10569         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10570         Remove remaining ^H with their preceding chars.  (Bug#5566)
10572 2010-02-13  Glenn Morris  <rgm@gnu.org>
10574         * simple.el (transpose-subr): Give it a doc-string.
10576         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10577         Doc fixes.
10579 2010-02-12  Juri Linkov  <juri@jurta.org>
10581         * arc-mode.el (archive-unique-fname): Make directories for nested
10582         archives.  (Bug#5540)
10584 2010-02-12  Juri Linkov  <juri@jurta.org>
10586         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
10588 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10590         * subr.el (copy-overlay): Handle deleted overlays.
10592         * man.el (Man-completion-table): Don't signal an error if we can't run
10593         manual-program (bug#4056).
10595 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10597         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10599 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10601         * info.el (Info-bookmark-jump): Simplify.
10603         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10604         (bookmark-default-handler): Accept new bookmark field `buffer'.
10606 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10608         * iswitchb.el (iswitchb-completions): Revert last change.
10610 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10612         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10613         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10614         This prevents file names like "~/" being listed literally.
10616 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10618         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10619         Remove dead code.  (Bug#5546)
10621 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10623         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10624         correctly (Bug#5548).
10626 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10628         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10629         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10631 2010-02-08  Kenichi Handa  <handa@m17n.org>
10633         * international/mule-util.el (with-coding-priority): Add autoload
10634         cookie for putting `lisp-indent-function'.
10636 2010-02-07  Glenn Morris  <rgm@gnu.org>
10638         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10639         Move F2003 named interfaces from keywords-2 to keywords-1, and
10640         use function-name-face rather than constant-face.
10641         Simplify "abstract interface" regexp.
10643 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10645         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10646         ID-FORMAT.  Pass it to `file-attributes'.
10648         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10650 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10652         * faces.el (set-face-attribute): Allow calling
10653         internal-set-lisp-face-attribute with 'unspecified family and
10654         foundry argument (Bug#5536).
10656 2010-02-07  Glenn Morris  <rgm@gnu.org>
10658         * progmodes/f90.el (f90-font-lock-keywords-2)
10659         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10660         Handle F2003 named interfaces.
10662 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10664         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10665         beg and end before calling c-get-state-before-change-functions.
10667 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10669         * vc-bzr.el (vc-bzr-dir-extra-headers):
10670         Disable the pending merges header.
10672 2010-02-05  Juri Linkov  <juri@jurta.org>
10674         * doc-view.el (doc-view-mode):
10675         * image-mode.el (image-mode): Put property mode-class=special.
10676         (Bug#4896)
10678 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10680         * vc-svn.el (vc-svn-revision-table): New function.
10682 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10684         * net/ange-ftp.el (ange-ftp-insert-directory):
10685         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10686         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10687         Handle also directories.  (Bug#5478)
10689 2010-02-05  Glenn Morris  <rgm@gnu.org>
10691         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10693 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10695         * startup.el (command-line-1): Convert options beginning with a
10696         single dash as well (Bug#5519).
10698 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10700         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10701         * minibuffer.el (completion-initials-expand): Only check the presence
10702         of delims *within* the boundaries, since otherwise the / delim is
10703         always found for files.
10705         Fix up various corner case problems.
10706         * doc-view.el (doc-view-last-page-number): New function.
10707         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10708         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10709         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10710         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10711         (doc-view-convert-current-doc): Don't create the resolution.el file
10712         here any more.
10713         (doc-view-pdf/ps->png): Do it here instead.
10714         (doc-view-already-converted-p): Check that resolution.el is present.
10715         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10716         windows that are not yet showing images.
10718 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10720         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10721         `dired-uncache' for every elemnt which is an absolute file name.
10723         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10724         directory, handle its directory component.
10725         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10726         function is called permanently and creates noise, otherwise.
10728         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10729         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10730         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10732 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10734         * macros.el (apply-macro-to-region-lines):
10735         Minor simplification.  (Bug#5485)
10737 2010-02-04  Glenn Morris  <rgm@gnu.org>
10739         * mail/rmail.el (rmail-show-message-1): Handle malformed
10740         quoted-printable text.  (Bug#5441)
10742         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10744         * simple.el (visual-line-mode): Capitalize lighter.
10746 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10748         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10749         list of files considered for "virtual buffer" completions.
10751 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10753         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10754         also in case of (and (not full) (not wildcard)).  This is needed
10755         when dired is called with a list of files, which are not in
10756         `default-directory'.  (Bug#5478)
10758 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10760         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10762 2010-02-02  Juri Linkov  <juri@jurta.org>
10764         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10765         from unidiff to allow function-line after @@.
10767 2010-02-02  Juri Linkov  <juri@jurta.org>
10769         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10770         '(RCS SCCS) with inverted condition.
10772 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10774         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10775         messages.
10777 2010-02-01  Juri Linkov  <juri@jurta.org>
10779         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10780         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10781         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10782         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10784 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10786         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10787         (doc-view-revert-buffer): New command.
10788         (doc-view-mode-map): Use it.
10790 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10792         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10793         pending merge is detected.
10795 2010-01-31  Juri Linkov  <juri@jurta.org>
10797         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10798         beginning of interactive spec like all other grep commands do.
10799         Put "all" in front of "gz".  (Bug#5260)
10801 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10803         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10805 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10807         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10808         regexp is incorrect (Bug#5476).
10810 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10812         * net/tramp.el (tramp-handle-insert-directory): Handle also
10813         symlinks, when FILENAME is not in `default-directory'.
10815 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10817         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10818         FILE is not in `default-directory'.  (Bug#5478)
10820         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10821         of SWITCHES.  Handle the case, FILENAME is not in
10822         `default-directory'.  (Bug#5478)
10823         (tramp-register-file-name-handlers): Add safe-magic property.
10825 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10827         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10828         unzip (Bug#5475).
10830 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10832         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10833         (flymake-master-make-header-init): Add other C++ filename masks.
10834         (flymake-find-possible-master-files)
10835         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10837 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10839         Fix some busybox annoyances.
10841         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10842         not responding." string.
10843         (tramp-open-connection-setup-interactive-shell): Dump stty
10844         settings.  Enable "neveropen" arg for all `tramp-send-command'
10845         calls.  Handle "=" in variable values properly.
10846         (tramp-find-inline-encoding): Raise an error, when no encoding is
10847         found.
10848         (tramp-wait-for-output): Check, whether PROC buffer is available.
10849         Remove spurious " ^H" sequences, sent by busybox.
10850         (tramp-get-ls-command): Suppress coloring, if possible.
10852 2010-01-28  Glenn Morris  <rgm@gnu.org>
10854         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10856         * log-edit.el (log-edit-strip-single-file-name): Add missing
10857         :safe, :group, and :version tags.
10859 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10861         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10862         buffers.  (Bug#5477)
10864 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10866         * files.el (delete-directory): Handle moving to trash without
10867         first doing recursion (Bug#5436).
10869 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10871         * vc-hooks.el (vc-path): Mark as obsolete.
10873 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10875         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10876         names too.
10878         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10879         for the short log.
10880         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10882 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10884         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10886         * vc-bzr.el (vc-bzr-revision-table): New function.
10888 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10890         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10891         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10893 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10895         Remove support for adding --signoff on commit.
10896         Future support will use an incompatible generic mechanism.
10897         * vc-git.el (vc-git-add-signoff): Remove variable.
10898         (vc-git-toggle-signoff): Remove function.
10899         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10901         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10902         Rename from xterm-set-background-mode.  Return t if the background mode
10903         was set.
10904         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10905         earlier, call it again in case the background mode has changed.
10907 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10909         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10910         (Bug#3541).
10912 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10914         * emacs-lisp/assoc.el (aelement): Doc fix.
10915         (aput, adelete, amake): Use lexical-let (Bug#5450).
10917 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10919         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10920         is the same as subprogram call, not declaration.  (Bug#5435).
10922 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10924         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10925         (tramp-smb-maybe-open-connection): Use it.
10927 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10929         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10931 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10933         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10934         just because we see "encoding: 8bit".
10935         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10937 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10939         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10941 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10943         * jka-compr.el (jka-compr-load): If load-file is not in
10944         load-history, try its file-truename version.  (bug#5447)
10946 2010-01-21  Alan Mackenzie  <acm@muc.de>
10948         Fix a situation where deletion of a cpp construct throws an error.
10949         * progmodes/cc-engine.el (c-invalidate-state-cache):
10950         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10951         special cpp construct is still in the buffer.
10952         (c-parse-state): Record the special cpp with markers, not numbers.
10954 2010-01-21  Kenichi Handa  <handa@m17n.org>
10956         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10957         process last-command-event, as it is now decoded first (Bug#5380).
10959 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10961         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10963 2010-01-20  Glenn Morris  <rgm@gnu.org>
10965         * indent.el (tab-always-indent): Fix custom-type.
10967 2010-01-19  Alan Mackenzie  <acm@muc.de>
10969         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10970         buffer throws "args out of range".
10971         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10972         playing the role of delimiter.
10974 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10976         * progmodes/ada-mode.el: Fix bug#5400.
10977         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10978         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10979         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10980         Improve comments in "is" portion.  Handle null procedure declaration.
10981         (ada-move-to-end): Improve doc string.
10983 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10985         * ido.el (ido-cur-list): Initialize to nil.
10986         Remove obsolete information from commentary.
10987         (ido-choice-list): Initialize to nil.
10988         (ido-get-bufname): Reject minibuffers.
10989         (ido-make-buffer-list): If "default" is a nonexistent
10990         buffer, ignore it, as per the function's comment.
10991         (ido-kill-buffer-internal): New function.
10992         (ido-kill-buffer-at-head): Use it.
10993         (ido-visit-buffer): Likewise.
10995 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10997         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10999 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
11001         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11002         Fix typos in chart titles.
11004         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11005         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11006         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11007         (describe-class, eieio-describe-generic, describe-generic):
11008         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11009         (eieio-speedbar-expand):
11010         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11011         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11012         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11013         (viper-del-backward-char-in-replace, viper-backward-indent)
11014         (viper-brac-function, viper-register-to-point, viper-submit-report):
11015         * net/tramp.el (tramp-remote-coding-commands):
11016         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11017         Fix typos in docstrings.
11019 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
11021         * mail/sendmail.el (mail-yank-original): Set the mark if the
11022         specified function for yanking does not do it.
11024 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
11026         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
11028         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11029         resyncing a directory.
11031 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
11033         * progmodes/ada-mode.el: Fix bug#1920.
11034         (ada-ident-re): Delete ., allow multibyte characters.
11035         (ada-goto-label-re): New; matches goto labels.
11036         (ada-block-label-re): New; matches block labels.
11037         (ada-label-re): New; matches both.
11038         (ada-named-block-re): Deleted; callers changed to use
11039         `ada-block-label-re' instead.
11040         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11041         Use `ada-block-label-re'.
11042         (ada-indent-on-previous-lines): Improve handling of goto labels.
11043         (ada-get-indent-block-start): Special-case block label.
11044         (ada-get-indent-label): Split into `ada-indent-block-label' and
11045         `ada-indent-goto-label'.
11046         (ada-goto-stmt-start, ada-goto-next-non-ws):
11047         Optionally ignore goto labels.
11048         (ada-goto-next-word): Simplify.
11049         (ada-indent-newline-indent-conditional): Insert newline before
11050         trying to fix indentation; doc fix.
11052 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
11054         * calc/calc.el (calc-command-flags): Give it an initial value.
11056 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
11058         * files.el (minibuffer-with-setup-hook):
11059         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11060         (artist-key-draw-continously, artist-key-do-continously-continously)
11061         (artist-key-set-point-continously, artist-mouse-draw-continously):
11062         Fix typos in docstrings.
11064 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
11066         * nxml/nxml-mode.el (nxml-extend-after-change-region):
11067         Never return t (Bug#3898).
11069 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
11071         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11072         can parse the output of the external commands (Bug#5279).
11074 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
11076         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11078 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
11080         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11082         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11084         * startup.el (command-line): Remove unused --icon-type arg.
11085         Handle --display arg, passing it to command-line-1 (Bug#5392).
11087 2010-01-16  Mario Lang  <mlang@delysid.org>
11089         * emacs-lisp/chart.el (chart-translate-namezone):
11090         * textmodes/artist.el (artist-compute-popup-menu-table):
11091         Remove duplicated words in doc-strings.
11093 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
11095         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11096         to mairix-search to suppress threading (Bug#5342).
11098 2010-01-15  Kenichi Handa  <handa@m17n.org>
11100         * international/mule-cmds.el (canonicalize-coding-system-name):
11101         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11103 2010-01-15  Glenn Morris  <rgm@gnu.org>
11105         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
11107         * wid-edit.el (widget-keymap): Doc fix.
11109         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11110         former seems to be more widely accepted by various svn versions.
11112 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11114         * find-cmd.el (find-constituents):
11115         * vc-arch.el (vc-arch-root):
11116         * window.el (window-body-height, pop-up-frames):
11117         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11118         * progmodes/ada-stmt.el (ada-if):
11119         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11120         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11121         (ispell-encoding8-command, ispell-aspell-supports-utf8)
11122         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11124         * progmodes/flymake.el (flymake-post-syntax-check):
11125         Fix typo in error message.
11127 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11129         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11130         which is always a string.  (Bug#5313)
11132 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11134         * progmodes/ada-xref.el (ada-default-prj-properties):
11135         Simplify previous change.
11137 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11139         * progmodes/ada-xref.el (ada-default-prj-properties):
11140         Default ada_project_path to $ADA_PROJECT_PATH.
11142 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11144         * progmodes/ada-mode.el (ada-create-keymap):
11145         Override `narrow-to-defun' with `ada-narrow-to-defun'.
11147 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11149         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11150         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11151         (ada-get-current-indent, ada-imenu-generic-expression)
11152         (ada-which-function): Check for it.
11154 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11156         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11157         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11159 2010-01-14  Glenn Morris  <rgm@gnu.org>
11161         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
11163 2010-01-14  Kenichi Handa  <handa@m17n.org>
11165         * composite.el (auto-composition-mode): Make it a buffer local
11166         variable (permanent-local).
11167         (auto-composition-function): Set the default value to
11168         auto-compose-chars.
11169         (auto-composition-mode): Make it a simple function, not a minor mode.
11170         (global-auto-composition-mode): Likewise.
11171         (turn-on-auto-composition-if-enabled): Delete it.
11173 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
11175         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11177 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
11179         * files.el (copy-directory): Compute target for recursive
11180         directories with identical names.  (Bug#5343)
11182 2010-01-12  Glenn Morris  <rgm@gnu.org>
11184         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11185         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11187 2010-01-11  Sam Steingold  <sds@gnu.org>
11189         * imenu.el (imenu-default-create-index-function): Detect infinite
11190         loops caused by imenu-prev-index-position-function.
11192 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11194         * htmlfontify.el (htmlfontify-load-rgb-file)
11195         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11196         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11197         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11198         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11199         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11200         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11201         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11202         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11203         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11204         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11205         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11206         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11207         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11208         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11209         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11210         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11211         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11212         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11213         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11214         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11215         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11216         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11217         backslash-quoting from parentheses, etc.
11219 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
11221         * progmodes/js.el: Autoload javascript-mode alias.
11223 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11225         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11226         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11227         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11228         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11229         Fix typos in docstrings.
11230         (ffap-url-regexp): Doc fix.
11231         (ffap-at-mouse): Fix typo in message.
11233 2010-01-11  Glenn Morris  <rgm@gnu.org>
11235         * version.el (emacs-copyright): Set copyright year to 2010.
11237 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11239         * format.el (format-annotate-function): Only set
11240         write-region-post-annotation-function after running to-fn so as not to
11241         affect nested write-region calls (bug#5273).
11243 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
11245         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11246         wisent/python.el.
11248 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11250         * man.el (Man-goto-section): Signal error if the section is not
11251         found (Bug#5317).
11253 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
11255         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11256         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
11258 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11260         * progmodes/compile.el: Don't treat compile-command as safe if
11261         compilation-read-command might be nil (Bug#4218).
11263 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
11265         * startup.el (command-line-1): Use orig-argi to check for ignored X and
11266         NS options.
11268 2010-01-08  Kenichi Handa  <handa@m17n.org>
11270         * international/fontset.el (build-default-fontset-data):
11271         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11273 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11275         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11276         to `create-file-buffer' as it expects, not just a buffer name.
11277         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11278         to help uniquify.  (Bug#3224)
11280 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
11282         * font-setting.el (font-setting-change-default-font): Use user-spec
11283         instead of name.
11285 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
11287         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11289 2010-01-05  Tom Tromey  <tromey@redhat.com>
11291         * progmodes/python.el (python-font-lock-keywords):
11292         Handle qualified decorators (Bug#881).
11294 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11296         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11297         in a lightweight checkout.
11299 2010-01-05  Kenichi Handa  <handa@m17n.org>
11301         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11303 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11305         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11307 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
11309         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11310         checkouts.  (Bug#618)
11311         (vc-bzr-log-view-mode): Also highlight the author.
11312         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11313         (vc-bzr-shelve-menu-map):
11314         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11315         (vc-bzr-shelve-apply): Make prompt more explicit.
11317 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
11319         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11320         They are valid characters in URL paths (rfc3986), and at least
11321         Firefox does not understand the encoded version (Bug#3166).
11323 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
11325         * progmodes/octave-mod.el (octave-end-keywords)
11326         (octave-block-begin-or-end-regexp, octave-block-match-alist):
11327         Add "end" keyword (Bug#3061).
11328         (octave-end-as-array-index-p): New function.
11329         (calculate-octave-indent): Use it.
11331 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11333         * bookmark.el: Consistently put the text property on the bookmark name.
11334         (bookmark-bmenu-marks-width): Bump back to 2, to include
11335         annotation marks.
11336         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11337         property on the bookmark name, instead of not putting it at all.
11338         (bookmark-bmenu-list): Fix where we put the text property.
11340 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11342         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11343         for showing buffer modified state (as added in the previous change).
11345 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11347         * bookmark.el: Show modified state of bookmark buffer more accurately.
11348         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11349         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11350         (with-buffer-modified-unmodified): New macro.
11351         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11352         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11353         Use new macro to preserve the buffer modified state.
11355 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11357         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11358         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11359         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11360         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11361         (bookmark-bmenu-rename, bookmark-bmenu-locate)
11362         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11363         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11365 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11367         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11368         Make the lines in the generated doc string shorter.  (Bug#4668)
11370 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
11372         * net/rcirc.el: Add follow-link binding (Bug#4738).
11374 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11376         * Makefile.in (bzr-update): Rename from cvs-update.
11377         (cvs-update): New target for backward compatibility.
11379         * makefile.w32-in (bzr-update): Rename from cvs-update.
11380         (cvs-update): New target for backward compatibility.
11382 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11384         * bookmark.el: Remove gratuitous gratitude.
11386 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11388         * bookmark.el (bookmark-bmenu-any-marks): New function.
11389         (bookmark-bmenu-save): Clear buffer modification if no marks.
11391 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11393         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11394         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11395         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11396         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11398         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11399         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11400         To: emacs-devel {_AT_} gnu.org
11401         Subject: bookmark.el bug report
11402         Date: Mon, 28 Dec 2009 14:19:16 +0800
11403         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11405 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11407         * bookmark.el: Improvements suggested by Drew Adams:
11408         (bookmark-bmenu-ensure-position): New name for
11409         `bookmark-bmenu-check-position'.  Just ensure the position,
11410         don't return any meaningful value.
11411         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11412         New constants.
11414 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
11416         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11417         (bookmark-yank-point, bookmark-bmenu-check-position):
11418         Fix typos in docstrings.
11419         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11420         (bookmark-name-from-full-record, bookmark-get-position)
11421         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11422         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11423         Remove useless quoting of parenthesis, etc. in docstrings.
11425         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11426         (ediff-append-custom-diff): Fix typo in error message.
11427         (ediff-meta-mark-equal-files): Fix typos in messages.
11429         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11431         * net/imap-hash.el (imap-hash-make): Doc fix.
11432         (imap-hash-test): Fix typo in error message; reflow docstring.
11433         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11434         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11435         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11436         Fix typos in docstrings.
11437         (imap-hash-open-connection): Fix typo in error message.
11439         * play/gomoku.el (gomoku): Fix typos in docstring.
11441         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11442         (gdb-jsonify-buffer): Fix typos in docstring.
11443         (gdb-goto-breakpoint): Fix typo in error message.
11444         ("Display Other Windows"): Fix typo in help message.
11445         (gdb-speedbar-expand-node): Fix typo in question.
11447         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11448         (idlwave-html-system-help-location, idlwave-html-help-location)
11449         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11450         (idlwave-help-browser-generic-args, idlwave-help-directory)
11451         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11452         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11453         (idlwave-online-help, idlwave-help-html-link)
11454         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11455         Fix typos in docstrings.
11456         (idlwave-help-with-source, idlwave-help-find-routine-definition):
11457         Reflow docstrings.
11458         (idlwave-help-assistant-start): Fix typo in error message.
11460         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11461         (octave-electric-space): Fix typos in docstrings.
11463 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
11465         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11467 2010-01-01  Juri Linkov  <juri@jurta.org>
11469         * comint.el (comint-input-ring-size): Make it a defcustom and
11470         increase the default to 500 (Bug#5148).
11472 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
11474         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11475         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11476         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11478 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
11480         Show working revision correctly for mercurial.
11481         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11482         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11484 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
11486         Declare some functions for the byte-compiler.
11487         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11488         (speedbar-timer-fn, speedbar-change-expand-button-char)
11489         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11491 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
11493         This changeset reverts GDB Graphical Interface to use annotations.
11494         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11496 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
11498         Make vc-dir work on subdirectories of the bzr root.
11499         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11500         Return file names relative to it.
11501         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11502         relative directory to vc-bzr-after-dir-status.
11504 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
11506         * font-lock.el (font-lock-refresh-defaults): New function, which
11507         can be used to let font-lock react to external changes in
11508         variables like font-lock-defaults and keywords.
11509         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11511 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
11513         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11515         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11517 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
11519         Supersede color.diff settings in git log (bug#5211).
11521         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11522         escape chars in its output when the user has color.diff set to `always'.
11523         This fix works on git 1.4.2 and newer (released on 2006-08-13).
11525 2009-12-26  Kevin Ryde  <user42@zip.com.au>
11527         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11528         node.  Keep previous "Index" name to work with past coreutils too.
11530         * man.el (man): Revise docstring a bit to show -a and -l as
11531         examples.  Add -k description since support for it has otherwise
11532         been a secret.  (Further to bug#3717.)
11533         (Man-bgproc-sentinel): When "-k foo" produces no output show error
11534         "no matches" rather than "Can't find manpage", as the latter reads
11535         like -k was interpreted as a page name, which is not so.  (Bug#5431)
11537 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
11539         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11540         switches.  Check also for //SUBDIRED// line.
11542 2009-12-25  Kenichi Handa  <handa@m17n.org>
11544         * language/indian.el (devanagari-composable-pattern): Fix to
11545         handle ZWNJ and ZWJ.  Use it in composition-function-table for
11546         Devanagari.
11547         (malayalam-composable-pattern): Fix previous change.
11549 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11551         * ps-print.el (ps-face-attributes): It was not returning the
11552         attribute face for faces specified as string.  Reported by harven
11553         <harven@free.fr>.  (Bug#5254)
11554         (ps-print-version): New version 7.3.5.
11556 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
11558         * calendar/icalendar.el (icalendar--convert-tz-offset):
11559         Fix timezone names.
11560         (icalendar--convert-tz-offset): Fix the "last-day-problem".
11561         (icalendar--add-diary-entry): Remove the trailing blank that
11562         diary-make-entry inserts.
11564 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
11566         Make `file-expand-wildcards' work for remote files.
11568         * files.el (file-expand-wildcards): In case of remote files, check
11569         only local file name part for wildcards.  Provide feature 'files
11570         and subfeature 'remote-wildcards.  (Bug#5198)
11572         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11573         if there is already an established connection.
11574         (tramp-advice-file-expand-wildcards): Remove it.
11576         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11577         (tramp-advice-file-expand-wildcards): Move from tramp.el.
11578         Activate advice for older GNU Emacs versions.  (Bug#5237)
11580 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
11582         Some doc fixes (more needed).
11584         * find-cmd.el (find-constituents): Reflow docstring.
11585         (find-cmd, find-prune, find-command): Fix typos in docstrings.
11586         (find-generic): Doc fix.
11588 2009-12-17  Juri Linkov  <juri@jurta.org>
11590         Fix regression from 23.1 to allow multiple modes in Local Variables.
11592         * files.el (hack-local-variables-filter): While ignoring duplicates,
11593         don't take `mode' into account.
11594         (hack-local-variables-filter, hack-dir-local-variables):
11595         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11597 2009-12-17  Juri Linkov  <juri@jurta.org>
11599         Make `dired-diff' safer.  (Bug#5225)
11601         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11602         `current' or when `file' is a directory of the `current' file.
11604 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11606         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11607         unconditionally preloaded files.
11609 2009-12-16  Juri Linkov  <juri@jurta.org>
11611         Revert to old 23.1 logic of using the file at the mark as default.
11612         * dired-aux.el (dired-diff): Use the file at the mark as default
11613         if it's not the same as the current file, and the target dir is
11614         the current dir or the mark is active.  Add the current file
11615         as the arg of `dired-dwim-target-defaults'.  Use the default file
11616         in the prompt.  (Bug#5225)
11618 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11620         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11621         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11622         (tramp-check-for-regexp): Check also, when an echoing shell stops
11623         to echo sent commands.
11625 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11627         * Makefile.in: Revert last change (Bug#5191).
11629 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11631         * vc-hg.el (vc-hg-print-log): Fix argument order.
11632         (vc-hg-working-revision): Make sure the command is executed in a
11633         known environment so that we can parse the output.  (Bug#4417)
11635 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11637         * progmodes/python.el (python-symbol-completions): Remove text
11638         properties from symbol string before calling python-send-receive.
11640 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11642         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11643         when there are values for both file and line.  (Bug#5060)
11645 2009-12-14  Juri Linkov  <juri@jurta.org>
11647         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11648         whitespace after the file name of the first line of unified format,
11649         because git-diff doesn't output whitespace and file modification time
11650         after the file name.
11652 2009-12-14  David Kastrup  <dak@gnu.org>
11654         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11655         check if it already has the `display' property added by
11656         `Info-display-images-node', and not put the `invisible' property
11657         in this case.
11659 2009-12-13  Glenn Morris  <rgm@gnu.org>
11661         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11662         (report-emacs-bug): In message-mode, sort manually before storing
11663         original report text.  (Bug#5178)
11664         Remove superfluous save-excursion.
11666 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11668         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11669         when responding to "GetAll" properties.
11671 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11673         * simple.el (compose-mail): Remove mail-setup-with-from from
11674         customization checks.
11676 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11678         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11679         RAR archives created on Unix systems.
11681 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11683         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11684         the varalias that was accidentally removed by the 2009-11-19 change
11685         (bug#5186).
11687 2009-12-12  Kenichi Handa  <handa@m17n.org>
11689         * language/indian.el (indian-compose-regexp): New function.
11690         (malayalam-composable-pattern): Fix the pattern.
11691         (composition-function-table): Set malayalam-composable-pattern for
11692         Malayalam characters.
11694 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11696         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11697         rather than down-mouse-1, based on follow-link conventions.
11699         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11700         are compiled.
11702 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11704         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11705         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11706         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11707         (verilog-leap-to-head, verilog-backward-token):
11708         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11710 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11712         * progmodes/verilog-mode.el (verilog-auto-lineup)
11713         (verilog-nameable-item-re): Cleanup user-visible spelling and
11714         documentation errors.  One reported by Gary Delp.
11715         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11716         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11717         package, bug195.  Reported by Pierre-David Pfister.
11719 2009-12-11  Glenn Morris  <rgm@gnu.org>
11721         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11723         * mail/emacsbug.el: No longer require sendmail.
11724         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11725         (report-emacs-bug-orig-text): Doc fix.
11726         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11727         New local variables, to adapt to different mail-user-agents.
11728         (report-emacs-bug): Fix test for a gnu.org address.
11729         Use overlays for emphasis, since font-lock defeats 'face property.
11730         Pretest bugs also end up at the newsgroup these days.
11731         Stop message-mode stripping text properties.
11732         Set and use the new buffer-local variables.
11733         (report-emacs-bug-hook): Add doc-string.
11734         Remove some unnecessary save-excursions and simplify.
11735         Use the appropriate hook and send-command.
11737         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11738         capitalization of some menu entries.
11740 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11742         * whitespace.el (whitespace-display-char-on):
11743         Ensure `buffer-display-table' is unique when two or more windows are
11744         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11745         New version 12.1.
11747 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11749         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11750         characters in the Attribute field.
11752 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11754         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11756 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11758         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11759         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11760         Disregard autoload-excludes.
11761         (update-directory-autoloads): Obey autoload-excludes here instead.
11762         But don't store its contents in no-autoloads and remove entries that
11763         refer to excludes files.
11765 2009-12-10  Glenn Morris  <rgm@gnu.org>
11767         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11768         (expand-mail-aliases): Define for compiler.
11770         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11771         Define for compiler.
11773         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11774         appropriate for the mail-user-agent in use.
11776 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11778         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11780 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11782         Fix short log parsing and fontification.
11783         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11784         Fix fontification for the [merge] label.
11786 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11788         Drop some properties to avoid surprises (bug#5002).
11789         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11790         (hfy-fontify-buffer): Use it.
11792 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11794         Minor cleanup.
11795         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11796         Adjust all callers.
11797         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11798         args compulsory.  Adjust callers.
11799         (ffap-gopher-at-point): Remove unused var `name'.
11801         Get rid of the ELCFILES abomination.
11802         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11803         (compile-elcfiles): New phony target.
11804         (compile-main): Compute ELCFILES dynamically.
11805         (compile-clean): New target to remove left-over elc files.
11806         (compile, all): Use it.
11808 2009-12-09  Kenichi Handa  <handa@etlken>
11810         * international/mule-diag.el: Require help-mode instead of help-fns.
11812 2009-12-09  Kenichi Handa  <handa@m17n.org>
11814         * international/mule-cmds.el (ucs-names): Supply sufficiently
11815         fine ranges instead of pre-calculating accurate ranges.
11816         Iterate with bigger gc-cons-threshold.
11818 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11820         Add support for stashing a snapshot of the current tree.
11821         * vc-git.el (vc-git-stash-snapshot): New function.
11822         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11824 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11826         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11827         instead of `(beginning|end)-of-line'.
11829 2009-12-08  Glenn Morris  <rgm@gnu.org>
11831         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11833         * Makefile.in (ELCFILES): Regenerate.
11835 2009-12-07  Juri Linkov  <juri@jurta.org>
11837         Don't lazy-highlight the comint output in history Isearch mode.
11839         * comint.el (comint-history-isearch-search): Instead of
11840         `comint-line-beginning-position', use `comint-after-pmark-p'
11841         to check if point if before the process mark, and go to
11842         `process-mark' in this case.
11844 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * textmodes/tex-mode.el (latex-complete)
11847         (latex-indent-or-complete): Remove.
11848         (latex-mode): Set completion-at-point-functions instead.
11850         Provide a standard completion command and hook it into TAB.
11851         * minibuffer.el (completion-at-point-functions): New var.
11852         (completion-at-point): New command.
11853         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11854         * progmodes/python.el (python-mode-map): Use completion-at-point.
11855         (python-completion-at-point): Rename from python-partial-symbol and
11856         adjust for use in completion-at-point-functions.
11857         (python-mode): Setup completion-at-point for Python completion.
11858         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11859         extracted from lisp-complete-symbol.
11860         (lisp-complete-symbol): Use it.
11861         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11862         setup completion-at-point for Elisp completion.
11863         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11864         Use completion-at-point.
11865         * ielm.el (ielm-map): Use completion-at-point.
11866         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11867         * progmodes/sym-comp.el: Move to...
11868         * obsolete/sym-comp.el: Move from progmodes.
11870 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11872         Prevent save-buffer in Rmail buffers from using the coding-system
11873         of the current message, and from clobbering the encoding mnemonics
11874         in the mode line (Bug#4623).
11876         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11877         flag, too.
11878         (rmail-message-encoding): New variable.
11879         (rmail-write-region-annotate): Record the encoding of the current
11880         message in rmail-message-encoding.
11881         (rmail-after-save-hook): New function, restores the encoding of
11882         the current message after the message collection is saved.
11884 2009-12-07  Juri Linkov  <juri@jurta.org>
11886         * progmodes/grep.el (grep-read-files): Use `completing-read'
11887         instead of `read-string'.  Set its `collection' arg to
11888         `read-file-name-internal'.  (Bug#4301)
11890 2009-12-07  Juri Linkov  <juri@jurta.org>
11892         Correctly restore original Isearch point.  (Bug#4994)
11894         * isearch.el (isearch-mode): Move `isearch-push-state' after
11895         `(run-hooks 'isearch-mode-hook)'.
11896         (isearch-cancel): When `isearch-push-state-function' is defined,
11897         let-bind `isearch-cmds' to the first state (the last element of
11898         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11899         function and restores the original point).  Otherwise, move point
11900         to `isearch-opoint'.
11902 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11904         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11905         chars that don't have names, so the table can be built much faster at
11906         run-time.
11908 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11910         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11911         change.  Suggested by David Kastrup.
11913         * simple.el (compose-mail): Check for incompatibilities and warn.
11914         (compose-mail-user-agent-warnings): New option.
11916 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11918         Support showing a single log entry from vc-annotate.
11919         * vc.el (print-log): Add a new argument: START-REVISION.
11920         (vc-print-log-internal): Add a new optional argument and
11921         pass it to the backend.
11922         (vc-print-log, vc-print-root-log): Adjust callers.
11923         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11924         buffer already displays the requested log entry, use it.
11925         Otherwise display only the log entry in question.
11926         * vc-svn.el (vc-svn-print-log):
11927         * vc-mtn.el (vc-mtn-print-log):
11928         * vc-hg.el (vc-hg-state):
11929         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11930         (vc-git-show-log-entry): Return t on success.
11931         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11932         (vc-bzr-show-log-entry): Return t on success.
11933         * vc-rcs.el (vc-rcs-print-log):
11934         * vc-sccs.el (vc-sccs-print-log):
11935         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11937 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11939         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11940         Add menus to the meta mode.  (Bug#5043)
11942 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11944         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11945         event-key.
11947         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11949 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11951         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11952         Berbain <raphael.berbain@gmail.com>.
11954         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11955         characters.
11956         (tramp-initial-end-of-output): New defconst.
11957         (tramp-methods, tramp-find-shell)
11958         (tramp-open-connection-setup-interactive-shell)
11959         (tramp-maybe-open-connection): Use it.
11960         (tramp-shell-prompt-pattern, tramp-wait-for-output):
11961         Handle existence of `#' and `$'.
11963         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11964         Use `tramp-initial-end-of-output'.
11966 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11968         Get the background mode from the terminal for xterm, and set
11969         faces accordingly.
11970         * term/xterm.el (xterm-set-background-mode): New function.
11971         (terminal-init-xterm): Use it in case xterm supports background
11972         color queries.  Recompute faces after getting the background
11973         color.
11975 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11977         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11978         number comment back on its own line, for easier parsing.
11980 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11982         Make it work for non-file buffers (bug#5102).
11983         * doc-view.el (doc-view-current-cache-dir):
11984         Use doc-view-buffer-file-name rather than buffer-file-name.
11985         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11987 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11989         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11990         author field is too short.
11992 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11994         * vc-git.el (vc-git-print-log): Handle a limit argument.
11995         Display the short log in graph form and with labels.
11996         (vc-git-log-view-mode): Handle labels.
11998         Make vc-revert change VC state from 'added to 'unregistered.
11999         * vc-git.el (vc-git-revert): Call git reset first.
12001 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12003         * net/newst-backend.el, net/newst-plainview.el:
12004         * net/newst-reader.el, net/newst-ticker.el:
12005         * net/newst-treeview.el, net/newsticker.el:
12006         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
12008 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12010         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12012         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12013         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
12014         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12015         Update annotation regexp.
12017         * simple.el (beginning-of-visual-line): Constrain to field
12018         boundaries (Bug#5106).
12020 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12022         * xml.el (xml-substitute-numeric-entities):
12023         Move newsticker--decode-numeric-entities in newst-backend.el to
12024         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12025         * net/newst-backend.el (newsticker--parse-generic-feed)
12026         (newsticker--parse-generic-items)
12027         (newsticker--decode-numeric-entities):
12028         Move newsticker--decode-numeric-entities in newst-backend.el to
12029         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12031 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
12033         * progmodes/js.el (js--js-not): Add null to the list of values.
12035 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12037         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12039 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12041         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12042         delimiter if it is at the end of the current line.
12043         (bibtex-generate-url-list): Fix docstring.
12045 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12047         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12048         minibuffer's content with itself.
12049         Fold the confirm-after-completion case into the `confirm' case.
12050         (completion-pcm-word-delimiters): Add : and / to the delimiters.
12052 2009-12-06  Kevin Ryde  <user42@zip.com.au>
12054         * ffap.el (ffap-rfc-path): Make this a defcustom since
12055         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
12057         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12058         manuals, similar to existing setup for help-mode.  (Bug#3913.)
12060 2009-12-05  Juri Linkov  <juri@jurta.org>
12062         Save and restore dired buffer's point positions too.  (Bug#4880)
12064         * dired.el (dired-save-positions): Return in the first element
12065         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12066         Doc fix.
12067         (dired-restore-positions): First restore buffer's position.
12068         While restoring window's positions, check if window still displays
12069         the original buffer.
12071 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
12073         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12074         if possible.
12076         * shell.el (shell): Require ansi-color (Bug#5113).
12078         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12080         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12082 2009-12-05  Alan Mackenzie  <acm@muc.de>
12084         * progmodes/cc-mode.el (c-before-hack-hook)
12085         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12086         `c-file-style' to work again.  This reversion restores the current
12087         software to its state in Emacs 23.1.  (Bug#4146)
12089 2009-12-05  Kevin Ryde  <user42@zip.com.au>
12091         * textmodes/sgml-mode.el (sgml-lexical-context):
12092         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12094 2009-12-05  Juri Linkov  <juri@jurta.org>
12096         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12097         for virtual nodes.  (Bug#4147)
12098         (Info-find-node-2): Set `Info-current-node-virtual' to nil
12099         when moving from a virtual node.
12100         (Info-mode-menu): Add `Info-virtual-index' to the menu.
12101         (Info-mode): Add `Info-virtual-index' to the docstring.
12103 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12105         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12106         track of the buffer position of the end of a BibTeX entry as this
12107         position may change during reformatting.
12108         (bibtex-format-entry): Remove whitespace before processing
12109         numerical fields so that we recognize the latter properly.
12110         (bibtex-reformat): Do not use push which changes the global value
12111         of bibtex-entry-format.
12112         (bibtex-field-braces-alist, bibtex-field-strings-alist)
12113         (bibtex-field-re-init): Replace only space characters by regexp
12114         for whitespace.
12115         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12116         (bibtex-initialize): Also update bibtex-strings.
12117         (bibtex-kill-field): Preserve white space at end of entry.
12118         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12119         Update bibtex-reference-keys.
12121 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12123         * minibuffer.el (completion-pcm--merge-try): Also consider placing
12124         point after a star, if that's the only place where modifications can
12125         make progress.
12127 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
12129         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12130         in docstrings.
12132 2009-12-04  Juri Linkov  <juri@jurta.org>
12134         * proced.el (proced): Call `(proced-update t)' to update process
12135         information instead of only running proced-post-display-hook.
12136         (proced-send-signal): Add a leading space to the buffer name
12137         " *Marked Processes*" to make this buffer ephemeral.
12139 2009-12-04  Juri Linkov  <juri@jurta.org>
12141         * dired.el (dired-auto-revert-buffer): New defcustom.
12142         (dired-internal-noselect): Use it.
12144 2009-12-04  Juri Linkov  <juri@jurta.org>
12146         Change roles of modes and functions in image-mode.el (Bug#5062).
12148         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12149         in `auto-mode-alist'.
12150         (image-mode-previous-major-mode): New variable.
12151         (image-minor-mode-map): Rename from `image-mode-text-map'.
12152         (image-mode): Move graceful error-handling code from
12153         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
12154         (image-minor-mode): Remove all image-handling code.
12155         Replace `image-mode-text-map' with `image-minor-mode-map'.
12156         Check for `image-type' in mode-line format string.
12157         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12158         (image-mode-as-text): New function with most code from
12159         `image-mode-maybe'.
12160         (image-toggle-display-text): Move code that removes image
12161         properties from `image-toggle-display' to here.
12162         (image-toggle-display-image): New function with code that adds
12163         image properties copied from `image-toggle-display'.
12164         (image-toggle-display): Remove most code with leaving only code
12165         that toggles between `image-mode-as-text' and `image-mode'.
12167 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
12169         * net/newst-treeview.el
12170         (newsticker--treeview-list-highlight-start): Restored call to
12171         save-excursion: Selected item was stuck.
12172         (newsticker--treeview-list-select): New.
12173         (newsticker--treeview-item-show-text)
12174         (newsticker--treeview-item-show)
12175         (newsticker--treeview-item-update): Use new
12176         newsticker-treeview-item-mode.
12177         (newsticker-treeview-update): Keep current item.
12178         (newsticker-treeview-next-new-or-immortal-item): Doc change.
12179         (newsticker--treeview-first-feed): Doc change.
12180         (newsticker-treeview-list-menu)
12181         (newsticker-treeview-item-menu): Add menu entries.
12182         (newsticker-treeview-item-mode): New.
12184         * net/newst-backend.el (newsticker-customize): Delete other
12185         windows.
12187 2009-12-04  Sam Steingold  <sds@gnu.org>
12189         * log-view.el (log-view-mode-map): "q" calls quit-window,
12190         like in all the other non-self-insert buffers.
12192 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12194         Minor cleanup.
12195         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12196         key decoding rather than do it manually via last-input-event +
12197         ascii-character.
12198         (term-exec): Use delete-and-extract-region.
12199         (term-handle-ansi-terminal-messages): Remove unused var `end'.
12200         (term-process-pager): Remove unused var `i'.
12201         (term-dynamic-simple-complete): Make obsolete.
12202         (serial-update-config-menu): Remove unused vars `y' and `str'.
12203         (term-update-mode-line): Remove unused var `temp'.
12205 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12207         Limit the number of log entries displayed by default.
12208         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12209         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12210         using a prefix argument.
12212 2009-12-03  Glenn Morris  <rgm@gnu.org>
12214         * progmodes/idlwave.el (class): Restore still useful declaration.
12216 2009-12-03  Alan Mackenzie  <acm@muc.de>
12218         Enhance `c-parse-state' to run efficiently in "brace deserts".
12220         * progmodes/cc-mode.el (c-basic-common-init):
12221         Call c-state-cache-init.
12222         (c-neutralize-syntax-in-and-mark-CPP): Rename from
12223         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
12224         placing `category' properties value 'c-cpp-delimiter at its boundaries.
12226         * progmodes/cc-langs.el (c-before-font-lock-function):
12227         c-extend-and-neutralize-syntax-in-CPP has been renamed
12228         c-neutralize-syntax-in-and-mark-CPP.
12230         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12231         with `category' properties now, not `syntax-table' ones.
12233         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12234         enhanced (but slower) version of c-end-of-macro that won't land
12235         inside a literal or on another awkward character.
12236         (c-state-cache-too-far, c-state-cache-start)
12237         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12238         (c-state-nonlit-pos-cache-limit, c-state-point-min)
12239         (c-state-point-min-lit-type, c-state-point-min-lit-start)
12240         (c-state-min-scan-pos, c-state-brace-pair-desert)
12241         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12242         buffer local variables.
12243         (c-state-literal-at, c-state-lit-beg)
12244         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12245         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12246         (c-state-cache-top-paren, c-state-cache-after-top-paren)
12247         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12248         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12249         (c-renarrow-state-cache)
12250         (c-append-lower-brace-pair-to-state-cache)
12251         (c-state-push-any-brace-pair, c-append-to-state-cache)
12252         (c-remove-stale-state-cache)
12253         (c-remove-stale-state-cache-backwards, c-state-cache-init)
12254         (c-invalidate-state-cache-1, c-parse-state-1)
12255         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12256         (c-parse-state): Enhance and refactor.
12257         (c-debug-parse-state): Amend to deal with all the new variables.
12259         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12260         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12261         modify to use category text properties rather than syntax-table ones.
12262         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12263         to switch off/on the syntactic paren property of C++ template
12264         delimiters using the category property.
12265         (c-with-<->-as-parens-suppressed): Macro to invoke code with
12266         template delims suppressed.
12267         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12268         New constant/macros which apply category properties to the start
12269         and end of preprocessor constructs.
12270         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12271         "comment out" the syntactic value of characters in preprocessor
12272         constructs.
12273         (c-with-cpps-commented-out)
12274         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12275         with characters in all or all but one preprocessor constructs
12276         "commented out".
12278 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12280         * proced.el (proced-filter-alist): Use regexp-quote.
12282 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
12284         Cleanup.
12285         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12286         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
12287         arguments.  Expand `default-directory'.
12289         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12290         the benefit of returning an expanded localname.
12291         (tramp-tramp-file-p): Handle the case NAME is not a string.
12293 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12295         Add support for bzr shelve/unshelve.
12296         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12297         (vc-bzr-extra-menu-map): New variables.
12298         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12299         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12300         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12301         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12302         (vc-bzr-dir-extra-headers): Display shelves.
12304         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12306 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12308         * textmodes/bibtex.el (bibtex-complete-internal):
12309         Use completion-in-region.
12310         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12312 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12314         Support applying stashes.  Improve UI.
12315         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12316         (vc-git-stash-apply, vc-git-stash-pop)
12317         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12318         (vc-git-stash-menu): New functions.
12319         (vc-git-stash-menu-map): New variable.
12320         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12322 2009-12-03  Glenn Morris  <rgm@gnu.org>
12324         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12325         (vc-print-log-internal): Fix previous change.
12326         (vc-revert): Correct pluralization.
12328 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12330         * progmodes/make-mode.el (makefile-special-targets-list): No need for
12331         it to be an alist any more.
12332         (makefile-complete): Use completion-in-region.
12334         * progmodes/octave-mod.el (octave-complete-symbol):
12335         Use completion-in-region.
12337         Misc cleanup.
12338         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12339         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12340         (idlwave-complete-class): Don't quote lambda.
12341         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12342         (idlwave-mode-map): Move initialization into declaration.
12343         (idlwave-action-and-binding): Use backquotes.
12344         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12345         Simplify.
12346         (idlwave-is-pointer-dereference): Remove unused var `pos'.
12347         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12348         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12349         `parts', and `all-parts'.
12350         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12351         (idlwave-convert-xml-system-routine-info): Remove unused string
12352         `version-string'.
12353         (idlwave-display-user-catalog-widget): Use dolist.
12354         (idlwave-scanning-lib): Declare dynamically-scoped var.
12355         (idlwave-scan-library-catalogs): Remove unused var `flags'.
12356         (completion-highlight-first-word-only): Declare to silence bytecomp.
12357         (idlwave-popup-select): Tighten scope of `resp'.
12358         (idlwave-find-struct-tag): Remove unused var `beg'.
12359         (idlwave-after-load-rinfo-hook): Declare.
12360         (idlwave-sintern-class-info): Remove unused var `taglist'.
12361         (idlwave-find-class-definition): Remove unused var `list'.
12362         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12363         (idlwave-what-module-find-class): Remove unused var `classes'.
12365 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
12367         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12369 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12371         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12372         buffers visited.  Remove redundant current-buffer-saving.
12374 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12376         Use completion-in-buffer and remove uses of dynamic scoping.
12377         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12378         (pascal-buffer-to-use, pascal-flag): Don't declare.
12379         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12380         (pascal-get-completion-decl, pascal-keyword-completion):
12381         Add `pascal-str' argument, save-excursion,
12382         return the found completions, and don't filter with pascal-pred.
12383         (pascal-completion-cache): New var.
12384         (pascal-completion): Don't switch buffer any more (it was never
12385         necessary).  Don't save-excursion any more (it's done by the called
12386         subroutines).  Use a cache to avoid redundant computations.
12387         Use complete-with-action rather than pascal-completion-response and
12388         let it apply the predicate as well.
12389         (pascal-complete-word): Use completion-in-buffer when
12390         pascal-toggle-completions is nil.
12391         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12392         not used any more.
12393         (pascal-comp-defun): Don't change buffer any more.
12394         Use complete-with-action rather than pascal-completion-response and
12395         let it apply the predicate as well.
12396         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12397         when neded.
12399 2009-12-02  Kenichi Handa  <handa@m17n.org>
12401         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12402         shape for all Indic scripts.
12404 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12406         Use completion-in-buffer.
12407         * wid-edit.el (widget-field-text-end): New function.
12408         (widget-field-value-get): Use it.
12409         (widget-string-complete, widget-file-complete)
12410         (widget-color-complete): Use it and completion-in-region.
12411         (widget-complete): Don't narrow the buffer.
12413 2009-12-02  Glenn Morris  <rgm@gnu.org>
12415         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
12416         (rmail-select-summary): Use rmail-pop-to-buffer.
12417         * mail/rmailsum.el: Replace all pop-to-buffer calls with
12418         rmail-pop-to-buffer, to prevent horizontal splits.
12420         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12421         save-excursion with save-current-buffer.
12422         Widen before searching.  (Bug#5093)
12423         (diary-list-sexp-entries): Remove superfluous save-excursion.
12425 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
12427         * woman.el (woman-make-bufname): Handle man-pages with "." in the
12428         name.  (Bug#5038)
12430 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
12432         * ido.el (ido-file-internal): Handle filenames at point that do
12433         not have a directory part.  (Bug#5049)
12435 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
12437         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12438         (mpc-songs-jump-to, mpc-resume): Doc fixes.
12440 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
12442         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12443         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12444         any more.
12446 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12448         * comint.el (comint-insert-input): Ignore clicks to the right of
12449         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12451         * vc.el (vc-print-log-internal): Don't wait for the process to
12452         terminate before setting up the major mode.
12454         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12455         in case.
12457         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12458         the last element.
12460         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12462 2009-12-01  Glenn Morris  <rgm@gnu.org>
12464         * window.el (window--display-buffer-2): Fix previous changes.
12466 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
12468         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12470 2009-12-01  Glenn Morris  <rgm@gnu.org>
12472         * Makefile.in (ELCFILES): Add mpc.elc.
12474 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12476         * mpc.el: New file.
12478 2009-12-01  Glenn Morris  <rgm@gnu.org>
12480         * window.el (window-to-use): Define for compiler.
12482         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12483         consistent with others (no final period).
12485         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12486         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
12488 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
12490         Make vc-print-log buttons work.
12491         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12493 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
12495         * savehist.el (savehist-autosave-interval): Allow setting to nil
12496         through customize.  (Bug#5056)
12498 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
12500         Fix references to jit-lock properties.
12501         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12502         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12503         (perl-font-lock-special-syntactic-constructs):
12504         Quote jit-lock-defer-multiline property.
12506 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
12508         * vc-git.el (vc-git-registered): Call vc-git-root only once.
12510 2009-11-30  Juri Linkov  <juri@jurta.org>
12512         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12513         value `buffer' of `multi-isearch-next-buffer-current-function'.
12514         Use `(current-buffer)' when `buffer' is nil.
12515         (multi-isearch-next-buffer-from-list): Don't fallback to
12516         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
12518 2009-11-30  Juri Linkov  <juri@jurta.org>
12520         * misearch.el (multi-isearch-read-buffers): Move canonicalization
12521         of buffers with `get-buffer' to `multi-isearch-buffers'.
12522         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12523         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
12524         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12525         FILES with `expand-file-name' converting relative file names
12526         to absolute.  Doc fix.  (Bug#4727)
12528 2009-11-30  Juri Linkov  <juri@jurta.org>
12530         * misearch.el (multi-isearch-read-buffers)
12531         (multi-isearch-read-matching-buffers): New functions.
12532         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12533         Use them in the `interactive' spec.  Doc fix.
12534         (multi-isearch-read-files, multi-isearch-read-matching-files):
12535         New functions.
12536         (multi-isearch-files, multi-isearch-files-regexp):
12537         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
12539 2009-11-30  Juri Linkov  <juri@jurta.org>
12541         * doc-view.el (doc-view-continuous):
12542         Rename from `doc-view-continuous-mode'.
12543         (doc-view-menu): Move "Toggle display" to the top.
12544         Add submenu "Continuous" with radio buttons "Off"/"On"
12545         and "Save as Default".
12546         (doc-view-scroll-up-or-next-page)
12547         (doc-view-scroll-down-or-previous-page)
12548         (doc-view-next-line-or-next-page)
12549         (doc-view-previous-line-or-previous-page):
12550         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
12552 2009-11-30  Juri Linkov  <juri@jurta.org>
12554         * comint.el (comint-mode-map): Rebind `M-r' from
12555         `comint-previous-matching-input' to
12556         `comint-history-isearch-backward-regexp'.
12557         Unbind `M-s' to allow global key binding `M-s'.
12558         Add menu items for `comint-history-isearch-backward' and
12559         `comint-history-isearch-backward-regexp'.  (Bug#3746)
12561 2009-11-30  Juri Linkov  <juri@jurta.org>
12563         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12564         For def=recenter, replace `recenter' with `recenter-top-bottom'
12565         that is called with `this-command' and `last-command' let-bound
12566         to `recenter-top-bottom'.  When the last `def' was not `recenter',
12567         set `recenter-last-op' to nil.  (Bug#4981)
12569 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12571         Minor cleanup and simplification.
12572         * filecache.el (file-cache-add-directory)
12573         (file-cache-add-directory-recursively)
12574         (file-cache-add-from-file-cache-buffer)
12575         (file-cache-delete-file-regexp, file-cache-delete-directory)
12576         (file-cache-files-matching-internal, file-cache-display): Use dolist.
12577         (file-cache-temp-minibuffer-message): Delete function.
12578         (file-cache-minibuffer-complete): Use minibuffer-message instead.
12580         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12581         Don't signal an error when bumping into EOB in tr, s, or y.
12583 2009-11-29  Juri Linkov  <juri@jurta.org>
12585         * startup.el (fancy-about-text): Fix wording of Guided Tour.
12586         (Bug#4960)
12588         * descr-text.el (describe-char-unidata-list): Use lowercase name
12589         for "Unicode name" like in other tags.
12591 2009-11-29  Juri Linkov  <juri@jurta.org>
12593         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12594         New compatibility macro.
12595         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12597 2009-11-29  Juri Linkov  <juri@jurta.org>
12599         Add defcustom to define the cycling order of `recenter-top-bottom'.
12600         (Bug#4981)
12602         * window.el (recenter-last-op): Doc fix.
12603         (recenter-positions): New defcustom.
12604         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12605         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12607 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12609         Improve integration of Tramp and ange-ftp in eshell.
12611         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12612         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12613         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12615         * eshell/esh-util.el (top): Require also Tramp when compiling.
12616         (eshell-directory-files-and-attributes): Check for FTP remote
12617         connection.
12618         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12619         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12620         (eshell-file-attributes): Handle ".".  Return `entry'.
12622         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12623         (ange-ftp-directory-files-and-attributes)
12624         (ange-ftp-real-directory-files-and-attributes): New defuns.
12626         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12627         shell with "exec" when possible.  This prevents trailing prompts
12628         in `start-file-process'.
12630 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12632         Try and remove assumptions about point-min==1.
12633         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12634         (rng-compute-mode-line-string): Show the validation percentage in
12635         terms of the narrowed text, not the widened text.
12636         (rng-do-some-validation): Don't catch internal errors when debugging.
12637         (rng-first-error): Simplify.
12638         (rng-after-change-function): Remove work around.  AFAIK the bug has
12639         been fixed a while ago.
12641         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12642         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12644         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12646         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12647         `cd' doesn't always do it for us (bug#5067).
12649         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12650         on 2009-10-25 as part of some other change (bug#5067).
12652 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12654         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12655         `suspicious'.
12656         (byte-compile-warnings): Use byte-compile-warning-types.
12657         (byte-compile-save-excursion): Warn about use of set-buffer right
12658         after save-excursion.
12660         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12661         the excursion as well.
12663 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12665         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12666         providing a Tramp related implementation of "su" and "sudo".
12667         (eshell-unix-initialize): Add "su" and "sudo".
12669 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12671         * net/socks.el (socks-send-command): Convert binary request to
12672         unibyte before sending.  This fixes mishandling of some port
12673         numbers such as 129.
12675 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12677         * help.el (describe-bindings-internal): Remove `interactive'.
12679         * man.el (Man-completion-table): Trim a terminating "(".
12680         Remove the space between name page a section.
12681         Add the command's description on the `help-echo' property.
12682         Remove `process-connection-type' binding since it's unused by
12683         call-process.
12684         Provide completion for the "<section> <name>" format as well.
12685         (Man-default-man-entry): Remove spurious var shadowing the argument.
12687 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12689         * log-view.el: Add "Keywords: tools", since its other keywords
12690         aren't in finder-known-keywords, and following vc.el.
12692         * sha1.el (sha1-string-external): default-directory "/" in case
12693         otherwise non-existent.  process-connection-type pipe for touch of
12694         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12696 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12698         Misc coding convention cleanups.
12699         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12700         hfy-init-kludge-hooks.
12701         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12702         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12703         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12704         and push.
12705         (hfy-slant, hfy-weight): Use tables rather than code.
12706         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12707         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12708         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12709         (hfy-face-to-css): Remove `nconc' with single arg.
12710         (hfy-p-to-face-lennart): Use `or'.
12711         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12712         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12713         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12714         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12715         (hfy-force-fontification): Use run-hooks.
12717 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12719         Various minor fixes.
12720         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12721         Javascript belongs in the header, not the body.
12722         (hfy-javascript): Remove.
12723         (hfy-fontify-buffer): Don't insert it any more.
12724         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12725         Fix bug in invis handling when there were no invis props in a chunk.
12727 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12729         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12731 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12733         * finder.el (finder-mode-map): Add a menu.
12735 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12737         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12738         "unsigned" structs.
12740         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12741         fork" statement better.
12743 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12745         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12746         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12747         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12748         Reported by Clay Douglass.
12750         (verilog-auto-inst, verilog-auto-star-safe)
12751         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12752         Fix removing "// Interfaces" when saving .* expansions.
12753         Reported by Pierre-David Pfister.
12755 2009-11-26  Glenn Morris  <rgm@gnu.org>
12757         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12758         the scope.
12760 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12762         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12763         Really use previous revision.
12765 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12767         * man.el (Man-completion-table): default-directory "/" in case
12768         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12769         not to truncate long names.  process-connection-type pipe to avoid
12770         any chance of hitting the pseudo-tty TIOCGWINSZ.
12771         (man): completion-ignore-case t for friendliness and since man
12772         itself is case-insensitive on the command line.
12773         Further to Bug#3717.
12775         * arc-mode.el: Add "Keywords: files", so the details in its
12776         commentary can be reached from finder-by-keyword.
12777         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12778         editing mode, but it's comms related and sgml-mode.el has "comm"
12779         on that basis too.
12780         * textmodes/bibtex-style.el: Add "Keywords: tex".
12781         * international/isearch-x.el, international/ja-dic-cnv.el:
12782         * international/ja-dic-utl.el, international/kkc.el:
12783         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12785 2009-11-25  Juri Linkov  <juri@jurta.org>
12787         * man.el (Man-completion-table): Modify regexp to include
12788         section names to completion strings.  (Bug#3717)
12790 2009-11-25  Juri Linkov  <juri@jurta.org>
12792         Search recursively in gzipped files.  (Bug#4982)
12794         * progmodes/grep.el (grep-highlight-matches): Add new options
12795         `always' and `auto'.  Doc fix.
12796         (grep-process-setup): Check `grep-highlight-matches' for
12797         `auto-detect' to determine the need to compute grep defaults.
12798         Move Windows/DOS specific --colors settings handling
12799         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12800         to get the value of "--color=".
12801         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12802         has the value `auto-detect'.  Move Windows/DOS specific settings
12803         from `grep-process-setup'.
12804         (zrgrep): New command with alias `rzgrep'.
12806 2009-11-25  Juri Linkov  <juri@jurta.org>
12808         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12809         to nil instead of switching off view-mode.  (Bug#4896)
12811 2009-11-25  Juri Linkov  <juri@jurta.org>
12813         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12815         * mwheel.el (mwheel-scroll-up-function)
12816         (mwheel-scroll-down-function): New defvars.
12817         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12818         `scroll-up', and `mwheel-scroll-down-function' instead of
12819         `scroll-down'.
12821         * doc-view.el (doc-view-scroll-up-or-next-page)
12822         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12823         Use this ARG in the call to image-scroll-up/image-scroll-down.
12824         Change `interactive' spec to "P".  Goto next/previous page only
12825         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12826         SPC/DEL case).  Doc fix.
12827         (doc-view-next-line-or-next-page)
12828         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12829         for consistency.
12830         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12831         `doc-view-scroll-up-or-next-page', and buffer-local
12832         `mwheel-scroll-down-function' to
12833         `doc-view-scroll-down-or-previous-page'.
12835 2009-11-25  Juri Linkov  <juri@jurta.org>
12837         Provide additional default values (directories at other Dired
12838         windows) via M-n in the minibuffer of some Dired commands.
12840         * dired-aux.el (dired-diff, dired-compare-directories)
12841         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12842         `minibuffer-default' in `minibuffer-with-setup-hook'.
12843         (dired-dwim-target-directory): Find a window that displays Dired
12844         buffer instead of failing when the next window is not Dired.
12845         Use `get-window-with-predicate' to find for the next Dired window.
12846         (dired-dwim-target-defaults): New function.
12848         * ediff-util.el (ediff-read-file-name):
12849         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12850         in `minibuffer-with-setup-hook'.
12852 2009-11-25  Juri Linkov  <juri@jurta.org>
12854         Provide additional default values (file name at point or at the
12855         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12857         * minibuffer.el (read-file-name-defaults): New function.
12858         (read-file-name): Reset `minibuffer-default' to nil when
12859         it duplicates initial input `insdef'.
12860         Bind `minibuffer-default-add-function' to lambda that
12861         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12862         (minibuffer-insert-file-name-at-point): New command.
12864         * files.el (file-name-at-point-functions): New defcustom.
12865         (find-file-default): Remove defvar.
12866         (find-file-read-args): Don't use `find-file-default'.
12867         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12868         to `read-file-name'.
12869         (find-file-literally): Use `read-file-name' with
12870         `confirm-nonexistent-file-or-buffer'.
12872         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12874         * dired.el (dired-read-dir-and-switches):
12875         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12876         to `read-file-name'.
12877         (dired-file-name-at-point): New function.
12878         (dired-mode): Add hook `dired-file-name-at-point' to
12879         `file-name-at-point-functions'.
12881 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12883         Really make the *Completions* window soft-dedicated (bug#5030).
12884         * window.el (window--display-buffer-2): Add `dedicated' argument.
12885         (display-buffer): Pass it when needed so the dedicated flag is set
12886         after calling set-window-buffer, which would otherwise reset it.
12888 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12890         * progmodes/meta-mode.el (meta-complete-symbol):
12891         * progmodes/etags.el (complete-tag):
12892         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12893         Use completion-in-region.
12895         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12896         (dabbrev-completion): Use completion-in-region.
12897         (dabbrev--abbrev-at-point): Simplify regexp.
12899         * abbrev.el (abbrev--before-point): Use word-motion functions
12900         if :regexp is not specified (bug#5031).
12902         * subr.el (string-prefix-p): New function.
12904         * man.el (Man-completion-cache): New var.
12905         (Man-completion-table): Use it.
12907         * vc.el (vc-print-log-internal): Make `limit' optional for better
12908         compatibility (e.g. with vc-annotate.el).
12910 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12912         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12913         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12915         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12916         when .el source file not found or other error.
12918 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12920         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12922 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12924         Handle the [back] button properly (bug#4979).
12925         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12926         Use help-setup-xref, help-buffer, and with-help-window.
12927         (describe-char): Add `buffer' argument.
12928         Pass proper command to help-setup-xref.  Don't meddle with
12929         help-xref-stack-item directly.
12930         (describe-text-category): Use with-help-window and help-buffer.
12932         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12933         for the displayed buffer (bug#4887).
12935         * man.el (Man-completion-table): New function.
12936         (man): Use it.
12938 2009-11-24  David Reitter  <david.reitter@gmail.com>
12940         * vc-git.el (vc-git-registered): Use checkout directory (where
12941         .git is) rather than the file's directory and a relative path spec
12942         to work around a bug in git.
12944 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12946         Improve handling of processes on remote hosts.
12948         * eshell/esh-util.el (eshell-path-env): New defvar.
12949         (eshell-parse-colon-path): New defun.
12950         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12952         * eshell/esh-ext.el (eshell-search-path):
12953         Use `eshell-parse-colon-path'.
12954         (eshell-remote-command): Remove argument HANDLER.
12955         (eshell-external-command): Check for FTP remote connection.
12957         * eshell/esh-proc.el (eshell-gather-process-output):
12958         Use `file-truename', in order to start also symlinked files.
12959         Apply `start-file-process' instead of `start-process'.
12960         Shorten `command' to the local file name part.
12962         * eshell/em-cmpl.el (eshell-complete-commands-list):
12963         Use `eshell-parse-colon-path'.
12965         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12967         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12968         to `eshell-directory-change-hook'.
12970 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12972         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12973         because it could be enabled automatically if view-read-only is non-nil.
12975 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12977         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12978         made on 2009-11-22.
12980 2009-11-24  Glenn Morris  <rgm@gnu.org>
12982         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12983         deleted variable bookmark-bmenu-bookmark-column.
12985 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12987         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12989 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12991         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12992         two slashes to the "file:" prefix.
12993         (browse-url-file-url): De-munge Cygwin filenames before passing
12994         them to Windows browser.
12995         (browse-url-default-windows-browser): Use call-process.
12997 2009-11-23  Juri Linkov  <juri@jurta.org>
12999         Implement DocView Continuous mode.  (Bug#4896)
13000         * doc-view.el (doc-view-continuous-mode): New defcustom.
13001         (doc-view-mode-map): Bind C-n/<down> to
13002         `doc-view-next-line-or-next-page', C-p/<up> to
13003         `doc-view-previous-line-or-previous-page'.
13004         (doc-view-next-line-or-next-page)
13005         (doc-view-previous-line-or-previous-page): New commands.
13007 2009-11-23  Juri Linkov  <juri@jurta.org>
13009         Implement Isearch in comint input history.  (Bug#3746)
13010         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13011         `isearch-mode-hook'.
13012         (comint-history-isearch): New defcustom.
13013         (comint-history-isearch-backward)
13014         (comint-history-isearch-backward-regexp): New commands.
13015         (comint-history-isearch-message-overlay): New buffer-local variable.
13016         (comint-history-isearch-setup, comint-history-isearch-end)
13017         (comint-goto-input, comint-history-isearch-search)
13018         (comint-history-isearch-message, comint-history-isearch-wrap)
13019         (comint-history-isearch-push-state)
13020         (comint-history-isearch-pop-state): New functions.
13022 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
13024         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13025         return.
13026         (tramp-handle-make-symbolic-link)
13027         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13028         Quote file names.
13029         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13030         (tramp-handle-process-file): Use it.
13032 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * window.el (move-to-window-line-last-op): Remove.
13035         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13037 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
13039         Make M-r mirror the new cycling behavior of C-l.
13040         * window.el (move-to-window-line-last-op): New var.
13041         (move-to-window-line-top-bottom): New command.
13042         (global-map): Bind M-r move-to-window-line-top-bottom.
13044 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
13046         * dired-x.el (dired-guess-shell-alist-default):
13047         Support xz format.  (Bug#4953)
13049 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
13051         * emulation/viper-cmd.el: Use viper-last-command-char instead of
13052         last-command-char/last-command-event.
13053         (viper-prefix-arg-value): Do correct conversion of event-char for
13054         XEmacs.
13056         * emulation/viper-util.el, emulation/viper.el:
13057         Use viper-last-command-char instead of
13058         last-command-char/last-command-event.
13060         * ediff-init.el, ediff-mult.el, ediff-util.el:
13061         Replace last-command-char and last-command-event
13062         with (ediff-last-command-char) everywhere.
13064         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13065         created in fundamental mode.
13067         * ediff.el (ediff-version): Revert the change of interactive-p to
13068         called-interactively-p.
13070 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
13072         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13073         generation from word-movement command names.
13075 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
13077         * cus-start.el (all): Add native condition for font-use-system-font.
13079 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
13081         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13082         Correct the patch from 2009-11-18.  (Bug#3910)
13084 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
13086         * progmodes/subword.el: Rename from lisp/subword.el.
13088         * subword.el: Rename to progmodes/subword.el.
13090         * Makefile.in (ELCFILES): Adapt to subword.el move.
13092 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13093             Stefan Monnier  <monnier@iro.umontreal.ca>
13095         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13096         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13097         (bookmark-bmenu-show-filenames): Use push.
13098         (bookmark-bmenu-hide-filenames): Use local var instead of
13099         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
13100         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13101         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13102         filenames now that the bookmark names are always available.
13104 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13106         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13107         (bookmark-search-pattern): Move and leave unbound.
13108         (bookmark-bmenu-mode-map): Change binding.
13109         (bookmark-read-search-input): Simplify.
13110         Don't use text-char-description.  Don't error on non-char events.
13111         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13112         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13113         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13114         Use a local var for the timer.
13115         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13116         (i.e. bookmark-bmenu-search).
13118 2009-11-21  Glenn Morris  <rgm@gnu.org>
13120         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
13122 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13124         * net/browse-url.el (browse-url-default-windows-browser):
13125         Use cygstart for cygwin.
13127 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
13129         * bookmark.el: Formatting and doc fixes only:
13130         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13131         (bookmark-bmenu-search): Wrap to fit within 80 columns.
13132         Minor grammar and punctuation fixes in doc string.
13133         (bookmark-read-search-input): Adjust to fit within 80 columns.
13135 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13137         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13138         (c-backward-into-nomenclature): Adapt to subword renaming.
13140         * subword.el (subword-forward, subword-backward, subword-mark)
13141         (subword-kill, subword-backward-kill, subword-transpose)
13142         (subword-downcase, subword-upcase, subword-capitalize)
13143         (subword-forward-internal, subword-backward-internal):
13144         Rename from forward-subword, backward-subword, mark-subword,
13145         kill-subword, backward-kill-subword, transpose-subwords,
13146         downcase-subword, upcase-subword, capitalize-subword,
13147         forward-subword-internal, backward-subword-internal.
13149 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13151         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13152         New options.
13153         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13154         New vars.
13155         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13156         (bookmark-bmenu-filter-alist-by-regexp)
13157         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13158         (bookmark-bmenu-search): New command.
13159         (bookmark-bmenu-mode-map): Bind it.
13161 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13163         * progmodes/cc-cmds.el: declare-functioned forward-subword and
13164         backward-subword to quit the byte-compiler.
13166         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13168         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13170         * progmodes/cc-cmds.el (c-update-modeline)
13171         (c-forward-into-nomenclature, c-backward-into-nomenclature):
13172         Refer to subword.el functions instead of cc-subword.el.
13174         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13175         subword.el functions instead of cc-subword.el.
13177         * progmodes/cc-subword.el: Rename to subword.el.
13178         * subword.el: Rename from progmodes/cc-subword.el.
13179         (subword-mode-map): Rename from c-subword-mode-map.
13180         (subword-mode): Rename from c-subword-mode.
13181         (global-subword-mode): New global minor mode.
13182         (forward-subword): Rename from c-forward-subword.
13183         (backward-subword): Rename from c-backward-subword.
13184         (mark-subword): Rename from c-mark-subword.
13185         (kill-subword): Rename from c-kill-subword.
13186         (backward-kill-subword): Rename from c-backward-kill-subword.
13187         (transpose-subwords): Rename from c-tranpose-subword.
13188         (downcase-subword): Rename from c-downcase-subword.
13189         (capitalize-subword): Rename from c-capitalize-subword.
13190         (forward-subword-internal): Rename from c-forward-subword-internal.
13191         (backward-subword-internal): Rename from c-backward-subword-internal.
13193 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
13195         * vc.el (vc-deduce-fileset): Allow non-state changing operations
13196         from a dired buffer.
13197         (vc-dired-deduce-fileset): New function.
13198         (vc-root-diff, vc-print-root-log): Use it.
13200         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13201         nil LIMIT argument to vc-print-log-internal.
13203 2009-11-20  Glenn Morris  <rgm@gnu.org>
13205         * Makefile.in (ELCFILES): Regenerate.
13207 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
13209         * calc/calc.el (calc-set-mode-line):
13210         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13211         (math-format-number): Rename `math-format-complement-signed' to
13212         `math-format-twos-complement'.
13214         * calc/calc-bin.el (math-format-twos-complement): Rename from
13215         math-format-complement-signed.
13216         (calc-radix): Rename `calc-complement-signed-mode' to
13217         `calc-twos-complement-mode'.
13218         (calc-octal-radix, calc-hex-radix): Add an argument for
13219         two's complement.
13221         * calc/calc-embed.el (calc-embedded-mode-vars):
13222         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13224         * calc/calc-ext.el (calc-init-extensions):
13225         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13226         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13228         * calc/calc-units.el (math-build-units-table-buffer):
13229         Let `calc-twos-complement-mode' be nil.
13231         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13232         entries.
13234         * calc/calc-vec.el (calcFunc-vunpack):
13235         * calc/calc-aent.el (calc-do-calc-eval):
13236         * calc/calc-forms.el (math-format-date):
13237         * calc/calc-graph.el (calc-graph-plot):
13238         * calc/calc-math.el (math-use-emacs-fn):
13239         * calc/calccomp.el (math-compose-expr):
13240         Let `calc-twos-complement-mode' be nil.
13242 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13244         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13245         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
13246         * minibuffer.el (completion-in-region-functions): New hook.
13247         (completion-in-region): New function.
13248         * emacs-lisp/lisp.el (lisp-complete-symbol):
13249         * pcomplete.el (pcomplete-std-complete): Use it.
13251 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13253         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13254         (latex-complete-alist): New vars.
13255         (latex-string-prefix-p, latex-complete-bibtex-keys)
13256         (latex-complete-envnames, latex-complete-refkeys)
13257         (latex-complete-data): New functions.
13258         (latex-complete, latex-indent-or-complete): New commands.
13260         * window.el (display-buffer-mark-dedicated): New var.
13261         (display-buffer): Obey it.
13262         * minibuffer.el (minibuffer-completion-help): Use it.
13264         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13266         * filecache.el (file-cache-add-file): Use push and cons.
13267         (file-cache-delete-file-regexp): Use push.
13268         (file-cache-complete): Use completion-in-region.
13270         * simple.el (with-wrapper-hook): Fix thinko.
13272         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13273         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13274         Use with-current-buffer and string-to-number.
13275         (hfy-fallback-colour-values): Use assoc-string.
13276         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13277         (hfy-face-at): Remove unused var `found-face'.
13278         (hfy-compile-stylesheet): Remove unused var `css'.
13279         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13280         and `orig-buffer'.
13281         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13282         Use with-current-buffer.
13283         (hfy-text-p): Use expand-file-name and fewer setq.
13285 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
13287         * htmlfontify.el, hfy-cmap.el: New files.
13289 2009-11-19  Juri Linkov  <juri@jurta.org>
13291         * minibuffer.el (completions-format): New defcustom.
13292         (completion--insert-strings): Implement vertical format.
13294         * simple.el (switch-to-completions): Move point to the first
13295         completion when point was at the beginning of the buffer.
13297 2009-11-19  Juri Linkov  <juri@jurta.org>
13299         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
13301         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13303 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
13305         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13306         (mail-signature): Change default to t.
13307         (mail-from-style): Deprecate `system-default' value.
13308         (mail-insert-from-field): For default value of mail-from-style,
13309         default to `angles' unless `angles' needs quoting and `parens'
13310         does not.
13311         (mail-citation-prefix-regexp): Use citation regexp from
13312         message-mode.
13314 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
13316         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13317         Set variables for computing the prompt for reading password.
13319 2009-11-19  Glenn Morris  <rgm@gnu.org>
13321         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
13323         * textmodes/flyspell.el (sgml-lexical-context): Declare.
13325         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13326         (newsticker-treeview-listwindow-height): Fix custom type.
13328 2009-11-19  Kenichi Handa  <handa@m17n.org>
13330         * descr-text.el (describe-char-padded-string): Compose with TAB
13331         only if there's a font for CH.
13332         (describe-char): Fix the condition for detecting a trivial composition.
13334 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
13336         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13337         more accurate version of the regexp.  (Bug#3910)
13339 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13341         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13343 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
13345         * font-setting.el (font-use-system-font): Declare for byte-compiler.
13346         (font-setting-change-default-font): Fix typo in docstring.
13348 2009-11-18  Alan Mackenzie  <acm@muc.de>
13350         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13352 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13354         * font-setting.el (font-use-system-font): Move ...
13356         * cus-start.el (all): ... to here.
13358 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
13360         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13361         Don't set `ad-return-value' if `ad-do-it' doesn't.
13363         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13364         modification time.
13366 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13368         * menu-bar.el: Put "Use system font" in Option-menu.
13369         (menu-bar-options-save): Add font-use-system-font.
13371         * loadup.el: If feature system-font-setting or font-render-setting is
13372         there, load font-setting.
13374         * Makefile.in (ELCFILES): Add font-settings.el.
13375         * font-setting.el: New file.
13377 2009-11-17  Glenn Morris  <rgm@gnu.org>
13379         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13381         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13382         Preserve point in the list buffer.  (Bug#4939)
13383         Use point-at-eol.
13384         (newsticker--treeview-list-update-highlight)
13385         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13387 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13389         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13390         Remove.
13392         * calc/calc-ext.el (calc-init-extensions): Remove references to
13393         symclip.
13395         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13397         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13398         * calc/calc-help.el (calc-b-prefix-help): Remove references to
13399         `calc-symclip'.
13401 2009-11-16  Kevin Ryde  <user42@zip.com.au>
13403         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13404         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13406         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13407         (lm-keywords-list): Allow comma-only separator like "foo,bar".
13408         Ignore trailing spaces by omit-nulls to split-string (fixing
13409         regression from Emacs 21 due to the incompatible split-string
13410         change).  (Bug #4928.)
13412 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
13414         * vc.el (vc-log-show-limit): Default to 2000.
13415         (vc-print-log-internal): Insert buttons to request more entries
13416         when limiting the output.
13418         * vc-sccs.el (vc-sccs-print-log):
13419         * vc-rcs.el (vc-rcs-print-log):
13420         * vc-cvs.el (vc-cvs-print-log):
13421         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13422         LIMIT is non-nil.
13424 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13426         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13427         error when `tramp-gvfs-dbus-event-vector' is set.
13428         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13430 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13432         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13434 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13436         * net/dbus.el (dbus-unregister-service): New defun.
13437         (dbus-register-property): Register the handlers of
13438         "org.freedesktop.DBus.Properties" for SERVICE.
13439         (dbus-property-handler): Fix docstring.
13441 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13443         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13444         Quote doc string reference in defvaralias as it is not in special form.
13445         (byte-compile-output-docform): Doc fix.
13447 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13449         * calc/calc.el (math-2-word-size, math-half-2-word-size)
13450         (calc-complement-signed-mode): New variables.
13451         (calc-set-mode-line): Add indicator for twos-complements.
13452         (math-format-number): Format twos-complement notation.
13454         * calc/calc-bin.el (calc-word-size): Reset the variables
13455         `math-2-word-size' and `math-half-2-word-size'.
13456         (math-format-complement-signed, math-symclip, calcFunc-symclip)
13457         (calc-symclip): New functions.
13459         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13461         * calc/calc-embed.el (calc-embedded-mode-vars):
13462         Add `calc-complement-signed-mode' to the list of modes.
13464         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13465         (calc-b-oper-keys): Add `calc-symclip' to list.
13467         * calc/calc-ext.el (math-read-number-fancy): Read complement
13468         signed numbers.
13469         (calc-init-extensions): Add binding for `calc-symclip'.
13470         Add autoload for `calcFunc-symclip' and `calc-symclip'.
13472         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13473         `calc-symclip'.
13474         (calc-modes-menu): Add item for twos complement mode.
13476         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13478 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13480         * register.el (jump-to-register, insert-register): Handle Semantic
13481         tags.  From commented-out advice in semantic/senator.el.
13483 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
13485         * vc.el (vc-log-show-limit): New variable.
13486         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
13487         when using a prefix argument.
13488         (vc-print-log-internal): Add new argument LIMIT.
13490         * vc-svn.el (vc-svn-print-log):
13491         * vc-mtn.el (vc-mtn-print-log):
13492         * vc-hg.el (vc-hg-print-log):
13493         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13494         pass it to the log command when set.  Make the BUFFER argument
13495         non-optional.
13497         * vc-sccs.el (vc-sccs-print-log):
13498         * vc-rcs.el (vc-rcs-print-log):
13499         * vc-git.el (vc-git-print-log):
13500         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13501         ignore it.  Make the BUFFER argument non-optional
13503         * bindings.el (mode-line-buffer-identification): Do not purecopy.
13505 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13507         * dired.el (dired-mode-map): Move encryption items to "Operate"
13508         menu (Bug#4703).
13510         * strokes.el (strokes-update-window-configuration): Make strokes
13511         buffer current before erasing (Bug#4906).
13513 2009-11-15  Juri Linkov  <juri@jurta.org>
13515         * simple.el (set-mark-default-inactive): Add :type, :group
13516         and :version.  (Bug#4876)
13518 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
13520         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13521         (archive-unique-fname): ... here.  (Bug#4929)
13523 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13525         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13526         with a real fix.
13528         * novice.el (disabled-command-function): Add useful args.
13529         Setup the help buffer so that [back] works.
13530         Remove redundant call to help-mode.
13531         (disabled-command-function): Use `case'.
13532         (en/disable-command): New function extracted from enable-command.
13533         (enable-command, disable-command): Use it.
13535 2009-11-14  Glenn Morris  <rgm@gnu.org>
13537         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13538         constants.  (Bug#4913)
13540         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13542 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13544         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13545         defined in C that have no doc-strings.  (Bug#1063)
13547 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
13549         * cus-edit.el (data, files):
13550         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
13552 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
13554         * simple.el (shell-command): Doc fix (Bug#4891).
13556         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13558 2009-11-14  Glenn Morris  <rgm@gnu.org>
13560         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13561         statements for vc-diff, emerge-quit, and rmail-cease-edit.
13562         If they are already loaded, eval-after-load will do the right thing.
13564         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13565         compiling.
13567         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13569         * simple.el (x-selection-owner-p): Declare.
13570         (read-mail-command): Use custom radio type rather than choice.
13571         (completion-no-auto-exit): Doc fix.
13573         * custom.el (defgroup):
13574         * epg-config.el (epg): Doc fixes.
13576 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
13578         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13579         * international/ccl.el (define-ccl-program): Do not purecopy the
13580         docstring, defconst does it anyway.
13582 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13584         * add-log.el (add-change-log-entry): Avoid displaying the changelog
13585         a second time.
13587         * x-dnd.el (x-dnd-maybe-call-test-function):
13588         * window.el (split-window-vertically):
13589         * whitespace.el (whitespace-help-on):
13590         * vc-rcs.el (vc-rcs-consult-headers):
13591         * userlock.el (ask-user-about-lock-help)
13592         (ask-user-about-supersession-help):
13593         * type-break.el (type-break-force-mode-line-update):
13594         * time-stamp.el (time-stamp-conv-warn):
13595         * terminal.el (te-set-output-log, te-more-break, te-filter)
13596         (te-sentinel, terminal-emulator):
13597         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13598         (term-write-input-ring, term-check-source, term-start-output-log):
13599         (term-display-buffer-line, term-dynamic-list-completions):
13600         (term-ansi-make-term, serial-term):
13601         * subr.el (selective-display):
13602         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13603         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13604         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13605         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13606         (speedbar-remove-localized-speedbar-support)
13607         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13608         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13609         (speedbar-buffers-line-directory):
13610         * simple.el (shell-command-on-region, append-to-buffer)
13611         (prepend-to-buffer):
13612         * shadowfile.el (shadow-save-todo-file):
13613         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13614         (scroll-bar-maybe-set-window-start):
13615         * sb-image.el (speedbar-image-dump):
13616         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13617         (load-save-place-alist-from-file):
13618         * ps-samp.el (ps-print-message-from-summary):
13619         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13620         (ps-background-image, ps-begin-job, ps-do-despool):
13621         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13622         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13623         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13624         (pr-call-process, pr-file-list, pr-interface-save):
13625         * novice.el (disabled-command-function)
13626         (enable-command, disable-command):
13627         * mouse.el (mouse-buffer-menu-alist):
13628         * mouse-copy.el (mouse-kill-preserving-secondary):
13629         * macros.el (kbd-macro-query):
13630         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13631         * informat.el (batch-info-validate):
13632         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13633         * hippie-exp.el (try-expand-dabbrev-visible):
13634         * help-mode.el (help-make-xrefs):
13635         * help-fns.el (describe-variable):
13636         * generic-x.el (bat-generic-mode-run-as-comint):
13637         * finder.el (finder-mouse-select):
13638         * find-dired.el (find-dired-sentinel):
13639         * filesets.el (filesets-file-close):
13640         * files.el (list-directory):
13641         * faces.el (list-faces-display, describe-face):
13642         * facemenu.el (list-colors-display):
13643         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13644         * epg.el (epg--process-filter, epg-cancel):
13645         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13646         (epa--read-signature-type):
13647         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13648         (emerge-file-names):
13649         * ehelp.el (electric-helpify):
13650         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13651         * ediff-vers.el (rcs-ediff-view-revision):
13652         * ediff-util.el (ediff-setup):
13653         * ediff-mult.el (ediff-append-custom-diff):
13654         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13655         (ediff-wordify):
13656         * echistory.el (Electric-command-history-redo-expression):
13657         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13658         * disp-table.el (describe-display-table):
13659         * dired.el (dired-find-buffer-nocreate):
13660         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13661         * dabbrev.el (dabbrev--same-major-mode-p):
13662         * chistory.el (list-command-history):
13663         * apropos.el (apropos-documentation):
13664         * allout.el (allout-obtain-passphrase):
13665         (allout-copy-exposed-to-buffer):
13666         (allout-verify-passphrase): Use with-current-buffer.
13668 2009-11-13  Glenn Morris  <rgm@gnu.org>
13670         * Makefile.in (ELCFILES): Regenerate.
13672 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13674         * net/dbus.el (dbus-registered-objects-table): Rename from
13675         `dbus-registered-functions-table', because it contains also properties.
13676         (dbus-unregister-object): Unregister also properties.
13677         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13678         Use a timeout of 500 msec, in order to not block.
13679         (dbus-register-property, dbus-property-handler): New defuns.
13681 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13683         * simple.el (minibuffer-default-add-completions): Drop deprecated
13684         4th arg.
13686 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13688         * textmodes/artist.el (artist-mouse-choose-operation):
13689         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13690         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13691         (artist-compute-up-event-key): New function.
13692         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13694 2009-11-13  Kenichi Handa  <handa@m17n.org>
13696         * language/japan-util.el: Make sure that the value of jisx0208
13697         property is jisx0208 character.
13699 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13701         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13702         car or each item, not the whole list.
13704 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13706         * minibuffer.el (minibuffer-completion-help):
13707         Use minibuffer-hide-completions.
13709 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13711         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13712         (dired-revert): Use them (bug#4880).
13714 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13716         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13718 2009-11-12  Juri Linkov  <juri@jurta.org>
13720         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13721         New functions.
13722         (find-file-literally-at-point): Alias of `ffap-literally'.
13724 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13726         * textmodes/ispell.el (ispell-skip-region-alist):
13727         * textmodes/css-mode.el (auto-mode-alist):
13728         * progmodes/compile.el (auto-mode-alist):
13729         * international/mule.el (ctext-non-standard-encodings-alist)
13730         (ctext-non-standard-encodings-regexp):
13731         * simple.el (shell-command-switch, text-read-only):
13732         * replace.el (occur-mode-map):
13733         * paths.el (rmail-file-name):
13734         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13735         * find-file.el (ff-special-constructs):
13736         * files.el (file-name-handler-alist):
13737         * composite.el: Purecopy strings.
13739         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13741 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13743         * widget.el (define-widget): Purecopy the docstring.
13744         * international/mule-cmds.el (charset): Do not purecopy the
13745         docstring here, define-widget does it.
13747         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13748         * textmodes/bibtex-style.el (auto-mode-alist):
13749         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13750         * progmodes/compile.el (compile-command):
13751         * language/korea-util.el (default-korean-keyboard):
13752         * international/mule-conf.el (file-coding-system-alist):
13753         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13754         * tooltip.el (tooltip-frame-parameters):
13755         * newcomment.el (comment-end, comment-padding):
13756         * dired.el (dired-trivial-filenames):
13757         * comint.el (comint-file-name-prefix): Purecopy initial values.
13759 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13761         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13762         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13763         `tramp-unload'.
13764         (tramp-advice-make-auto-save-file-name)
13765         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13766         after removing the advice.
13768 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13770         * progmodes/grep.el (grep-regexp-alist):
13771         * international/mule-cmds.el (iso-2022-control-alist):
13772         * emacs-lisp/timer.el (timer-duration-words):
13773         * subr.el (version-separator, version-regexp-alist):
13774         * minibuffer.el (completion-styles-alist):
13775         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13776         Change defvars to defconsts.
13778         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13779         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13780         * international/mule-conf.el: Allow to be byte compiled.
13782         * international/mule.el (define-charset): Purecopy props.
13783         (load-with-code-conversion): Purecopy doc string and file name.
13784         (put-charset-property): Purecopy strings.
13785         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13787         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13788         (define-char-code-property): Correctly purecopy the table.
13790         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13792         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13794         * subr.el (add-hook): Purecopy strings.
13795         (eval-after-load): Purecopy load-history-regexp and the form.
13797         * custom.el (custom-declare-group): Purecopy load-file-name.
13799         * subr.el (menu-bar-separator): New defconst.
13800         * net/eudc.el (eudc-tools-menu):
13801         * international/mule-cmds.el (set-coding-system-map)
13802         (mule-menu-keymap):
13803         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13804         * vc-hooks.el (vc-menu-map):
13805         * replace.el (occur-mode-map):
13806         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13807         (menu-bar-edit-menu, menu-bar-goto-menu)
13808         (menu-bar-custom-menu, menu-bar-showhide-menu)
13809         (menu-bar-options-menu, menu-bar-tools-menu)
13810         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13811         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13812         (menu-bar-help-menu):
13813         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13814         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13816         * term/x-win.el (x-gtk-stock-map):
13817         * progmodes/vera-mode.el (auto-mode-alist):
13818         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13819         (inferior-lisp-program, inferior-lisp-load-command):
13820         * progmodes/hideshow.el (hs-special-modes-alist):
13821         * progmodes/gud.el (same-window-regexps):
13822         * progmodes/grep.el (grep-program, find-program, xargs-program):
13823         * net/telnet.el (same-window-regexps):
13824         * net/rlogin.el (same-window-regexps):
13825         * language/ethiopic.el (font-ccl-encoder-alist):
13826         * vc-sccs.el (vc-sccs-master-templates):
13827         * vc-rcs.el (vc-rcs-master-templates):
13828         * subr.el (cl-assertion-failed):
13829         * simple.el (next-error-overlay-arrow-position):
13830         * lpr.el (lpr-command):
13831         * locate.el (locate-ls-subdir-switches):
13832         * info.el (same-window-regexps, info)
13833         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13834         * image-mode.el (image-mode, auto-mode-alist):
13835         * hippie-exp.el (hippie-expand-ignore-buffers):
13836         * format.el (format-alist):
13837         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13838         (find-name-arg):
13839         * facemenu.el (facemenu-keybindings):
13840         * dired.el (dired-listing-switches, dired-chown-program):
13841         * diff.el (diff-switches, diff-command):
13842         * cus-edit.el (same-window-regexps):
13843         * bindings.el (mode-line-mule-info)
13844         (mode-line-buffer-identification): Purecopy strings.
13846 2009-11-11  Juri Linkov  <juri@jurta.org>
13848         * simple.el (dired-get-filename) <declare-function>:
13849         Tell the byte-compiler about dired-get-filename.
13850         (shell-command): In Dired mode, get filename from the current line
13851         as the default value.
13853 2009-11-10  Glenn Morris  <rgm@gnu.org>
13855         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13856         * calendar/holidays.el, progmodes/cperl-mode.el:
13857         Update x-popup-menu declarations.
13859         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13860         (list-load-path-shadows): Use dolist.
13861         (list-load-path-shadows): Use with-current-buffer.
13863 2009-11-10  Juri Linkov  <juri@jurta.org>
13865         * minibuffer.el (read-file-name): Support a list of default values
13866         in `default-filename'.  Use the first file name where only one
13867         element is required.  Doc fix.
13869 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13871         * net/dbus.el (dbus-unregister-object): Release service, if no
13872         other method is registered for it.
13874 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13876         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13877         bookmark-sort-flag is non-nil (Bug#4653).
13879 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13881         * emulation/cua-base.el: Add CUA property to some CC mode commands
13882         (Bug#4100).
13884 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13886         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13887         at end of sentence (Bug#4818).
13889 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13891         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13892         Handle "see declaration of" MSFT statements (Bug#4100).
13894 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13896         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13897         (tramp-advice-file-expand-wildcards): Unload via
13898         `ad-remove-advice'.
13900         * net/trampver.el: Update release number.
13902 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13904         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13905         `ad-do-it'.
13907 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13909         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13910         in order to keep context in SELinux.
13912 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13914         * dired-aux.el (dired-query): Place cursor in echo area and allow
13915         C-g.
13917         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13918         menu item if not on a directory (Bug#4701).
13920 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13922         Sync with Tramp 2.1.17.
13924         * net/tramp.el (tramp-handle-copy-directory): Don't use
13925         `file-remote-p' (due to compatibility).
13927         * net/tramp-compat.el (tramp-compat-copy-directory)
13928         (tramp-compat-delete-directory): New defuns.
13930         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13931         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13932         Use `tramp-compat-delete-directory'.
13934         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13935         (tramp-smb-handle-delete-directory):
13936         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13938         * net/trampver.el: Update release number.
13940 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13942         * tar-mode.el (tar-copy): Call write-region on the right buffer
13943         (Bug#4857).
13945         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13946         by hand, if necessary (Bug#4878).
13948 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13950         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13951         align size column (Bug#4839).
13953         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13954         statement.
13956 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13958         * progmodes/ld-script.el (auto-mode-alist):
13959         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13961         * cus-face.el (custom-declare-face): Purecopy face spec.
13963 2009-11-06  Kenichi Handa  <handa@m17n.org>
13965         * international/uni-bidi.el: Re-generated.
13966         * international/uni-category.el: Re-generated.
13967         * international/uni-combining.el: Re-generated.
13968         * international/uni-mirrored.el: Re-generated.
13970 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13972         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13973         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13974         (tex-start-options, slitex-run-command, latex-run-command)
13975         (tex-run-command, tex-directory):
13976         * textmodes/ispell.el (ispell-html-skip-alists)
13977         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13978         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13979         (adaptive-fill-regexp):
13980         * textmodes/dns-mode.el (auto-mode-alist):
13981         * progmodes/python.el (interpreter-mode-alist):
13982         * progmodes/etags.el (tags-compression-info-list):
13983         * progmodes/etags.el (tags-file-name):
13984         * net/browse-url.el (browse-url-galeon-program)
13985         (browse-url-firefox-program):
13986         * mail/sendmail.el (mail-signature-file)
13987         (mail-citation-prefix-regexp):
13988         * international/mule-conf.el (eight-bit):
13989         * international/latexenc.el (latex-inputenc-coding-alist):
13990         * international/fontset.el (x-pixel-size-width-font-regexp):
13991         * emacs-lisp/warnings.el (warning-type-format):
13992         * emacs-lisp/trace.el (trace-buffer):
13993         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13994         (emacs-lisp-mode-map):
13995         * calendar/holidays.el (holiday-solar-holidays)
13996         (holiday-bahai-holidays, holiday-islamic-holidays)
13997         (holiday-christian-holidays, holiday-hebrew-holidays)
13998         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13999         (hebrew-holidays-1, holiday-oriental-holidays)
14000         (holiday-general-holidays):
14001         * x-dnd.el (x-dnd-known-types):
14002         * tool-bar.el (tool-bar):
14003         * startup.el (site-run-file):
14004         * shell.el (shell-dumb-shell-regexp):
14005         * rfn-eshadow.el (file-name-shadow-tty-properties)
14006         (file-name-shadow-properties):
14007         * paths.el (remote-shell-program, news-directory):
14008         * mouse.el ([C-down-mouse-3]):
14009         * menu-bar.el (menu-bar-tools-menu):
14010         * jka-cmpr-hook.el (jka-compr-load-suffixes)
14011         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14012         (jka-compr-compression-info-list):
14013         * isearch.el (search-whitespace-regexp):
14014         * image-file.el (image-file-name-extensions):
14015         * find-dired.el (find-ls-option):
14016         * files.el (directory-listing-before-filename-regexp)
14017         (directory-free-space-args, insert-directory-program)
14018         (list-directory-brief-switches, magic-fallback-mode-alist)
14019         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14020         (automount-dir-prefix):
14021         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14022         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14023         (face-font-registry-alternatives, face-font-registry-alternatives)
14024         (face-font-family-alternatives):
14025         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14026         (facemenu-foreground-menu, facemenu-face-menu):
14027         * epa-hook.el (epa-file-name-regexp):
14028         * dnd.el (dnd-protocol-alist):
14029         * textmodes/rst.el (auto-mode-alist):
14030         * button.el (default-button): Purecopy strings.
14032 2009-11-06  Glenn Morris  <rgm@gnu.org>
14034         * Makefile.in (ELCFILES): Update.
14036 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14038         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14039         * emacs-lisp/levents.el: Move to obsolete/levents.el.
14041         * nxml/xsd-regexp.el (xsdre-gen-categories):
14042         * nxml/xmltok.el (xmltok-parse-entity):
14043         * nxml/rng-parse.el (rng-parse-validate-file):
14044         * nxml/rng-maint.el (rng-format-manual)
14045         (rng-manual-output-force-new-line):
14046         * nxml/rng-loc.el (rng-save-schema-location-1):
14047         * nxml/rng-cmpct.el (rng-c-parse-file):
14048         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14049         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14051 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
14053         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14054         Remove extra save-excursions and make-variable-buffer-local's.
14055         Suggested by Stefan Monnier.
14057         (verilog-getopt-file, verilog-module-inside-filename-p)
14058         (verilog-set-define): Merge GNU 1.35 and repair changes from
14059         switching to using with-current-buffer.
14061         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14062         being treated as a number and confusing AUTORESET.
14063         Reported by Dan Dever.
14065         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14066         Add verilog-auto-ignore-concat to fix backward compatibility with
14067         older verilog-modes.  Reported by Dan Katz.
14069         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14070         containing closing anchors "...$".
14072         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14073         Reported by Wade Smith.
14075         (verilog-batch-execute-func): Comment on function usage.
14077 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
14079         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14080         for labels.
14082         (verilog-label-re, verilog-calc-1): Support proper indent of named
14083         asserts.
14085         (verilog-backward-token, verilog-basic-complete-re)
14086         (verilog-beg-of-statement, verilog-indent-re): Support proper
14087         indent of the assert statement at the beginning of a block of text.
14089         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14090         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14091         tokens as begins.
14093 2009-11-05  Glenn Morris  <rgm@gnu.org>
14095         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14096         Emacs 19.  (Bug#1531)
14097         (byte-compile-fix-header): Update for the above change.
14098         Drop test for epoch::version.
14100         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14101         * cus-dep.el (custom-make-dependencies):
14102         * finder.el (finder-compile-keywords):
14103         Use autoload-rubric's feature argument.
14105         * calendar/diary-lib.el (top-level): Make load behave more like require.
14107         * vc-git.el (vc-git-stash-map): Move definition before use.
14109 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
14111         * custom.el (custom-declare-group): Purecopy standard-value.
14112         (custom-declare-group): Purecopy custom-prefix.
14114         * international/mule.el (load-with-code-conversion):
14115         Call do-after-load-evaluation unconditionally.
14117         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14119 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14121         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14123 2009-11-04  Glenn Morris  <rgm@gnu.org>
14125         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14126         (byte-compile-compatibility): Remove option.
14127         (byte-compile-close-variables, byte-compile-fix-header)
14128         (byte-compile-insert-header, byte-compile-output-docform)
14129         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14130         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14131         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14132         (byte-compile-insert, byte-compile-defun):
14133         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
14134         (byte-defop-compiler19): Remove.
14135         Without byte-compile-compatibility, the 'emacs19-opcode property is not
14136         used by anything.  Replace all calls with byte-defop-compiler.
14138 2009-11-04  Juri Linkov  <juri@jurta.org>
14140         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14141         (menu-bar-options-menu): Don't quote the `prop' arg of
14142         `menu-bar-make-mm-toggle'.
14144 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
14146         * calendar/calendar.el (cal-loaddefs):
14147         * calendar/diary-lib.el (diary-loaddefs):
14148         * calendar/holidays.el (hol-loaddefs):
14149         * eshell/esh-module.el (esh-groups): Load rather than require.
14151 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14153         * calendar/todo-mode.el (todo-add-category): Don't hardcode
14154         point-min==1.
14155         (todo-top-priorities): Only display-buffer when called interactively.
14156         (todo-item-start): Don't save excursion point.
14157         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
14158         (todo-insert-item-here, todo-file-item, todo-remove-item):
14159         Adjust uses of todo-item-start and todo-item-end.
14161         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14162         (autoload-rubric): Don't use any more.
14164         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14165         and only put a prop if it is non-nil.
14167 2009-11-03  Juri Linkov  <juri@jurta.org>
14169         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14170         (menu-bar-options-menu): Fix list quoting (Bug#4429).
14172         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14173         and "Menu" to make top-level menu item visually one unit (like
14174         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14175         multi-word menu items).  Fix :help string for quit-window.
14177 2009-11-03  Glenn Morris  <rgm@gnu.org>
14179         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14180         (byte-compile-file-form-define-abbrev-table)
14181         (byte-compile-file-form-custom-declare-variable)
14182         (byte-compile-variable-ref, byte-compile-defvar):
14183         Whether or not a warning is enabled should only affect whether we issue
14184         the warning, not whether or not we collect the relevant data.
14185         Eg warnings can be turned on and off throughout the course of a file.
14187         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14188         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14190 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14192         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14193         * play/mpuz.el (mpuz-create-buffer):
14194         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14195         (lm-print-y,s,noise, lm-print-w0, lm-init):
14196         * play/gomoku.el (gomoku-prompt-for-move):
14197         * play/fortune.el (fortune-in-buffer):
14198         * play/dissociate.el (dissociated-press):
14199         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14200         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14201         * mail/supercite.el (sc-eref-show):
14202         * mail/smtpmail.el (smtpmail-send-it):
14203         * mail/rmailsum.el (rmail-summary-next-labeled-message)
14204         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14205         (rmail-summary-undelete-many, rmail-summary-rmail-update)
14206         (rmail-summary-goto-msg, rmail-summary-expunge)
14207         (rmail-summary-get-new-mail, rmail-summary-search-backward)
14208         (rmail-summary-add-label, rmail-summary-output-menu)
14209         (rmail-summary-output-body):
14210         * mail/rfc822.el (rfc822-addresses):
14211         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14212         * mail/mailpost.el (post-mail-send-it):
14213         * mail/hashcash.el (hashcash-generate-payment):
14214         * mail/feedmail.el (feedmail-run-the-queue)
14215         (feedmail-queue-send-edit-prompt-help-first)
14216         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14217         (feedmail-deduce-address-list):
14218         * eshell/esh-ext.el (eshell-remote-command):
14219         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14220         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14221         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14222         (viper-save-string-in-file, viper-valid-marker):
14223         * emulation/viper-keym.el (viper-toggle-key):
14224         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14225         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14226         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14227         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14228         (viper-exec-form-in-emacs, viper-brac-function):
14229         * emulation/viper.el (viper-delocalize-var):
14230         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14231         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14232         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14233         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14234         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14235         * emulation/edt.el (edt-electric-helpify):
14236         * emulation/cua-rect.el (cua--rectangle-aux-replace):
14237         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14238         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14239         (cua-indent-to-global-mark-column):
14240         * calendar/diary-lib.el (calendar-mark-1):
14241         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14242         Use with-current-buffer.
14243         * emulation/viper.el (viper-delocalize-var): Use dolist.
14245 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
14247         * comint.el (comint-replace-by-expanded-history-before-point):
14248         Replace !! with the previous input string literally (Bug#1795).
14250 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
14252         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14253         to be made up of whitespace.
14255 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
14257         * minibuffer.el (read-file-name): Don't use file dialogs for
14258         remote directories (Bug#99).
14260 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
14262         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14264 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14266         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14267         instead of deleting the window or frame.
14269 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14271         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14272         Support face colors.
14274         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14275         New function.  Support face colors (Bug#1168).
14276         (tex-common-initialization): Use it.
14278         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14279         mode allows it (Bug#1168).
14281 2009-10-31  Juri Linkov  <juri@jurta.org>
14283         * facemenu.el (list-colors-display): Don't mark buffer as
14284         modified (Bug#3948).
14286 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14288         * international/mule-diag.el (list-character-sets-1):
14289         Minor message fix (Bug#3526).
14291         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14292         Fix face property (Bug#4834).
14293         (etags-list-tags, etags-tags-apropos-additional)
14294         (etags-tags-apropos, tags-select-tags-table): Add follow-link
14295         property.
14297         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14298         items.
14300 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14302         * textmodes/two-column.el (2C-split):
14303         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14304         * textmodes/tex-mode.el (tex-set-buffer-directory):
14305         * textmodes/spell.el (spell-region, spell-string):
14306         * textmodes/reftex.el (reftex-erase-buffer):
14307         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14308         * textmodes/reftex-toc.el (reftex-toc-promote-action):
14309         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14310         (reftex-select-item):
14311         * textmodes/reftex-ref.el (reftex-label-info-update)
14312         (reftex-offer-label-menu):
14313         * textmodes/reftex-index.el (reftex-index-change-entry)
14314         (reftex-index-phrases-info):
14315         * textmodes/reftex-global.el (reftex-create-tags-file)
14316         (reftex-save-all-document-buffers, reftex-ensure-write-access):
14317         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14318         (reftex-view-crossref-from-bibtex):
14319         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14320         (reftex-extract-bib-entries-from-thebibliography)
14321         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14322         * textmodes/refbib.el (r2b-capitalize-title):
14323         (r2b-convert-buffer, r2b-help):
14324         * textmodes/page-ext.el (pages-directory)
14325         (pages-directory-goto-with-mouse):
14326         * textmodes/bibtex.el (bibtex-validate-globally):
14327         * textmodes/bib-mode.el (bib-capitalize-title):
14328         * textmodes/artist.el (artist-clear-buffer, artist-system):
14329         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14330         (local-set-scheme-interaction-buffer, xscheme-process-filter)
14331         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14332         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14333         (xscheme-send-control-g-interrupt, xscheme-start-process)
14334         (xscheme-process-sentinel, xscheme-cd):
14335         * progmodes/verilog-mode.el (verilog-read-always-signals)
14336         (verilog-set-define, verilog-getopt-file)
14337         (verilog-module-inside-filename-p):
14338         * progmodes/sh-script.el:
14339         * progmodes/python.el (python-pdbtrack-get-source-buffer)
14340         (python-pdbtrack-grub-for-buffer, python-execute-file):
14341         * progmodes/octave-inf.el (inferior-octave):
14342         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14343         (idlwave-shell-compile-helper-routines, idlwave-set-local)
14344         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14345         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14346         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14347         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14348         (idlwave-shell-filter, idlwave-shell-examine-highlight)
14349         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14350         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14351         (idlwave-shell-examine-display, idlwave-shell-run-region)
14352         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14353         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14354         * progmodes/idlw-help.el (idlwave-help-get-special-help)
14355         (idlwave-help-get-help-buffer):
14356         * progmodes/gud.el (gud-basic-call, gud-find-class)
14357         (gud-tooltip-activate-mouse-motions-if-enabled):
14358         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14359         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14360         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14361         (ebrowse-tags-next-file):
14362         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14363         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14364         (ebnf-eps-finish-and-write):
14365         * progmodes/cpp.el (cpp-edit-save):
14366         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14367         * progmodes/cc-defs.el (c-emacs-features):
14368         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14369         (antlr-directory-dependencies):
14370         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14371         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14372         (ada-find-any-references, ada-make-filename-from-adaname)
14373         (ada-make-body-gnatstub):
14374         * obsolete/rnews.el (news-list-news-groups):
14375         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14376         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14377         * net/rcirc.el (rcirc-debug):
14378         * net/newst-treeview.el (newsticker--treeview-list-add-item)
14379         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14380         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14381         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14382         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14383         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14384         (newsticker--treeview-list-clear-highlight)
14385         (newsticker--treeview-list-update-highlight)
14386         (newsticker--treeview-list-highlight-start)
14387         (newsticker--treeview-tree-update-highlight)
14388         (newsticker--treeview-get-selected-item)
14389         (newsticker-treeview-mark-list-items-old)
14390         (newsticker--treeview-set-current-node):
14391         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14392         * net/newst-backend.el (newsticker--get-news-by-funcall)
14393         (newsticker--get-news-by-wget, newsticker--image-get)
14394         (newsticker--image-sentinel):
14395         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14396         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14397         (eudc-ph-close-session):
14398         * net/eudc.el (eudc-save-options):
14399         * language/thai-word.el (thai-update-word-table):
14400         * language/japan-util.el (japanese-string-conversion):
14401         * international/titdic-cnv.el (tsang-quick-converter)
14402         (ziranma-converter, ctlau-converter):
14403         * international/mule-cmds.el (describe-language-environment):
14404         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14405         (skkdic-convert-postfix, skkdic-convert-prefix):
14406         (skkdic-convert-okuri-nasi, skkdic-convert):
14407         * emacs-lisp/re-builder.el (reb-update-overlays):
14408         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14409         * emacs-lisp/gulp.el (gulp-send-requests):
14410         * emacs-lisp/find-gc.el (trace-call-tree):
14411         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14412         (eieio-describe-generic):
14413         * emacs-lisp/eieio-base.el (eieio-persistent-read):
14414         * emacs-lisp/edebug.el (edebug-outside-excursion):
14415         * emacs-lisp/debug.el (debugger-make-xrefs):
14416         * emacs-lisp/cust-print.el (custom-prin1-to-string):
14417         * emacs-lisp/chart.el (chart-new-buffer):
14418         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14419         Use with-current-buffer.
14420         * textmodes/artist.el (artist-system): Don't call
14421         copy-sequence on a fresh string.
14422         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14424 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
14426         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14427         is no item to edit.  (Bug#4820)
14428         (todo-top-priorities): Restore point and restore narrowing in Todo
14429         buffer.  (Bug#4820)
14431 2009-10-31  Glenn Morris  <rgm@gnu.org>
14433         * net/ange-ftp.el (top-level): Don't require dired when compiling.
14434         (comint-last-output-start, comint-last-input-start)
14435         (comint-last-input-end): Don't defvar when compiling.
14436         (ange-ftp-process-file): Use bound-and-true-p.
14438         * pcmpl-rpm.el (top-level): Move provide statement to end.
14439         (pcmpl-rpm): Remove unused custom group.
14441         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14443         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14445         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14446         (byte-compile-warnings): Add `constants' as an option.
14447         (byte-compile-callargs-warn, byte-compile-arglist-warn)
14448         (display-call-tree): Update for byte-compile-fdefinition possibly
14449         returning `(macro lambda ...)'.  (Bug#4778)
14450         (byte-compile-variable-ref, byte-compile-setq-default):
14451         Respect `constants' member of byte-compile-warnings.
14453 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14455         * vc-bzr.el (vc-bzr-revision-keywords): New var.
14456         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14457         to "submit:".
14459 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
14461         * textmodes/ispell.el (ispell-skip-region-alist):
14462         * international/mule-conf.el (eight-bit):
14463         * international/fontset.el (font-encoding-alist):
14464         * startup.el (pure-space-overflow-message):
14465         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14466         * paths.el (gnus-nntp-service, rmail-spool-directory)
14467         (term-file-prefix):
14468         * files.el (save-some-buffers-action-alist):
14469         * cmuscheme.el (same-window-buffer-names):
14470         * ielm.el (same-window-buffer-names):
14471         * shell.el (same-window-buffer-names):
14472         * mail/sendmail.el (same-window-buffer-names):
14473         * progmodes/inf-lisp.el (same-window-buffer-names):
14474         * bindings.el (mode-line-client)
14475         (mode-line-column-line-number-mode-map):
14476         * language/tibetan.el (tibetan-precomposition-rule-regexp)
14477         (tibetan-precomposed-regexp): Purecopy string arguments.
14479 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14481         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14482         (calcDigit-nondigit):
14483         * calc/calc-yank.el (calc-copy-to-buffer):
14484         * calc/calc-units.el (calc-invalidate-units-table):
14485         * calc/calc-trail.el (calc-trail-yank):
14486         * calc/calc-store.el (calc-insert-variables):
14487         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14488         * calc/calc-prog.el (calc-read-parse-table):
14489         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14490         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14491         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14492         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14493         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14494         (calc-graph-name, calc-graph-find-command, calc-graph-view)
14495         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14496         * calc/calc-ext.el (calc-realign):
14497         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14498         (calc-embedded-finish-edit, calc-embedded-make-info)
14499         (calc-embedded-finish-command, calc-embedded-stack-change):
14500         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14502         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14503         shell-dynamic-complete-filename in preference to
14504         comint-dynamic-complete-filename.
14506         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14507         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14508         Don't consider whether the display supports colors.
14509         (bookmark-import-new-list): Use dolist.
14510         (bookmark-bmenu-mode-map): Move initialization into declaration.
14511         (bookmark-bmenu-list): Use dolist, simplify.
14512         (bookmark-show-all-annotations): Use save-selected-window and dolist.
14513         (menu-bar-final-items): Use push.
14515 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14517         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14518         it works on remote files.
14519         (vc-hg-diff): Don't pass any `--cwd' argument.
14521 2009-10-27  Kevin Ryde  <user42@zip.com.au>
14523         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14524         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14525         (Further to Bug#3921).
14527 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
14529         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14530         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14531         calling `tramp-imap-put-file'.  Add file size to the call.
14532         (tramp-imap-get-file-entries): Compute also user name, file size,
14533         and date.
14534         (tramp-imap-handle-insert-directory): Insert uid and gid.
14535         (tramp-imap-handle-file-attributes): Transform uid and gid
14536         according to `id-format'.
14537         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
14538         size in header X-Size.
14540 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
14542         * simple.el (transpose-subr): Give clearer error when the mark
14543         is not set.  (Bug#4807)
14545 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
14547         * net/tramp.el (tramp-perl-file-truename): New defconst.
14548         Perl code contributed by yary <not.com@gmail.com> (tiny change).
14549         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14550         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14551         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14553         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14554         Ignore `dired-call-process'.
14555         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14557 2009-10-26  Julian Scheid  <julians37@gmail.com>
14559         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14560         (tramp-get-remote-readlink): New defun.
14561         (tramp-handle-file-truename): Use it.
14562         (tramp-handle-file-exists-p): Check file-attributes cache, assume
14563         file exists if cache value present.
14564         (tramp-check-cached-permissions): New defun.
14565         (tramp-handle-file-readable-p): Use it.
14566         (tramp-handle-file-writable-p): Likewise.
14567         (tramp-handle-file-executable-p): Likewise.
14568         (tramp-handle-file-name-all-completions): Try using Perl to get
14569         partial completions.  When perl not available, combine `cd' and
14570         `ls' into single remote operation and use shell expansion to get
14571         partial remote directory contents.  Set `file-exists-p' cache for
14572         directory and any files returned by ls.  Change cache handling to
14573         support partial directory contents.  Use error message emitted by
14574         remote `cd' or Perl code for local tramp-error.
14575         (tramp-do-copy-or-rename-file-directly): Avoid separate
14576         tramp-send-command-and-check call.
14577         (tramp-handle-process-file): Merge three remote ops into one.
14578         Do not flush all caches when `process-file-side-effects' is set.
14579         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14580         file-attributes shows uid/gid to be set already.
14582 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
14584         * textmodes/tex-mode.el (tex-dvi-view-command)
14585         (tex-show-queue-command, tex-open-quote):
14586         * progmodes/ruby-mode.el (auto-mode-alist)
14587         (interpreter-mode-alist): Purecopy strings.
14589         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14591         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14592         string for the hook, keymap and abbrev table.
14594         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14596         * x-dnd.el (x-dnd-xdnd-to-action):
14597         * startup.el (fancy-startup-text, fancy-about-text): Change to
14598         defconst from defvar.
14600         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14602         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14603         Purecopy initialization strings.
14605         * mail/sendmail.el (mail-header-separator)
14606         (mail-personal-alias-file):
14607         * mail/rmail.el (rmail-default-dont-reply-to-names)
14608         (rmail-ignored-headers, rmail-retry-ignored-headers)
14609         (rmail-highlighted-headers, rmail-secondary-file-directory)
14610         (rmail-secondary-file-regexp):
14611         * files.el (null-device, file-name-invalid-regexp)
14612         (locate-dominating-stop-dir-regexp)
14613         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14614         (interpreter-mode-alist): Use mapcar instead of mapc.
14616         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14618         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14619         (completion-ignored-extensions):
14620         (debug-ignored-errors): Purecopy strings.
14622 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14624         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14625         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14626         (pcomplete--here): Use push.
14628         * subr.el (all-completions): Declare the 4th arg obsolete.
14630 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14632         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14633         (pcomplete-unquote-argument): New function.
14634         (pcomplete--common-suffix): Always pay attention to case.
14635         (pcomplete--table-subvert): Quote and unquote the text.
14636         (pcomplete--common-quoted-suffix): New function.
14637         (pcomplete-std-complete): Use it and pcomplete-begin.
14639         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14640         we're inside a dedicated or minibuffer window.
14642 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14644         * bookmark.el: Update documentation, especially documentation
14645         of `bookmark-alist' and of the bookmark file format.
14646         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14648 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14650         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14651         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14652         window to buffer.
14654         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14655         (global-whitespace-mode, global-whitespace-newline-mode)
14656         (whitespace-toggle-options, global-whitespace-toggle-options):
14657         Doc fix (Bug#3660).
14659         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14660         of xmltok-start before the end tag was inserted (Bug#2840).
14662         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14663         patterns that are preceded by an open-paren (Bug#1320).
14665 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14667         * files.el (delete-directory): Delete symlinks to directories with
14668         delete-file (Bug#4739).
14670 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14672         * vc.el (vc-backend-for-registration): Rename from
14673         vc-get-backend-for-registration.  Update callers.
14675         * international/mule-cmds.el (set-language-info-alist):
14676         Purecopy lang-env.
14677         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14678         (charset): Purecopy the name.
14679         (define-char-code-property): Purecopy string arguments.
14681         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14682         Purecopy string arguments.
14684         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14685         * ediff-hook.el (menu-bar-ediff-menu):
14686         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14687         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14689 2009-10-24  Glenn Morris  <rgm@gnu.org>
14691         * comint.el (comint-dynamic-list-completions):
14692         * term.el (term-dynamic-list-completions): Use choose-completion rather
14693         than obsolete alias mouse-choose-completion.
14695         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14696         file-cache-choose-completion.
14697         (file-cache-choose-completion): Handle an optional event argument.
14698         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14700         * progmodes/octave-mod.el (octave-complete-symbol):
14701         Use choose-completion if mouse-choose-completion is ever removed.
14703         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14704         use.
14706         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14707         compiler.
14709         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14711 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14713         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14714         Ignore `pred' now that we receive one.
14715         Handle test-completion specially.
14717 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14719         * vc.el (vc-responsible-backend): Throw an error if not backend is
14720         found.  Remove the REGISTER argument.  Move the code dealing with
14721         REGISTER ...
14722         (vc-get-backend-for-registration): ... here.  New function.
14723         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14724         of vc-responsible-backend, pass the file name instead of the
14725         directory name.
14727 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14729         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14730         New funs.
14731         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14732         (pcomplete-comint-setup): Don't modify a global var via
14733         accidental side-effects.
14734         (pcomplete-shell-setup): Adjust call accordingly.
14735         (pcomplete-parse-comint-arguments): Use push.
14737 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14739         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14740         Allow uncapitalized info node names (Bug#3921).
14742         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14743         to the DEBUG file (Bug#3781).
14745 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14747         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14748         dictionary entry (Bug#4579).
14750 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14752         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14753         from `rfn-eshadow-update-overlay-hook' when unloading.
14754         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14755         "rsyncc".  Adjust doc string.
14756         (tramp-temp-buffer-file-name): New buffer-local defvar.
14757         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14758         Keep temporary file when indicated by method ("rsync" and
14759         "rsyncc").
14760         (tramp-handle-write-region): Handle APPEND.
14761         (tramp-delete-temp-file-function): New defun.  Added to
14762         `kill-buffer-hook'.
14764 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14766         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14768 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14770         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14771         (color-name-rgb-alist, tty-standard-colors)
14772         (tty-color-mode-alist): Change to defconst.
14774         * simple.el (mark-inactive): Purecopy message.
14776         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14777         (global-map, yank-menu):
14778         * textmodes/ispell.el (ispell-menu-map):
14779         * net/eudc.el (eudc-tools-menu):
14780         * international/mule-cmds.el (describe-language-environment-map)
14781         (setup-language-environment-map, set-coding-system-map)
14782         (mule-menu-keymap):
14783         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14784         * replace.el (occur-mode-map):
14785         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14787 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14789         * calc/calc.el (math-read-number, math-read-number-simple):
14790         Use `save-match-data'.
14792 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14794         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14795         rather than fiddling with global-map bindings, since it should only
14796         affect per-terminal settings.
14797         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14799         * minibuffer.el (completion-table-with-terminator): Allow to specify
14800         the terminator-regexp.
14802         * simple.el (switch-to-completions): Look for *Completions* in other
14803         frames as well.
14805         * pcomplete.el: Allow the use of completion-tables.
14806         (pcomplete-std-complete): New command.
14807         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14808         (pcomplete--here): Use a function for `form' rather than an expression,
14809         so it can be byte-compiled.
14810         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14811         Add edebug declaration.
14812         (pcomplete-show-completions): Remove unused var `curbuf'.
14813         (pcomplete-do-complete, pcomplete-stub):
14814         Don't assume `completions' is a list of strings any more.
14816 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14818         * find-dired.el (find-name-arg): Fix typo in docstring.
14820 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14822         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14823         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14825         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14826         pcomplete-entries.
14828         * comint.el (comint-read-input-ring, comint-write-input-ring)
14829         (comint-substitute-in-file-name)
14830         (comint-dynamic-complete-as-filename)
14831         (comint-dynamic-simple-complete)
14832         (comint-dynamic-list-filename-completions)
14833         (comint-dynamic-list-completions)
14834         (comint-redirect-results-list-from-process): Minor simplifications.
14836 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14838         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14839         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14840         the first form.  And insert a blank line after ";;; Code" since
14841         that's usual style.  (Bug#4612)
14843         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14845 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14847         * minibuffer.el (completion-table-with-terminator): Properly implement
14848         boundaries, in case `terminator' appears in the suffix.
14849         (completion--embedded-envvar-table): Don't return boundaries if
14850         there's no valid completion.  Simplify.
14851         (completion-file-name-table): New completion table extracted from
14852         completion--file-name-table.
14853         (completion--file-name-table): Use it.
14854         (read-file-name-predicate): Declare obsolete.
14855         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14856         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14857         completion-file-name-table, and use the `pred' argument.
14858         * files.el (locate-file-completion-table): Use the `pred' arg rather
14859         than read-file-name-predicate.
14860         (abbreviate-file-name): Use \` rather than ^ for BOS.
14862 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14864         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14865         vc-responsible-backend to register, it causes problems.
14867 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14869         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14871 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14873         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14874         (tramp-smb-handle-file-attributes): Use it.
14875         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14876         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14877         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14878         Add `dired-filename' text properties.
14879         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14880         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14881         version.
14883 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14885         * subr.el (read-key-delay): Reduce to 0.01.
14886         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14887         (bug#4751).
14889 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14891         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14893         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14894         (Info-menu): Remove unused vars `last' and `completions'.
14895         (Info-index-nodes): Remove unused var `node'.
14897         * info.el (Info-complete-menu-item): Use complete-with-action.
14899 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14901         Make vc-annotate work through copies and renames.
14902         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14903         Return the file name too.
14904         (vc-annotate-revision-at-line)
14905         (vc-annotate-find-revision-at-line)
14906         (vc-annotate-revision-previous-to-line)
14907         (vc-annotate-show-log-revision-at-line): Update to get the file
14908         name from vc-annotate-extract-revision-at-line.
14909         (vc-annotate-show-diff-revision-at-line-internal): Change the
14910         argument to mean whether to show a file diff or not.  Get the file
14911         name from vc-annotate-extract-revision-at-line.
14912         (vc-annotate-show-diff-revision-at-line):
14913         Update vc-annotate-show-diff-revision-at-line call.
14914         (vc-annotate-warp-revision): Add an optional file argument.
14916         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14917         (vc-git-annotate-extract-revision-at-line): Also return the file
14918         name if found.
14920         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14921         command.  Remove unused code.
14922         (vc-hg-annotate-re): Update to match --follow output.
14923         (vc-hg-annotate-extract-revision-at-line): Also return the file
14924         name if found.
14926         * vc.el: Update annotate-extract-revision-at-line documentation.
14928 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14930         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14931         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14933         * net/browse-url.el (browse-url): Identify alist with "consp and
14934         not functionp" and let all other things go down the `apply' leg,
14935         as suggested by Stefan.  (Further to bug#4531.)
14937 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14939         * minibuffer.el (read-file-name): Check for repeat before putting
14940         a default argument in file-name-history (Bug#4657).
14942         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14943         read syntax (Bug#4737).
14945         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14947 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14949         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14950         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14951         entries and make note of obsolete tags.
14953 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14955         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14957 2009-10-18  Glenn Morris  <rgm@gnu.org>
14959         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14960         grep, so that binary files (eg international/uni-bidi.el) can match.
14961         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14962         now, and in any case the file header format has changed.
14964 2009-10-17  Glenn Morris  <rgm@gnu.org>
14966         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14967         (flyspell-get-word, flyspell-large-region)
14968         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14970 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14972         * Makefile.in (ELCFILES): Add ede/shell.
14974 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14976         * term/common-win.el (x-colors): Purecopy it.
14978 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14980         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14981         permissive for when the buffer is empty.
14982         (tar-header-block-tokenize): Decode the username and groupname.
14983         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14985 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14987         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14988         contains multibyte characters, choose first applicable coding
14989         system automatically.
14991 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14993         * international/mule-cmds.el (select-safe-coding-system): If the file
14994         has a coding cookie, use it regardless of any other setting (bug#4712).
14996 2009-10-17  Glenn Morris  <rgm@gnu.org>
14998         * foldout.el (foldout-mouse-swallow-events):
14999         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15001         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15002         (dired-keep-marker-copy, dired-keep-marker-hardlink)
15003         (dired-keep-marker-symlink, dired-dwim-target)
15004         (dired-copy-preserve-time): Do not autoload these defcustoms.
15006         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15007         messages from messing up the file coding.  (Bug#4623)
15009 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
15011         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15012         if no match is found for the current dictionary.  (Bug#4578)
15014         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15015         optional, since that is how it is documented, and this is often called
15016         with a nil argument.  (Bug#4577)
15017         (flyspell-external-point-words, flyspell-auto-correct-word)
15018         (flyspell-correct-word-before-point, flyspell-word-search-forward)
15019         (flyspell-word-search-backward): Remove nil argument in calls to
15020         flyspell-get-word, since it is not needed now.
15022 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
15024         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
15026 2009-10-16  Glenn Morris  <rgm@gnu.org>
15028         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15030 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
15032         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15033         (ange-ftp-file-size): New function.
15034         (ange-ftp-file-attributes): Use it.
15036 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
15038         * net/tramp-smb.el (tramp-smb-version): New defvar.
15039         (tramp-smb-maybe-open-connection): Use it, in order to avoid
15040         repeated checks.
15042 2009-10-16  Glenn Morris  <rgm@gnu.org>
15044         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15045         Maybe copy some custom properties from old to new name.  (Bug#4706)
15047 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
15049         * subr.el (error, sit-for, start-process-shell-command)
15050         (start-file-process-shell-command): Set the calling convention
15051         after the function definition.
15053 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15055         * subr.el (error, sit-for, start-process-shell-command)
15056         (start-file-process-shell-command): Use the new
15057         set-advertised-calling-convention feature.
15059 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
15061         * international/ucs-normalize.el (ucs-normalize-version):
15062         Change to 1.2.
15063         (check-range): Adjust for Unicode 5.2.
15065 2009-10-15  Juri Linkov  <juri@jurta.org>
15067         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15068         to the `menu-item' format.
15070 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
15072         * net/tramp.el (tramp-replace-environment-variables): Do not fail
15073         if the environment variable does not exist.
15075         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15076         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15077         parameter.
15078         (tramp-smb-handle-add-name-to-file)
15079         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15080         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15081         (tramp-smb-handle-file-attributes)
15082         (tramp-smb-do-file-attributes-with-stat)
15083         (tramp-smb-handle-file-local-copy)
15084         (tramp-smb-handle-insert-directory)
15085         (tramp-smb-handle-make-directory)
15086         (tramp-smb-handle-make-directory-internal)
15087         (tramp-smb-handle-make-symbolic-link)
15088         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15089         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15090         (tramp-smb-maybe-open-connection): Apply the changed parameters.
15091         (tramp-smb-read-file-entry): Read Disk names in compressed format.
15092         Handle long file names.
15093         (tramp-smb-get-cifs-capabilities): Check, whether the connection
15094         process is running.
15095         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15096         Read share names with "-g" option.
15098 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
15100         * net/rcirc.el (rcirc-view-log-file): New command.
15101         (rcirc-track-minor-mode-map): Remove C-c ` binding.
15102         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15103         specified.
15105 2009-10-15  Glenn Morris  <rgm@gnu.org>
15107         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15108         from the second command-line argument.
15109         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15110         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15111         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15112         w32-batch-update-autoloads.
15113         * emacs-lisp/autoload.el (autoload-make-program): New variable.
15114         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15116         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15117         the headers cannot be located.  Simplify, subtracting superflous
15118         save-excursions.
15120 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15122         Replace completion-base-size by completion-base-position to fix bugs
15123         such as (bug#4699).
15124         * simple.el (completion-base-position): New var.
15125         (completion-base-size): Mark as obsolete.
15126         (choose-completion): Make it work for mouse events as well.
15127         Pass the new base-position to choose-completion-string.
15128         (choose-completion-guess-base-position): New function, extracted from
15129         choose-completion-delete-max-match.
15130         (choose-completion-delete-max-match): Use it.  Make obsolete.
15131         (choose-completion-string): Use the new base-position info.
15132         (completion-root-regexp): Delete.
15133         (completion-setup-function): Preserve completion-base-position.
15134         Eliminate obsolete base-size manipulation.
15135         * minibuffer.el (display-completion-list): Don't mess with base-size.
15136         (minibuffer-completion-help): Set completion-base-position instead.
15137         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15138         choose-completion.
15139         * textmodes/bibtex.el (bibtex-complete):
15140         * emacs-lisp/crm.el (crm--choose-completion-string):
15141         Adjust to new calling convention.
15142         * complete.el (partial-completion-mode): Use minibufferp to avoid
15143         bumping into incompatible change to choose-completion-string-functions.
15144         * ido.el (ido-choose-completion-string): Make its calling convention
15145         more permissive.
15146         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15147         base-size manipulation.
15148         (comint-dynamic-list-input-ring): Use dotimes and push.
15149         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15150         fundamental-mode.  Use `or'.
15152 2009-10-14  Juri Linkov  <juri@jurta.org>
15154         * misearch.el (multi-isearch-next-buffer-from-list)
15155         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
15157 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15159         * Makefile.in (compile-onefile): Load `bytecomp' rather than
15160         `bytecomp.el'.
15162         * minibuffer.el (completion-pcm--merge-completions): Make sure the
15163         string we return is all made up of text from the completions rather
15164         than part from the completions and part from the input (bug#4219).
15166         * ido.el (ido-everywhere): Use define-minor-mode.
15168         * buff-menu.el (list-buffers, ctl-x-map):
15169         Mark the entry points with ;;;###autoload cookies.
15171 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
15173         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15174         correctly in the detached head case.
15175         (vc-git-print-log): Remove unused binding.
15177         * vc.el (vc-responsible-backend): When a directory is passed for
15178         for registration create a VC repository if no backend is
15179         responsible for the directory argument.
15180         (vc-deduce-fileset): Tell vc-responsible-backend to register.
15182         * vc.el: Move comments about RCS and SCCS ...
15183         * vc-rcs.el:
15184         * vc-sccs.el: ... here, respectively.
15186 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15188         * minibuffer.el (completion--file-name-table): Return nil if there's
15189         no file completion, even if substitute-in-file-name changed
15190         the string (bug#4708).
15192 2009-10-13  Juri Linkov  <juri@jurta.org>
15194         * files-x.el (read-file-local-variable-value): Don't filter out
15195         minor modes from mode name completion (bug#4664).
15197 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15199         * international/mule-cmds.el (ucs-names): Remove exclusion of
15200         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15202 2009-10-13  Kenichi Handa  <handa@m17n.org>
15204         * international/uni-name.el: Regenerated.
15206 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15208         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
15209         should be automatically buffer-local, but isn't.)
15211 2009-10-12  Sam Steingold  <sds@gnu.org>
15213         * progmodes/compile.el (compilation-next-error-function): Fix the
15214         timestamps if the buffer has been visited before.
15215         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15216         non-anchored patterns, like the perl one (bug#3928).
15218 2009-10-12  Glenn Morris  <rgm@gnu.org>
15220         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15221         Let-bind `size'.
15223 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
15225         * proced.el (proced-unload-function): New function.
15227         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15228         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15229         Doc fix.
15231         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15233 2009-10-11  Juri Linkov  <juri@jurta.org>
15235         * files-x.el (read-file-local-variable-value):
15236         Provide default value only for bound variables (bug#4664).
15238 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
15240         * net/tramp.el (tramp-local-host-p): Function shall return nil for
15241         connection methods like smb.
15243         * net/tramp-cache.el (tramp-flush-connection-property): The hash
15244         can be empty.
15246         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15247         (tramp-smb-file-name-handler-alist): Add handlers for
15248         `add-name-to-file', `make-symbolic-link'.
15249         (tramp-smb-handle-add-name-to-file)
15250         (tramp-smb-do-file-attributes-with-stat)
15251         (tramp-smb-handle-make-symbolic-link)
15252         (tramp-smb-get-cifs-capabilities): New defuns.
15253         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15254         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15255         (tramp-smb-handle-file-local-copy)
15256         (tramp-smb-handle-make-directory-internal)
15257         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15258         The file name syntax depends on cifs capabilities.
15259         (tramp-smb-handle-file-attributes):
15260         Call `tramp-smb-do-file-attributes-with-stat' if possible.
15261         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15262         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15264 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
15266         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15267         (eieio-defclass): Apply deftype handler and setf-method properties
15268         directly.
15269         (eieio-add-new-slot): Avoid union function from cl library.
15270         (eieio--typep): New function.
15271         (eieio-perform-slot-validation): Use it.
15273 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15275         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15276         Update documentation to refer to the variables documented in r1.135.
15277         (Bug#4188)
15279 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15281         * bookmark.el (Info-suffix-list): Remove this unused variable.
15282         (bookmark-current-point): Remove this obsolete variable.
15283         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15284         Adjust for removal of bookmark-current-point.
15286         (bookmarks-already-loaded, bookmark-current-buffer)
15287         (bookmark-yank-point): Document.  (Bug#4188)
15289 2009-10-10  Glenn Morris  <rgm@gnu.org>
15291         * frame.el (frame-height): Doc fix.
15293         * calendar/calendar.el (calendar-split-width-threshold): New option.
15294         (calendar-basic-setup): Use calendar-split-width-threshold.
15296 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
15298         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15299         Ideographic Supplement" range (U+1F200..U+1F2FF).
15301 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15303         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15304         since the list will have been rebuilt anyway.  (Bug#4349)
15306 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15308         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15309         (bookmark-bmenu-execute-deletions): Don't save here, as
15310         bookmark-delete will now do so if necessary.
15311         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15312         (Bug#4348)
15314 2009-10-09  Glenn Morris  <rgm@gnu.org>
15316         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15318 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15320         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15321         (bookmark-jump-other-window): Just invoke bookmark-jump with new
15322         argument now, so the two function's behaviors will match.  (Bug#3645)
15324 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
15326         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15327         (tramp-file-name-real-host, tramp-file-name-port):
15328         Apply `save-match-data'.
15330         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15331         case both directories are remote.
15332         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15333         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15335 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15337         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15339 2009-10-07  Glenn Morris  <rgm@gnu.org>
15341         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15342         of concat.
15344 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15346         * files-x.el (read-file-local-variable): Include some
15347         non-user-variables in the completion table (bug#4664).
15349 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
15351         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15352         message.
15354         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15355         (tramp-smb-file-name-handler-alist): Add handler for
15356         `copy-directory', `expand-file-name', `set-file-modes'.
15357         (tramp-smb-handle-copy-directory)
15358         (tramp-smb-handle-expand-file-name)
15359         (tramp-smb-handle-set-file-modes): New defuns.
15360         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15361         (tramp-smb-handle-file-attributes): Simplify check for retrieving
15362         entry.
15363         (tramp-smb-handle-insert-directory): Don't flush the cache.
15364         (tramp-smb-maybe-open-connection): Check for samba client and
15365         server versions.
15367 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
15369         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15370         to not error out of search for "^lisp=" fails.
15372 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15374         * makefile.w32-in (WINS_UPDATES): New macro.
15375         (custom-deps, finder-data, autoloads): Use it.
15377 2009-10-07  Glenn Morris  <rgm@gnu.org>
15379         * Makefile.in (autoloads): Revert previous change.
15380         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15381         the list of preloaded files passed on the command-line, get
15382         it from src/Makefile.
15384         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15385         show the original buffer rather than a random one.
15387 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
15389         * help.el (describe-no-warranty): Place point in a slightly better
15390         position in the GPLv3 text.
15392 2009-10-06  Sam Steingold  <sds@gnu.org>
15394         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15395         the comm attribute is present before calling regexp-quote.
15397 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
15399         * play/animate.el (animate-string): For good effect, make sure
15400         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15402         * play/animate.el (animate-sequence, animate-birthday-present):
15403         * misc.el (butterfly): Don't set `indent-tabs-mode'.
15405 2009-10-06  Glenn Morris  <rgm@gnu.org>
15407         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15409         * emacs-lisp/autoload.el (autoload-excludes): New variable.
15410         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15411         (batch-update-autoloads): Process a string value of autoload-excludes,
15412         set during the build process.
15413         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
15415         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15416         inside with-parsed...  macro so that `v' is defined.
15418         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15419         * progmodes/fortran.el (fortran-end-of-block)
15420         (fortran-beginning-of-block):
15421         Also push mark in the macro case.
15423         * emerge.el (emerge-show-file-name):
15424         * calc/calc.el (calc-quit):
15425         * calc/calc-misc.el (calc-big-or-small):
15426         * calc/calc-graph.el (calc-graph-view):
15427         * calc/calc-ext.el (calc-reset):
15428         * calendar/calendar.el (calendar-basic-setup):
15429         Use window-full-height-p.
15431         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15432         header we don't understand, don't insert another.  (Bug#4624)
15433         If changing mime charset, insert the new one in the right place.
15435 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
15437         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15438         (cal-tex-cursor-month): Correctly increment the end date for diary and
15439         holiday listing.  (Bug#4626)
15441 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15443         * help-fns.el (describe-function-1): Don't burp if the function is not
15444         a symbol.
15446 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
15448         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15449         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15450         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15451         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15453         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15454         (eieio-default-superclass): Reflow docstrings.
15455         (this, class-option-assoc, defclass, eieio-class-un-autoload)
15456         (eieio-unbind-method-implementations, defmethod)
15457         (eieio-validate-slot-value, eieio-validate-class-slot-value)
15458         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15459         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15460         (eieio-slot-originating-class-p, eieio-slot-name-index)
15461         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15462         (constructor, initialize-instance, no-next-method, object-print)
15463         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15464         Fix typos in docstrings.
15465         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15466         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15467         (next-method-p): Doc fixes.
15468         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15469         Fix typos in error messages.
15470         (eieio-defmethod): Fix typo in description of generic method.
15472         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15473         (eieio-persistent-save-interactive, slot-missing):
15474         Fix typos in docstrings.
15475         (eieio-instance-inheritor-slot-boundp): Doc fix.
15477         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15478         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15480         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15481         (eieio-custom-object-apply-reset):
15482         Fix typos in docstrings and error messages.
15484         * emacs-lisp/eieio-datadebug.el (data-debug-show):
15485         Fix typo in docstring.
15487         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15488         (eieio-browse-tree): Doc fix.
15489         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15490         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15491         Fix typos in docstrings.
15493         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15494         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15495         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15496         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15497         Reflow docstrings.
15499 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
15501         * vc-hg.el (log-view-vc-backend): Declare for compiler.
15502         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15503         Set log-view-vc-backend so that diff can work.
15505         * log-view.el (log-view-diff): Use vc-diff-internal instead of
15506         vc-version-diff.
15507         (vc-diff-internal): Autoload this instead of vc-version-diff.
15509 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
15511         * simple.el (eval-expression): Doc fix.
15513         * progmodes/cwarn.el (cwarn-mode): Doc fix.
15515 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
15517         * files.el (directory-files-no-dot-files-regexp): New defconst.
15518         (delete-directory): Use it.
15519         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
15521         * net/tramp.el (tramp-verbose): Fix docstring.
15522         (tramp-methods): Add recursive option to `tramp-copy-args'.
15523         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
15524         "scp1_old", "scp2_old", "rsync", "rsyncc".
15525         (tramp-default-method): Check also for `auth-source-user-or-password'.
15526         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15527         Add handler for `copy-directory'.
15528         (tramp-handle-copy-directory): New defun.
15529         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15530         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15531         Optimize sent command.
15533 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15535         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15536         window if necessary.
15538         * calendar/calendar.el (calendar-basic-setup): Don't call
15539         switch-to-buffer in a dedicated window.
15541 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
15543         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15544         don't do anything related to relocating, just return nil.
15545         (bookmark-error-no-filename): New error.
15546         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15547         bookmark has no file.  Don't even attempt to handle things that
15548         are not files; the whole point of custom handlers is to keep that
15549         knowledge elsewhere anyway.  Tighten some comments.
15550         (bookmark-file-or-variation-thereof): Remove now-unused function.
15551         (bookmark-location): Doc string fix.
15552         (Bug#4250)
15554 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15556         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15557         don't use a file dialog, because they usually don't know how to read
15558         a directory target from the user.  (Bug#4230)
15559         Also, make sure the prompt can display directories as well as files.
15561 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15563         * bookmark.el (bookmark-set, bookmark-buffer-name):
15564         Improve doc strings.  (Bug#1193)
15566 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15568         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15569         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15570         (bookmark-get-annotation, bookmark-set-annotation)
15571         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15572         (bookmark-set-position, bookmark-get-front-context-string)
15573         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15574         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15575         (bookmark-jump-other-window, bookmark-handle-bookmark)
15576         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15577         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15578         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15579         Improve doc strings to say whether bookmark can be a string or
15580         a record or both, and make other consistency and clarity fixes.
15581         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15582         (bookmark-default-annotation-text, bookmark-yank-word)
15583         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15584         (bookmark-import-new-list, bookmark-maybe-rename)
15585         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15586         (bookmark-bmenu-bookmark): Give these doc strings.
15587         (bookmark-bmenu-check-position): Give this a doc string, but also
15588         add a FIXME comment about how the function may be pointless.
15589         (bookmark-default-handler): Rework doc string and change a
15590         parameter name, to clarify that this takes a bookmark record
15591         not a bookmark name.
15592         (bookmark-set): Change a parameter name to indicate its meaning,
15593         and improve the doc string a bit.
15594         (Bug#4188)
15596 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15598         * bookmark.el (bookmark-alist): Document the new `handler' element
15599         in the param alist.
15600         (bookmark-make-record-function): Adjust documentation for above.
15601         (Bug#4193)
15603 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15605         * info.el (Info-bookmark-make-record): Document this function.
15606         (Info-bookmark-jump): Document with a doc string, not just a comment.
15607         (Bug#4203)
15609 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15611         * files.el (copy-directory): New defun.
15613         * dired-aux.el (dired-copy-file-recursive): Use it.
15615 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15617         * files-x.el (modify-dir-local-variable)
15618         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15619         docstrings.
15621         * recentf.el (recentf-unload-function): New function.
15623 2009-10-04  Glenn Morris  <rgm@gnu.org>
15625         * window.el (window-full-height-p): Add doc string.
15627 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15629         * window.el (window-full-height-p): New function.  (Bug#4543)
15631 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15633         * vc.el: Remove commented out code.
15634         (vc-derived-from-dir-mode): Remove, unused.
15635         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15637 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15639         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15640         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15641         there could be recursive loading when `default-directory' is a
15642         remote file name.  (Bug#4614)
15644 2009-10-03  Glenn Morris  <rgm@gnu.org>
15646         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15647         the frame is wide.
15648         (calendar-generate-window): Test for shrinkability rather than width.
15650         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15651         reusing existing buffers, in case we happen to visit two files with the
15652         same basename.  (Bug#4593)
15654 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15656         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15657         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15658         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15659         subdirs of cedet as well.
15660         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15662 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15664         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15665         Obey advertised-signature-table.
15667         * help-fns.el (help-function-arglist): Don't check
15668         advertised-signature-table.
15669         (describe-function-1): Do it here instead so it also applies to subrs.
15671 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15673         * simple.el (start-file-process): Say in the doc-string, that file
15674         handlers might not support pty association, if PROGRAM is nil.
15676         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15677         HOST and USER are strings.  They are nil, when there are
15678         incomplete entries in ~/.netrc, for example.
15679         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15680         root directory ("device busy" error otherwise).
15682         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15683         Flush file properties of created directory.
15685 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15687         * makefile.w32-in (WINS_BASIC): Remove cedet.
15688         (WINS_CEDET): Add cedet.
15689         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15691 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15693         * net/browse-url.el (browse-url): Pass any symbol in
15694         browse-url-browser-function to `apply', since if you've mistakenly put
15695         an unbound symbol then the error is clearer.  (Bug#4531)
15697 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15699         * allout.el (allout-init, allout-back-to-current-heading)
15700         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15701         (allout-ascend, allout-up-current-level, allout-end-of-level)
15702         (allout-previous-visible-heading, allout-forward-current-level)
15703         (allout-backward-current-level, allout-show-children):
15704         * apropos.el (apropos-describe-plist):
15705         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15706         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15707         * completion.el (add-completion, add-permanent-completion):
15708         * descr-text.el (describe-text-category, describe-char):
15709         * desktop.el (desktop-lazy-abort):
15710         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15711         * dired.el (dired-build-subdir-alist):
15712         * ediff.el (ediff-version):
15713         * elide-head.el (elide-head, elide-head-show):
15714         * emerge.el (emerge-version):
15715         * env.el (getenv):
15716         * face-remap.el (variable-pitch-mode):
15717         * faces.el (describe-face):
15718         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15719         (dired-at-point):
15720         * files.el (find-file-existing, auto-save-mode):
15721         * font-lock.el (font-lock-fontify-buffer):
15722         * help-fns.el (describe-function, describe-variable)
15723         (describe-syntax, describe-categories):
15724         * help.el (view-lossage, describe-bindings, describe-key)
15725         (describe-mode):
15726         * hexl.el (hexl-current-address):
15727         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15728         * info.el (Info-goto-emacs-key-command-node):
15729         * log-edit.el (log-edit-insert-cvs-template)
15730         (log-edit-insert-cvs-rcstemplate):
15731         * menu-bar.el (menu-bar-mode):
15732         * mouse.el (mouse-appearance-menu):
15733         * newcomment.el (comment-indent-new-line):
15734         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15735         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15736         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15737         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15738         * recentf.el (recentf-mode):
15739         * savehist.el (savehist-mode, savehist-save):
15740         * shadowfile.el (shadow-copy-files):
15741         * simple.el (kill-ring-save, next-line, previous-line)
15742         (normal-erase-is-backspace-mode):
15743         * strokes.el (strokes-update-window-configuration)
15744         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15745         (strokes-xpm-for-stroke):
15746         * time.el (emacs-uptime, emacs-init-time):
15747         * tutorial.el (tutorial--describe-nonstandard-key)
15748         (tutorial--detailed-help):
15749         * type-break.el (type-break-mode)
15750         (type-break-mode-line-message-mode, type-break-query-mode)
15751         (type-break-guesstimate-keystroke-threshold):
15752         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15753         * version.el (emacs-version):
15754         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15755         * winner.el (winner-mode):
15756         * calendar/timeclock.el (timeclock-in, timeclock-out)
15757         (timeclock-status-string, timeclock-change)
15758         (timeclock-workday-remaining-string)
15759         (timeclock-workday-elapsed-string)
15760         (timeclock-when-to-leave-string):
15761         * calendar/todo-mode.el (todo-add-category):
15762         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15763         * emacs-lisp/autoload.el (update-file-autoloads):
15764         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15765         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15766         (checkdoc-message-text, checkdoc-defun):
15767         * emacs-lisp/debug.el (debugger-list-functions):
15768         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15769         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15770         (eieio-describe-generic):
15771         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15772         * emacs-lisp/shadow.el (list-load-path-shadows):
15773         * emulation/cua-base.el (cua-mode):
15774         * emulation/edt.el (edt-set-scroll-margins):
15775         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15776         (tpu-toggle-regexp, tpu-toggle-search-direction)
15777         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15778         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15779         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15780         (viper-set-parsing-style-toggling-macro)
15781         (viper-set-emacs-state-searchstyle-macros):
15782         * emulation/viper.el (viper-set-hooks):
15783         * eshell/esh-mode.el (eshell-truncate-buffer):
15784         * international/mule-cmds.el (prefer-coding-system)
15785         (describe-input-method, describe-language-environment):
15786         * international/mule-diag.el (list-character-sets)
15787         (describe-character-set, describe-coding-system)
15788         (describe-fontset, list-fontsets, list-input-methods):
15789         * mail/sendmail.el (mail-signature):
15790         * net/ange-ftp.el (ange-ftp-copy-file):
15791         * net/browse-url.el (browse-url):
15792         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15793         * net/quickurl.el (quickurl-add-url):
15794         * net/rcirc.el (names, topic):
15795         * net/xesam.el (xesam-mode):
15796         * play/5x5.el (5x5-new-game):
15797         * play/yow.el (apropos-zippy):
15798         * progmodes/ada-mode.el (ada-mode-version):
15799         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15800         (f90-end-of-block)
15801         (f90-beginning-of-block):
15802         * progmodes/fortran.el (fortran-end-of-block)
15803         (fortran-beginning-of-block):
15804         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15805         * progmodes/python.el (python-describe-symbol, python-shell):
15806         * term/ns-win.el (ns-print-buffer):
15807         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15808         * textmodes/flyspell.el (flyspell-mode-on):
15809         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15810         (pages-directory-for-addresses):
15811         * textmodes/table.el (table-recognize-cell)
15812         (table-query-dimension, table-generate-source)
15813         (table-insert-sequence, table--warn-incompatibility):
15814         * textmodes/tex-mode.el (tex-validate-buffer):
15815         * textmodes/texinfmt.el (texinfmt-version)
15816         (texinfo-format-buffer):
15817         Use `called-interactively-p' instead of `interactive-p'.
15819 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15821         * image-mode.el (image-toggle-display):
15822         * emacs-lisp/elp.el (elp-instrument-function):
15823         * emacs-lisp/advice.el (ad-make-advised-definition):
15824         * emacs-lisp/easy-mmode.el (define-minor-mode):
15825         * net/browse-url.el (browse-url-maybe-new-window):
15826         * progmodes/sh-script.el (sh-learn-buffer-indent):
15827         Pass new argument 'any to `called-interactively-p'.
15829 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15831         * international/uni-bidi.el:
15832         * international/uni-category.el:
15833         * international/uni-combining.el:
15834         * international/uni-comment.el:
15835         * international/uni-decimal.el:
15836         * international/uni-decomposition.el:
15837         * international/uni-digit.el:
15838         * international/uni-lowercase.el:
15839         * international/uni-mirrored.el:
15840         * international/uni-name.el:
15841         * international/uni-numeric.el:
15842         * international/uni-old-name.el:
15843         * international/uni-titlecase.el:
15844         * international/uni-uppercase.el:
15845         Regenerate from Unicode 5.2.0 data.
15847 2009-10-01  Glenn Morris  <rgm@gnu.org>
15849         * Makefile.in (ELCFILES): Regenerate.
15851 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15853         * subr.el (interactive-p): Mark obsolete.
15854         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15855         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15856         advertised-signature-table for subroutines as well.
15858         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15859         (set-advertised-calling-convention): New function.
15860         (make-obsolete, define-obsolete-function-alias)
15861         (make-obsolete-variable, define-obsolete-variable-alias):
15862         Make the optional-ness of `when' obsolete.
15863         (define-obsolete-face-alias): Make `when' non-optional.
15864         * help-fns.el (help-function-arglist):
15865         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15866         Use advertised-signature-table.
15868 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15870         * files.el (delete-directory): New defun.  The original function
15871         in fileio.c has been renamed to `delete-directory-internal'.
15873         * dired.el (dired-delete-file): Call `delete-directory' with
15874         RECURSIVE parameter.
15876         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15877         parameter RECURSIVE.  Implementation is missing.
15879         * net/tramp.el (tramp-handle-make-directory): Flush upper
15880         directory's file properties.
15881         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15882         (tramp-handle-dired-recursive-delete-directory): Flush directory
15883         properties after the remove command only.
15885         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15886         Handle optional parameter RECURSIVE.
15888         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15889         Handle optional parameter RECURSIVE.
15891         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15892         connection timeout.
15893         (tramp-smb-handle-delete-directory): Handle optional parameter
15894         RECURSIVE.
15896 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15898         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15899         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15900         (byte-compile-defmacro): Use backquotes.
15902         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15904         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15905         has no associated file.
15906         (vc-resynch-buffer): Use vc-dir-buffers.
15908 2009-10-01  Glenn Morris  <rgm@gnu.org>
15910         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15911         (chart-file-count):
15912         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15913         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15914         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15915         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15916         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15917         (eieio-copy-parents-into-subclass, make-instance, class-children)
15918         (eieio-generic-form):
15920         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15921         match-data.  (Bug#4555).
15923         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15924         rather than parsing it as a regexp.  This relaxes the layout
15925         requirements and makes errors easier to detect.
15926         (check-declare-verify): Check file is regular.
15927         (check-declare-directory): Doc fix.
15928         * subr.el (declare-function): Doc fix.
15930         * ibuffer.el (ibuffer-format-qualifier):
15931         * isearch.el (hi-lock-regexp-okay):
15932         * calc/calc.el (math-zerop):
15933         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15934         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15935         Remove unused declarations.
15937 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15939         * emacs-lisp/eieio.el (boolean-p): Delete.
15941 2009-09-30  Glenn Morris  <rgm@gnu.org>
15943         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15945         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15946         filename is not a string.
15948 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15950         * files.el (safe-local-eval-forms): Fix typo.
15952 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15954         * vc-hooks.el (vc-dir-buffers): New var.
15955         (vc-state-refresh): New function.
15956         (vc-state): Use it.
15957         (vc-after-save): Always ask the backend to recompute the new state.
15958         Always call vc-dir if necessary, using vc-dir-buffers.
15959         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15960         Use vc-dir-buffers.
15961         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15962         (vc-dir-prepare-status-buffer, vc-dir-update)
15963         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15964         Don't call expand-file-name on default-directory.
15966 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15968         * speedbar.el (speedbar-item-delete):
15969         * calc/calc-prog.el (calc-kbd-if):
15970         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15972         * epa.el (epa-key-list-mode-map):
15973         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15975         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15976         (hs-show-hook): Fix typo in docstring.
15978 2009-09-29  Glenn Morris  <rgm@gnu.org>
15980         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15981         file-name-nondirectory call preventing location of cedet files.
15982         (check-declare-verify): Use literal search rather than re-search.
15983         Add basic defmethod and defclass, and define-overloadable-function.
15985         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15986         Use tramp-compat-file-attributes rather than nonexistent
15987         tramp-compat-handle-file-attributes.
15989         * Makefile.in (lisptagsfiles4): New.
15990         (AUTOGENEL): Add cedet loaddefs files.
15991         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15992         (update-elclist, compile-always, backup-compiled-files)
15993         (bootstrap-clean): Add yet another directory level.
15994         (update-elclist): Use LC_COLLATE rather than COLLATE.
15995         (ELCFILES): Update, via `make update-elclist'.
15997 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15999         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16000         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16001         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16003 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16005         * Makefile.in (lisptagsfiles3): Define.
16006         (TAGS, TAGS-LISP): Use it.
16007         (update-elclist): Add third directory level to look for elc files.
16008         (compile-always): Likewise.
16009         (backup-compiled-files): Likewise.
16010         (bootstrap-clean): Likewise.
16011         (ELCFILES): Update.
16013 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
16015         * Makefile.in (ELCFILES): Add CEDET files.
16017 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
16019         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16021         * net/tramp.el (top): Require tramp-imap.
16023         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16024         Use `tramp-compat-handle-file-attributes'.
16026 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
16028         * net/tramp-imap.el: New package.
16030 2009-09-28  Eric Ludlam  <zappo@gnu.org>
16032         * emacs-lisp/chart.el:
16033         * emacs-lisp/eieio-base.el:
16034         * emacs-lisp/eieio-comp.el:
16035         * emacs-lisp/eieio-custom.el:
16036         * emacs-lisp/eieio-datadebug.el:
16037         * emacs-lisp/eieio-opt.el:
16038         * emacs-lisp/eieio-speedbar.el:
16039         * emacs-lisp/eieio.el: New files.
16041 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16043         * whitespace.el (whitespace-trailing-regexp)
16044         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16045         Fix doc string.
16047 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
16049         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16050         menu.
16052         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16053         menu-bar-ediff-menu.
16055         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16056         define-overloadable-function.
16058         * progmodes/autoconf.el: Provide autoconf as well, so that this
16059         file can be `require'd.
16061         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16063         * emacs-lisp/autoload.el (generated-autoload-feature)
16064         (generated-autoload-load-name): New vars.
16065         (autoload-rubric, autoload-generate-file-autoloads): Use them.
16066         (make-autoload): Recognize define-overloadable-function and
16067         defclass forms (for EIEIO).
16069         * Makefile.in (update-subdirs): Exclude cedet directory.
16071 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
16073         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
16075         * faces.el: Default light-background background for region face to
16076         ns_selection_color under NS.
16078 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
16080         * net/imap-hash.el: New library, see NEWS.
16082         * Makefile.in (ELCFILES): Add imap-hash.el.
16084 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16086         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16087         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16088         * help-macro.el (make-help-screen): Avoid using an ambiguous function
16089         definition where the docstring could be taken for the return value.
16091 2009-09-26  Glenn Morris  <rgm@gnu.org>
16093         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16094         Add option to only show images below a certain size.
16095         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16096         save-excursion calls.
16098 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
16100         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16101         subdirectories) and eieio.
16103 2009-09-26  Alan Mackenzie  <acm@muc.de>
16105         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16106         Correct buggy bracketing.  (Bug#4289)
16108         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16109         character constants (as case labels).  (Bug#4289)
16111 2009-09-25  Juri Linkov  <juri@jurta.org>
16113         * files.el (safe-local-eval-forms): Allow time-stamp in
16114         before-save-hook (Bug#4554).
16116 2009-09-25  Drew Adams  <drew.adams@oracle.com>
16118         * menu-bar.el (list-buffers-directory): Doc fix.
16120 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16122         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16123         Try and avoid copying twice the same paragraph.
16124         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16125         Remove save-excursion.
16126         (log-edit-changelog-entry): Do it here instead.
16128 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
16130         * bs.el (bs--get-file-name): Use `list-buffers-directory'
16131         when available, instead of hardcoding mode names.  Doc fix.
16133         * menu-bar.el (list-buffers-directory): Add docstring.
16134         Make automatically buffer-local.
16136         * dired.el (dired-mode):
16137         * files.el (cd-absolute):
16138         * pcvs.el (cvs-temp-buffer):
16139         * pcvs-util.el (cvs-get-buffer-create):
16140         * shell.el (shell-mode):
16141         * vc-dir.el (vc-dir-mode):
16142         Don't make `list-buffers-directory' buffer local.
16144 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
16146         * comint.el (comint-exec, comint-run, make-comint):
16147         Doc fixes (Bug#4542).
16149 2009-09-25  Glenn Morris  <rgm@gnu.org>
16151         * mail/rmailmm.el (rmail-mime): New custom group.
16152         Move all defcustoms in this file into this group.
16153         (rmail-mime-media-type-handlers-alist): Revert previous change.
16154         (rmail-mime-show-images): New option.
16155         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16156         references to it, since it wasn't actually used for anything.
16157         (rmail-mime-insert-image): New function.
16158         (rmail-mime-image): Use rmail-mime-insert-image.
16159         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16160         obey the value of `rmail-mime-show-images' option.  Print the size of
16161         attachments.
16163 2009-09-25  David Engster  <deng@randomsample.de>
16165         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
16167 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16169         * whitespace.el: Does not highlight trailing spaces While point is
16170         at end of line.  Does not highligt spaces at beginning of buffer
16171         while point is at beginning of buffer.  Does not highlight spaces
16172         at end of buffer while point is at end of buffer.  (Bug#4177)
16173         New version 12.0.
16174         (whitespace-display-mappings): Adjust initialization.
16175         (whitespace-point, whitespace-font-lock-refontify): New vars.
16176         (whitespace-color-on, whitespace-color-off): Adjust code.
16177         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16178         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16179         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16181 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
16183         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16185         * textmodes/sgml-mode.el: Remove xml-mode alias.
16187         * files.el (auto-mode-alist, conf-mode-maybe)
16188         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16190 2009-09-24  Alan Mackenzie  <acm@muc.de>
16192         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16193         c-forward-conditionals, but it doesn't move point and doesn't set
16194         the mark.
16195         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16196         (c-down-conditional-with-else, c-backward-conditional)
16197         (c-forward-conditional): Refactor to use c-scan-conditionals.
16199 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16201         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16202         (help-default-arg-highlight): Remove.
16203         (help-highlight-arg): New function.
16204         (help-do-arg-highlight): Use it.
16205         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
16207 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16209         * term.el (term-set-scroll-region, term-handle-ansi-escape):
16210         Undo last change, which didn't fix the problem and introduced others.
16212 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
16214         * progmodes/gdb-mi.el: Don't require speedbar.
16215         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16217 2009-09-24  Glenn Morris  <rgm@gnu.org>
16219         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16221         * term/ns-win.el (ns-reg-to-script): Define for compiler.
16223         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16224         there is no newline after the final mime boundary.  (Bug#4539)
16225         Move markers on insertion so that any buttons inserted don't end up in
16226         the next part of a multipart message.
16227         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
16228         (rmail-mime-bulk-handler): Optionally handle images.
16229         (rmail-mime-image): New button action.
16230         (rmail-mime-image-handler): New function.
16231         (rmail-mime-mode): New mode.
16232         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
16234 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16236         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16237         than just dropping elements from it (bug#4504).
16239         * term.el (term-set-scroll-region): Don't move cursor any more.
16240         (term-handle-ansi-escape): Call term-goto here instead.
16241         Suggested by Ivan Kanis <apple@kanis.eu>.
16243         * term.el: Require CL.
16244         (term-ansi-reset): New function.
16245         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16246         (term-handle-colors-array): Simplify.
16248 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16250         * allout.el (allout-overlay-interior-modification-handler)
16251         (allout-obtain-passphrase):
16252         * epa-file.el (epa-file-write-region):
16253         * ps-print.el (ps-begin-job):
16254         * vc-hooks.el (vc-toggle-read-only):
16255         * vc-rcs.el (vc-rcs-rollback):
16256         * vc-sccs.el (vc-sccs-rollback):
16257         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16258         (vc-version-diff, vc-revert, vc-rollback):
16259         * wdired.el (wdired-check-kill-buffer):
16260         * emacs-lisp/authors.el (authors):
16261         * net/socks.el (socks-open-connection):
16262         * net/zeroconf.el (zeroconf-service-add-hook):
16263         * obsolete/vc-mcvs.el (vc-mcvs-register):
16264         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16265         (gdb-select-frame):
16266         * progmodes/grep.el (lgrep, rgrep):
16267         * progmodes/idlw-help.el (idlwave-help-check-locations)
16268         (idlwave-help-html-link, idlwave-help-assistant-open-link):
16269         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16270         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16271         (reftex-toc-rename-label): Fix typos in error messages.
16273         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16274         (dired-copy-how-to-fn): Doc fix.
16275         (dired-files-attributes, dired-read-shell-command):
16276         Fix typos in docstrings.
16278         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16279         (dired-x-find-file-other-window): Reflow docstrings.
16280         (dired-omit-marker-char, dired-read-shell-command)
16281         (dired-x-submit-report): Fix typos in docstrings.
16283         * shell.el (shell-mode-hook):
16284         * view.el (View-scroll-line-forward):
16285         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16286         Fix typos in docstrings.
16288         * net/dig.el (dig-invoke): Fix typo in docstring.
16289         (query-dig): Reflow docstring.
16291         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16292         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16293         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16294         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16295         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16296         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16297         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16298         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16299         (idlwave-completion-map, idlwave-current-indent)
16300         (idlwave-custom-ampersand-surround, idlwave-customize)
16301         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16302         (idlwave-define-abbrev, idlwave-determine-class-special)
16303         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16304         (idlwave-end-block-reg, idlwave-end-of-statement)
16305         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16306         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16307         (idlwave-explicit-class-listed, idlwave-file-header)
16308         (idlwave-fill-paragraph, idlwave-find-class-definition)
16309         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16310         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16311         (idlwave-in-quote, idlwave-indent-action-table)
16312         (idlwave-indent-expand-table, idlwave-indent-line)
16313         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16314         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16315         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16316         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16317         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16318         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16319         (idlwave-outlawed-buffers, idlwave-popup-select)
16320         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16321         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16322         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16323         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16324         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16325         (idlwave-statement-type, idlwave-struct-skip)
16326         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16327         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16328         (idlwave-what-module-find-class): Fix typos in docstrings.
16329         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16330         (idlwave-calculate-cont-indent, idlwave-expand-equal)
16331         (idlwave-find-module, idlwave-find-structure-definition)
16332         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16333         (idlwave-list-load-path-shadows, idlwave-next-statement)
16334         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16335         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16336         (idlwave-template): Reflow docstrings.
16338         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16339         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16340         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16341         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16342         (idlwave-shell-display-line, idlwave-shell-display-wframe)
16343         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16344         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16345         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16346         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16347         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16348         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16349         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16350         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16351         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16352         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16353         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16354         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16355         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16356         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16357         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16358         Fix typos in docstrings.
16359         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16360         (idlwave-shell-hide-output, idlwave-shell-mode)
16361         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16362         Reflow docstrings.
16364         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16366 2009-09-24  Ivan Kanis  <apple@kanis.eu>
16368         * term.el (term-bold-attribute): New var.
16369         (term-handle-colors-array): Use it.
16371 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
16373         * progmodes/gdb-mi.el (gdb-version): New variable.
16374         (gdb-non-stop-handler): Set gdb-version.
16375         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16376         Condition "--thread" option on gdb-version.
16377         (gdb-invalidate-threads): Remove unused argument.
16379 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16381         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16382         to looking-back to avoid ridiculous slow down in large files (bug#4511).
16384 2009-09-23  Glenn Morris  <rgm@gnu.org>
16386         * mail/rmail.el (rmail-reply): Don't try to add a References header when
16387         replying to mail without References or Message-Id.  (Bug#4525)
16389 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
16391         * term/ns-win.el (ns-reg-to-script): New variable.
16393 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
16395         * epg.el (epg-wait-for-status): Preserve existing 'error results.
16397 2009-09-22  Sam Steingold  <sds@gnu.org>
16399         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16400         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16401         to 1 because hg returns status 1 when nothing is found.
16402         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16404 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16406         * textmodes/fill.el: Convert to utf-8 encoding.
16407         (fill-french-nobreak-p): Remove redundant » and « inherited from our
16408         pre-Unicode days.
16410         * add-log.el (change-log-fill-forward-paragraph): New function.
16411         (change-log-mode): Use it so fill-region DTRT.
16412         Set fill-indent-according-to-mode here rather than in
16413         change-log-fill-paragraph.
16414         (change-log-fill-paragraph): Remove.
16416 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
16418         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16419         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
16421 2009-09-22  Glenn Morris  <rgm@gnu.org>
16423         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16424         the scroll-bar scroll the calendar window rather than the buffer.
16426         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16427         commands that move point (as opposed to scrolling).
16429         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16431         * emacs-lisp/elint.el (elint): New custom group.
16432         (elint-log-buffer): Make it a defcustom.
16433         (elint-scan-preloaded, elint-ignored-warnings)
16434         (elint-directory-skip-re): New options.
16435         (elint-builtin-variables): Doc fix.
16436         (elint-preloaded-env): New variable.
16437         (elint-unknown-builtin-args): Add an entry for encode-time.
16438         (elint-extra-errors): Make it a variable rather than a constant.
16439         (elint-preloaded-skip-re): New constant.
16440         (elint-directory): Skip files matching elint-directory-skip-re.
16441         (elint-features): New variable, local to linted buffers.
16442         (elint-update-env): Initialize elint-features.  Possibly add
16443         elint-preloaded-env to the buffer's environment.
16444         (elint-get-top-forms): Bind elint-current-pos, for log messages.
16445         Skip quoted forms.
16446         (elint-init-form): New function, extracted from elint-init-env.
16447         Make non-list forms a warning rather than an error.
16448         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
16449         easy-menu-define, put that adds an error-condition, and provide.
16450         When requiring cl, also require cl-macs.  Really require cl, to handle
16451         some cl macros.  Store required libraries in the list elint-features,
16452         so as not to re-load them.  Treat cc-require like require.
16453         (elint-init-env): Call elint-init-form to do the work.
16454         Handle eval-and-compile and such like.
16455         (elint-add-required-env): Do not clear messages.
16456         (elint-special-forms): Add handlers for function, defalias, if, when,
16457         unless, and, or.
16458         (elint-form): Add optional argument to ignore elint-special-forms,
16459         useful to prevent recursive calls from handlers.  Doc fix.
16460         Respect elint-ignored-warnings.
16461         (elint-form): Respect elint-ignored-warnings.
16462         (elint-bound-variable, elint-bound-function): New variables.
16463         (elint-unbound-variable): Respect elint-bound-variable.
16464         (elint-get-args): Respect elint-bound-function.
16465         (elint-check-cond-form): Add some simple handling for (f)boundp and
16466         featurep tests.
16467         (elint-check-defalias-form): New handler.
16468         (elint-check-let-form): Make an empty let a warning rather than an
16469         error.
16470         (elint-check-setq-form): Make an empty setq a warning rather than an
16471         error.  Respect elint-ignored-warnings.
16472         (elint-check-defvar-form): Accept null doc-strings.
16473         (elint-check-conditional-form): New handler.  Does some simple-minded
16474         checking of featurep and (f)boundp tests.
16475         (elint-put-function-args): New function.
16476         (elint-initialize): Use elint-scan-doc-file rather than
16477         elint-find-builtin-variables.  Use elint-put-function-args.
16478         Possibly scan preloaded-file-list.
16479         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16480         extend to handle functions as well.
16482 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
16484         * linum.el (linum-delete-overlays, linum-update-window):
16485         Do not modify the right margin.  (Bug#3971)
16487 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
16489         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16490         Use nxml-mode instead of xml-mode.
16492 2009-09-21  Kevin Ryde  <user42@zip.com.au>
16494         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
16496 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16498         * net/dig.el (dig-mode): Use define-derived-mode.
16500 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
16502         * vc-dispatcher.el (vc-do-command): Return the process object in
16503         the asynchronous case.  Use when instead of if.  Do not run
16504         vc-exec-after to display a message if not enabled.  (Bug#4463)
16506         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16507         properties to the stash strings.
16508         (vc-git-stash-list): Return a list of strings.
16509         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16510         (vc-git-stash-show-at-point): New functions.
16511         (vc-git-stash-map): New keymap.
16513         * register.el (ctl-x-r-map): Define the keys here instead of
16514         using autoload.
16516 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
16518         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16519         list, to workaround performance problem (bug#4485).
16521 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
16523         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16525 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
16527         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16528         Document that this option is not recommended to use.
16530 2009-09-19  Glenn Morris  <rgm@gnu.org>
16532         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16533         variable `var'.
16535         * calc/calc-alg.el (var):
16536         * calc/calcalg2.el (var): Define for compiler.
16538 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
16540         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16541         Doc fix (Bug#3932).
16543         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16545         * time-stamp.el (time-stamp-month-dd-yyyy)
16546         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16547         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16548         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16549         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16550         Remove functions that have been obsolete since 1995 (Bug#4436).
16552         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16553         indent buffer only if called interactively (Bug#4452).
16555 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
16556             Eli Zaretskii  <eliz@gnu.org>
16558         This fixes bug#4197 (merged to bug#865, though not identical).
16559         * server.el (server-auth-dir): Add docstring note about FAT32.
16560         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16561         but warn against using them.
16563 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
16565         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16566         older GDB where there is no has_more field.
16568 2009-09-19  Glenn Morris  <rgm@gnu.org>
16570         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16572 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
16574         * files.el (auto-mode-alist): Change default for XML files to nXML
16575         mode (Bug#4169).
16577 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
16579         * server.el (server-ensure-safe-dir): Pass 'integer
16580         to `file-attributes', as suggested.
16582 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16584         * dired-aux.el (dired-query-alist): Remove spurious backslash.
16585         (dired-query): Use read-key.
16587 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
16589         * cus-start.el (ns-use-qd-smoothing): Remove.
16591 2009-09-18  Glenn Morris  <rgm@gnu.org>
16593         * allout.el (top-level): Remove unnecessary progn.
16595         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16597         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16598         definition of abbrev table.
16600         * speedbar.el (speedbar-track-mouse):
16601         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16602         * net/eudc.el (eudc-expand-inline):
16603         * net/newst-backend.el (newsticker--cache-read-feed):
16604         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16605         condition-case handlers.
16607 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16609         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16610         (gdb-var-list): Add an element for has_more field.
16611         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16612         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16613         (gdb-var-update-handler-1): Parse output of dynamic variable
16614         objects (STL containers).
16615         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16616         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16618         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16619         gdb-var-list.
16620         (gud-speedbar-buttons): Make node expandable if expression "has more"
16621         children.
16623 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16625         * startup.el (emacs-quick-startup): Remove variable and all uses.
16626         (command-line): Set `inhibit-x-resources' instead.
16627         (command-line-1): Use `inhibit-x-resources' instead.
16629 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16631         * subr.el: Fix last change to avoid using the `unless' macro,
16632         which breaks bootstrapping.
16634 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16636         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16637         extended definitions, in case we reload subr.el after having
16638         loaded CL.
16639         (eval-next-after-load): Mark as obsolete.
16641 2009-09-17  Juri Linkov  <juri@jurta.org>
16643         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16644         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16645         (menu-bar-showhide-menu, menu-bar-tools-menu)
16646         (menu-bar-describe-menu, menu-bar-help-menu)
16647         (minibuffer-local-completion-map, minibuffer-local-map):
16648         Fix list quoting.
16650 2009-09-17  Glenn Morris  <rgm@gnu.org>
16652         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16653         arguments, whether or not it has a handler.
16655         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16657         * simple.el (hard-newline): Give it a doc-string.
16659         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16660         (lisp-mode-syntax-table): Give them doc-strings.
16662 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16664         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16665         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16666         (menu-bar-options-menu, menu-bar-showhide-menu)
16667         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16668         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16669         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16670         (menu-bar-options-menu, menu-bar-tools-menu)
16671         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16672         (menu-bar-help-menu):
16673         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16674         string arguments.
16676         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16677         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16678         calls for the menu names and :help.
16680 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16682         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16683         to :minor-mode-function (bug#4455).
16685 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16687         * startup.el (command-line): Initialize the window-system after
16688         processing the command-line.
16690         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16691         page-delimiter matches the empty string.
16693 2009-09-16  Glenn Morris  <rgm@gnu.org>
16695         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16696         byte-compile-not-obsolete-var.  It's a list now.
16697         (byte-compile-not-obsolete-funcs): New variable.
16698         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16699         byte-compile-not-obsolete-funcs.
16700         (byte-compile-variable-ref, byte-compile-defvar): Update for
16701         byte-compile-not-obsolete-vars name-change and list nature.
16702         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16703         and variables behind (f)boundp tests.
16704         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16706 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16708         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16710 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16712         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16713         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16714         Don't autoload.
16716 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16718         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16719         the virtual-buffers, use the name of the buffer specified by
16720         find-file-noselect, as the match may be a symlink.  (This was a
16721         problem if the target and the symlink had different names.)
16723 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16725         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16727         * desktop.el (desktop-path): Check user-emacs-directory.
16729         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16731         * loadup.el: Use after-load-functions to GC after loading each file.
16732         Remove the explicit GC calls that used to be sprinkled around.
16734         * subr.el (after-load-functions): New hook.
16735         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16736         `obsolete' packages, rather than painfully extracting the relevant
16737         directory name.
16739 2009-09-15  Glenn Morris  <rgm@gnu.org>
16741         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16742         free variable `doc'.
16744         * dired.el (dired-mode-map): Add menu entry for async shell command.
16746         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16747         variables, also consider the .elc files, since the .el files are
16748         normally gzipped (subsequent code locates the .el.gz from the .elc).
16750         * calc/calc-prog.el (arglist): Define for compiler.
16752         * calendar/diary-lib.el (diary-display-function): Change the default to
16753         fancy display.
16754         (body): Define for compiler.
16756         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16757         (byte-compile-file-form, byte-compile-lambda)
16758         (byte-compile-top-level-body, byte-compile-form)
16759         (byte-compile-variable-ref, byte-compile-setq)
16760         (byte-compile-setq-default, byte-compile-body)
16761         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16762         (batch-byte-compile): Give some more local variables with common names
16763         a "bytecomp-" prefix to avoid masking warnings about free variables.
16765         * startup.el (command-line-1): Give local variables with common names a
16766         distinguishing prefix, so as not to hide free variable warnings during
16767         bootstrap.
16769         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16770         clever and add a suffix to make a unique name, just let the user decide
16771         whether or not to overwrite it.  If the input is a directory, write the
16772         default filename to that directory.  (Bug#4388)
16773         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16774         is a filename-as-a-directory.
16776 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16778         * textmodes/page.el (what-page): Don't move to beginning of line.
16779         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16781 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16783         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16785 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16787         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16788         * help.el (help-for-help-internal): Add purecopy calls for text.
16790         * vc.el (top): print-log method now takes an optional SHORTLOG
16791         argument.  Add a new method: root.
16792         (vc-root-diff, vc-print-root-log): New functions.
16793         (vc-log-short-style): New variable.
16794         (vc-print-log-internal): Add support for showing short logs.
16796         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16797         vc-print-root-log and vc-print-root-diff.
16799         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16800         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16801         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16802         short logs.
16804         * vc-cvs.el (vc-cvs-print-log):
16805         * vc-mtn.el (vc-mtn-print-log):
16806         * vc-rcs.el (vc-rcs-print-log):
16807         * vc-sccs.el (vc-sccs-print-log):
16808         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16809         that is ignored for now.
16811         * vc-mtn.el (vc-mtn-annotate-command):
16812         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16814 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16816         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16817         to function-key-map, and give them ascii-character property.
16818         * term/x-win.el (x-alternatives-map):
16819         * term/ns-win.el (ns-alternatives-map):
16820         * term/internal.el (msdos-key-remapping-map):
16821         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16823 2009-09-14  Glenn Morris  <rgm@gnu.org>
16825         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16826         temp-buffers (2009-09-12).
16828 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16830         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16831         the new read-key function.
16833 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16835         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16836         is defined (Bug#4405).
16838 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16840         * recentf.el (recentf-cleanup): Use a hash table to find
16841         duplicates (Bug#4407).
16843 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16845         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16846         kp-0 to ascii equivalents (Bug#4325).
16848 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16850         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16852         * eshell/em-hist.el:
16853         * eshell/em-dirs.el (eshell-complete-user-reference):
16854         Declare pcomplete functions and variables to avoid compiler warnings.
16856 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16858         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16859         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16860         * eshell/em-alias.el (eshell-aliases-file):
16861         * eshell/em-hist.el (eshell-history-file-name):
16862         Use expand-file-name instead of concat to make file names (Bug#4308).
16864 2009-09-13  Glenn Morris  <rgm@gnu.org>
16866         * ediff-merg.el (ediff-do-merge):
16867         * filesets.el (filesets-run-cmd):
16868         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16869         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16870         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16871         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16872         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16873         Replace empty `let's with `progn'.
16875 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16877         * mail/sendmail.el (send-mail-function):
16878         * tooltip.el (tooltip-mode):
16879         * simple.el (transient-mark-mode):
16880         * rfn-eshadow.el (file-name-shadow-mode):
16881         * frame.el (blink-cursor-mode):
16882         * font-core.el (global-font-lock-mode):
16883         * files.el (temporary-file-directory)
16884         (small-temporary-file-directory, auto-save-file-name-transforms):
16885         * epa-hook.el (auto-encryption-mode):
16886         * composite.el (global-auto-composition-mode):
16887         Use custom-initialize-delay.
16888         * startup.el (command-line): Don't explicitly call
16889         custom-reevaluate-setting for all the above vars.
16890         * custom.el (custom-initialize-safe-set)
16891         (custom-initialize-safe-default): Delete.
16893 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16895         * term/x-win.el (x-initialize-window-system):
16896         * term/w32-win.el (w32-initialize-window-system):
16897         * term/ns-win.el (ns-initialize-window-system): Don't call
16898         mouse-wheel-mode since it's enabled globally by default already.
16900         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16901         actually define the variable, but only silences the byte-compiler.
16902         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16903         before looking it up.
16904         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16905         is changed.
16907 2009-09-12  Glenn Morris  <rgm@gnu.org>
16909         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16910         1000.
16911         (elint-add-required-env): Don't beep on error.
16912         (elint-forms): In case of error, return ENV unchanged.
16913         (elint-init-env): Skip non-list forms.
16914         (elint-log): Handle unknown file positions.
16916 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16918         * epg.el (epg-make-context): Add autoload cookie.
16919         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16920         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16921         (epg-verify-string, epg-start-sign, epg-sign-file)
16922         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16923         (epg-encrypt-string, epg-start-export-keys)
16924         (epg-export-keys-to-file, epg-export-keys-to-string)
16925         (epg-start-import-keys, epg-import-keys-from-file)
16926         (epg-import-keys-from-string, epg-start-receive-keys)
16927         (epg-receive-keys, epg-import-keys-from-server)
16928         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16929         (epg-sign-keys, epg-start-generate-key)
16930         (epg-generate-key-from-file, epg-generate-key-from-string):
16931         Remove autoload cookie.
16933 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16935         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16936         reevaluation of trash-directory.
16938         * mwheel.el: Fix last change.
16939         (mouse-wheel-mode): New defvar.
16940         (mouse-wheel-mode): Remove autoload cookie.
16942 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16944         * mwheel.el (mwheel-installed-bindings): New var.
16945         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16946         the bindings we set last time.  Use custom-initialize-delay.
16947         * loadup.el: Load mwheel after term/*-win.el.
16948         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16949         and mouse-wheel-up-event now that their first evaluation is done
16950         sufficiently late to be correct.
16952         * startup.el (tutorial-directory): Make it a defcustom.
16953         Use custom-initialize-delay rather than eval-at-startup to set it.
16954         * image.el (image-load-path): Make it a defcustom.
16955         Use custom-initialize-delay rather than eval-at-startup to set it.
16956         * subr.el (eval-at-startup): Remove.
16957         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16959         * subr.el (do-after-load-evaluation): Warn the user after loading an
16960         obsolete package.
16962 2009-09-12  Glenn Morris  <rgm@gnu.org>
16964         * proced.el (proced-mark-alt): Remove alias.
16965         (proced-mode-map): Remove proced-mark-alt.
16967         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16968         Elint file and directory.  Remove initialization entry.
16970         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16971         commands.
16972         (elint-current-buffer): Set mode-line-process.
16973         (elint-init-env): Handle define-derived-mode.
16974         Fix declare-function with unspecified arglist.  Guard against odd
16975         defalias statements (eg iso-insert's 8859-1-map).
16976         (elint-add-required-env): Use a temp buffer.
16977         (elint-form): Just print the function/macro name, not the whole form.
16978         Return env unchanged if we fail to parse a macro.
16979         (elint-forms): Guard against parse errors.
16980         (elint-output): New function, to handle batch mode.
16981         (elint-log-message): Add optional argument.  Use elint-output.
16982         (elint-set-mode-line): New function.
16984 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16986         * emacs-lisp/elp.el (elp-not-profilable): Add more
16987         functions (Bug#4233).
16989 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16991         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16992         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16994 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16996         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16997         (gdb-var-list-children): Use json parsing.
16999 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
17001         * progmodes/js.el (js--proper-indentation): Handle the case where
17002         char-before is null.  Reported by Deniz Dogan.
17004 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17006         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17008 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
17010         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17011         (epg-digest-algorithm-alist): Add SHA224.
17012         (epg-context-set-passphrase-callback)
17013         (epg-context-set-progress-callback): Add description about
17014         callback function.
17016 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17018         * custom.el (custom-delayed-init-variables): New var.
17019         (custom-initialize-delay): New function.
17020         * startup.el (command-line): "Re"evaluate all vars in
17021         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
17022         explicitly any more.
17023         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17024         to avoid creating a ~/.emacs.d at build-time (bug#4347).
17026         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17028 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17030         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17031         (gdb-var-update-handler): Use json parsing.
17033 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17035         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17036         decode annotated text, regardless of language environment.  (Bug#2741)
17038 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17040         * Makefile.in (autoloads): Make rmail.el writable as well.
17042 2009-09-11  Glenn Morris  <rgm@gnu.org>
17044         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17045         loaddefs.el.
17046         * dired.el: Regenerate with extracted autoloads.
17047         * Makefile.in (autoloads): Make dired.el writable.
17049         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17050         * ibuffer.el: Regenerate with extracted autoloads.
17051         * Makefile.in (autoloads): Make ibuffer.el writable.
17053         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17054         * version.el (emacs-copyright, emacs-major-version)
17055         (emacs-minor-version): Reformat doc-strings for make-docfile.
17057         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17058         functions and variables, since they must be stuff specific to some other
17059         platform.
17060         (apropos-print): Make mouse-click message less specific about button.
17062         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17063         that records where a macro was defined.
17064         * help-fns.el (describe-function-1): Mention if a function has a
17065         compiler-macro.
17066         * help-mode.el (help-function-cmacro): New button.
17068         * locate.el (top-level): Always require dired.
17069         (locate-mode-map): Initialize inside the defvar.
17071         * net/ange-ftp.el (dired-compress-file): Declare.
17072         (ange-ftp-dired-compress-file): Add doc string.
17074         * term/ns-win.el (x-display-name, x-setup-function-keys):
17075         Unify doc-strings with X versions.
17077 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17079         * emulation/crisp.el (crisp-mode-map): Move initialization
17080         into declaration.
17081         (crisp-mode): Use define-minor-mode.
17083         * progmodes/xscheme.el (xscheme-evaluation-commands):
17084         Put a :advertised-binding property rather than using
17085         advertised-xscheme-send-previous-expression.
17086         (advertised-xscheme-send-previous-expression): Declare obsolete.
17087         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17088         `advertised-undo'.
17089         (crisp-mode): Add corresponding bindings to
17090         undo's :advertised-binding instead.
17091         * dired.el (dired-mode-map): Put a :advertised-binding property rather
17092         than using dired-advertised-find-file.
17093         (dired-advertised-find-file):
17094         * simple.el (advertised-undo):
17095         * wid-edit.el (advertised-widget-backward): Declare obsolete.
17096         (widget-keymap): Put a :advertised-binding property rather
17097         than using advertised-widget-backward.
17098         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17099         than using advertised-undo.
17100         * tutorial.el (tutorial--default-keys): Adjust accordingly.
17102 2009-09-10  Simon South  <ssouth@slowcomputing.org>
17104         * progmodes/delphi.el (delphi-tab): Indent region when Transient
17105         Mark mode is enabled and region is active; otherwise indent or
17106         insert TAB as usual.
17107         (delphi-mode): Update description of TAB-key binding.
17109 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * subr.el (define-key-rebound-commands): Mark obsolete.
17112         * startup.el (precompute-menubar-bindings): Remove.
17113         (normal-top-level): Remove obsolete code that tried to precompute
17114         menubar bindings.
17115         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17116         define-key-rebound-commands and precompute-menubar-bindings.
17118 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
17120         * net/imap.el (imap-interactive-login): Better messages.
17121         (imap-open): Fix bug with renamed buffer on reconnect.
17122         (imap-authenticate): Add buffer-local imap-last-authenticator variable
17123         for easier debugging and cleaner code.  On successful (guessed based on
17124         server capabilities) secondary authentication, set imap-state
17125         correctly.
17126         (imap-last-authenticator): Define imap-last-authenticator as a variable
17127         to avoid warnings.
17129 2009-09-10  Glenn Morris  <rgm@gnu.org>
17131         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17133         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17134         (byte-compile-file-form-autoload): Don't warn about unknown functions
17135         where the autoload statement comes after the use.
17136         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17137         that any handlers inside the body (eg require) are in turn respected.
17139         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17140         effects.
17142         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17143         and syntax and abbrev tables basic docs, if they don't have any.
17145         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17147         * international/mule-cmds.el (top-level): Require cl when compiling.
17148         (view-hello-file): Use default-value rather than
17149         default-enable-multibyte-characters.
17151         * progmodes/fortran.el: Move all safe and risky properties into the
17152         defcustoms.
17154         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17155         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17156         * mail/undigest.el:
17157         Put autoloads in rmail.el rather than loaddefs.el.
17158         * mail/rmail.el: Regenerate with extracted autoloads.
17160         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17161         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17163 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
17165         Reported in thread for Bug#4375.
17166         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17167         "-data-evaluate-expression" instead of print.
17168         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17169         (gdb-tooltip-print): Parse output from above MI command.
17170         (gdb): Revert 2009-08-11 change.  User should detach inferior
17171         manually.
17173         Remove the word "separate" from IO functions as inferior
17174         output is now never displayed in the GUD buffer.
17176 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
17178         * startup.el (command-line-normalize-file-name): On Windows and
17179         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17181 2009-09-10  Juri Linkov  <juri@jurta.org>
17183         * isearch.el (isearch-text-char-description): Propertize escape
17184         character sequences with the `escape-glyph' face.  (Bug#4344)
17186         * simple.el (shell-command): Set asynchronous process filter to
17187         `comint-output-filter'.  (Bug#4343)
17189         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17190         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
17191         the list.  Move "asm" to the bottom.
17192         (grep-find-ignored-directories): Add `choice' with nil value
17193         to empty the list easily.
17194         (grep-find-ignored-files): New option.
17195         (grep-files-history): Set to nil by default instead of '("ch" "el").
17196         (grep-compute-defaults): Add "<X>" to `grep-template'.
17197         (grep-read-files): Bind new local variables `default-alias' and
17198         `default-extension'.  Use a list of default values for the file prompt.
17199         (lgrep): Add `--exclude=' command line options composed from
17200         `grep-find-ignored-files'.
17201         (rgrep): Add `-name' command line options composed from
17202         `grep-find-ignored-files'.  (Bug#4301)
17204 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17206         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17207         (bug#4368).
17209 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
17211         * calendar/time-date.el (autoload):
17212         Expand define-obsolete-function-alias into defalias and make-obsolete
17213         for old Emacsen that Gnus supports.
17214         (with-no-warnings): Define it for old Emacsen.
17215         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17216         is available.
17217         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17218         float-time is available; suppress compile warning for time-to-seconds.
17220 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
17222         * net/imap.el (imap-message-map): Docstring fix.
17224 2009-09-09  Glenn Morris  <rgm@gnu.org>
17226         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17227         line numbers too.  (Bug#4374)
17229 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17231         * smerge-mode.el (smerge-remove-props, smerge-refine):
17232         Use with-silent-modifications (bug#4342).
17234         * subr.el (with-silent-modifications): New macro.
17236 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
17238         * files.el (top-level): Require `cl' when compiling.
17240 2009-09-07  Glenn Morris  <rgm@gnu.org>
17242         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17244         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17245         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
17247 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
17249         * vc-git.el (vc-git-annotate-command): Use separator to parse
17250         arguments correctly.
17252 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
17254         * proced.el (proced-mode): Doc fix.
17256 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
17258         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17259         lstat fails.
17260         (tramp-do-file-attributes-with-ls): Check for file existence at
17261         remote end.
17262         (tramp-do-file-attributes-with-stat): Likewise.
17263         (tramp-convert-file-attributes): Return nil when attr is nil.
17265 2009-09-05  Glenn Morris  <rgm@gnu.org>
17267         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17268         properties to this button.
17269         (diary-fancy-display): Don't extend the button to the final newline.
17270         (diary-fancy-display-mode): Continue to define "q" as a local key.
17272         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17273         efficient.
17275         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17277         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17278         (byte-compile-dest-file-function): New option.
17279         (byte-compile-dest-file): Doc fix.
17280         Obey byte-compile-dest-file-function.
17281         (byte-compile-cl-file-p): New function.
17282         (byte-compile-eval): Only suppress noruntime warnings about cl functions
17283         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
17284         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17285         than for file being previously loaded.
17286         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17287         (byte-compile-file-form-require): Handle the case where requiring a file
17288         indirectly causes CL to be loaded.
17290 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17292         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17293         before killing the old buffer, since by the time `kill-buffer' is
17294         run so many buffer variables have been set to nil that it may not
17295         behave as expected.  (Bug#4061)
17297 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17299         * files.el (find-alternate-file): If the old buffer is modified
17300         and visiting a file, behave similarly to `kill-buffer' when
17301         killing it, thus reverting to the pre-1.878 behavior; see
17302         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17303         for discussion.  Also, consult `buffer-file-name' as a variable
17304         not as a function, for consistency with the rest of the code.
17306 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
17308         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17309         also when adding a new directory.
17311         * net/tramp-compat.el (tramp-compat-line-beginning-position):
17312         New defun.
17314 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17316         * files.el (locate-file-completion-table): Make it provide boundary
17317         information, so partial-completion works better.
17319 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
17321         * mail/footnote.el (Footnote-text-under-cursor):
17322         Check footnote-text-marker-alist before using it (bug#4324).
17324 2009-09-04  Glenn Morris  <rgm@gnu.org>
17326         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17327         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17328         * play/solitaire.el, play/tetris.el:
17329         Remove leading * from defcustom and defface docs.
17331         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17332         necessary.
17333         (diary-fancy-overriding-map): New variable.
17334         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17335         Use view-mode.
17337         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17338         goto-line.
17340 2009-09-03  Glenn Morris  <rgm@gnu.org>
17342         * arc-mode.el (archive-mode):
17343         * dos-fns.el (set-default-process-coding-system):
17344         * man.el (Man-getpage-in-background):
17345         * menu-bar.el (menu-bar-describe-menu):
17346         * server.el (server-process-filter):
17347         * startup.el (command-line):
17348         * tar-mode.el (tar-header-block-tokenize, tar-extract):
17349         * w32-fns.el (set-default-process-coding-system):
17350         * x-dnd.el (x-dnd-handle-file-name):
17351         * international/mule-cmds.el (mule-menu-keymap)
17352         (set-default-coding-systems, language-info-alist, set-language-info)
17353         (set-language-environment, standard-display-european-internal)
17354         (set-locale-environment):
17355         * international/mule-diag.el (mule-diag):
17356         * mail/emacsbug.el (report-emacs-bug):
17357         * mail/rmail.el (rmail-mode):
17358         * mail/sendmail.el (mail-setup):
17359         Use default-value rather than default-enable-multibyte-characters.
17361         * progmodes/f90.el: Move all safe properties into the defcustoms.
17362         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17364         * calendar/appt.el (appt-check):
17365         * calendar/diary-lib.el (diary-set-header, diary-live-p)
17366         (diary-check-diary-file, diary-list-entries)
17367         (diary-include-other-diary-files, diary-simple-display)
17368         (diary-fancy-display, diary-print-entries)
17369         (diary-mark-included-diary-files, diary-make-entry):
17370         Don't call substitute-in-file-name on diary-file.
17372 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
17373             Stefan Monnier  <monnier@iro.umontreal.ca>
17375         * mail/footnote.el (footnote-prefix): Make it a defcustom.
17376         (footnote-mode-map): Move initialization into the declaration.
17377         (footnote-minor-mode-map): Define it rather than changing global-map.
17378         (footnote-mode): Use define-minor-mode.
17380 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
17382         * net/tramp.el (tramp-handle-file-attributes-with-ls)
17383         (tramp-do-file-attributes-with-perl)
17384         (tramp-do-file-attributes-with-stat): Rename from
17385         `tramp-handle-file-attributes-with-*'.
17386         (tramp-handle-file-attributes): Use them.
17387         (tramp-do-directory-files-and-attributes-with-perl)
17388         (tramp-do-directory-files-and-attributes-with-stat): Rename from
17389         `tramp-handle-directory-files-and-attributes-with-*'.
17390         (tramp-handle-directory-files-and-attributes): Use them.
17391         (tramp-method-out-of-band-p): Additional parameter SIZE.
17392         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17393         (tramp-handle-write-region): Use it.
17394         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17395         (tramp-handle-vc-registered): Check, whether the first run did
17396         return files to be tested.
17397         (tramp-advice-make-auto-save-file-name): Do not call directly
17398         `tramp-handle-make-auto-save-file-name', because this would bypass
17399         the locking mechanism.
17401         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17402         (file-remote-p, process-file, start-file-process, set-file-times)
17403         (tramp-compat-file-attributes): Compatibility functions shall not
17404         call directly `tramp-handle-*', because this would bypass the
17405         locking mechanism.
17406         (tramp-compat-number-sequence): New defun.
17408 2009-09-02  Glenn Morris  <rgm@gnu.org>
17410         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17411         alias for float-time.
17412         (time-to-number-of-days): In Emacs, use float-time.
17413         * net/newst-backend.el (time-add): Suppress warnings from compat
17414         function.
17415         * time.el (emacs-uptime, emacs-init-time):
17416         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17417         Use float-time rather than time-to-seconds.
17419         * minibuffer.el (completion-initials-expand): Fix typo.
17421         * faces.el (modeline, modeline-inactive, modeline-highlight)
17422         (modeline-buffer-id):
17423         * info.el (info-menu-5): Mark these face aliases as obsolete.
17425 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17427         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17428         space ...
17429         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17430         no "--thread" option.
17431         (gdb-stopped): Don't print "Switched to thread" message when it is
17432         unchanged.
17434 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17436         * minibuffer.el (completion-try-completion)
17437         (completion-all-completions): Remove ill-defined (and
17438         mistakenly installed and luckily never used nor documented)
17439         `completion-styles' property.
17440         (completion-initials-expand, completion-initials-all-completions)
17441         (completion-initials-try-completion): New functions.
17442         (completion-styles-alist): Add doc to each entry.
17443         Add new `initials' entry.
17445 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17447         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17448         MI command -var-evaluate-expression.
17449         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17450         and tweak for case of string child.
17451         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17453 2009-09-01  Glenn Morris  <rgm@gnu.org>
17455         * add-log.el (change-log-date-face, change-log-name-face)
17456         (change-log-email-face, change-log-file-face, change-log-list-face)
17457         (change-log-conditionals-face, change-log-function-face)
17458         (change-log-acknowledgement-face):
17459         * cus-edit.el (custom-invalid-face, custom-rogue-face)
17460         (custom-modified-face, custom-set-face, custom-changed-face)
17461         (custom-saved-face, custom-button-face, custom-button-pressed-face)
17462         (custom-documentation-face, custom-state-face, custom-comment-face)
17463         (custom-comment-tag-face, custom-variable-tag-face)
17464         (custom-variable-button-face, custom-face-tag-face)
17465         (custom-group-tag-face-1, custom-group-tag-face):
17466         * diff-mode.el (diff-header-face, diff-file-header-face)
17467         (diff-index-face, diff-hunk-header-face, diff-removed-face)
17468         (diff-added-face, diff-changed-face, diff-function-face)
17469         (diff-context-face, diff-nonexistent-face):
17470         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17471         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17472         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17473         (Info-title-4-face):
17474         * isearch.el (isearch-lazy-highlight-face):
17475         * log-view.el (log-view-file-face, log-view-message-face):
17476         * paren.el (show-paren-match-face, show-paren-mismatch-face):
17477         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17478         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17479         (cvs-msg-face):
17480         * smerge-mode.el (smerge-mine-face, smerge-other-face)
17481         (smerge-base-face, smerge-markers-face):
17482         * wid-edit.el (widget-documentation-face, widget-button-face)
17483         (widget-field-face, widget-single-line-field-face)
17484         (widget-inactive-face, widget-button-pressed-face):
17485         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17486         (woman-addition-face):
17487         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17488         (eshell-ls-executable-face, eshell-ls-readonly-face)
17489         (eshell-ls-unreadable-face, eshell-ls-special-face)
17490         (eshell-ls-missing-face, eshell-ls-archive-face)
17491         (eshell-ls-backup-face, eshell-ls-product-face)
17492         (eshell-ls-clutter-face):
17493         * eshell/em-prompt.el (eshell-prompt-face):
17494         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17495         * obsolete/old-whitespace.el (whitespace-highlight-face):
17496         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17497         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17498         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17499         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17500         (antlr-font-lock-literal-face):
17501         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17502         (ebrowse-root-class-face, ebrowse-file-name-face)
17503         (ebrowse-default-face, ebrowse-member-attribute-face)
17504         (ebrowse-member-class-face, ebrowse-progress-face):
17505         * progmodes/make-mode.el (makefile-space-face):
17506         * progmodes/sh-script.el (sh-heredoc-face):
17507         * textmodes/flyspell.el (flyspell-incorrect-face)
17508         (flyspell-duplicate-face):
17509         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17510         * textmodes/texinfo.el (texinfo-heading-face):
17511         Mark face aliases with "-face" suffix as obsolete.
17513         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17514         compiler.
17516         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17517         (eudc-bob-sound-menu): Use defvar rather than defconst, since
17518         easy-menu-define wants to modify these.
17520         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17522         * net/browse-url.el (browse-url-file-url):
17523         * term/internal.el (dos-codepage-setup):
17524         Use default-value rather than default-enable-multibyte-characters.
17526         * progmodes/etags.el (etags-goto-tag-location):
17527         * progmodes/flymake.el (flymake-highlight-line)
17528         (flymake-goto-file-and-line, flymake-goto-line):
17529         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17530         (gdb-goto-breakpoint):
17531         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17532         * progmodes/python.el (python-find-function)
17533         (python-pdbtrack-track-stack-file):
17534         * progmodes/verilog-mode.el (verilog-surelint-off):
17535         * term/ns-win.el (ns-open-file-select-line):
17536         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17537         Use forward-line rather than goto-line.
17539         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17540         * textmodes/reftex-index.el (reftex-display-index):
17541         * textmodes/reftex-ref.el (reftex-offer-label-menu):
17542         * textmodes/reftex-toc.el (reftex-toc):
17543         Remove unnecessary bindings of default-major-mode (all are followed by
17544         major-mode check and possible mode switch).
17546 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17548         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17549         Handle watchpoints (bug#4282).
17550         (def-gdb-thread-buffer-command): Enable thread to be selected by
17551         clicking without selecting threads buffer first.
17552         (gdb-current-context-command): Use selected frame so that "up",
17553         "down" etc work in the GUD buffer.
17554         (gdb-update): Find selected frame before rendering stack buffer.
17555         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17557 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17559         * progmodes/sym-comp.el (displayed-completions): Remove.
17560         (symbol-complete): Use minibuffer-complete.
17562 2009-08-31  Glenn Morris  <rgm@gnu.org>
17564         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17566         * apropos.el (apropos-symbols-internal):
17567         Handle (obsolete) face aliases.
17569         * faces.el (describe-face): Adjust the output format to be more like
17570         describe-variable, and to mention (obsolete) face aliases.
17571         Adjust the whitespace so that help-setup-xref works.
17573         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17574         * calendar/diary-lib.el (diary-button-face):
17575         Mark these face aliases as obsolete.
17577         * calendar/calendar.el (calendar-today): Doc fix.
17579 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17581         * progmodes/gdb-mi.el (gdb-control-all-threads)
17582         (gdb-control-current-thread): Force tool bar update.
17583         (gdb-non-stop-handler): New function.
17584         (gdb-init-1): Use it to test if non-stop mode is supported.
17585         Remove unused gdbmi buffer type.
17587 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17589         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17590         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
17592 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17594         * comint.el (comint-exec-1): Check command is non-null first.
17595         Part of gdb-mi.el change (2009-08-28).
17597 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17599         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17601 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17603         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17604         instead of `dolist' to avoid a recursive require when bootstrapping.
17606 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17608         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17610         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17612         * net/imap.el (imap-send-command): Simplify.
17613         (imap-wait-for-tag): point-max -> buffer-size.
17615         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17617         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17618         with constant argument.
17620         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17622         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17624         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17625         Change default, since most of our files don't have a history.
17626         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17627         the user.
17629         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17630         Add comint-run.
17632         * calc/calc.el: Improve commenting convention.
17633         (calc-digit-map, toplevel): Simplify.
17635         * comint.el (comint-insert-input): Be careful to only set point if we
17636         don't delegate to some other command.
17638         * proced.el (proced-signal-list): Make it an alist.
17639         (proced-grammar-alist): Capitalize names.
17640         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17641         Disable undo manually and make it read-only.
17642         Use completion-annotate-function.
17644         * minibuffer.el (minibuffer-message): If the current buffer is not
17645         a minibuffer, insert the message in the echo area rather than at the
17646         end of the buffer.
17647         (completion-annotate-function): New variable.
17648         (minibuffer-completion-help): Use it.
17649         (completion--embedded-envvar-table): Environment vars are
17650         always case-sensitive.
17652 2009-08-30  Glenn Morris  <rgm@gnu.org>
17654         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17655         from fortran-current-defun.
17656         (fortran-beginning-of-subprogram): Be more precise about finding the
17657         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17658         (fortran-end-of-subprogram): Simplify.
17659         (fortran-current-defun): Use fortran-start-prog-re.
17661 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17663         * subr.el (do-after-load-evaluation): Simplify.
17665 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17667         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17669         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17670         (vc-rcs-print-log): Use it.
17672         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17674 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17676         * paths.el (abbrev-file-name): Move to abbrev.el.
17677         * abbrev.el (abbrev-file-name): Move from paths.el.
17678         Obey user-emacs-directory.
17679         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17680         user-emacs-directory.
17681         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17682         abbrev-file-name and calc-settings-file any more.
17683         * startup.el (command-line): Recompute abbrev-file-name and
17684         abbreviated-home-dir.
17685         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17686         of the special code for when C-h bindings haven't been changed.
17687         (display-startup-echo-area-message): Use with-current-buffer.
17688         (command-line-1): Use a list of strings, rather than a list of lists
17689         of strings for longopts.
17691         * files.el (get-free-disk-space): Use / for default-directory.
17693         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17694         Use with-current-buffer.
17696         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17697         Recognize immutable variables like most-positive-fixnum.
17698         (byte-compile-setq-default): Check and warn if trying to assign
17699         to an immutable variable, or a non-variable.
17701         * progmodes/cc-vars.el (c-comment-continuation-stars):
17702         * progmodes/cc-engine.el (c-looking-at-bos):
17703         * progmodes/cc-cmds.el (c-toggle-auto-state)
17704         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17705         (c-comment-line-break-function): Add version of obsolescence.
17707 2009-08-28  Juri Linkov  <juri@jurta.org>
17709         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17710         associated with `archive-mode'.
17712         * image.el (image-type-header-regexps): Use only JPEG magic number
17713         to determine JPEG images, and don't use `image-jpeg-p' because
17714         Emacs can display non-JFIF non-Exif JPEG images.
17716 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17718         * arc-mode.el (archive-mode):
17719         * emacs-lisp/re-builder.el (re-builder-unload-function):
17720         Protect against the default value of `major-mode' being nil.
17722 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17724         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17725         Fix typos in docstrings.
17727         * progmodes/js.el (js--macro-decl-re): Doc fix.
17728         (js--plain-method-re, js--split-name): Refloc docstring.
17729         (js--class-styles, js--make-merged-item, js--splice-into-items):
17730         Fix typos in docstrings; reflow docstrings.
17731         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17732         (js--variable-decl-matcher, js--inside-pitem-p)
17733         (js--parse-state-at-point, js--get-all-known-symbols)
17734         (js--symbol-history, js-find-symbol, js--js-references)
17735         (js--moz-interactor, js--js-encode-value, js--read-tab):
17736         Fix typos in docstrings.
17738 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17740         * textmodes/reftex.el (reftex-get-file-buffer-force):
17741         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17742         * emulation/viper.el (viper-go-away, viper-set-hooks):
17743         * emacs-lisp/re-builder.el (re-builder-unload-function):
17744         * emacs-lisp/bytecomp.el (byte-compile-file):
17745         * ses.el (ses-unload-function):
17746         * hexl.el (hexl-find-file):
17747         * files.el (normal-mode):
17748         * ehelp.el (with-electric-help):
17749         * autoinsert.el (auto-insert-alist):
17750         * arc-mode.el (archive-mode):
17751         Use (default-value 'major-mode) instead of default-major-mode.
17753         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17754         * international/mule.el (load-with-code-conversion):
17755         * emacs-lisp/debug.el (debug):
17756         * ediff-vers.el (ediff-rcs-get-output-buffer):
17757         * dired.el (dired-internal-noselect): Don't let-bind
17758         default-major-mode around code that doesn't use it.
17759         E.g. buffer creation via get-buffer-create doesn't use it.
17761 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17763         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17764         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17765         when writing the temp file.  Otherwise, epa-file gets confused.
17766         (tramp-register-file-name-handlers): Make it a defun.  Move also
17767         `epa-file-handler' to the front of `file-name-handler-alist'.
17769 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17771         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17772         start right after a ^M.
17773         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17774         (tramp-completion-file-name-regexp-separate)
17775         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17776         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17777         Don't modify last-coding-system-used by accident.
17778         (tramp-completion-file-name-handler): Apply the checks here,
17779         instead during registration.
17780         (tramp-register-file-name-handlers): Rename from
17781         `tramp-register-file-name-handler'.  Register both
17782         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17783         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17785 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17787         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17788         Remove variable ...
17789         (gdb-init-1, gdb-display-separate-io-buffer)
17790         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17791         references to it.
17792         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17793         (gdb-inferior-filter): Use comint-output-filter to stop
17794         echoing and remove ^M characters.
17796 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17798         * emulation/viper-init.el (viper-restore-cursor-type):
17799         * emulation/cua-base.el (cua--update-indications):
17800         Replace default-cursor-type with (default-value 'cursor-type).
17802         * mail/sendmail.el (mail-recover-1):
17803         * international/mule-diag.el (describe-current-coding-system-briefly)
17804         (describe-current-coding-system):
17805         * international/mule-cmds.el (select-safe-coding-system)
17806         (select-message-coding-system)
17807         (set-language-environment-coding-systems, set-locale-environment):
17808         * hexl.el (hexl-insert-multibyte-char):
17809         * dos-w32.el (find-buffer-file-type-coding-system):
17810         * simple.el (what-cursor-position):
17811         Replace uses of default-buffer-file-coding-system
17812         with (default-value 'buffer-file-coding-system).
17814         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17815         Replace uses of default-cursor-in-non-selected-windows
17816         with (default-value 'cursor-in-non-selected-windows).
17817         Use with-current-buffer.
17819         * mail/feedmail.el: Use CL macros.
17820         (feedmail-run-the-queue, feedmail-send-it-immediately):
17821         * dos-w32.el (find-buffer-file-type): Replace uses of
17822         default-buffer-file-type with (default-value 'buffer-file-type).
17824 2009-08-28  Glenn Morris  <rgm@gnu.org>
17826         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17827         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17828         Use default-value of major-mode rather than default-major-mode.
17830 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17832         * Makefile.in (update-elcfiles): Report left over elc files.
17834         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17835         expand-file-name and with-current-buffer.
17836         (mail-get-names, mail-directory): Use with-current-buffer.
17838         * vc.el (vc-read-revision): New function.
17839         (vc-version-diff, vc-merge): Use it.
17841 2009-08-27  Sam Steingold  <sds@gnu.org>
17843         * simple.el (kill-do-not-save-duplicates): New user option.
17844         (kill-new): When it is non-nil, and the new string is the same as
17845         the latest kill, set replace to t to avoid duplicates in kill-ring.
17847 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17849         * net/tramp.el (tramp-handle-process-file): Do not flush all
17850         caches when `process-file-side-effects' is set.
17851         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17852         instead of `tramp-find-file-exists-command'.
17853         Unset `process-file-side-effects'.
17855 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17857         * net/tramp.el (tramp-methods): New method "rsyncc".
17858         (top): Add completion function for "rsyncc".
17859         (tramp-message-show-message): New defvar.
17860         (tramp-message, tramp-error): Use it.
17861         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17862         remote copying.
17863         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17864         `tramp-methods' entry `copy-env' of "rsyncc".
17865         (tramp-vc-registered-read-file-names): New defconst.
17866         (tramp-vc-registered-file-names): New defvar.
17867         (tramp-handle-vc-registered): Implement optimization strategy.
17868         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17869         (tramp-vc-file-name-handler): New defun.
17870         (tramp-get-ls-command, tramp-get-test-command)
17871         (tramp-get-file-exists-command, tramp-get-remote-ln)
17872         (tramp-get-remote-perl, tramp-get-remote-stat)
17873         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17875         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17876         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17877         timestamps.
17878         (tramp-get-file-property): Check for timestamps in
17879         `tramp-cache-inhibit-cache'.
17880         (tramp-set-file-property): Write timestamp.
17882 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17884         * language/japan-util.el (japanese-symbol-table): Add entries for
17885         cp932-2-byte.
17887         * international/characters.el: Add category `j' to cp932-2-byte.
17889 2009-08-27  Kenichi Handa  <handa@m17n.org>
17891         * international/fontset.el (build-default-fontset-data): New macro.
17892         (setup-default-fontset): Use build-default-fontset-data for CJK,
17893         tibetan, ethiopic, and ipa.
17895 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17897         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17898         (enable-multibyte-characters): Not customizable any more.
17900         * subr.el (default-mode-line-format, default-header-line-format)
17901         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17902         (default-direction-reversed, default-truncate-lines)
17903         (default-left-margin, default-tab-width, default-case-fold-search)
17904         (default-left-margin-width, default-right-margin-width)
17905         (default-left-fringe-width, default-right-fringe-width)
17906         (default-fringes-outside-margins, default-scroll-bar-width)
17907         (default-vertical-scroll-bar, default-indicate-empty-lines)
17908         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17909         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17910         (default-scroll-down-aggressively, default-fill-column)
17911         (default-cursor-type, default-buffer-file-type)
17912         (default-cursor-in-non-selected-windows)
17913         (default-buffer-file-coding-system, default-major-mode)
17914         (default-enable-multibyte-characters): Mark as obsolete.
17916 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17918         * vc-dir.el (vc-dir-update): Remove debug helper.
17920         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17922 2009-08-26  Sam Steingold  <sds@gnu.org>
17924         * simple.el (save-interprogram-paste-before-kill): New user option.
17925         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17926         save the interprogram-paste into kill-ring before overriding it
17927         with the Emacs kill.
17929 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17931         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17932         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17933         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17934         and move to vc-rcs.el.
17935         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17936         move to vc-rcs.el.
17937         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17938         (vc-rcs-update-changelog): Remove.
17939         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17940         and move to vc-rcs.el.
17942         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17943         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17944         renaming.
17945         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17946         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17947         vc.el, renamed to be RCS specific.
17949         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17950         New functions.
17951         (vc-cvs-update-changelog): Move here from vc.el.
17953         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17954         New functions.
17956 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17958         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17960 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17962         * vc-git.el (vc-git-register): Use "git add" for directories.
17963         (vc-git-stash, vc-git-stash-show): New functions.
17964         (vc-git-extra-menu-map): Bind them.
17966         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17967         directory correctly in case the item is a directory itself.
17969         * vc.el: Document the desired behavior for reverted files in the
17970         `added' state.
17971         (vc-default-prettify-state-info): Remove function, unused.
17973         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17975 2009-08-26  Glenn Morris  <rgm@gnu.org>
17977         * bindings.el (standard-mode-line-format): Reposition dashes in
17978         which-func entry.  (Bug#4217)
17980         * files.el (enable-local-variables, enable-local-eval)
17981         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17982         the defcustoms.
17983         (auto-mode-alist, ignored-local-variables)
17984         (save-some-buffers-action-alist): Move risky declarations to the
17985         definitions.
17986         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17987         (font-lock-defaults, format-alist, imenu--index-alist)
17988         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17989         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17990         (mode-line-modified, mode-line-mule-info, mode-line-position)
17991         (mode-line-process, mode-line-remote, outline-level)
17992         (parse-time-rules, rmail-output-file-alist)
17993         (special-display-buffer-names, vc-mode):
17994         Move risky declarations to the relevant files.
17995         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17996         (mode-line-modified, mode-line-process, mode-line-position)
17997         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17998         * font-core.el (font-lock-defaults):
17999         * format.el (format-alist):
18000         * vc-hooks.el (vc-mode):
18001         * window.el (special-display-buffer-names):
18002         * international/mule-cmds.el (input-method-alist):
18003         Define riskiness here (dumped file) rather than in files.el.
18004         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18005         * imenu.el (imenu-generic-expression, imenu--index-alist):
18006         * outline.el (outline-level):
18007         * time.el (display-time-string):
18008         * calendar/parse-time.el (parse-time-rules):
18009         * mail/rmailout.el (rmail-output-file-alist):
18010         Autoload riskiness here, rather than placing in files.el.
18012 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
18014         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18016 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
18018         * simple.el (process-file-side-effects): New defvar.
18020         * dired-aux.el (dired-show-file-type):
18021         * vc.el (vc-diff-internal):
18022         * vc-arch.el (vc-arch-diff):
18023         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18024         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18025         * vc-git.el (vc-git-registered, vc-git-working-revision)
18026         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18027         (vc-git--empty-db-p):
18028         * vc-hooks.el (vc-user-login-name):
18029         * vc-svn.el (vc-svn-registered, vc-svn-state)
18030         (vc-svn-dir-extra-headers, vc-svn-find-revision):
18031         * progmodes/grep.el (grep-probe): Let-bind
18032         `process-file-side-effects' with nil.
18034         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18036         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18037         daemon.  Replace ping by checking for running service for bluez
18038         and zeroconf.  (Bug#4239)
18040 2009-08-25  Kevin Ryde  <user42@zip.com.au>
18042         * net/dig.el (dig): Add autoload cookie.
18044 2009-08-25  Glenn Morris  <rgm@gnu.org>
18046         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18047         load-history for absolute file-names.
18048         (byte-compile-file-form-require): Warn about use of the cl package.
18050         * format.el (format-alist): Doc fix.
18052         * play/bubbles.el (top-level): Don't require cl at run-time.
18054         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18055         run-time cl).
18057 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
18059         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18060         from cl package.
18061         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18063 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
18065         * calc/calc-alg.el (math-trig-rewrite)
18066         (math-hyperbolic-trig-rewrite): New functions.
18067         (calc-simplify): Simplify trig functions when asked.
18069 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18071         * diff-mode.el (diff-find-source-location): Avoid goto-line.
18073 2009-08-24  Kenichi Handa  <handa@m17n.org>
18075         * language/ind-util.el (mapthread): Delete it.
18076         (combinatorial): New function.
18077         (indian--puthash-cv): Use combinatorial instead of mapthread.
18079 2009-08-22  Kevin Ryde  <user42@zip.com.au>
18081         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18082         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18083         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18084         Clarify docstring that the value is strings not symbols.
18085         (checkdoc-list-of-strings-p): New function.
18087 2009-08-22  Glenn Morris  <rgm@gnu.org>
18089         * files.el (auto-mode-alist):
18090         * hippie-exp.el (he-concat-directory-file-name):
18091         * lpr.el (lpr-windows-system, printer-name):
18092         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18093         * ps-print.el (ps-windows-system):
18094         * startup.el (command-line):
18095         * emulation/viper-ex.el (viper-glob-function):
18096         * international/mule-cmds.el (set-language-environment-coding-systems):
18097         * net/ange-ftp.el (ange-ftp-write-region):
18098         * obsolete/fast-lock.el (fast-lock-cache-name):
18099         Remove code for defunct system-types emx, macos, mswindows, next-mach,
18100         unisoft-unix, vax-vms, win32, w32.
18102         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18103         given name if the pattern is not more specific.
18105         * calendar/lunar.el (lunar-phase-names): New option.
18106         (lunar-phase): Doc fix.
18107         (lunar-cycles-per-year): New constant.
18108         (lunar-index): New function.
18109         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18110         (lunar-phase-name): Use lunar-phase-names.
18111         (calendar-lunar-phases): Use format.
18112         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18114         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18115         Copy imenu-example--name-and-position function here for own use.
18116         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18118         * bs.el (bs--redisplay):
18119         * cus-edit.el (custom-redraw):
18120         * ibuffer.el (ibuffer-bury-buffer):
18121         * server.el (server-goto-line-column):
18122         * startup.el (command-line-1):
18123         * strokes.el (strokes-xpm-for-stroke):
18124         * term.el (term-display-buffer-line):
18125         * view.el (View-goto-line):
18126         * calc/calc.el (calc-do, calc-trail-buffer):
18127         * play/gamegrid.el (gamegrid-add-score-insecure):
18128         * progmodes/ada-mode.el (ada-compile-goto-error):
18129         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18130         (ebrowse-select-1st-to-9nth):
18131         * progmodes/cperl-mode.el (cperl-time-fontification):
18132         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18133         * progmodes/gud.el (gud-display-line):
18134         (idlwave-shell-display-line):
18135         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18136         * progmodes/make-mode.el (makefile-browser-toggle):
18137         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18138         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18139         * textmodes/picture.el (picture-draw-rectangle):
18140         * textmodes/reftex-index.el (reftex-index-goto-letter):
18141         (reftex-select-jump-to-previous):
18142         * textmodes/reftex-sel.el (reftex-find-start-point)
18143         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18144         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18145         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18146         * textmodes/tex-mode.el (tex-compilation-parse-errors):
18147         * textmodes/two-column.el (2C-associated-buffer):
18148         Use forward-line rather than goto-line.
18150         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18151         goto-line.
18153         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18154         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18155         (quick-check-list-to-regexp): Declare.
18157         * progmodes/make-mode.el (makefile-browser-insert-selection):
18158         Use goto-char rather than goto-line.
18160         * progmodes/prolog.el (compilation-error-regexp-alist)
18161         (compilation-forget-errors): Declare.
18163 2009-08-22  Juri Linkov  <juri@jurta.org>
18165         * progmodes/grep.el (lgrep, rgrep): At the beginning
18166         set `dir' to `default-directory' unless `dir' is a non-nil
18167         readable directory.  (Bug#4052)
18168         (lgrep, rgrep): Change a weird way to report an error
18169         from using `read-string' to using `error'.
18170         Instead of using interactive arguments in the function body,
18171         add new argument `confirm'.
18173 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18175         * textmodes/remember.el (remember-buffer):
18176         * progmodes/cperl-mode.el (cperl-vc-header-alist):
18177         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18178         (icalendar-extract-ical-from-buffer):
18179         * net/newst-treeview.el (newsticker-groups-filename):
18180         * net/newst-backend.el (newsticker-cache-filename):
18181         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18182         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18183         (speedbar-add-ignored-path-regexp, speedbar-line-path)
18184         (speedbar-buffers-line-path, speedbar-path-line)
18185         (speedbar-buffers-line-path):
18186         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18187         (epg-sign-keys):
18188         * epa.el (epa-display-verify-result):
18189         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18191 2009-08-21  Glenn Morris  <rgm@gnu.org>
18193         * progmodes/js.el (inferior-moz-process): Fix declaration.
18195         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18197         * obsolete/rnewspost.el (news-mail-reply):
18198         Use goto-char rather than goto-line.
18200         * term/ns-win.el (ns-open-file-select-line):
18201         Use line-beginning-position rather than goto-line.
18203         * apropos.el (apropos-command):
18204         * ehelp.el (electric-helpify):
18205         * printing.el (pr-show-setup):
18206         * strokes.el (strokes-help):
18207         * tutorial.el (tutorial--describe-nonstandard-key)
18208         (tutorial--detailed-help):
18209         * woman.el (woman-mini-help, woman-display-extended-fonts):
18210         * calc/calc-help.el (calc-describe-key):
18211         * emulation/edt.el (edt-electric-helpify):
18212         * international/mule-diag.el (mule-diag):
18213         * play/yow.el (apropos-zippy):
18214         * progmodes/python.el (python-describe-symbol):
18215         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18216         * textmodes/table.el (*table--cell-describe-mode)
18217         (*table--cell-describe-bindings):
18218         Use help-print-return-message rather than the now obsolete alias.
18220         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18221         (calendar-cursor-to-visible-date):
18222         * play/5x5.el (5x5-position-cursor):
18223         * play/decipher.el (decipher):
18224         * play/gomoku.el (gomoku-goto-xy):
18225         * play/landmark.el (lm-goto-xy):
18226         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18227         (mpuz-paint-digit):
18228         Use forward-line, not goto-line.
18230         * mail/rmail.el (rmail-obsolete): Delete custom group.
18231         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18232         (rmail-remote-password, rmail-remote-password-required):
18233         Remove unneeded :set-after and :set properties.
18235 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
18237         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18239 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
18241         * loadup.el: Remove leftover macos code.
18243         * vc-git.el (vc-git-annotate-command): Run asynchronously.
18244         Explicitly pass the date format to git blame so that user local
18245         so that the output format can be parsed.
18247 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
18249         * net/dbus.el (top): Don't check for (getenv
18250         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
18252 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
18254         * log-edit.el (log-edit-strip-single-file-name): New var.
18255         (log-edit-insert-changelog): Use it.  Bug#3571
18257 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18259         * subr.el (read-passwd): Use read-key so keypad keys work as well.
18260         Bug#3287
18262         * help.el (help-print-return-message): Rename from
18263         print-help-return-message.
18265         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18266         cvs-mode-map parent hack.
18267         (log-view-mode): Derive from special-mode.
18269         * linum.el (linum-mode): window-size-change-functions is redundant.
18270         Adapt to new window-configuration-change-hook behavior.
18271         (linum-after-size, linum-after-config): Remove.
18273         * imenu.el (imenu-example--name-and-position)
18274         (imenu-example--lisp-extract-index-name)
18275         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18276         Mark as obsolete.
18278         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18279         (inferior-prolog-mode): Use it.
18280         (inferior-prolog-load-file): Reset list of errors.
18282 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18284         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18286         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18288 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
18290         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18291         is running already.
18293 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18295         * subr.el (listify-key-sequence-1): Use normal syntax since those
18296         integers are nowadays always represented by the same (positive) number
18297         on all platforms.
18298         (read-key-empty-map): New const.
18299         (read-key-delay): New var.
18300         (read-key): New function.
18301         (force-mode-line-update): Use with-current-buffer.
18302         (locate-user-emacs-file): Don't forget to abbreviate the file name.
18303         (start-process-shell-command, start-file-process-shell-command):
18304         Discourage the use of command-args.
18306 2009-08-19  Glenn Morris  <rgm@gnu.org>
18308         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18310 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18312         * simple.el (choose-completion-string): Don't rely on
18313         minibuffer-completing-file-name and ad-hoc checks to decide whether
18314         to continue completion or not.
18316         * minibuffer.el (minibuffer-hide-completions): New function.
18317         (completion--do-completion): Use it.
18318         (completions-annotations): New face.
18319         (completion--insert-strings): Use it.
18320         (completion-pcm--delim-wild-regex): Add docstring.
18321         (completion-pcm--string->pattern): Add support for 0-width delimiters
18322         in completion-pcm--delim-wild-regex.
18324 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18326         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18327         Remove unused var `buffer-modified-p'.
18329         * minibuffer.el (completion--do-completion): Move point for the #b001
18330         case as well (bug#4176).
18331         (minibuffer-complete, minibuffer-complete-word): Don't move point.
18333 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
18335         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
18336         and :session buses.
18338 2009-08-18  Kenichi Handa  <handa@m17n.org>
18340         * international/ucs-normalize.el (ucs-normalize-version):
18341         Change to 1.1.
18342         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18343         (utf-8-hfs): Make it perform normalization on encoding too.
18345         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
18346         (sentence-end-without-space): Delete duplicated chars.
18347         (sentence-end-base): Likewise.
18349         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
18350         (html-mode): Delete duplicated chars from sentence-end-base.
18352         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
18353         (texinfo-mode): Delete duplicated chars from sentence-end-base.
18355 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
18357         * files.el (hack-one-local-variable): If the mode function is for
18358         a minor mode, pass it an argument (Bug#4148).
18360 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
18362         * net/tramp.el (tramp-register-completion-file-name-handler):
18363         Check also for (member 'partial-completion completion-styles).
18365 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18367         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18368         abbrev (Bug#3943).
18370 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
18372         * progmodes/cperl-mode.el: Merge upstream 6.2.
18373         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18374         (cperl-forward-re): Check cperl-brace-recursing.
18375         (cperl-highlight-charclass): New function.
18376         (cperl-find-pods-heres): Use it.
18377         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18378         (cperl-beautify-regexp-piece): Fix column calculation.
18379         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18380         (cperl-beautify-level): Don't process entire regexp.
18381         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18382         calling man.
18383         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18384         (cperl-init-faces): Build a list in the normal way.
18386 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18388         * calendar/parse-time.el (parse-time-string-chars): Save match
18389         data.
18391 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18393         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18394         (sql-product): Use it.
18395         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18396         (sql-set-product): Add completion.
18397         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18398         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18399         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18400         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18401         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18402         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18403         (sql-highlight-db2-keywords): Remove.
18404         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18405         (sql-highlight-product): Use derived-mode-p.
18406         (sql-set-sqli-buffer): Use with-current-buffer.
18407         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18408         Simplify.
18410         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18412         * term.el: Fix commenting convention, turn comments into docstrings.
18414 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18416         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18418 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
18420         * calendar/parse-time.el (parse-time-string-chars): Compute using
18421         character classes, to handle non-ascii characters (Bug#3190).
18423 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18425         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18426         another heredoc if the user adds another < (Bug#3226).
18428         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18429         Don't initialize based on window-system (Bug#4124).
18431         * facemenu.el (facemenu-read-color): Use a completion function
18432         that accepts any defined color, such as RGB triplets (Bug#3677).
18434         * files.el (get-free-disk-space): Change fallback default
18435         directory to /.  Expand DIR argument before switching to fallback.
18436         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18438 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18440         * files.el (load-library): Doc fix.
18442 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
18444         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18445         (viper-if-string): Redefine C-s in the minibuffer to insert the last
18446         incremental search string.
18448         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18449         XEmacs.
18451         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18452         (ediff-merge-region-is-non-clash)
18453         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18454         Also check if the job is really a merge job.
18456         * ediff.el (ediff-current-file): New function.
18458 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18460         * progmodes/js.el: Edit docstrings throughout to follow Emacs
18461         conventions.
18462         (js-insert-and-indent): Delete function.
18463         (js-mode-map): Don't bind keys to js-insert-and-indent.
18464         (js-beginning-of-defun): Rename from js--beginning-of-defun.
18465         (js-end-of-defun): Rename from js--end-of-defun.
18466         (js-auto-indent-flag): Delete variable.
18468 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
18470         * progmodes/js.el: Remove proclaim statement.
18471         Defvar which-func-imenu-joiner-function to silence compiler.
18473         * files.el (auto-mode-alist): Use js-mode for .js files.
18475         * progmodes/js2-mode.el: Remove file.
18477         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18479         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18481         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18483 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
18484             Karl Landstrom  <karl.landstrom@brgeight.se>
18486         * progmodes/js.el: New file.
18488 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
18490         * timezone.el (timezone-parse-date): Add ability to understand ISO
18491         basic format (minimal separators) dates in addition to the
18492         already-supported extended format dates.
18494 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
18496         * international/ucs-normalize.el: Add a `coding' file variable.
18498         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18500 2009-08-14  Sam Steingold  <sds@gnu.org>
18502         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18504 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
18506         * faces.el (help-argument-name): Define it here instead of
18507         help-fns.el, because in daemon mode help-fns.el may be loaded when
18508         faces are still uninitialized (Bug#1078).
18510         * help-fns.el (help-argument-name): Move defface to faces.el.
18512 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
18514         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18515         create buffer with a pty but no process so that GDB can make the
18516         inferior the controlling process.
18518 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
18520         * international/ucs-normalize.el: New file.
18522 2009-08-13  Richard Stallman  <rms@gnu.org>
18524         * mail/rmail.el (rmail-get-attr-names):
18525         Accept an attribute header that is too short.
18527         * mail/rmail.el (rmail-forget-messages):
18528         Ignore nil elt in rmail-message-vector.  Use dotimes.
18530         * progmodes/compile.el (compilation-goto-locus):
18531         Use next-error-move-function.
18533         * simple.el (next-error-move-function): New variable.
18535 2009-08-12  Juri Linkov  <juri@jurta.org>
18537         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18538         always non-nil.  (Bug#4052)
18540         * replace.el (read-regexp): Return empty string when
18541         `default-value' is nil.
18542         (keep-lines-read-args): Don't use empty string as the
18543         default value for `read-regexp'.  (Bug#2495)
18545 2009-08-12  Juri Linkov  <juri@jurta.org>
18547         * international/mule-cmds.el (ucs-insert): Change arguments
18548         from `arg' to `character', `count', `inherit' to be the same
18549         as in `insert-char'.  Doc fix.  (Bug#4039)
18551         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18553 2009-08-12  Juri Linkov  <juri@jurta.org>
18555         * files-x.el: New file.
18557         * files.el: Move code that deals with adding/deleting
18558         file/directory-local variables to files-x.el.
18560         * Makefile.in (ELCFILES): Add files-x.elc.
18562 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
18564         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18565         to use `goto-line'.
18566         (gdb-place-breakpoints, gdb-get-location): Rewritten without
18567         `goto-line'.
18568         (gdb-invalidate-disassembly): Do not refresh upon receiving
18569         'update signal.  Instead, update all disassembly buffers only after
18570         threads list.
18571         (gdb): Send -target-detach when buffer is killed (Bug#3794).
18572         (gdb-starting): Move -data-list-register-names...
18573         (gdb-stopped): ...here so it's sent when first thread stops.
18574         (gdb-registers-handler-custom): Do nothing if register names are
18575         unknown yet.
18577         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18578         from `gdb-mi.el' to avoid extra tangling.
18580         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18581         change which breaks `gud-def' definitions used in `gdb'.
18582         (gdb-update-gud-running): No extra fuss for updating frame number.
18584 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18586         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18587         (describe-language-environment-map, setup-language-environment-map)
18588         (set-coding-system-map): Move initialization into declaration.
18589         (set-language-info-alist): Last arg to define-key-after can be skipped.
18591         * international/quail.el (quail-completion-1): Simplify.
18592         (quail-define-rules): Use slightly more compact code.
18593         (quail-insert-decode-map): Propertize keys, compact columns.
18595         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18596         Add goto-line.
18598 2009-08-10  Miles Bader  <miles@gnu.org>
18600         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18601         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18602         (js2-instance-member, js2-private-member, js2-private-function-call)
18603         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18604         (js2-magic-paren, js2-external-variable):
18605         Remove "-face" suffix from face names.
18606         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18607         (js2-highlight-undeclared-vars, js2-peek-token)
18608         (js2-parse-function-params, js2-mode-show-errors)
18609         (js2-mode-show-warnings, js2-make-magic-delimiter)
18610         (js2-mode-highlight-magic-parens): Update to use new face names.
18612 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18614         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18615         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18617 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18619         * subr.el: Provide hashtable-print-readable.
18621         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18622         hs-c-like-adjust-block-beginning.
18623         (hs-hide-block-at-point): Stop hiding at the beginning of
18624         hs-block-end-regexp (Bug#700).
18626 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18628         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18629         a macro.
18630         (gdb-registers-handler-custom): Do not fail when register names
18631         are unavailable.
18633 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18635         * progmodes/gdb-mi.el (gdb-control-all-threads)
18636         (gdb-control-current-thread): Interactive setters for
18637         `gdb-gud-control-all-threads' to use in menu.
18638         (gdb-show-run-p): Show «Go» when process is not active.
18639         (gud-tool-bar-map): Add non-stop/A,T indicator.
18640         Uses gud/thread.xpm and gud/all.xpm.
18642 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18644         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18645         (nslookup-font-lock-keywords): Make it a variable.
18646         (net-utils-mode): New mode for viewing diagnostic network output.
18647         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18648         (net-utils-run-simple): New function.
18649         (ifconfig, iwconfig, netstat, arp, route): Use it.
18651 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18653         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18654         (gdb-memory-set-address, def-gdb-set-positive-number)
18655         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18656         after changing settings.
18657         (gdb-invalidate-disassembly): Update when first shown.
18658         (gdb-edit-locals-value): Fixed.
18659         (gdb-registers-handler-custom): Print registers in right order and
18660         allow changing register values (only for current thread yet).
18661         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18662         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18663         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18664         (gdb-locals-handler-custom, gdb-registers-handler-custom):
18665         Thread info in mode name.
18666         (gdb-registers-mode-map): TAB to switch to locals.
18668 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18670         * mail/rmail.el (rmail-add-mbox-headers)
18671         (rmail-set-message-counters-counter): Search for
18672         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18674 2009-08-08  Glenn Morris  <rgm@gnu.org>
18676         * Makefile.in (ELCFILES): Update.
18678 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18680         * mail/sendmail.el (mail-yank-original):
18681         Set buffer-file-coding-system from the one used by the message whose
18682         text is yanked.
18684         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18685         to "windows" when "pgnuplot" is used.
18686         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18687         Don't call accept-process-output if "pgnuplot" is used.
18688         (calc-graph-init): Don't send -display and -geometry to
18689         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18690         running "pgnuplot -V" with shell-command-to-string.
18692         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18693         the default.
18695 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18697         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18698         org/org-latex.elc.
18700 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18702         * vc-dispatcher.el (vc-resynch-window): Update comment.
18704         * term.el (term-handle-ansi-escape): Add comments with the
18705         terminfo capabilities implemented.
18707 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18709         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18710         (gdb-var-create-handler): Rewritten using JSON parser.
18711         (gdb-propertize-header): Move earlier.
18712         (gdb-set-header): Remove to avoid duplication.
18713         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18714         Refresh disassembly buffers only after threads list have been
18715         update.
18716         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18717         variables.
18719 2009-08-04  Juri Linkov  <juri@jurta.org>
18721         * files.el: Commands to add/delete file/directory-local variables.
18722         (read-file-local-variable, read-file-local-variable-value)
18723         (read-file-local-variable-mode, modify-file-local-variable)
18724         (modify-file-local-variable-prop-line)
18725         (modify-dir-local-variable): New functions.
18726         (add-file-local-variable, delete-file-local-variable)
18727         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18728         (add-dir-local-variable, delete-dir-local-variable)
18729         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18730         (copy-dir-locals-to-file-locals-prop-line): New commands.
18732 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18734         * abbrev.el (insert-abbrev-table-description): Prettify output.
18735         Suggested by Karl Chen.
18737 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18739         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18740         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18741         (gdb-overlay-arrow-position, gdb-thread-position)
18742         (gdb-disassembly-position): Declare variables.
18743         (gdb-wait-for-pending): Function now.
18744         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18745         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18746         compilation goes smoothly.
18747         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18748         (gdb-non-stop-setting): New customization setting which replaces
18749         `gdb-non-stop' so changing it doesn't break active GDB session.
18750         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18751         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18752         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18753         (gdb-show-threads-by-default): New customization options.
18754         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18755         routines.
18756         (gdb-get-buffer-create): Send buffers update signal when they are
18757         created.
18758         (gdb-invalidate-locals, gdb-invalidate-registers)
18759         (gdb-invalidate-breakpoints)
18760         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18761         (gdb-invalidate-memory): Accept update signal.
18762         (gdb-current-context-command): Use --frame option.
18763         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18764         Implement `gdb-frame-number' selection logic.
18765         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18766         whether to show GUD toolbar buttons.
18767         (gdb-thread-exited): Unselect current thread when it exits.
18768         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18769         (gdb-mark-line): Routine which sets overlay arrow or inverses
18770         video on fringeless displays.
18771         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18772         to build aligned columns of data in GDB buffers and set text
18773         properties line-by-line.
18774         (gdb-invalidate-breakpoints)
18775         (gdb-breakpoints-list-handler-custom)
18776         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18777         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18778         (gdb-registers-handler-custom): Align data columns.
18779         (gdb-locals-handler-custom): Now prints data like in variable
18780         declarations.
18781         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18782         Remove confusing buttons.
18783         (gdb-invalidate-threads): Append --frame.
18784         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18785         between breakpoints/threads buffers.
18786         (gdb-set-window-buffer): Now can ignore dedicated windows.
18787         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18788         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18789         (def-gdb-thread-buffer-gud-command): Replaces
18790         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18791         for fine thread control.
18792         (gdb-preempt-existing-or-display-buffer): New function used to
18793         display bound buffers without breaking window layout.
18794         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18795         (gdb-select-frame): New version of `gdb-frames-select' which now
18796         sets `gdb-frame-number' so commands may use --frame option instead
18797         of inner debugger state.
18798         (gdb-frame-handler): Do not set `gdb-frame-number'.
18799         (gdb-threads-mode-map): Select threads with mouse.
18801         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18802         avoid compilation warning.
18803         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18804         `gdb-show-stop-p`.
18806         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18807         Argument `key' renamed to `buffer-type'.
18808         (gdb-current-context-buffer-name): Do not add thread info to
18809         buffer name when no thread is selected.
18810         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18811         command (bug 3794).
18812         (gdb-thread-selected): Handle `=thread-selected' notification.
18813         (gdb-wait-for-pending): New macro to deal with congestion problems.
18814         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18815         breakpoints.
18816         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18817         This fixes problem similar to one described in bug 3947.
18818         (gud-menu-map): More menu items.
18819         (gdb-init-1): Reset `gdb-thread-number' to nil.
18821         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18822         non-stop settings.
18824         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18825         (gdb-current-context-command): Do not append --thread if
18826         `gdb-thread-number' is nil.
18827         (gdb-running-threads-count, gdb-stopped-threads-count):
18828         New variables.
18829         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18830         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18831         New customization options.
18832         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18833         GUD commands.
18834         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18835         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18836         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18837         set `gdb-thread-number' and update `gud-running' properly.
18838         (gdb-running): Update threads list when new threads appear.
18839         (gdb-stopped): Support non-stop operation and new thread switching
18840         logic.
18841         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18842         (gdb-json-partial-output): New set of JSON routines.
18843         (def-gdb-auto-update-trigger): New `signal-list' optional
18844         argument.
18845         (gdb-thread-list-handler-custom): Update `gud-running',
18846         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18847         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18848         (gdb-continue-thread, gdb-step-thread): New commands for fine
18849         thread execution control.
18850         (gud-menu-map): New menu items to switch non-stop options.
18851         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18852         (gdb-send): Mimic RET properly (bug 3794).
18854         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18855         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18856         gdb-buffer-rules.
18857         (def-gdb-auto-update-handler): New nopreserve optional argument.
18858         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18860         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18861         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18862         (gdb-parent-mode): New mode to derive other GDB modes from.
18863         (gdb-display-disassembly-for-thread)
18864         (gdb-frame-disassembly-for-thread): New commands for threads
18865         buffer.
18867         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18868         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18869         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18870         (gdb-update): We now store all GDB buffers in a list so that they
18871         can be updated by traversing a list instead of calling invalidate
18872         triggers explicitly.
18873         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18874         pair for GDB buffer.
18875         (gdb-stack-buffer-name): Add thread information.
18876         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18877         handle pending triggers.
18878         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18879         (def-gdb-thread-buffer-simple-command)
18880         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18881         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18882         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18883         New commands which show buffers bound to thread.
18884         (gdb-stack-list-locals-regexp): Remove unused regexp.
18886         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18887         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18888         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18889         to (gud-comint-buffer) in *-buffer-name functions
18890         because (gdb-get-target-string) already does that.
18891         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18892         (gdb-changed-registers-handler): Rewritten without regexps.
18894         * progmodes/gdb-mi.el: Basic thread selection support.
18895         (gdb-thread-number): New variable.
18896         (gdb-current-context-command): New macro which adds --thread
18897         option to command.
18898         (gdb-threads-mode-map): Select thread with SPC.
18899         (gdb-thread-list-handler-custom): Mark current thread with overlay
18900         arrow.  Synchronize GDB thread and Emacs thread.
18901         (gdb-select-thread): New command which selects current thread.
18902         (gdb-invalidate-frames, gdb-invalidate-locals)
18903         (gdb-invalidate-registers): Use --thread option.
18905 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18907         * net/tramp.el (top): Make check for tramp-gvfs loading more
18908         robust.  (Bug#3977)
18909         (tramp-handle-insert-file-contents): `unwind-protect' must be
18910         inside `with-parsed-tramp-file-name'.
18912         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18913         fails.
18915 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18917         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18918         directory if CLASSPATH is not set.
18920 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18922         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18923         New defconst.
18924         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18926 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18928         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18929         Update freshmeat link.  Delete newsforge.com as it seems gone.
18931 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18933         * select.el (x-set-selection): Doc fix (Bug#4021).
18935         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18937         * help-fns.el (describe-variable): Treat list return values from
18938         dir-locals-find-file properly (Bug#4005).
18940 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18942         * net/tramp.el (tramp-debug-message): Print also microseconds.
18944 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18946         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18947         or END is non-nil.
18948         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18949         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18950         format.
18952         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18953         (tramp-get-file-property): Use it.
18955         * autorevert.el (auto-revert-handler):
18956         Allow `auto-revert-tail-mode' for remote files.
18958 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18960         * minibuffer.el (read-file-name): Treat confirm options to
18961         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18963 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18965         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18966         (font-lock-variable-name-face, font-lock-constant-face):
18967         Darken the colors for light backgrounds.
18969 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18971         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18972         month names.  (Bug#3987)
18974 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18976         * simple.el (line-move-finish): Pass whole number to
18977         line-move-to-column.
18978         (line-move-visual): Perform hscroll to the recorded position.
18980 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18982         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18984 2009-07-29  Alan Mackenzie  <acm@muc.de>
18986         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18988 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18990         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18991         (gdb-place-breakpoints): Use full path when setting breakpoints.
18993 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18995         * calc/calc.el (calc-mode-map): Add keybinding for
18996         `calc-transpose-lines'.
18998 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
19000         * calc/calc-misc.el (calc-transpose-lines): New function.
19002 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
19004         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19005         Simplify check for out-of-band methods.
19006         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19007         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
19009 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
19011         * vc-git.el (vc-git-checkin): Fix typo.
19013 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
19015         * progmodes/js2-mode.el: New file.
19017 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
19019         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19020         (gud-menu-map): Adjust tooltip accordingly.
19022 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
19024         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19025         (vc-bzr-log-view-mode): Adjust log-view-file-re.
19027         * add-log.el (change-log-mode-map): Add a menu.
19029 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
19031         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19032         function returns nil.
19033         (dbus-handle-event): Handle special return value :ignore.
19034         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19036 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
19038         * view.el (view-mode-enable): Don't define Helper-return-blurb if
19039         it's not needed.
19041 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
19043         Fix Bug#3888:
19045         * w32-vars.el (x-select-enable-clipboard): Doc fix.
19047         * term/pc-win.el (x-display-name, x-colors)
19048         (x-select-enable-clipboard, x-select-text): Doc fix.
19050         * term/common-win.el (x-display-name, x-colors): Doc fix.
19052         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19053         (xw-defined-colors): Doc fix.
19055         * w32-fns.el (x-select-text, x-setup-function-keys)
19056         (x-get-selection, x-set-selection): Doc fix.
19058         * term/x-win.el (x-select-text, x-setup-function-keys)
19059         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19061         * select.el (x-set-selection): Doc fix.
19063 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
19065         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19066         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
19067         "IsNSSSupportAvailable" method is not available.
19068         Reported by Steve Youngs <steve@sxemacs.org>.
19070 2009-07-24  Kenichi Handa  <handa@m17n.org>
19072         * international/characters.el: Fix setting of category ?C, ?|, ?K,
19073         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
19074         (build-unicode-category-table): Fix range checks.
19076 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
19078         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19079         the buffer we try to sync is current when calling
19080         vc-resynch-buffer.
19082         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19083         not show up to date files.
19085 2009-07-24  Glenn Morris  <rgm@gnu.org>
19087         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19088         Add autoload cookies.  If necessary, initialize.
19089         (elint-log): Handle non-file buffers.
19090         (elint-initialize): Add optional argument to reinitialize.
19091         (elint-find-builtin-variables): Save excursion.
19093 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
19095         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19096         for Lint.
19098 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
19100         * vc.el (vc-print-log-internal): New function, split out from ...
19101         (vc-print-log): ... here.
19102         (vc-dir-move-to-goal-column): Declare.
19104         * vc-git.el (vc-git-add-signoff): New variable.
19105         (vc-git-checkin): Use it.
19106         (vc-git-toggle-signoff): New function.
19107         (vc-git-extra-menu-map): Bind it to menu.
19108         (vc-git--run-command-string): Accept a nil FILE argument.
19109         (vc-git-stash-list): New function.
19110         (vc-git-dir-extra-headers): Use it.
19112 2009-07-23  Glenn Morris  <rgm@gnu.org>
19114         * help-fns.el (describe-variable): Describe ignored and risky local
19115         variables in a similar way to that in which we describe safe ones.
19117         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19118         (byte-compile-output-file-form, byte-compile-output-docform)
19119         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19120         Give some more local variables with common names a "bytecomp-" prefix,
19121         so as not to shadow things during compilation.
19122         * emacs-lisp/cl-macs.el (load-time-value)
19123         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19124         `outbuffer' to `bytecomp-outbuffer'.
19126         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19127         since the next two variables cover them automatically now.
19128         (elint-builtin-variables, elint-autoloaded-variables): New.
19129         (elint-unknown-builtin-args): Remove all members, since they can be
19130         parsed automatically now.
19131         (elint-extra-errors): New.
19132         (elint-env-add-env, elint-env-add-macro): Use cadr.
19133         (elint-current-buffer): Use or.  Change final message.
19134         (elint-get-top-forms): Use line-end-position.
19135         (elint-init-env): Use cadr.  Handle autoload, declare-function,
19136         and defalias.
19137         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
19138         (regexp-assoc): Remove unused function.
19139         (elint-top-form): Set elint-current-pos, to record the start of the
19140         top-level form, for compilation-mode.
19141         (elint-form): Trap errors in macro expansion.  Use dolist.
19142         (elint-unbound-variable): Use elint-builtin-variables and
19143         elint-autoloaded-variables.
19144         (elint-get-args): Use cadr, or.
19145         (elint-check-cond-form): Use dolist, cadr.
19146         (elint-check-condition-case-form): Doc fix.  Use cadr.
19147         Use elint-extra-errors.
19148         (elint-log): New function.
19149         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19150         Distinguish errors and warnings.
19151         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
19152         Use a bytecomp-style format.
19153         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
19154         (elint-get-log-buffer): Use compilation mode.  Disable undo.
19155         Don't truncate lines.
19156         (elint-initialize): Set builtin and autoloaded variable lists.
19157         Only process elint-unknown-builtin-args if non-nil.
19158         (elint-find-builtin-variables, elint-find-autoloaded-variables):
19159         New functions.
19160         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
19162 2009-07-22  Kevin Ryde  <user42@zip.com.au>
19164         * net/newst-backend.el (newsticker--parse-atom-1.0)
19165         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19166         (newsticker--parse-rss-1.0):
19167         * progmodes/idlwave.el (idlwave-mode):
19168         * progmodes/idlw-shell.el (idlwave-shell-mode):
19169         * progmodes/vera-mode.el (vera-mode):
19170         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19171         * progmodes/vhdl-mode.el (vhdl-mode):
19172         * textmodes/table.el (table-generate-source)
19173         (table--warn-incompatibility):
19174         Hyperlink urls in docstrings with URL `...'.
19176 2009-07-22  Glenn Morris  <rgm@gnu.org>
19178         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19179         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19180         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19181         Remove leading * from defcustom docs.
19183         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
19185         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19186         defcustom doc.
19187         (list-load-path-shadows): Optionally, just return shadows as a string.
19189         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19191 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
19193         * mail/rmailedit.el (rmail-edit-mode):
19194         Use auto-save-include-big-deletions.
19196         * mail/rmail.el (rmail-variables):
19197         Use auto-save-include-big-deletions.
19199         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19200         changes.
19202 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
19204         * calc/calc.el (calc-undo-length): New variable.
19205         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19207 2009-07-21  Richard Stallman  <rms@gnu.org>
19209         * files.el (auto-save-mode): Handle buffer-save-size = -2
19210         for toggling mode.
19212 2009-07-21  Glenn Morris  <rgm@gnu.org>
19214         * textmodes/ispell.el (ispell-looking-back): Update declaration.
19216         * calendar/todo-mode.el (calendar-current-date): Update declaration.
19218         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19219         silence compiler.  Instead...
19220         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19221         (ps-print-ensure-fontified): Update for above function name changes.
19223         * printing.el (pr-mh-get-msg-num, pr-mh-show)
19224         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19225         silence compiler.  Instead...
19226         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19227         (mh-show-buffer): Only define for compiler.
19228         (pr-mh-current-message): Update for above function name changes.
19230         * files.el (abort-if-file-too-large): Explicitly pass `filename'
19231         as an argument.
19232         (find-file-noselect, insert-file-1): Update for above change.
19234         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19236         * mail/mailclient.el (mailclient-send-it): Fix message.
19238         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19239         (edebug-eval): Check cl-debug-env is bound.
19240         (print-level, print-circle): Don't redefine built-in variables.
19242         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19243         (custom-print-vectors): Remove old comments from doc.
19245         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19246         (emerge-version): Make the variable an obsolete alias for the
19247         emacs-version variable.  Make the function obsolete.
19248         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19249         Emerge options, rather than merging in into the main Options menu.
19250         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
19251         and auto advance modes.  Disable edit/fast items when not relevant.
19253 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
19255         * term/vt420.el (terminal-init-vt420): Fix typo.
19257 2009-07-20  Sam Steingold  <sds@gnu.org>
19259         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19260         variable (removed from compile.el on 2004-03-11).
19262 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
19264         * files.el (hack-local-variables-filter): Fix last change.
19266 2009-07-19  Juri Linkov  <juri@jurta.org>
19268         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19269         (dir-local-variables-alist): New buffer-local variable.
19270         (hack-local-variables-filter): If variable is not dir-local,
19271         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19272         because file-local overrides dir-local.
19273         (c-postprocess-file-styles) <declare-function>:
19274         Remove obsolete declaration.
19275         (hack-dir-local-variables): Add dir-local variable/value pair to
19276         `dir-local-variables-alist' and remove duplicates.  Doc fix.
19278         * help-fns.el (describe-variable): Add information about
19279         file-local and dir-local variables.
19281 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
19283         * files.el (hack-local-variables-filter): Rewrite.
19285 2009-07-19  Glenn Morris  <rgm@gnu.org>
19287         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19288         Silence compiler by only defining on XEmacs.
19290         * international/mule.el (auto-coding-regexp-alist): Only match
19291         BABYL... at the start of buffer, not of lines.  (Bug#3790)
19293         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19294         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
19295         (cal-menu-context-mouse-menu): Doc fix.
19297         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19299         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
19301 2009-07-18  Juri Linkov  <juri@jurta.org>
19303         * info.el: Virtual Info keyword finder.
19304         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19305         (Info-finder-file): New variable.
19306         (Info-finder-find-file): New function.
19307         (finder-known-keywords, finder-package-info)
19308         (find-library-name, lm-commentary): Use defvar and
19309         declare-function to silence compiler warnings.
19310         (Info-finder-find-node): New function.
19311         (info-finder): New command.
19313         * subr.el (process-kill-buffer-query-function): New function.
19314         (add-hook)<kill-buffer-query-functions>: Add hook
19315         `process-kill-buffer-query-function'.
19317 2009-07-18  Alan Mackenzie  <acm@muc.de>
19319         * progmodes/cc-mode.el (c-before-hack-hook)
19320         (c-postprocess-file-styles): Give invocation of `c-set-style'
19321         DONT-OVERRIDE parameter of t.  Already set style variables will
19322         thus not be overridden by style settings given by `c-file-syle'.
19324         * files.el (hack-local-variables-filter): Remove entries with
19325         duplicate keys from `file-local-variables-alist'.
19327 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19329         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19330         x-set-selection if display-selections-p returns nil for the
19331         current frame.
19333 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
19335         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19337 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19339         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19340         Accept nil in addition to a regexp.
19341         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19342         Accept nil in addition to a regexp.
19343         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19344         buffers that have an associated file.  Handle nil values of
19345         desktop-buffers-not-to-save and desktop-files-not-to-save.
19346         (Bug#3833)
19348         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19349         (x-disown-selection-internal): New functions.
19351 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
19353         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19354         warning.
19355         (gdb-breakpoints-header): Move forward to avoid compiler warning.
19356         (gdb-make-header-line-mouse-map): Remove duplicate definition.
19358 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
19360         * simple.el (set-mark): Revert last change.
19362 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
19364         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19365         rendering of pngs is not possible instead of messaging a long
19366         description.
19368 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
19370         * w32-fns.el (x-selection-owner-p): New function.
19372         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19373         (mouse-yank-at-click, mouse-yank-primary):
19374         If select-active-regions is non-nil, deactivate the mark before
19375         insertion.
19377         * simple.el (deactivate-mark, set-mark): Only save selection if we
19378         own it.
19380 2009-07-17  Kenichi Handa  <handa@m17n.org>
19382         * case-table.el (describe-buffer-case-table): Fix for the case
19383         that KEY is a cons.
19385 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
19387         * vc-rcs.el (vc-rcs-find-file-hook):
19388         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19390 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
19392         * net/tramp.el (tramp-wait-for-output): Handle the case when
19393         commands do not return a newline but a null byte before the shell
19394         prompt.  (Bug#3858)
19396 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19398         * term/ns-win.el (ns-set-alpha): Don't declare.
19399         (ns-set-background-alpha): Remove function.
19401 2009-07-16  Kevin Ryde  <user42@zip.com.au>
19403         * emacs-lisp/copyright.el (copyright-update): Save match-data across
19404         y-or-n-p, for safety.
19406 2009-07-16  Richard Stallman  <rms@gnu.org>
19408         * files.el (auto-save-mode): If buffer-saved-size is -2,
19409         don't clobber it.
19411         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19412         (rmail-retry-ignored-headers): Add more uninteresting fields.
19414 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
19416         * net/rcirc.el (rcirc): Use history variables.
19417         (rcirc-server-name-history, rcirc-nick-name-history)
19418         (rcirc-server-port-history): New variables.
19420 2009-07-15  Kenichi Handa  <handa@m17n.org>
19422         * international/mule-cmds.el (set-language-environment-charset):
19423         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19424         ignore them.
19426         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19427         Delete unibyte-display.
19429 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19431         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19433 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19435         * simple.el (deactivate-mark): Optional argument FORCE.
19436         (set-mark): Use deactivate-mark.
19438         * info.el (Info-search): No need to check transient-mark-mode
19439         before calling deactivate-mark.
19441         * select.el (x-set-selection): Doc fix.
19442         (x-valid-simple-selection-p): Allow buffer values.
19443         (xselect--selection-bounds): Handle buffer values.
19444         Suggested by David De La Harpe Golden.
19446         * mouse.el (mouse-set-region, mouse-drag-track):
19447         Call copy-region-as-kill before setting the mark, to let
19448         select-active-regions work.
19450 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
19452         * simple.el (deactivate-mark): If select-active-regions is
19453         non-nil, copy the selection data into a string.
19454         (activate-mark): If select-active-regions is non-nil, set the
19455         selection to the current buffer.
19456         (set-mark): Update selection if select-active-regions is non-nil.
19458         * select.el (x-valid-simple-selection-p): Allow buffer values.
19460 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19462         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19463         and more featureful message-mode.
19465 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
19467         * select.el (x-set-selection): Doc fix.
19468         (x-valid-simple-selection-p): Disallow selection data consisting
19469         of a list or cons of integers, since that is not used.
19470         (xselect--selection-bounds, xselect--int-to-cons): New functions.
19471         (xselect-convert-to-string, xselect-convert-to-length)
19472         (xselect-convert-to-filename, xselect-convert-to-charpos)
19473         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19475 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
19477         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19478         output in -break-info command (Emacs bug #3794).
19480 2009-07-14  Glenn Morris  <rgm@gnu.org>
19482         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19483         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19484         (edebug-print-length, edebug-print-level, edebug-print-circle)
19485         (edebug-sit-for-seconds, edebug-view-outside)
19486         (edebug-bounce-point, edebug-set-global-break-condition)
19487         (edebug-Go-nonstop-mode, edebug-trace-mode)
19488         (edebug-Trace-fast-mode, edebug-continue-mode)
19489         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19490         (edebug-visit-eval-list): Doc fixes.
19492         * subr.el (def-edebug-spec): Doc fix.
19494 2009-07-14  Kenichi Handa  <handa@m17n.org>
19496         * international/characters.el: Fix setting of category ?C.
19498 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
19500         * term/ns-win.el (x-select-font): defalias x-select-font to
19501         ns-popup-font-panel instead of generate-fontset-menu.
19503 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
19505         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
19507 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
19509         * arc-mode.el (archive-find-type): Allow for a PK00 string before
19510         the PK\003\004 header (Bug#3770).
19512 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
19514         * pcomplete.el (pcomplete-comint-setup): Check for
19515         shell-dynamic-complete-filename too.
19517 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
19519         * simple.el (temporary-goal-column): Change the value for
19520         line-move-visual to a cons cell.
19521         (line-move-visual): Record or set the window hscroll, if
19522         necessary (Bug#3494).
19523         (line-move-1): Handle cons value of temporary-goal-column.
19525 2009-07-11  Kenichi Handa  <handa@m17n.org>
19527         * international/mule-diag.el (describe-character-set): Don't show
19528         width.
19530 2009-07-10  Sam Steingold  <sds@gnu.org>
19532         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19533         Omake sometimes indents the errors it prints, so allow all
19534         regexps to start with spaces.
19536 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
19538         * cus-edit.el (customize-changed-options-previous-release):
19539         Bump value to 22.1.  (Bug#3804)
19541 2009-07-08  Sam Steingold  <sds@gnu.org>
19543         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19544         to be a cons cell (test . ignored-directory) to selectively ignore
19545         some directories depending on the location of the search.
19547 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
19549         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19550         remote user is root, on the local host.
19551         (tramp-local-host-p): Either the local user or the remote user
19552         must be root.  (Bug#3771)
19554 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19556         * progmodes/gdb-mi.el (gdb): Remove description of
19557         gdb-use-separate-io-buffer.
19558         (menu): Don't allow toggling of or enable
19559         gdb-use-separate-io-buffer from menubar.
19561 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19563         * mail/unrmail.el (unrmail): Make sure the message ends with two
19564         newlines (Bug#3769).
19566 2009-07-08  Glenn Morris  <rgm@gnu.org>
19568         * calendar/calendar.el (calendar-current-date): Rework previous change.
19570 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
19572         * calendar/calendar.el (calendar-current-date):
19573         Add an optional argument giving an offset from today.
19575 2009-07-08  Glenn Morris  <rgm@gnu.org>
19577         * tutorial.el (tutorial--describe-nonstandard-key):
19578         Adjust the message for when a key has been unbound.
19579         (help-with-tutorial): Hide the arch-tag.
19581 2009-07-08  Kenichi Handa  <handa@m17n.org>
19583         * international/fontset.el (setup-default-fontset): For each
19584         script, append (not set) font-specs.
19586         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19587         docstring.
19589 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19591         * progmodes/gdb-mi.el (gdb-init-1): Move sending
19592         -data-list-register-names to ...
19593         (gdb-starting): ... here because GDB 7.0 requires execution to
19594         have started when using this MI command.
19595         (gdb-set-header): New function to distinguish select and
19596         unselected tabs in gdb buffers.
19597         (gdb-propertize-header): New macro that uses gdb-set-header.
19598         (gdb-breakpoints-header, gdb-locals-header): Use it.
19599         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19601 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19603         * Makefile.in (ELCFILES): Remove fadr.elc.
19605 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19607         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19608         may contain frame information, so `string-match' should be used.
19609         (gdb-update): Disassembly is invalidated through
19610         `gdb-get-selected-frame'.
19611         (gdb-pad-string): New function to pad string with spaces.
19612         (gdb-invalidate-disassembly): Invalidate only if the buffer
19613         exists.
19614         (gdb-disassembly-handler-custom): Column alignment.
19615         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19616         placing new ones.
19617         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19618         end of line, too.
19619         (gdb-frame-handler): Match convention to for disassembly buffer
19620         mode name.
19621         (gdb-stack-list-frames-handler): Rewritten without regexps.
19622         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19623         not highlight breakpoints without line information.
19624         (gdb-input): Add trailing newline to command.
19626         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19627         buffer properly.
19628         (gdb-breakpoints-list-handler-custom): Replacement for
19629         `gdb-break-list-handler'.  Using real parser instead of regexps
19630         now.
19631         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19632         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19633         to place breakpoints.
19634         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19635         functions.
19636         (gdb-disassembly-handler-custom): Show overlay arrow.
19637         (gdb-disassembly-place-breakpoints): Show breakpoints in
19638         disassembly buffer.
19639         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19640         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19641         instead of parsing breakpoints buffer.  Fixed old menu references
19642         in `gud-menu-map'.
19644         * fadr.el: Remove.
19646         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19647         (gdb-memory-address): New variable which holds top address of
19648         memory page shown in memory buffer.
19649         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19650         New customization variables.
19651         New functions:
19652         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19653         display the memory buffer.
19654         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19655         buffer display parameters.
19656         (def-gdb-memory-format, gdb-memory-format-binary)
19657         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19658         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19659         Functions for setting memory buffer format.
19660         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19661         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19662         unit size used in memory buffer.
19663         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19664         Switch to next/previous page of memory buffer.
19665         Now using (bindat-get-field) instead of fadr functions.
19667 2009-07-07  Sam Steingold  <sds@gnu.org>
19669         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19670         non-top-level files.
19672 2009-07-07  Kenichi Handa  <handa@m17n.org>
19674         * international/mule-cmds.el (reset-language-environment):
19675         Put the highset priority to the charset iso-8859-1.
19677 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19679         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19680         to the end of the line when locating the block (Bug#700).
19682 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19684         * net/tramp.el (tramp-handle-write-region): Flush file properties
19685         in case of short track.
19687 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19689         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19690         Coded custom representation of verilog error regular expressions
19691         to work with Emacs-22's new format.
19692         (verilog-error-regexp-xemacs-alist): Coded custom representation
19693         of verilog error regular expressions to work with XEmacs format.
19694         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19695         error recognition into XEmacs.
19696         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19697         error recognition into Emacs-22.
19699 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19701         * woman.el: Remove stand-alone closing parentheses.
19702         (woman-file-name, woman2-format-paragraphs)
19703         (woman-leave-blank-lines): Code cleanup.
19704         (woman-use-own-frame): Change default to nil.
19705         (woman-italic, woman-bold, woman-unknown, woman-addition):
19706         Change defaults to inherit from default faces.
19707         (woman2-process-escapes): Consume the newline after a stand-alone
19708         filler character (Bug#3651).
19710 2009-07-06  Glenn Morris  <rgm@gnu.org>
19712         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19713         (top-level): Move provide to the end.
19714         (ffap): Remove defunct URL from custom group.
19716         * subr.el (eval-after-load): Doc fix.
19718 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19720         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19721         `calc-embedded-word' is called twice.
19723 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19725         * files.el (find-alternate-file-other-window, find-alternate-file):
19726         Obey confirm-nonexistent-file-or-buffer.
19728 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19730         * dired-aux.el (dired-show-file-type): Handle remote files.
19732 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19734         * desktop.el (desktop-globals-to-save):
19735         Add file-name-history (Bug#2750).
19737 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19739         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19741 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19743         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19744         property on entire argument since this is what eshell-lisp-command
19745         expects.
19747 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19749         * net/tramp-gvfs.el (tramp-gvfs-methods)
19750         (tramp-gvfs-zeroconf-domain)
19751         (tramp-bluez-discover-devices-timeout): Add version flag.
19752         (tramp-gvfs-handler-mounted-unmounted)
19753         (tramp-gvfs-connection-mounted-p): Polish handling of
19754         incompatibilities between GVFS 0.2 and 1.0.
19756 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19758         * cus-start.el (all): Add make-pointer-invisible.
19760 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19762         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19763         formatted correctly.
19765 2009-07-02  Juri Linkov  <juri@jurta.org>
19767         * info.el: Virtual Info files and nodes.
19768         (Info-virtual-files, Info-virtual-nodes): New variables.
19769         (Info-current-node-virtual): New variable.
19770         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19771         New functions.
19772         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19773         to check for a virtual file instead of checking a fixed list
19774         of node names.
19775         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19776         instead of ad-hoc processing of "dir" and (apropos history toc).
19777         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19778         instead of ad-hoc processing of "dir" and (apropos history toc).
19779         Reread a file when moving from a virtual node.
19780         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19781         (Info-directory-toc-nodes, Info-directory-find-file)
19782         (Info-directory-find-node): New functions.
19783         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19784         (Info-history): Move part of code to
19785         `Info-history-find-node'.
19786         (Info-history-toc-nodes, Info-history-find-file)
19787         (Info-history-find-node): New functions.
19788         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19789         (Info-toc): Move part of code to `Info-toc-find-node'.
19790         (Info-toc-find-node): New function.
19791         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19792         the current Info file name to references because now the node
19793         "*TOC*" belongs to the same Info manual.
19794         (Info-toc-build): Rename from `Info-build-toc'.
19795         (Info-toc-nodes): Rename input argument `file' to `filename'.
19796         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19797         instead of ad-hoc processing of ("dir" apropos history toc).
19798         (Info-index-nodes): Use Info-virtual-file-p
19799         to check for a virtual file instead of checking a fixed list
19800         of node names.
19801         (Info-index-node): Add check for `Info-current-node-virtual'.
19802         Raise `save-match-data' higher up the tree to contain
19803         `search-forward' too (bug fix).
19804         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19805         (Info-virtual-index-nodes): New variable.
19806         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19807         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19808         (Info-apropos-file, Info-apropos-nodes): New variables.
19809         (Info-apropos-toc-nodes, Info-apropos-find-file)
19810         (Info-apropos-find-node, Info-apropos-matches): New functions.
19811         (info-apropos): Move part of code to `Info-apropos-find-node' and
19812         `Info-apropos-matches'.
19813         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19814         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19815         for a virtual file instead of checking a fixed list of node names.
19817         * simple.el (async-shell-command): New command.
19819         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19821         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19822         instead of `mount-info'.
19824 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19826         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19827         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19829 2009-07-02  Kenichi Handa  <handa@m17n.org>
19831         * international/mule.el (set-keyboard-coding-system): Force *-unix
19832         coding-system to avoid eol conversion.
19834 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19836         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19837         Add handler for `process-file', `shell-command' and
19838         `start-file-process'.
19839         (tramp-gvfs-handle-shell-command)
19840         (tramp-gvfs-handle-start-file-process)
19841         (tramp-gvfs-handle-process-file): New defuns.
19842         (tramp-synce-list-devices): Simplify check for existence of property.
19844 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19846         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19848 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19850         * language/korean.el (set-language-info-alist): Add korean-cp949,
19851         cp949 to spec.
19853 2009-07-01  Kenichi Handa  <handa@m17n.org>
19855         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19857         * international/encoded-kb.el: Deleted.
19859         * international/mule.el (set-keyboard-coding-system): Perform the
19860         necessary setup here instead of calling encoded-kbd-setup-display.
19862 2009-07-01  Glenn Morris  <rgm@gnu.org>
19864         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19866 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19868         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19870 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19872         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19873         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19874         (tramp-default-file-modes): Remove execute permissions.
19876         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19877         (top): Add a default for "synce" in `tramp-default-user-alist'.
19878         Add completion function for "synce" method.
19879         (tramp-hal-service, tramp-hal-path-manager)
19880         (tramp-hal-interface-manager, tramp-hal-interface-device):
19881         New defconst.
19882         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19883         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19884         New defuns.
19886         * net/trampver.el: Update release number.
19888 2009-06-30  Kenichi Handa  <handa@m17n.org>
19890         * international/fontset.el (setup-default-fontset): Add CJK fonts
19891         for symbols and the other miscellaneous characters.
19893         * language/korea-util.el (setup-korean-environment-internal):
19894         Make char-width-table suitable for Korean environments.
19895         (exit-korean-environment): Cancel above.
19897         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19898         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19899         setup-function to make char-width-table suitable for respective
19900         environments, and an exit-function to cancel that.
19902         * language/japan-util.el (setup-japanese-environment-internal):
19903         Call use-cjk-char-width-table with arg `ja_JP'.
19905         * international/characters.el (cjk-char-width-table): Delete it.
19906         (cjk-char-width-table-list): New variable.
19907         (use-cjk-char-width-table): New arg local-name.
19908         (use-default-char-width-table): Fix for the case that Emacs is
19909         already using the default char-width-table.
19911 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19913         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19914         modes mandatory.  (Bug#3712)
19916 2009-06-29  Alan Mackenzie  <acm@muc.de>
19918         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19919         correction between the visible width of TABs and their number of bytes.
19921 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19923         * server.el (server-buffer-done): Prevent kill-buffer from
19924         prompting by clearing the buffer modification flag (Bug#3696).
19926 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19928         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19929         (verilog-endcomment-reason-re): Support unique case and priority case.
19930         (verilog-basic-complete-re): Support localparam lineup.
19931         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19932         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19933         commenting.
19934         (verilog-leap-to-case-head): Now support *nested* unique &
19935         priority case statements.
19936         (verilog-auto-lineup): Make just declarations the default (as it
19937         had been).
19938         (verilog-leap-to-case-head): Support priority/unique case statements.
19939         (verilog-auto-lineup): Rework to give users radio buttons to
19940         select the various styles of automatic lineup.
19941         (verilog-error-regexp-alist): Rework to support the XEmacs style
19942         of error regular expressions from compilers, lint tools &
19943         simulators.  Note that GNU Emacs has made it impossible for a mode
19944         to load such things.
19945         (electric-verilog-terminate-line, verilog-indent-declaration)
19946         (verilog-auto-wiure): Rework for radio button selection of
19947         auto-lineup selection of specification of auto lineup.
19948         (verilog-beg-of-statement-1): Redesign to support proper operation
19949         in additional code, based on testing with auto-lineup.
19950         (verilog-calculate-indent, assignments & declarations)
19951         (verilog-backward-token): Enhance to support auto-lineup of
19952         assignments & declarations.
19953         (verilog-in-directive-p, verilog-at-struct-p): New function for
19954         easy test of whether we are.
19955         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19956         to support safe execution at almost anyline.
19957         (verilog-calc-1): Properly support indenting deep inside generate
19958         blocks.
19959         (verilog-init-font): Remove definition & use of verilog-init-font,
19960         as it is redundant with font-lock-defaults.
19961         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19962         to avoid circular calls if syntax-ppss is a function (as is the
19963         case now in 22.x GNU Emacs) as that function would sometimes call
19964         itself, leading to (nearly) infinite recursion.
19965         (verilog-ovm-begin-re, verilog-ovm-end-re)
19966         (verilog-ovm-statement-re, verilog-leap-to-head)
19967         (verilog-backward-token): Add support for OVM macros.  Some are
19968         complete statements, and others open and close scopes like begin
19969         and end.
19970         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19971         (verilog-defun-level-generate-only-re): Really fix the defun-list
19972         compilation issue.
19973         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19974         coverpoint, constraint and cross statements.
19975         (verilog-defun-level-list, verilog-generate-defun-level-list)
19976         (verilog-all-defun-level-list): Redo these specifications - it is
19977         too hard to support eval-when compile aggregation of lists also
19978         built at when-compile time.
19979         (verilog-defun-level-list): Place defconsts of variables used in
19980         building regular expressions which are built in eval-when-compile
19981         bodies in the same eval-when-compile body to facilitate compile
19982         without load.
19983         (verilog-beg-block-re-ordered): Support indenting
19984         virtual/protected tasks and functions.
19985         (verilog-defun-level-list, verilog-in-generate-region-p)
19986         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19987         indentation of some module items (generate items).
19988         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19989         across virtual/protected tasks and functions.
19991 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19993         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19994         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19995         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19996         in concatenations.  Reported by Yishay Belkind.
19997         (verilog-auto-ascii-enum): Support one-hot state machines in
19998         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19999         (verilog-auto-inst, verilog-auto-inst-port): Include interface
20000         modport in AUTOINST and add vl-modport for users.
20001         Reported by David Rogoff.
20002         (verilog-auto-inout-module, verilog-auto-inst)
20003         (verilog-decls-get-interfaces, verilog-insert-definition)
20004         (verilog-insert-one-definition, verilog-read-decls)
20005         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20006         (verilog-sig-modport, verilog-signals-combine-bus)
20007         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20008         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20009         Suggested by David Rogoff.
20010         (verilog-repair-open-comma): Fix non-insertion of comma when
20011         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
20012         (verilog-make-width-expression): Simplify [A-1:0] expression
20013         widths to just {A{1'b0}}.
20014         (verilog-mode): Cleanup checkdoc warnings.
20015         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20016         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20017         inputs/outputs or data type.  Suggested by Vasu Kandadi.
20018         (next-error-last-buffer): Fix byte-compiler warning.
20019         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20020         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20021         or shell command text during AUTO expansion.  Suggested by Tad Truex.
20022         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20023         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20024         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20025         in AUTOINOUT.  Reported by Matthew Lovell.
20026         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20027         causing use of <= assignments.  Reported by Alex Reed.
20028         (verilog-read-decls): Fix triand, trior, wand, wor to be
20029         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
20030         (verilog-extended-complete-re): Support import "DPI-C" functions.
20031         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20032         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
20033         (verilog-insert-date, verilog-insert-year)
20034         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20035         Windows systems.  Reported by Michael Potts.
20036         (verilog-read-module-name): Fix AUTOINST when the child module
20037         declaration's name is a tick define.  Reported by Elliot Mednick.
20038         (verilog-read-decls): Fix V2K parameter bit subscripts getting
20039         passed to next parameter's definition.  Reported by Bruce T.
20040         (verilog-read-decls): Fix detecting "parameter int" when using
20041         AUTOINSTPARAM.  Reported by Bruce T.
20042         (verilog-goto-defun): Fix goto not finding modules unless first
20043         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
20044         (verilog-mode): Expand -f flag arguments on entry to mode so
20045         verilog-goto-defun will work.  Reported by Lawrence Butcher.
20046         (verilog-getopt): Expand environment variables in -f file
20047         arguments.  Suggested by Lawrence Butcher.
20048         (verilog-set-define): Fix "Symbol's value as variable is void"
20049         when reading enumerations.
20050         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20051         Suggested by Stephen Peltan.
20052         (verilog-read-defines): Fix reading of enumerations in include
20053         files.  Reported by Steve Peltan.
20055 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20057         * files.el (trash-directory): Fix defcustom type.
20059 2009-06-28  Juri Linkov  <juri@jurta.org>
20061         * help-fns.el (describe-function-1): Correctly locate adviced
20062         functions in hyperlink (Bug#2438).
20064 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
20066         * files.el (trash-directory): Change default to nil.
20067         (move-file-to-trash): If trash-directory is nil and
20068         system-move-file-to-trash is unbound, perform freedesktop-style
20069         trashing.
20071 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20073         * files.el (move-file-to-trash): Add freedesktop trash
20074         support (Bug#973).
20076 2009-06-28  Glenn Morris  <rgm@gnu.org>
20078         * autorevert.el (global-auto-revert-non-file-buffers)
20079         (global-auto-revert-mode): Doc fixes.
20081 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
20083         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20085 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
20087         * faces.el (x-handle-named-frame-geometry): Ensure that we have
20088         opened an X connection before calling x-get-resource (Bug#3194).
20090         * play/doctor.el: Remove reference to obsolete website.
20091         (make-doctor-variables): Correct grammar mistake (Bug#2633).
20093 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
20095         Remove find-file-not-found-hook VC method.  (Bug#2757)
20096         * vc-hooks.el (vc-file-not-found-hook)
20097         (vc-default-find-file-not-found-hook): Remove functions.
20098         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20099         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20100         * vc.el:
20101         * vc-hg.el:
20102         * vc-git.el: Do not mention find-file-not-found-hook VC method.
20104 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
20106         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20107         compatibility function for `looking-back'.
20109         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20110         Use `ispell-looking-back'.
20112 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
20114         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20115         rather than `filename'.
20117 2009-06-23  Miles Bader  <miles@gnu.org>
20119         * face-remap.el (text-scale-set): New function.
20121 2009-06-23  Glenn Morris  <rgm@gnu.org>
20123         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20125         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20127         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20129         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20131         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20132         Simplify Persian conditionals.
20134         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20135         variable `filename'.
20137         * comint.el (comint-insert-input): Doc fix.
20139         * Makefile.in (ELCFILES): Fix typo in previous change.
20141 2009-06-23  Miles Bader  <miles@gnu.org>
20143         * cus-start.el: Add entry for `recenter-redisplay'.
20145 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20147         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20148         Add an optional argument for the backend, use it instead of
20149         calling vc-backend.
20150         (vc-mode-line): Add an optional argument for the backend.
20151         Pass the backend to vc-state and vc-working-revision.  Move code for
20152         special handling for vc-state being a buffer to ...
20154         * vc-rcs.el (vc-rcs-find-file-hook):
20155         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
20157         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20158         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20159         vc-stay-local-p and vc-mode-line calls.
20161         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20162         (vc-cvs-diff, vc-cvs-annotate-command)
20163         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20164         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20165         vc-mode-line calls.
20167         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20168         direct comparison.
20169         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20170         backend when calling vc-mode-line.
20171         (vc-register): Do not create a closure for calling the vc register
20172         function, call it directly.
20174 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20176         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20177         to make it obvious item can be clicked.
20179         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20181 2009-06-23  Kenichi Handa  <handa@m17n.org>
20183         * language/korea-util.el (korean-key-bindings): Change the binding
20184         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
20185         same command.
20187 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
20189         Sync with Tramp 2.1.16.
20191         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20193         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
20194         when a loading of a package fails.  Completion function for rsync
20195         is `tramp-completion-function-alist-ssh'.
20196         (all): Replace all calls of `split-string' and
20197         `tramp-split-string' by `tramp-compat-split-string'.
20198         (tramp-default-method): Use `tramp-compat-process-running-p'.
20199         (tramp-default-proxies-alist): Allow also Lisp forms.
20200         (tramp-remote-path): Add choice "Private Directories".
20201         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20202         (tramp-domain-regexp): Allow also "-", "_" and ".".
20203         (tramp-end-of-output): Remove newlines, and add "$" at the end.
20204         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20205         (tramp-debug-message): Insert header line in debug buffer.
20206         (tramp-handle-directory-files-and-attributes-with-stat):
20207         Care about filenames with spaces, or starting with "-".
20208         (tramp-handle-dired-uncache): New defun.
20209         (tramp-handle-insert-directory): Don't flush the directory from
20210         cache, this is handled by `dired-uncache' now.
20211         (tramp-handle-insert-file-contents): Improve error handling.
20212         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20213         Quote `tramp-end-of-output'.
20214         (tramp-action-password): Improve trace message.
20215         (tramp-check-for-regexp): Both echoes must be present, before removing.
20216         (tramp-open-connection-setup-interactive-shell): Trace coding system.
20217         (tramp-compute-multi-hops): Eval cons cells of
20218         `tramp-default-proxies-alist'.
20219         (tramp-maybe-open-connection): Use the same command pattern for
20220         first hop and further hops.
20221         (tramp-wait-for-output): Remove handling of newlines.
20222         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20223         (tramp-split-string): Remove function.  It is handled in
20224         tramp-compat now.
20226         * net/tramp-cmds.el (tramp-bug):
20227         Recommend `tramp-cleanup-all-connections' in the bug mail.
20229         * net/tramp-compat.el (tramp-compat-split-string)
20230         (tramp-compat-process-running-p): New defuns.
20232         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20233         for `dired-uncache'.
20235         * net/tramp-gvfs.el: New package.
20237         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20238         Add handler for `dired-uncache'.
20239         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20241         * net/trampver.el: Update release number.  Make version check fit
20242         for SXEmacs 22.
20244 2009-06-22  Jim Meyering  <meyering@redhat.com>
20246         Automatically handle .xz suffix (XZ-compressed files), too.
20247         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20248         XZ is the successor to LZMA: <http://tukaani.org/xz/>
20250 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
20251             Nick Roberts  <nickrob@snap.net.nz>
20253         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20254         repository (http://sphinx.net.ru/hg/gdb-mi/).
20256 2009-06-22  Glenn Morris  <rgm@gnu.org>
20258         * files.el (dir-locals-collect-mode-variables): Allow for any number of
20259         `mode' and `eval' entries.  (Bug#3430)
20261         * Makefile.in (ELCFILES): Add fadr.elc.
20263         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20264         differing behavior of \n and ^ in strings.  (Bug#3385)
20266         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20268         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20269         property.
20270         (lisp-indent-function): Make it a defcustom.
20272 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20274         * progmodes/gdb-ui.el: Replace with ...
20275         * progmodes/gdb-mi.el: ... this file.
20276         * progmodes/gud.el: Modify for gdb-mi.el.
20278 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
20280         * fadr.el: New file.
20282 See ChangeLog.14 for earlier changes.
20284 ;; Local Variables:
20285 ;; coding: utf-8
20286 ;; End:
20288   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
20290   This file is part of GNU Emacs.
20292   GNU Emacs is free software: you can redistribute it and/or modify
20293   it under the terms of the GNU General Public License as published by
20294   the Free Software Foundation, either version 3 of the License, or
20295   (at your option) any later version.
20297   GNU Emacs is distributed in the hope that it will be useful,
20298   but WITHOUT ANY WARRANTY; without even the implied warranty of
20299   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20300   GNU General Public License for more details.
20302   You should have received a copy of the GNU General Public License
20303   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.