(ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.
[emacs/old-mirror.git] / lisp / ChangeLog
bloba1c96737244825893ff6501e9110ae15f95a426f
1 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4         since that's too annoying.  Move the filter groups commands to
5         TAB/backtab.
7         * epa.el (epa-passphrase-callback-function): Say what we're
8         querying the password for.
10         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
11         behaviour, don't bury the ibuffer buffer when visiting other
12         buffers.
14 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
16         * cus-edit.el (custom-commands, custom-buffer-create-internal)
17         (custom-magic-value-create): Pad button tags with spaces.
18         (custom-face-edit): New variable.
19         (custom-face-value-create): Determine whether to use the usual
20         face editor here, instead of using custom-face-selected.  Pass
21         face defaults to custom-face-edit widget.
22         (custom-face-selected, custom-display-unselected): Delete widgets.
23         (custom-display-unselected-match): Function removed.
24         (custom-face-set, custom-face-mark-to-save): Accept
25         custom-face-edit widgets as the direct widget child.
27         * wid-edit.el (widget--completing-widget): New var.
28         (widget-default-complete): Bind it when doing completion.
29         (widget-string-complete, widget-file-complete): Use it.
31 2010-10-09  Glenn Morris  <rgm@gnu.org>
33         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
34         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
35         (holiday-hebrew-misc): Small simplifications.
37         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
39         * net/browse-url.el: Don't require thingatpt, term, dired,
40         executable, or w3-auto when compiling.
41         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
42         Declare.
43         (browse-url-text-emacs): Require term.
45 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
47         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
49 2010-10-08  Glenn Morris  <rgm@gnu.org>
51         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
53         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
54         (shadows-compare-text-p): Make it an obsolete alias for...
55         (load-path-shadows-compare-text): ... new name.
56         (find-emacs-lisp-shadows): Update for above name change.
57         (load-path-shadows-same-file-or-nonexistent): New name for the old
58         shadow-same-file-or-nonexistent.
60 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
62         * minibuffer.el (completion--some, completion--do-completion)
63         (minibuffer-complete-and-exit, minibuffer-completion-help)
64         (completion-basic-try-completion)
65         (completion-basic-all-completions)
66         (completion-pcm--find-all-completions): Use lexical-let to
67         avoid some false matches in variable completion (Bug#7056)
69 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
71         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
73 2010-10-08  Leo  <sdl.web@gmail.com>
75         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
76         return non-nil if the file exists (Bug#7090).
78 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
80         * minibuffer.el (completion--replace):
81         Better preserve markers (bug#7138).
83 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
85         * server.el (server-process-filter): Doc fix.
87 2010-10-08  Drew Adams  <drew.adams@oracle.com>
89         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
91 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
93         * Makefile.in (ELCFILES): Update.
95 2010-10-08  Glenn Morris  <rgm@gnu.org>
97         * vc/ediff-wind.el (ediff-setup-control-frame):
98         * vc/ediff-ptch.el (ediff-default-backup-extension):
99         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
100         (ediff-exec-process): Remove system-types emx, windows-95.
102         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
104 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
106         * cus-edit.el (custom-variable, custom-face): Doc fix.
107         (custom-face-edit): Add value-create attribute.
108         (custom-face-edit-value-create)
109         (custom-face-edit-value-visibility-action): New functions.  Hide
110         unused face attributes by default, and add a visibility toggle.
111         (custom-face-edit-deactivate): Show empty values with shadow face.
112         (custom-face-selected): Only use this for face specs with default
113         attributes.
114         (custom-face-value-create): Cleanup.
116         * wid-edit.el (widget-checklist-value-create): Use dolist.
117         (widget-checklist-match-find): Make second arg optional.
119 2010-10-07  Glenn Morris  <rgm@gnu.org>
121         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
122         Prefix things.
124         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
125         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
126         load-path-shadows-mode, update references.
127         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
128         Rename variable and button.
129         (list-load-path-shadows): Update button caller.
131 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
133         * emacs-lisp/smie.el (smie-bnf-classify): New function.
134         (smie-bnf-precedence-table): Use it to remember the closers/openers.
135         (smie-merge-prec2s): Handle those new entries.
136         (smie-prec2-levels): Only set precedence to nil for actual
137         openers/closers.
138         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
139         that is now unnecessary.
141 2010-10-07  Miles Bader  <miles@gnu.org>
143         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
145 2010-10-07  Glenn Morris  <rgm@gnu.org>
147         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
148         (mail-position-on-field): Remove declarations.
149         (mail-position-on-field): Autoload it.
150         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
151         and mail-header-end.  Don't require sendmail.
153         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
154         (shadow-mode): New mode.
155         (shadow-find-file): New button.
156         (list-load-path-shadows): Use shadow-mode and buttons.
158         * iimage.el (iimage-version): Remove.
159         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
160         Turn into defcustoms.
161         (iimage-mode-map): Give it a doc string.
163         * calendar/appt.el (appt-activate): Give a warning rather than an error
164         if there is no diary-file.
166 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
168         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
169         Use `tramp-handle-find-backup-file-name'.
171 2010-10-06  Glenn Morris  <rgm@gnu.org>
173         * font-core.el (font-lock-defaults-alist): Remove variable.
174         (font-lock-mode): Doc fix.
175         (font-lock-default-function): Do not consult font-lock-defaults-alist.
176         * font-lock.el (font-lock-refresh-defaults): Doc fix.
177         (font-lock-set-defaults): Doc fix.
178         Do not consult font-lock-defaults-alist.
180         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
182         * emacs-lisp/cl.el: No longer provide cl-19.
184 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
186         * net/tramp.el (tramp-handle-directory-files-and-attributes)
187         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
188         New defuns, taken from tramp-smb.el.
189         (tramp-coding-system-change-eol-conversion)
190         (tramp-set-process-query-on-exit-flag): Removed.
192         * net/tramp-compat.el (top): Do not check for byte-compiler
193         objects.
194         (tramp-compat-coding-system-change-eol-conversion)
195         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
196         from tramp.el.
198         * net/tramp-gvfs.el:
199         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
200         by `tramp-compat-set-process-query-on-exit-flag'.
202         * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
203         `tramp-handle-directory-files-and-attributes',
204         `tramp-handle-file-exists-p' and
205         `tramp-handle-file-newer-than-file-p'.
206         (tramp-imap-handle-file-exists-p)
207         (tramp-imap-handle-file-executable-p)
208         (tramp-imap-handle-file-readable-p)
209         (tramp-imap-handle-directory-files-and-attributes)
210         (tramp-imap-handle-file-newer-than-file-p): Removed.
212         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
213         by `tramp-compat-set-process-query-on-exit-flag' and
214         `tramp-coding-system-change-eol-conversion' by
215         `tramp-compat-coding-system-change-eol-conversion'.
217         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
218         `tramp-handle-directory-files-and-attributes',
219         `tramp-handle-file-exists-p' and
220         `tramp-handle-file-newer-than-file-p'.
221         (tramp-smb-handle-directory-files-and-attributes)
222         (tramp-smb-handle-file-exists-p)
223         (tramp-smb-handle-file-newer-than-file-p): Removed.
224         (tramp-smb-maybe-open-connection): Replace
225         `tramp-set-process-query-on-exit-flag' by
226         `tramp-compat-set-process-query-on-exit-flag'.
228 2010-10-05  Glenn Morris  <rgm@gnu.org>
230         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
232 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
234         Continue reorganization of load dependencies.  (Bug#7156)
236         * net/tramp.el (tramp-handle-file-local-copy-hook)
237         (tramp-delete-temp-file-function): Move down.
238         (tramp-exists-file-name-handler): Move up.
239         (tramp-register-file-name-handlers): Simplify autoload.
240         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
241         (tramp-handle-directory-files, tramp-handle-dired-uncache)
242         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
243         (tramp-handle-file-name-completion)
244         (tramp-handle-file-name-directory)
245         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
246         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
247         (tramp-handle-find-backup-file-name)
248         (tramp-handle-insert-file-contents, tramp-handle-load)
249         (tramp-handle-substitute-in-file-name)
250         (tramp-handle-unhandled-file-name-directory)
251         (tramp-mode-string-to-int, tramp-local-host-p)
252         (tramp-make-tramp-temp-file): Moved from tramp-sh.el.
254         * net/tramp-gvfs.el (top):
255         * net/tramp-smb.el (top): Do not require 'tramp-sh.
257         * net/tramp-sh.el (all): Move several objects to tramp.el, see
258         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
260 2010-10-04  Glenn Morris  <rgm@gnu.org>
262         * calendar/appt.el (appt-add): Ensure reminders are enabled.
263         (appt-activate): Give status messages.
265 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
267         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
268         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
269         `gnutls-negotiate' (formerly `starttls-negotiate').  Remove
270         trivial wrapper `starttls-open-stream'.
272 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
274         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
275         log-outgoing commands.
276         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
277         to create a buffer local revert-buffer-function variable.
278         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
279         revert-buffer-function lambda.
281 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
283         * net/gnutls.el (starttls-negotiate): Use the plist interface to
284         `gnutls-boot'.  Make TYPE the only required parameter.  Allow
285         TRUSTFILES and KEYFILES to be lists.
286         (open-ssl-stream): Use it.
288 2010-10-03  Glenn Morris  <rgm@gnu.org>
290         * subr.el (directory-sep-char): Remove obsolete variable.
291         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
292         it is "necessary".
294         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
295         * vc/vc.el (vc-static-header-alist): Doc fix.
296         * vc/vc-cvs.el (vc-cvs-header):
297         * vc/vc-rcs.el (vc-rcs-header):
298         * vc/vc-sccs.el (vc-sccs-header):
299         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
300         * obsolete/vc-mcvs.el (vc-mcvs-header):
301         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
302         on XEmacs.
304 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
306         * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
307         obsolete use of binary-overwrite-mode (Bug#7001).
309 2010-10-03  Glenn Morris  <rgm@gnu.org>
311         * obsolete/x-menu.el: Remove file, obsolete since 21.1
313         * textmodes/rst.el (rst-font-lock-keywords-function):
314         Drop Emacs 20 code.
316         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
318         * printing.el: Drop Emacs 20 code.
320         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
321         without having used appt.el already).
323         * subr.el (make-local-hook): Remove function obsolete since 21.1.
324         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
325         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
326         XEmacs.
327         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
328         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
330         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
331         (charset-width, find-charset-region, chars-in-region, forward-point)
332         (encode-coding-string, coding-system-p, ccl-execute-on-string)
333         (define-ccl-program, multibyte-string-p, string-make-multibyte):
334         Remove compatibility cruft (none of these are used by ps*.el).
336 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
338         * subr.el (booleanp): Return t instead of a list (Bug#7086).
340 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
342         * server.el (server-process-filter, server-return-error): Give
343         emacsclient time to shut down after receiving an error string.
345 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
347         * files.el (remote-file-name-inhibit-cache): New defcustom.
349         * time.el (display-time-file-nonempty-p): Use
350         `remote-file-name-inhibit-cache'.
352         * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
353         docstring.
355         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
356         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
357         `remote-file-name-inhibit-cache'.  Check also for an integer
358         value.  Add/increase counter when `tramp-verbose' >= 10.
359         (tramp-set-file-property): Add/increase counter when
360         `tramp-verbose' >= 10.
362         * net/tramp-cmds.el (tramp-cleanup-all-connections)
363         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
364         (tramp-bug): Set tramp-autoload cookie.  Report all interned
365         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
366         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
367         characters only in strings.
369         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
370         to backward compatibility.
372         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
373         (tramp-handle-file-name-all-completions)
374         (tramp-handle-vc-registered): Use
375         `remote-file-name-inhibit-cache'.
376         (tramp-open-connection-setup-interactive-shell): Call
377         `tramp-cleanup-connection' directly.
379 2010-10-02  Glenn Morris  <rgm@gnu.org>
381         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
383         * subr.el (char-bytes): Remove obsolete function.
385         * isearch.el (isearch-return-char): Remove obsolete function.
387         * mouse.el: No longer provide mldrag.
388         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
389         Remove obsolete aliases.
391         * comint.el (comint-kill-output): Remove obsolete alias.
393         * composite.el (decompose-composite-char): Remove obsolete function.
394         * ps-def.el (decompose-composite-char): Remove unused function.
396         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
398         * outline.el (outline-visible): Remove obsolete function.
400         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
401         * faces.el (internal-find-face, internal-get-face)
402         (frame-update-faces, frame-update-face-colors)
403         (x-frob-font-weight, x-frob-font-slant)
404         (internal-frob-font-weight, internal-frob-font-slant)
405         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
406         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
407         (x-make-font-bold-italic): Remove functions and aliases, obsolete
408         since Emacs 21.1.
409         * emulation/viper-util.el (viper-get-face):
410         * obsolete/lucid.el (find-face, get-face): Use facep.
411         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
412         Remove unused functions.
413         * vc/ediff-util.el (ediff-submit-report): Doc fix.
415         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
416         delete tempfile if interrupted during compilation.
418 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
420         * net/tls.el (tls-starttls-switches): Give up on using starttls with
421         gnutls-cli.
422         (tls-program): Add --insecure to be consistent with the defaults from
423         openssl s_client.  Now all three commands are insecure.
425 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
427         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
428         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
429         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
431 2010-10-01  Glenn Morris  <rgm@gnu.org>
433         * obsolete/sc.el: Remove file.
435         * files.el (temporary-file-directory): On darwin, also try
436         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
438 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
440         * server.el (server-start): Revert part of revno 101688.
441         Let's not break compatibility gratuitously, shall we?
443 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
445         * net/tls.el (tls-starttls-switches): New variable.
446         (tls-find-starttls-argument): Use it.
447         (open-tls-stream): Ditto.
449         * net/netrc.el (netrc-credentials): Return the value of the "default"
450         entry.
451         (netrc-machine): Ditto.
453 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
455         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
457 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
459         * server.el (server-start): Don't write pid to the authentication file.
460         (server-create-tty-frame): Don't send pid.
461         (server-process-filter): Send pid at the start of every connection.
463 2010-09-30  Glenn Morris  <rgm@gnu.org>
465         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
466         (show-all-diary-entries): Remove obsolete function aliases.
468         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
469         Remove options, obsolete since 22.1.
470         (appt-display-format, appt-display-message): Remove
471         backwards-compatibility code.
472         (appt-check): No longer check appt-issue-message.
473         (appt-make-list): No longer autoload it.  Doc fix.  No longer
474         activate the package.
476 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
478         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
479         (starttls-negotiate): Just call boot, and let the handshake be
480         triggered from the read loop.
482 2010-09-29  Glenn Morris  <rgm@gnu.org>
484         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
485         not displaying the diary.
486         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
487         * calendar/appt.el (appt-check): No longer need to kill diary.
489         * calendar/diary-lib.el (diary-list-entries): Move the
490         "Preparing..." message entirely here.
491         (diary-simple-display, diary-fancy-display): Move "Preparing..."
492         messages to diary-list-entries.
493         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
494         diary-display-function.
496         * calendar/diary-lib.el (diary-include-other-diary-files):
497         Trap some recursive includes.
499         * calendar/appt.el (appt-activate): Check diary file.
501 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
503         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
504         construction.
506         * calendar/time-date.el: No need to require cl for Emacs 21.
508 2010-09-28  Glenn Morris  <rgm@gnu.org>
510         * calendar/appt.el (appt-check): Minor simplification.
512 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
514         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
515         citation prefix.
517 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
519         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
520         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
522 2010-09-27  Kenichi Handa  <handa@m17n.org>
524         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
525         "ustar" format.
527 2010-09-27  Kenichi Handa  <handa@m17n.org>
529         * international/mule.el (define-coding-system): Docstring fixed.
531         * international/mule-diag.el (describe-character-set): Use princ
532         with proper print-length and print-level instead of insert.
534 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
536         * window.el (walk-windows): Doc fix (bug#7105).
538 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
540         * emacs-lisp/float-sup.el (e): Remove.
542 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
544         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
545         variable.
546         (starttls-negotiate): Use it.
548 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
550         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
551         back.
553 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
555         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
557 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
559         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
561         * net/netrc.el (netrc-store-data): New function.
563 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
565         * net/gnutls.el: GnuTLS glue code to set up a connection.
567 2010-09-25  Julien Danjou  <julien@danjou.info>
569         * notifications.el: Call dbus-register-signal only if it is bound.
571 2010-09-25  Glenn Morris  <rgm@gnu.org>
573         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
574         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
575         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
576         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
577         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
578         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
579         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
580         * eshell/esh-util.el, eshell/esh-var.el:
581         Remove leading `*' from docs of faces and defcustoms.
583 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
585         * eshell/em-ls.el (eshell-ls-archive-regexp):
586         * eshell/esh-util.el (eshell-tar-regexp):
587         * ibuffer.el (ibuffer-compressed-file-name-regexp):
588         * info.el (Info-suffix-list):
589         * international/mule.el (auto-coding-alist):
590         * woman.el (woman-file-regexp, woman-file-compression-regexp):
591         * progmodes/etags.el (tags-compression-info-list):
592         Support xz compression.
594 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
596         * files.el (get-free-disk-space): Don't assume the "df" output
597         columns line up (Bug#6995).
599 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
601         * finder.el (finder-unknown-keywords):
602         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
603         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
605 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
607         * server.el (server-start): Revert part of 2010-08-08 change.  Using
608         address 127.0.0.1 for local host is now done in Fmake_network_process.
610 2010-09-24  Glenn Morris  <rgm@gnu.org>
612         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
613         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
614         * textmodes/css-mode.el, textmodes/dns-mode.el:
615         Move autoloaded auto-mode-alist entries to files.el.
616         * files.el (auto-mode-alist): Move entries here.
618 2010-09-23  Glenn Morris  <rgm@gnu.org>
620         * isearch.el (isearch-lazy-highlight-cleanup)
621         (isearch-lazy-highlight-initial-delay)
622         (isearch-lazy-highlight-interval)
623         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
624         * net/net-utils.el (ipconfig-program-options):
625         Move aliases to options before the associated definitions.
627 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * newcomment.el (comment-normalize-vars): Better test validity of
630         comment-end-skip.
632 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
634         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
635         (float-e): New name for `e'.
636         (degrees-to-radians, radians-to-degrees):
637         * calendar/solar.el (solar-longitude):
638         * calculator.el (calculator-registers, calculator-funcall):
639         * textmodes/artist.el (artist-spray-random-points):
640         * play/bubbles.el (bubbles--initialize-images): Use new names.
642 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
644         Update to CEDET 1.0's version of EIEIO.
646         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
647         New function.
648         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
649         (eieio-default-eval-maybe): Eval val instead of unquoting only.
650         (class-precedence-list): If class is nil, return nil.
651         (eieio-generic-call): If class of first input arg is nil, don't
652         look up static methods, and do check for primary methods.
653         (initialize-instance): See if the default needs to be evaluated
654         during the constructor.
655         (eieio-perform-slot-validation-for-default): Don't do the check
656         for values that will eventually be evaluated.
657         (eieio-eval-default-p): New function.
658         (eieio-default-eval-maybe): Use it.
660 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
662         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
663         method-invocation-order.
664         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
665         (eieio-class-precedence-dfs): Compute class precedence list using
666         dfs algorithm.
667         (eieio-class-precedence-bfs): Compute class precedence list using
668         bfs algorithm.
669         (eieio-class-precedence-c3): Compute class precedence list using
670         c3 algorithm.
671         (class-precedence-list): New function.
672         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
673         (inconsistent-class-hierarchy): New error symbol.
674         (call-next-method): Stow the replacement argument list for future
675         call-next-method invocations.
677 2010-09-23  Glenn Morris  <rgm@gnu.org>
679         * calendar/appt.el (appt-check): If not displaying the diary,
680         use (diary 1) to only get the entries we need.
681         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
682         that it is in day order.  (Bug#7019)
684         * calendar/appt.el (appt-check): Rather than showing the diary,
685         just turn off invisible display, and only if needed.
687         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
689 2010-09-23  Glenn Morris  <rgm@gnu.org>
691         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
692         (byte-compile-defvar, byte-compile-cl-warn):
693         Start warnings with lower-case, like the majority.
695         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
697         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
699         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
700         * files.el (auto-mode-alist): Move ld-script entries here, further down
701         the list.
703         * vc/add-log.el: Don't require timezone when compiling.
704         (timezone-make-date-sortable): Autoload it.
705         (change-log-sortable-date-at): Don't require timezone.
706         Use `ignore-errors'.
708         * comint.el (comint-use-prompt-regexp-instead-of-fields):
709         Move alias before definition, so it does not need autoloading.
711         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
712         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
713         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
714         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
715         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
716         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
717         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
718         * textmodes/tex-mode.el, textmodes/two-column.el:
719         Remove leading `*' from docs of defcustoms etc.
721 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
723         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
725 2010-09-22  Dan Christensen  <jdc@uwo.ca>
727         * calendar/time-date.el (date-to-time): Try using parse-time-string
728         first before using the slower timezone-make-date-arpa-standard.
730 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
732         * calendar/time-date.el (format-seconds): Comment fix.
734 2010-09-22  Glenn Morris  <rgm@gnu.org>
736         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
737         is not automatically buffer-local.
739 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
741         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
742         (smie-indent-comment): Be more careful with comment-start-skip.
743         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
744         (smie-indent-functions): Use them.
746 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
748         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
750 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
752         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
753         tool-bar-position.  Don't modify frame parameters here.
754         (menu-bar-options-save): Add tool-bar-position.
756         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
758 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
760         * textmodes/reftex-parse.el (reftex-what-macro)
761         (reftex-context-substring): Let-bind forward-sexp-function to nil
762         since we don't need/want to treat \begin...\end as a block (bug#7053).
764         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
766         * simple.el (blink-matching-open): Use syntax-class.
768         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
769         Set invisibility spec for pascal's outline mode.
770         (pascal-outline-change): Clean up calling convention.
771         (pascal-show-all, pascal-hide-other-defuns): Update callers.
773         * progmodes/prolog.el (prolog-smie-forward-token)
774         (prolog-smie-backward-token): New functions.
775         (prolog-mode-variables): Use them to parse "!," correctly.
776         Set up smie-blink-matching for ".".
778         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
779         and `end'.
780         (ispell-region, ispell-process-line): Update users.
782         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
783         point-min==1.
785         * textmodes/ispell.el: Fix commenting convention.
786         (ispell-parse-output): Simplify, use push.
787         (ispell-region): Use match-string-no-properties.
788         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
789         (ispell-minor-mode): Use define-minor-mode.
790         (ispell-message): Remove unused var `skip-regexp'.
791         (ispell-add-per-file-word-list): Use dynamic let-binding.
792         Try and use the proper comment marker.
794         * mail/sendmail.el: Fix commenting convention.
795         (sendmail-send-it): Use line-beginning-position.
797         * help-fns.el (describe-variable): Add original value, if applicable.
799 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
801         * subr.el (y-or-n-p): Remove leftover code from revno 101459.
803         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
805 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
807         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
808         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
809         (smie-prec2-levels): Use them to better diagnose precedence cycles.
810         (smie-blink-matching-check): Don't signal a mismatch if car is t.
811         (smie-blink-matching-open): Rewrite to remove assumptions, so that
812         something like "." can also be a closer.
813         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
814         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
815         Rename internal functions to use "--".  Update callers.
817         * frame.el (make-frame-names-alist): Don't list frames on other displays.
819         * fringe.el (fringe-styles): New var.
820         (fringe-mode, fringe-query-style): Use it.
822 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
824         * progmodes/sql.el: Version 2.8
825         (sql-login-params): Update widget structure; changes still needed.
826         (sql-product-alist): Add :list-all and :list-table features for
827         SQLite, Postgres and MySQL products.
828         (sql-redirect): Handle default value.
829         (sql-execute, sql-execute-feature): New functions.
830         (sql-read-table-name): New function.
831         (sql-list-all, sql-list-table): New functions.  User API.
832         (sql-mode-map, sql-interactive-mode-map): Add key definitions
833         for above functions.
834         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
835         for above functions.
836         (sql-postgres-login-params): Add user and database defaults.
837         (sql-buffer-live-p): Bug fix.
838         (sql-product-history): New variable.
839         (sql-read-product): New function. Use it.
840         (sql-set-product, sql-product-interactive): Use it.
841         (sql-connection-history): New variable.
842         (sql-read-connection): New function.  Use it.
843         (sql-connect): New function.
844         (sql-for-each-login): Redesign function interface.
845         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
846         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
847         (sql-comint): Check for program.  Existing live buffer.
848         (sql-comint-postgres): Add port parameter.
850 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
852         * emacs-lisp/warnings.el: Fix commenting convention.
853         (display-warning): Use special mode and make the buffer read-only.
855 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
857         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
858         empty string when it follows a repeated or optional pattern.
860 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * indent.el (indent-according-to-mode): Apply syntax-propertize.
863         (indent-region): Use indent-according-to-mode.
865 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
867         * fringe.el (fringe-mode): Doc fix.
869 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
871         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
872         refreshing the preview buffer.
874 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
876         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
877         (latex-syntax-propertize-rules): New consts; replace
878         tex-font-lock-syntactic-keywords.
879         (tex-env-mark, latex-env-before-change): New functions.
880         (latex-electric-env-pair-mode): New minor mode.
881         (tex-font-lock-verb): Change arguments; do move point.
882         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
883         representation as a form of comment.
884         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
885         (doctex-syntax-propertize-rules): New const; replaces
886         doctex-font-lock-syntactic-keywords.
887         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
889         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
890         (fortran-make-syntax-propertize-function): New function; replaces
891         fortran-font-lock-syntactic-keywords.
892         (fortran-mode): Use it.
893         (fortran-line-length): Use it.  Improve interactive spec.
895         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
896         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
897         when adding surrounding \(..\).
899         * progmodes/js.el (js-mode): Fix last change (bug#7054).
901 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
903         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
904         Use with-current-buffer.
906         * isearch.el (isearch-face): Rename from `isearch'.
907         (isearch-highlight): Use new name.
909 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
911         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
912         5, for `half' width fringes.  (Bug#6933)
914 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
917         (byte-compile-defvar): "foo/bar" does not lack a prefix.
919         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
921 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
923         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
924         in calculating new frame position.  Add more space between new and
925         parent on the left (Bug#7048).
927 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
929         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
930         defmacro.
932 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
934         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
936         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
937         obsolete alias for x-selection-value.
939         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
941 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
943         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
944         cookie.
946 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
948         * net/tramp-compat.el (tramp-compat-with-temp-message)
949         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
950         (tramp-compat-process-put): New defuns.
952         * net/tramp.el (top):
953         * net/tramp-gvfs.el (top):
954         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
956         * net/tramp.el (tramp-progress-reporter-update):
957         Use `tramp-compat-funcall'.
959         * net/tramp.el (tramp-process-actions):
960         * net/tramp-gvfs.el (tramp-handle-vc-registered):
961         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
962         (tramp-get-remote-stat, tramp-get-remote-readlink):
963         Use `tramp-compat-with-temp-message'.
965         * net/tramp-sh.el (top): Require 'cl.
966         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
967         (tramp-open-connection-setup-interactive-shell):
968         Use `tramp-compat-process-put'.
970 2010-09-15  Alan Mackenzie  <acm@muc.de>
972         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
973         indentation.
974         (c-forward-<>-arglist-recur): Fix an infinite recursion.
976 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
978         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
979         `lexical' for warnings related to lexical scoping.
980         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
981         global vars which don't have a prefix and could hence affect lexical
982         scoping in unrelated files.
984 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
986         * net/imap.el: Revert back to version
987         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
988         seem problematic.
990 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
992         * obsolete/old-whitespace.el (whitespace-unload-function):
993         Explicitly pass `obarray' to `unintern' to avoid a warning.
995 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
997         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
998         Add `when' argument.  Update callers.
1000         * subr.el (unintern): Declare the obarray arg mandatory.
1002 2010-09-14  Glenn Morris  <rgm@gnu.org>
1004         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1005         Doc fixes.
1007         * calendar/diary-lib.el (diary-included-files): New variable.
1008         (diary-list-entries): Maybe initialize diary-included-files.
1009         (diary-include-other-diary-files): Append to diary-included-files.
1010         * calendar/appt.el (appt-update-list): Also check the members of
1011         diary-included-files.  (Bug#6999)
1012         (appt-check): Doc fix.
1014 2010-09-14  David Reitter  <david.reitter@gmail.com>
1016         * simple.el (line-move-visual): Do not truncate goal column to
1017         integer size.  (Bug#7020)
1019 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1021         * repeat.el (repeat): Allow repeating when the last event is a click.
1022         Suggested by Drew Adams (bug#6256).
1024 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
1026         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1027         Replace setting HGRCPATH to "" by some less invasive --config options.
1029 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1031         * font-lock.el (font-lock-beginning-of-syntax-function):
1032         Mark as obsolete.
1034 2010-09-14  Glenn Morris  <rgm@gnu.org>
1036         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1037         and tool-bar modes.  (Bug#6211)
1038         (menu-bar-mode): Move setting of standard-value after the
1039         minor-mode definition, otherwise it seems to have no effect.
1041 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
1043         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1044         Fix typo.  (Bug#6976)
1046 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1048         * whitespace.el: Allow cleaning up blanks without blank
1049         visualization (Bug#6651).  Adjust help window for
1050         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
1051         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
1052         (whitespace-style): Add new value 'face.  Adjust docstring.
1053         (whitespace-space, whitespace-hspace, whitespace-tab):
1054         Adjust foreground property face.
1055         (whitespace-line-column): Adjust docstring and type declaration.
1056         (whitespace-style-value-list, whitespace-toggle-option-alist)
1057         (whitespace-help-text): Adjust const initialization.
1058         (whitespace-toggle-options, global-whitespace-toggle-options):
1059         Adjust docstring.
1060         (whitespace-display-window, whitespace-interactive-char)
1061         (whitespace-style-face-p, whitespace-color-on): Adjust code.
1062         (whitespace-help-scroll): New fun.
1064 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1066         * calendar/time-date.el (format-seconds): Comment fix.
1068 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
1070         * progmodes/sql.el: Version 2.7.
1071         (sql-buffer-live-p): Improve detection.
1072         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1073         (sql-set-sqli-buffer): Use it.
1074         (sql-product-interactive): Run `sql-set-sqli-hook'.
1075         (sql-rename-buffer): Code cleanup.
1076         (sql-redirect, sql-redirect-value): New functions.  More to come.
1078 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
1080         Port tramp-related Makefile changes of revnos 101381, 101422 to Windows.
1081         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1082         (TRAMP_SRC): New macro.
1083         ($(lisp)/net/tramp-loaddefs.el): New target.
1085 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
1087         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
1089         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
1091         * net/tramp.el (top): Don't show loading message.  Require just
1092         'tramp-compat, everything else is required there.
1093         Use `ignore-errors' where appropriate.
1094         (tramp-inline-compress-start-size, tramp-copy-size-limit)
1095         (tramp-terminal-type, tramp-end-of-output)
1096         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1097         (tramp-completion-function-alist-ssh)
1098         (tramp-completion-function-alist-telnet)
1099         (tramp-completion-function-alist-su)
1100         (tramp-completion-function-alist-putty, tramp-remote-path)
1101         (tramp-remote-process-environment, tramp-sh-extra-args)
1102         (tramp-actions-before-shell, tramp-uudecode)
1103         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1104         (tramp-perl-file-attributes)
1105         (tramp-perl-directory-files-and-attributes)
1106         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1107         (tramp-perl-encode, tramp-perl-decode)
1108         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1109         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1110         (tramp-handle-make-symbolic-link, tramp-handle-load)
1111         (tramp-handle-file-name-as-directory)
1112         (tramp-handle-file-name-directory)
1113         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1114         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1115         (tramp-do-file-attributes-with-ls)
1116         (tramp-do-file-attributes-with-perl)
1117         (tramp-do-file-attributes-with-stat)
1118         (tramp-handle-set-visited-file-modtime)
1119         (tramp-handle-verify-visited-file-modtime)
1120         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1121         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1122         (tramp-handle-file-selinux-context)
1123         (tramp-handle-set-file-selinux-context)
1124         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1125         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1126         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1127         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1128         (tramp-handle-file-ownership-preserved-p)
1129         (tramp-handle-directory-file-name, tramp-handle-directory-files)
1130         (tramp-handle-directory-files-and-attributes)
1131         (tramp-do-directory-files-and-attributes-with-perl)
1132         (tramp-do-directory-files-and-attributes-with-stat)
1133         (tramp-handle-file-name-all-completions)
1134         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1135         (tramp-handle-copy-file, tramp-handle-copy-directory)
1136         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1137         (tramp-do-copy-or-rename-file-via-buffer)
1138         (tramp-do-copy-or-rename-file-directly)
1139         (tramp-do-copy-or-rename-file-out-of-band)
1140         (tramp-handle-make-directory, tramp-handle-delete-directory)
1141         (tramp-handle-delete-file)
1142         (tramp-handle-dired-recursive-delete-directory)
1143         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1144         (tramp-handle-insert-directory)
1145         (tramp-handle-unhandled-file-name-directory)
1146         (tramp-handle-expand-file-name)
1147         (tramp-handle-substitute-in-file-name)
1148         (tramp-handle-executable-find, tramp-process-sentinel)
1149         (tramp-handle-start-file-process, tramp-handle-process-file)
1150         (tramp-handle-call-process-region, tramp-handle-shell-command)
1151         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1152         (tramp-handle-insert-file-contents)
1153         (tramp-handle-insert-file-contents-literally)
1154         (tramp-handle-find-backup-file-name)
1155         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1156         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1157         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1158         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1159         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1160         (tramp-find-file-exists-command, tramp-open-shell)
1161         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1162         (tramp-open-connection-setup-interactive-shell)
1163         (tramp-local-coding-commands, tramp-remote-coding-commands)
1164         (tramp-find-inline-encoding, tramp-call-local-coding-command)
1165         (tramp-inline-compress-commands, tramp-find-inline-compress)
1166         (tramp-compute-multi-hops, tramp-maybe-open-connection)
1167         (tramp-send-command, tramp-wait-for-output)
1168         (tramp-send-command-and-check, tramp-barf-unless-okay)
1169         (tramp-send-command-and-read, tramp-mode-string-to-int)
1170         (tramp-convert-file-attributes, tramp-check-cached-permissions)
1171         (tramp-file-mode-from-int, tramp-file-mode-permissions)
1172         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1173         (tramp-method-out-of-band-p, tramp-local-host-p)
1174         (tramp-get-remote-path, tramp-get-remote-tmpdir)
1175         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1176         (tramp-get-test-command, tramp-get-test-nt-command)
1177         (tramp-get-file-exists-command, tramp-get-remote-ln)
1178         (tramp-get-remote-perl, tramp-get-remote-stat)
1179         (tramp-get-remote-readlink, tramp-get-remote-trash)
1180         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1181         (tramp-get-local-uid, tramp-get-local-gid)
1182         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1183         tramp-sh.el.
1184         (tramp-methods, tramp-default-method-alist)
1185         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1186         Move initialization to tramp-sh.el.
1187         (tramp-temp-name-prefix): Make it a defconst.
1188         (tramp-dissect-file-name): Don't check anymore for multi-hop
1189         methods.
1190         (tramp-debug-outline-regexp): Add a docstring.
1191         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1192         (tramp-get-debug-buffer): Use it.
1194         * net/tramp-cache.el (top): Set tramp-autoload cookie for
1195         initialization forms.
1196         (tramp-set-connection-property): Don't protect `tramp-message'
1197         call, it isn't necessary any longer.
1198         (tramp-dump-connection-properties): Use `ignore-errors'.
1200         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1201         'password-cache and 'auth-source.
1203         * net/tramp-gvfs.el (top):
1204         * net/tramp-smb.el (top): Require 'tramp-sh.
1206         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1208         * net/tramp-sh.el: New file, derived from tramp.el.
1209         (top): Initialize `tramp-methods', `tramp-default-method-alist',
1210         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1211         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1212         Use `ignore-errors' where appropriate.
1213         (tramp-sh-file-name-handler-alist): Rename from
1214         `tramp-file-name-handler-alist'.
1215         (tramp-send-command-and-check): Return t or nil.  Remove all
1216         `zerop' checks, where called.
1217         (tramp-handle-set-file-modes)
1218         (tramp-do-copy-or-rename-file-directly)
1219         (tramp-handle-delete-directory, tramp-handle-delete-file)
1220         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1221         (tramp-sh-file-name-handler, tramp-send-command-and-check)
1222         (tramp-get-remote-ln): Set tramp-autoload cookie.
1224         * net/tramp-fish.el: Remove file.
1226 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
1228         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1229         buffer-file-name to avoid file-locking.  (Bug#7026)
1231 2010-09-13  Julien Danjou  <julien@danjou.info>
1233         * notifications.el (notifications-notify): Add support for
1234         image-path and sound-name.
1235         (notifications-specification-version): Add this variable.
1237 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1239         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1241 2010-09-12  Leo  <sdl.web@gmail.com>
1243         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1244         (rcirc-completion-start): New variables.
1245         (rcirc-nick-completions): Rename to rcirc-completions.
1246         (rcirc-nick-completion-start-offset): Delete.
1247         (rcirc-completion-at-point): New function for constructing
1248         completion data for both nicks and irc commands.  Add to
1249         completion-at-point-functions in rcirc mode.
1250         (rcirc-complete): Rename from rcirc-nick-complete; use
1251         rcirc-completion-at-point.
1252         (defun-rcirc-command): Update rcirc-client-commands.
1254 2010-09-11  Glenn Morris  <rgm@gnu.org>
1256         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1257         atomically, to avoid parallel build errors.  (Bug#4196)
1259 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
1261         * progmodes/sql.el: Version 2.6
1262         (sql-dialect): Synonym for "sql-product".
1263         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1264         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1265         Set "sql-buffer" to buffer name not buffer object so multiple sql
1266         interactive buffers work properly.  Reverts misguided changes in
1267         earlier work.
1268         (sql-comint): Make sure different buffer name is used if "*SQL*"
1269         buffer is for a different product.
1270         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1271         login param.
1272         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1273         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1274         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1275         Accept new buffer name or prompt for one.
1276         (sql-port): Default to zero.
1277         (sql-comint-mysql): Handle "sql-port" as a numeric.
1278         (sql-port-history): Delete unused variable.
1279         (sql-get-login): Default "sql-port" to a number.
1280         (sql-product-alist): Correct Postgres prompt and terminator regexp.
1281         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1282         "sqlite3" executables.
1283         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1284         (sql-buffer-live-p): New function.
1285         (sql-mode-menu, sql-send-string): Use it.
1286         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1287         syntax pattern.
1288         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1289         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1291 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1293         * net/netrc.el (netrc-credentials): New convenience function.
1295 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1297         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1298         to replace texinfo-font-lock-syntactic-keywords.
1299         (texinfo-mode): Use it.
1301         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1302         Use syntax-propertize-function.
1304         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1305         replace sgml-font-lock-syntactic-keywords.
1306         (sgml-mode): Use it.
1308         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1309         since we don't use it.
1311         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1313         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1314         if available.
1315         (vhdl-fontify-buffer): Adjust.
1317         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1318         replace tcl-font-lock-syntactic-keywords.
1319         (tcl-mode): Use it.
1321         * progmodes/simula.el (simula-syntax-propertize-function): New var to
1322         replace simula-font-lock-syntactic-keywords.
1323         (simula-mode): Use it.
1325         * progmodes/sh-script.el (sh-st-symbol): Remove.
1326         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1327         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1328         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1329         (sh-font-lock-paren): Set syntax-multiline.
1330         (sh-font-lock-syntactic-keywords): Remove.
1331         (sh-syntax-propertize-function): New function to replace it.
1332         (sh-mode): Use it.
1334         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1335         Define while compiling.
1336         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1337         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1338         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1339         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1340         (ruby-here-doc-end-syntax): Only define when
1341         syntax-propertize is not available.
1342         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1343         New functions.
1344         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1345         (electric-indent-chars): Silence bytecompiler.
1346         (ruby-mode): Use prog-mode, syntax-propertize-function, and
1347         electric-indent-chars.
1349         * progmodes/python.el (python-syntax-propertize-function): New var to
1350         replace python-font-lock-syntactic-keywords.
1351         (python-mode): Use it.
1352         (python-quote-syntax): Simplify and adjust to new use.
1354         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1355         replace perl-font-lock-syntactic-keywords.
1356         (perl-syntax-propertize-special-constructs): New fun to replace
1357         perl-font-lock-special-syntactic-constructs.
1358         (perl-font-lock-syntactic-face-function): New fun.
1359         (perl-mode): Use it.
1361         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1362         to replace octave-font-lock-close-quotes.
1363         (octave-syntax-propertize-function): New function to replace
1364         octave-font-lock-syntactic-keywords.
1365         (octave-mode): Use it.
1367         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1368         replaces mixal-font-lock-syntactic-keywords.
1369         (mixal-mode): Use it.
1371         * progmodes/make-mode.el (makefile-syntax-propertize-function):
1372         New var; replaces makefile-font-lock-syntactic-keywords.
1373         (makefile-mode): Use it.
1374         (makefile-imake-mode): Adjust.
1376         * progmodes/js.el (js--regexp-literal): Define while compiling.
1377         (js-syntax-propertize-function): New var; replaces
1378         js-font-lock-syntactic-keywords.
1379         (js-mode): Use it.
1381         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1382         replaces gdb-script-font-lock-syntactic-keywords.
1383         (gdb-script-mode): Use it.
1385         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1386         (fortran--font-lock-syntactic-keywords): New var.
1387         (fortran-line-length): Update syntax-propertize-function and
1388         fortran--font-lock-syntactic-keywords.
1390         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1392         * progmodes/cfengine.el (cfengine-mode):
1393         Use syntax-propertize-function.
1394         (cfengine-font-lock-syntactic-keywords): Remove.
1396         * progmodes/autoconf.el (autoconf-mode):
1397         Use syntax-propertize-function.
1398         (autoconf-font-lock-syntactic-keywords): Remove.
1400         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1401         (ada-after-change-function, ada-initialize-syntax-table-properties)
1402         (ada-handle-syntax-table-properties): Only define when
1403         syntax-propertize is not available.
1404         (ada-mode): Use syntax-propertize-function.
1406         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1407         (font-lock-fontify-syntactic-keywords-region): Move handling of
1408         font-lock-syntactically-fontified to...
1409         (font-lock-default-fontify-region): ...here.
1410         Let syntax-propertize-function take precedence.
1411         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1413         * emacs-lisp/syntax.el (syntax-propertize-function)
1414         (syntax-propertize-chunk-size, syntax-propertize--done)
1415         (syntax-propertize-extend-region-functions): New vars.
1416         (syntax-propertize-wholelines, syntax-propertize-multiline)
1417         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1418         (syntax-propertize): New functions.
1419         (syntax-propertize-rules): New macro.
1420         (syntax-ppss-flush-cache): Set syntax-propertize--done.
1421         (syntax-ppss): Call syntax-propertize.
1423         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1425 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
1427         * textmodes/ispell.el (ispell-init-process): Improve comments.
1428         XEmacs compatibility changes regarding (add-hook) 'local option
1429         and (set-process-query-on-exit-flag).
1431 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
1433         * net/tramp-cache.el (tramp-parse-connection-properties):
1434         Set tramp-autoload cookie.
1436 2010-09-09  Glenn Morris  <rgm@gnu.org>
1438         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1439         (imagemagick-register-types): Doc fix.
1441 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1445         * progmodes/js.el (require): Require is already "eval-and-compile".
1446         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
1447         (js--re-search-backward): Use js--re-search-forward.
1449         * progmodes/fortran.el (fortran-line-length): Don't recompute
1450         syntactic keywords redundantly a second time.
1452         * progmodes/ada-mode.el: Replace "(set '" with setq.
1453         (ada-mode): Simplify.
1454         (ada-create-case-exception, ada-adjust-case-interactive)
1455         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1456         (ada-search-ignore-string-comment, ada-move-to-start)
1457         (ada-move-to-end): Use with-syntax-table.
1459         * font-lock.el (save-buffer-state): Remove `varlist' arg.
1460         (font-lock-unfontify-region, font-lock-default-fontify-region):
1461         Update usage correspondingly.
1462         (font-lock-fontify-syntactic-keywords-region):
1463         Set parse-sexp-lookup-properties buffer-locally here.
1464         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1466         * simple.el (blink-matching-open): Don't burp if we can't find a match.
1468 2010-09-08  Glenn Morris  <rgm@gnu.org>
1470         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1471         Error if not compiled with -DBYTE_CODE_METER.
1473         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1474         Ignore dir-locals-file.
1476 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1478         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1479         Not a const.
1480         (compilation-error-regexp-alist-alist): Rule out ": " in file names
1481         for the `gnu' messages.
1482         (compilation-set-skip-threshold): New command.
1483         (compilation-start): Use \' rather than $.
1484         (compilation-forget-errors): Use clrhash.
1486 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
1488         * textmodes/ispell.el (ispell-valid-dictionary-list):
1489         Simplify logic.
1491 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1493         Migrate to Tramp 2.2.  Rearrange load dependencies.
1494         (Bug#1529, Bug#5448, Bug#5705)
1496         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1497         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1498         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1500         * net/tramp.el (top): Remove all other tramp-* loads except
1501         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1502         other tramp-* packages.  Rearrange defun order.  Change calls of
1503         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1504         `tramp-compat-octal-to-decimal' to new function names.
1505         (tramp-terminal-type, tramp-initial-end-of-output)
1506         (tramp-methods, tramp-foreign-file-name-handler-alist)
1507         (tramp-tramp-file-p, tramp-completion-mode-p)
1508         (tramp-send-command-and-check, tramp-get-remote-path)
1509         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1510         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1511         (with-file-property, with-connection-property): Move to
1512         tramp-cache.el.
1513         (tramp-local-call-process, tramp-decimal-to-octal)
1514         (tramp-octal-to-decimal): Move to tramp-compat.el.
1515         (tramp-handle-shell-command): Do not require 'shell.
1516         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1517         symbols.
1518         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1520         * net/tramp-cache.el (top): Require 'tramp.  Add to
1521         `tramp-unload-hook'.
1522         (tramp-cache-data, tramp-get-file-property)
1523         (tramp-set-file-property, tramp-flush-file-property)
1524         (tramp-flush-directory-property, tramp-get-connection-property)
1525         (tramp-set-connection-property, tramp-flush-connection-property)
1526         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1527         cookie.
1528         (with-file-property, with-connection-property): New defuns, moved
1529         from tramp.el.
1530         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1531         macro.
1533         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1534         (tramp-version): Set tramp-autoload cookie.
1536         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1537         changes to tramp-unload-hook for other tramp-* packages.  Add to
1538         `tramp-unload-hook'.
1539         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1540         (tramp-compat-call-process): New defuns, moved from tramp.el.
1542         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1543         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1544         to `tramp-unload-hook'.  Change call of
1545         `tramp-compat-decimal-to-octal' to new function name.
1546         (tramp-fish-method): Make it a defconst.
1547         (tramp-fish-file-name-p): Make it a defsubst.
1548         (tramp-fish-method, tramp-fish-file-name-handler)
1549         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1551         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1552         `tramp-foreign-file-name-handler-alist'.  Add to
1553         `tramp-unload-hook'.
1554         (tramp-ftp-method): Make it a defconst.
1555         (tramp-ftp-file-name-p): Make it a defsubst.
1556         (tramp-ftp-method, tramp-ftp-file-name-handler)
1557         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1559         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1560         `tramp-foreign-file-name-handler-alist'.  Add to
1561         `tramp-unload-hook'.  Change checks, whether package can be
1562         loaded.
1563         (tramp-gvfs-file-name-p): Make it a defsubst.
1564         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1565         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1566         (tramp-gvfs-handle-file-directory-p): New defun.
1567         (tramp-gvfs-file-name-handler-alist): Use it.
1569         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1570         `tramp-foreign-file-name-handler-alist'.  Add to
1571         `tramp-unload-hook'.
1572         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1573         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1574         defconst.
1575         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1576         (tramp-gw-open-connection): Set tramp-autoload cookie.
1578         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1579         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1580         to `tramp-unload-hook'.  Change checks, whether package can be
1581         loaded.
1582         (tramp-imap-file-name-p): Make it a defsubst.
1583         (tramp-imap-method, tramp-imaps-method)
1584         (tramp-imap-file-name-handler)
1585         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1587         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1588         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1589         to `tramp-unload-hook'.  Change checks, whether package can be
1590         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1591         function name.
1592         (tramp-smb-tunnel-method): Make it a defconst.
1593         (tramp-smb-file-name-p): Make it a defsubst.
1594         (tramp-smb-method, tramp-smb-file-name-handler)
1595         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1597         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1598         (tramp-uuencode-region): Set tramp-autoload cookie.
1600         * net/trampver.el (top) Add to `tramp-unload-hook'.
1601         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1602         cookie.  Update release number.
1604 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1606         * textmodes/ispell.el (ispell-start-process): Make sure original
1607         arg list is properly initialized (Bug#6993, Bug#6994).
1609 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1611         * files.el (directory-abbrev-alist): Use \` as default regexp.
1613         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1614         chars like - or ] (bug#6984).
1615         (rx-any-condense-range): Explode 2-char ranges.
1617 2010-09-06  Glenn Morris  <rgm@gnu.org>
1619         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1621 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1623         * textmodes/bibtex.el:
1624         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1626 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1628         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1629         since no callers use it.
1630         (imap-message-get): Ditto.
1631         (imap-message-put): Ditto.
1632         (imap-mailbox-map): Ditto.
1633         (imap-mailbox-put): Ditto.
1634         (imap-mailbox-get): Ditto.
1635         (imap-mailbox-get): Revert last change for this function.
1637 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1639         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1640         callers to use `imap-fetch' instead.  According to the comments, this
1641         should be safe, since all other IMAP clients use the 1:* syntax.
1642         (imap-enable-exchange-bug-workaround): Remove.
1643         (imap-debug): Remove -- doesn't seem very useful.
1645 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1647         * net/imap.el (imap-log): New convenience function used throughout
1648         instead of repeating the same code all over the place.
1650 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1652         * mouse.el (mouse-save-then-kill): Save region to kill-ring
1653         when mouse-drag-copy-region is non-nil (Bug#6956).
1655 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
1657         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1658         Improve regexps (Bug#6987).
1659         (dired-sort-toggle): Search more robustly for -t flag.
1661         * files.el (get-free-disk-space): Search more robustly for
1662         "available" column.  Suggested by Ehud Karni
1663         <ehud@unix.mvs.co.il>.
1665 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
1667         * international/uni-bidi.el:
1668         * international/uni-category.el:
1669         * international/uni-combining.el:
1670         * international/uni-decimal.el:
1671         * international/uni-mirrored.el:
1672         * international/uni-name.el: Regenerate.
1674 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1676         * electric.el (electric-indent-post-self-insert-function):
1677         Don't reindent with a sloppy indentation function.
1679         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1680         border case in change-log-mode.
1682 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
1684         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1685         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1686         Recognize leading tab in gcc-include regexp.  Ignore names with
1687         leading "from" or "in" in gnu regexp (Bug#6937).
1689 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1691         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1692         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1693         (ispell-start-process): Avoid setq and simplify logic.
1694         (ispell-init-process): Setup kill-buffer-hook locally when needed.
1695         (kill-buffer-hook): Don't use it globally with code that uses
1696         expand-file-name since that may call kill-buffer via
1697         code_conversion_restore.
1699 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
1701         * emacs-lisp/package.el (package-directory-list): Only call
1702         file-name-nondirectory on a string.
1704 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1706         * emacs-lisp/package.el (package--download-one-archive):
1707         Ensure that archive-contents is valid before saving it.
1708         (package-activate-1, package-mark-obsolete, define-package)
1709         (package-compute-transaction, package-list-maybe-add): Use push.
1711 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1713         Use SMIE's blink-paren for octave-mode.
1714         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1715         Backslashes do not escape single-quotes, single-quotes do.
1716         (octave-block-else-regexp, octave-block-end-regexp)
1717         (octave-block-match-alist): Remove.
1718         (octave-smie-bnf-table): New var, with old content.
1719         (octave-smie-op-levels): Use it.
1720         (octave-smie-closer-alist): New var.
1721         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
1722         (octave-blink-matching-block-open): Remove.
1723         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1724         (octave-electric-space): Let self-insert-command run expand-abbrev and
1725         blink parens.
1727         * electric.el (electricity): New group.
1728         (electric-indent-chars): New var.
1729         (electric-indent-post-self-insert-function): New fun.
1730         (electric-indent-mode): New minor mode.
1731         (electric-pair-skip-self): New custom.
1732         (electric-pair-post-self-insert-function): New function.
1733         (electric-pair-mode): New minor mode.
1735         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1736         calcAlg-blink-matching-open.
1737         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1738         (calc-do-alg-entry): Only touch the part of the keymap that varies.
1739         Use the new blink-matching-check-function.
1741         Provide blink-matching support to SMIE.
1742         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1743         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1744         (smie-blink-matching-check, smie-blink-matching-open): New functions.
1746         * simple.el (newline): Fix last change to properly remove itself from
1747         the hook.
1749 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1751         * simple.el (newline): Eliminate optimization.
1752         Use post-self-insert-hook to set hard-newline and things before
1753         running post-self-insert-hook.
1754         (blink-matching-check-mismatch): New function.
1755         (blink-matching-check-function): New variable.
1756         (blink-matching-open): Use them.
1757         Skip back forward over prefix chars skipped by forward-sexp.
1758         Don't check if the parens are backslash escaped.
1759         (blink-paren-post-self-insert-function): Check backslash escaping here.
1761 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1763         * emacs-lisp/package.el (package-menu-mode-map):
1764         Change package-menu-revert bindings to revert-buffer.
1765         (package-menu-mode): Set revert-buffer-function.
1766         (package-menu-revert): Doc fix.
1768 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
1770         * textmodes/ispell.el (ispell-init-process): Use "~/" as
1771         `default-directory' unless using Ispell per-directory personal
1772         dictionaries and not in a mini-buffer under XEmacs.
1773         (kill-buffer-hook): Do not kill ispell process on exit when
1774         `ispell-process-directory' is "~/".  (Bug#6143)
1776 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
1778         * simple.el (kill-new): Call interprogram-cut-function with only
1779         one argument.
1781         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1782         Remove cut buffer from error message.
1784         * term/x-win.el (x-select-text):
1785         * term/pc-win.el (x-selection-value):
1786         * term/ns-win.el (x-selection-value):
1787         * eshell/em-term.el:
1788         * w32-fns.el (x-get-selection-value):
1789         * mouse-sel.el (mouse-sel-set-selection-function):
1790         * frame.el (display-selections-p): Remove cut-buffer in documentation.
1792         * term/x-win.el: Update documentation for x-last-selected-text-*.
1793         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1794         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1795         (x-select-text): Remove argument PUSH, update documentation.  Remove
1796         cut-buffer code.
1797         (x-selection-value-internal): Was previously x-selection-value.
1798         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1799         Update documentation, remove cut-buffer code.  Call
1800         x-selection-value-internal.
1801         (x-clipboard-yank): Call x-selection-value-internal.
1802         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1804         * term/pc-win.el (x-last-selected-text):
1805         x-cut-buffer-or-selection-value renamed to x-selection-value
1806         (x-select-text): Remove argument PUSH, update documentation.
1808         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1809         x-cut-buffer-or-selection-value renamed to x-selection-value
1810         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1811         (x-select-text): Remove argument PUSH, update documentation.
1813         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1815         * w32-fns.el (x-last-selected-text):
1816         x-cut-buffer-or-selection-value renamed to x-selection-value.
1817         (x-cut-buffer-max): Remove.
1818         (x-select-text): Remove argument PUSH, update documentation.
1820         * simple.el (interprogram-cut-function): Remove mention of PUSH.
1822         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1824         * mouse-sel.el (mouse-sel-get-selection-function):
1825         x-cut-buffer-or-selection-value renamed to x-selection-value.
1826         (x-select-text): Remove optional push.
1828 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1830         * simple.el (blink-paren-function): Move from C to here.
1831         (blink-paren-post-self-insert-function): New function.
1832         (post-self-insert-hook): Use it.
1834         * emacs-lisp/pcase.el (pcase-split-memq):
1835         Fix overenthusiastic optimisation.
1836         (pcase-u1): Handle the case of a lambda pred.
1838 2010-08-31  Kenichi Handa  <handa@m17n.org>
1840         * international/mule-cmds.el (standard-display-european-internal):
1841         Setup standard-display-table for 8-bit characters by storing 8-bit
1842         characters in the element vector.
1844         * disp-table.el (standard-display-8bit):
1845         Setup standard-display-table for 8-bit characters by storing 8-bit
1846         characters in the element vector.
1847         (standard-display-european): Likewise.
1849 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
1851         * textmodes/nroff-mode.el (nroff-view): New command.
1852         (nroff-mode-map): Bind it to C-c C-c.
1854 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1856         * emacs-lisp/smie.el (smie-down-list): New command.
1858         Remove old indentation and navigation code on octave-mode.
1859         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1860         smie-down-list rather than add a binding for octave-down-block.
1861         (octave-mark-block, octave-blink-matching-block-open):
1862         Rely on forward-sexp-function.
1863         (octave-fill-paragraph): Don't narrow, so you can use
1864         indent-according-to-mode.
1865         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1866         (octave-in-block-p, octave-re-search-forward-kw)
1867         (octave-re-search-backward-kw, octave-indent-calculate)
1868         (octave-end-as-array-index-p, octave-block-end-offset)
1869         (octave-scan-blocks, octave-forward-block, octave-backward-block)
1870         (octave-down-block, octave-backward-up-block, octave-up-block)
1871         (octave-before-magic-comment-p, octave-indent-line): Remove.
1873 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
1875         * emacs-lisp/package.el (package--read-archive-file): Just use
1876         `read', to avoid copying an additional string.
1877         (package-menu-mode): Set header-line-format here.
1878         (package-menu-refresh, package-menu-revert): Signal an error if
1879         not in the Package Menu.
1880         (package-menu-package-list): New var.
1881         (package--generate-package-list): Operate on the current buffer;
1882         don't assume that it is *Packages*, since the user may rename it.
1883         Allow persistent package listings and sort keys using
1884         package-menu-package-list and package-menu-package-sort-key.
1885         (package-menu--version-predicate): Fix version calculation.
1886         (package-menu-sort-by-column): Don't select the window.
1887         (package--list-packages): Create the *Packages* buffer.
1888         Set package-menu-package-list-key.
1889         (list-packages): Sorting by status is now the default.
1890         (package-buffer-info): Use match-string-no-properties.
1891         (define-package): Add a &rest argument for future proofing, but
1892         don't use it yet.
1893         (package-install-from-buffer, package-install-buffer-internal):
1894         Merge into a single function, package-install-from-buffer.
1895         (package-install-file): Change caller.
1897         * finder.el: Load finder-inf using `require'.
1898         (finder-list-matches): Sorting by status is now the default.
1899         (finder-compile-keywords): Simpify printing.
1901 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1903         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1904         (octave-mode-map): Remove special bindings for forward/backward-block
1905         and octave-backward-up-block.  Use smie-close-block.
1906         (octave-continuation-marker-regexp): New var.
1907         (octave-continuation-regexp): Use it.
1908         (octave-operator-table, octave-smie-op-levels)
1909         (octave-operator-regexp, octave-smie-indent-rules): New vars.
1910         (octave-smie-backward-token, octave-smie-forward-token): New funs.
1911         (octave-mode): Use SMIE.
1912         (octave-close-block): Delete.
1914 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
1916         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1917         CLIPBOARD, not in PRIMARY.  (Bug#6944)
1919 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1921         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1922         a list of parents.
1923         (smie-indent-column): Allow indirection through variables.
1925         * composite.el (save-buffer-state): Delete, unused.
1926         * font-lock.el (save-buffer-state): Use with-silent-modifications.
1927         (font-lock-default-fontify-region): Use with-syntax-table.
1928         * jit-lock.el (with-buffer-unmodified): Remove.
1929         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1931         Use `declare' in defmacros.
1932         * window.el (save-selected-window):
1933         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1934         * progmodes/python.el (def-python-skeleton):
1935         * net/dbus.el (dbus-ignore-errors):
1936         * jka-cmpr-hook.el (with-auto-compression-mode):
1937         * international/mule.el (with-category-table):
1938         * emacs-lisp/timer.el (with-timeout):
1939         * emacs-lisp/lisp-mnt.el (lm-with-file):
1940         * emacs-lisp/eieio.el (with-slots):
1941         * emacs-lisp/easymenu.el (easy-menu-define):
1942         * emacs-lisp/debug.el (debugger-env-macro):
1943         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1944         (Multiple-value-call, Multiple-value-prog1):
1945         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1946         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1947         edebug rule to definition.
1948         * emacs-lisp/lisp-mode.el (save-selected-window)
1949         (with-current-buffer, combine-after-change-calls)
1950         (with-output-to-string, with-temp-file, with-temp-buffer)
1951         (with-temp-message, with-syntax-table, read-if, eval-after-load)
1952         (dolist, dotimes, when, unless):
1953         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1955 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1957         * finder.el: Require `package'.
1958         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
1959         (finder-package-info): Var deleted.
1960         (finder-keywords-hash, finder--builtins-alist): New vars.
1961         (finder-compile-keywords): Compute package--builtins and
1962         finder-keywords-hash instead of finder-keywords-hash, respecting
1963         the "Package" header.
1964         (finder-unknown-keywords, finder-list-matches):
1965         Use finder-keywords-hash and package--list-packages.
1966         (finder-mode): Don't set font-lock-defaults.
1967         (finder-exit): We don't use "*Finder-package*" and "*Finder
1968         Category*" buffers anymore.
1970         * emacs-lisp/package.el (package--builtins-base): Var deleted.
1971         (package--builtins): Set default value to nil.
1972         (package-initialize): Load precomputed value of package--builtins
1973         from finder-inf.el.
1974         (package-alist, package-compute-transaction)
1975         (package-download-transaction): Improve docstring.
1976         (package-read-all-archive-contents): Do not change
1977         package--builtins here.
1978         (list-packages): Make package-list-packages an alias for this.
1979         Sort by status by default.
1980         (package--list-packages): Add optional PACKAGES arg.
1981         (describe-package-1): Use font-lock-face property.  For built-in
1982         packages, insert file commentary.
1983         (package--generate-package-list): Rename from
1984         package-list-packages-internal; all callers changed.  Add optional
1985         PACKAGES arg.  Add alphabetical sort fallbacks.
1986         (package-menu--version-predicate, package-menu--status-predicate)
1987         (package-menu--description-predicate)
1988         (package-menu--name-predicate): New functions.
1990         * info.el (Info-finder-find-node): Search package-alist instead of
1991         finder-package-info.
1993 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1995         * subr.el (version-regexp-alist): Don't use "a" and "b" for
1996         "alpha" and "beta".
1997         (version-to-list): Handle versions like "10.3d".
1999 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2001         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2002         (macroexp-accumulate): Use `declare'.
2004 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2006         * whitespace.el (whitespace-style): Adjust type declaration.
2008 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
2010         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2011         empty argument to gvfs-copy.
2013 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2015         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2016         handle new TRASH arg of `delete-file'.
2018 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
2020         * net/tramp.el (tramp-handle-insert-directory): Don't use
2021         `forward-word', its default syntax could be changed.
2023 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
2024             Michael Albinus  <michael.albinus@gmx.de>
2026         Implement compression for inline methods.
2028         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2029         (tramp-copy-size-limit): Allow also nil.
2030         (tramp-inline-compress-commands): New defconst.
2031         (tramp-find-inline-compress, tramp-get-inline-compress)
2032         (tramp-get-inline-coding): New defuns.
2033         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2034         replaced by `tramp-get-inline-coding'.
2035         (tramp-handle-file-local-copy, tramp-handle-write-region)
2036         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2038 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
2040         Detect ssh 'ControlMaster' argument automatically in some cases.
2042         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2043         (tramp-default-method): Use it.
2045 2010-08-26  Karel Klíč  <kklic@redhat.com>
2047         * net/tramp.el (tramp-file-name-for-operation):
2048         Add file-selinux-context.
2050 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
2052         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2054 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2056         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2057         (Bug#6907).
2059 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
2061         * progmodes/js.el: Make indentation more customizable (Bug#6914).
2062         (js-paren-indent-offset, js-square-indent-offset)
2063         (js-curly-indent-offset): New options.
2064         (js--proper-indentation): Use them.
2066 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
2068         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2069         instead of inspecting font-lock properties (Bug#6916).
2071 2010-08-26  David Reitter  <david.reitter@gmail.com>
2073         * server.el (server-visit-files): Run pre-command-hook and
2074         post-command-hook for each buffer while it is current (Bug#6910).
2075         (server-execute): Do not run hooks here.
2077 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
2079         Sync with Tramp 2.1.19.
2081         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2082         (tramp-reporter-dump-variable, tramp-load-report-modules)
2083         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2084         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2086         * net/tramp-compat.el (top): Do not autoload
2087         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
2088         only when `start-file-process' is not bound.
2089         (byte-compile-not-obsolete-vars): Define if not bound.
2090         (tramp-compat-funcall): New defmacro.
2091         (tramp-compat-line-beginning-position)
2092         (tramp-compat-line-end-position)
2093         (tramp-compat-temporary-file-directory)
2094         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2095         (tramp-compat-copy-file, tramp-compat-copy-directory)
2096         (tramp-compat-delete-file, tramp-compat-delete-directory)
2097         (tramp-compat-number-sequence, tramp-compat-process-running-p):
2098         Use it.
2099         (tramp-advice-file-expand-wildcards): Do not use
2100         `tramp-handle-file-remote-p'.
2101         (tramp-compat-make-temp-file): Simplify fallback implementation.
2102         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2103         (tramp-compat-copy-tree): Remove function.
2104         (tramp-compat-delete-file): New defun.
2105         (tramp-compat-delete-directory): Provide implementation for older
2106         Emacsen.
2107         (tramp-compat-file-attributes): Handle only
2108         `wrong-number-of-arguments' error.
2110         * net/tramp-fish.el (tramp-fish-handle-copy-file):
2111         Add PRESERVE_SELINUX_CONTEXT.
2112         (tramp-fish-handle-delete-file): Add TRASH arg.
2113         (tramp-fish-handle-directory-files-and-attributes):
2114         Do not use `tramp-fish-handle-file-attributes.
2115         (tramp-fish-handle-file-local-copy)
2116         (tramp-fish-handle-insert-file-contents)
2117         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2119         * net/tramp-gvfs.el (top): Require url-util.
2120         (tramp-gvfs-mount-point): Remove.
2121         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2122         and `set-file-selinux-context'.
2123         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2124         (tramp-gvfs-handle-file-selinux-context)
2125         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2126         (with-tramp-dbus-call-method): Format trace message.
2127         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2128         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2129         Implement backup call, when operation on local files fails.
2130         Use progress reporter.  Flush properties of changed files.
2131         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
2132         `tramp-compat-delete-file'.
2133         (tramp-gvfs-handle-expand-file-name): Expand "~/".
2134         (tramp-gvfs-handle-make-directory): Make more traces.
2135         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2136         (tramp-gvfs-url-file-name): Hexify file name in url.
2137         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2138         into account for the resulting file name.
2139         (tramp-gvfs-handler-askquestion): Preserve current message, in
2140         order to let progress reporter continue afterwards.  (Bug#6257)
2141         Return dummy mountpoint, when the answer is "no".
2142         See `tramp-gvfs-maybe-open-connection'.
2143         (tramp-gvfs-handler-mounted-unmounted)
2144         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2145         attribute "default_location".  Set "prefix" property.
2146         Handle default-location.
2147         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2148         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2149         exists.  Raise an error, if not (due to a corresponding answer
2150         "no" in interactive questions, for example).
2151         Use `tramp-compat-funcall'.
2153         * net/tramp-imap.el (top): Autoload `epg-make-context'.
2154         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2155         (tramp-imap-do-copy-or-rename-file)
2156         (tramp-imap-handle-insert-file-contents)
2157         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2158         (tramp-imap-handle-delete-file): Add TRASH arg.
2160         * net/tramp-smb.el (tramp-smb-handle-copy-file):
2161         Add PRESERVE-SELINUX-CONTEXT.
2162         (tramp-smb-handle-copy-file)
2163         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2164         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2165         Use `with-progress-reporter'.
2166         (tramp-smb-handle-delete-file): Add TRASH arg.
2168         * net/tramp.el (tramp-methods): Move hostname to the end in all
2169         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
2170         appropriate.
2171         (tramp-verbose): Describe verbose level 9.
2172         (tramp-completion-function-alist)
2173         (tramp-file-name-regexp, tramp-chunksize)
2174         (tramp-local-coding-commands, tramp-remote-coding-commands)
2175         (with-connection-property, tramp-completion-mode-p)
2176         (tramp-action-process-alive, tramp-action-out-of-band)
2177         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2178         (tramp-exists-file-name-handler): Fix docstring.
2179         (tramp-remote-process-environment): Use `format' instead of
2180         `concat'.  Protect version string by apostroph.
2181         (tramp-shell-prompt-pattern): Do not use a shy group in case of
2182         XEmacs.
2183         (tramp-file-name-regexp-unified)
2184         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2185         not regard the volume letter as remote filename.  (Bug#5447)
2186         (tramp-perl-file-attributes)
2187         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2188         (tramp-vc-registered-read-file-names): Read input as
2189         here-document, otherwise the command could exceed maximum length
2190         of command line.
2191         (tramp-file-name-handler-alist): Add `file-selinux-context' and
2192         `set-file-selinux-context'.
2193         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2194         backtrace functions.
2195         (tramp-error-with-buffer): Don't show the connection buffer when
2196         we are in completion mode.
2197         (tramp-progress-reporter-update, tramp-remote-selinux-p)
2198         (tramp-handle-file-selinux-context)
2199         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2200         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2201         New defuns.
2202         (with-progress-reporter): New defmacro.
2203         (tramp-debug-outline-regexp): New defconst.
2204         (top, tramp-rfn-eshadow-setup-minibuffer)
2205         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2206         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2207         (tramp-completion-mode-p, tramp-check-for-regexp)
2208         (tramp-open-connection-setup-interactive-shell)
2209         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2210         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2211         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2212         Use `tramp-compat-funcall'.
2213         (tramp-handle-make-symbolic-link): Flush file properties.
2214         (tramp-handle-load, tramp-handle-file-local-copy)
2215         (tramp-handle-insert-file-contents, tramp-handle-write-region)
2216         (tramp-handle-vc-registered, tramp-maybe-send-script)
2217         (tramp-find-shell): Use `with-progress-reporter'.
2218         (tramp-do-file-attributes-with-stat): Add space in format string,
2219         in order to work around a bug in pdksh.  Reported by Gilles Pion
2220         <gpion@lfdj.com>.
2221         (tramp-handle-verify-visited-file-modtime): Do not send a command
2222         when the connection is not established.
2223         (tramp-handle-set-file-times): Simplify the check for utc.
2224         (tramp-handle-directory-files-and-attributes)
2225         (tramp-get-remote-path): Use `copy-tree'.
2226         (tramp-completion-handle-file-name-all-completions): Ensure, that
2227         non remote files are still checked.  Oops.
2228         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2229         Handle PRESERVE-SELINUX-CONTEXT.
2230         (tramp-do-copy-or-rename-file): Add progress reporter.
2231         (tramp-do-copy-or-rename-file-directly): Do not use
2232         `tramp-handle-file-remote-p'.
2233         (tramp-do-copy-or-rename-file-out-of-band):
2234         Use `tramp-compat-delete-directory'.
2235         (tramp-do-copy-or-rename-file-out-of-band)
2236         (tramp-compute-multi-hops, tramp-maybe-open-connection):
2237         Use `format-spec-make'.
2238         (tramp-handle-delete-file): Add TRASH arg.
2239         (tramp-handle-dired-uncache): Flush directory cache, not only file
2240         cache.
2241         (tramp-handle-expand-file-name)
2242         (tramp-completion-handle-file-name-all-completions)
2243         (tramp-completion-handle-file-name-completion):
2244         Use `tramp-connectable-p'.
2245         (tramp-handle-start-file-process): Set connection property "vec".
2246         Use it, in order to invalidate file caches.  Check only for
2247         `remote-tty' process property.
2248         Implement tty setting.  (Bug#4604, Bug#6360)
2249         (tramp-file-name-for-operation): Add `call-process-region' and
2250         `set-file-selinux-context'.
2251         (tramp-find-foreign-file-name-handler)
2252         (tramp-advice-make-auto-save-file-name)
2253         (tramp-set-auto-save-file-modes): Remove superfluous check for
2254         `stringp'.  This is done inside `tramp-tramp-file-p'.
2255         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
2256         operations when we are in completion mode.  This gives the user
2257         the chance to correct the file name in the minibuffer.
2258         (tramp-completion-mode-p): Use `non-essential'.
2259         (tramp-handle-file-name-all-completions): Backward/ XEmacs
2260         compatibility: Use `completion-ignore-case' if
2261         `read-file-name-completion-ignore-case' does not exist.
2262         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2263         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2264         `tramp-open-shell'.
2265         (tramp-action-password): Hide password prompt before next run.
2266         (tramp-process-actions): Widen connection buffer for the trace.
2267         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2268         process property.  Trace stty settings if `tramp-verbose' >= 9.
2269         Apply workaround for IRIX64 bug.  Move argument of last
2270         `tramp-send-command' where it belongs to.
2271         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2272         front of `login-args'.
2273         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2274         on "/dev/null" instead of "/".
2275         (tramp-get-ls-command-with-dired): Make test for "--dired"
2276         stronger.
2277         (tramp-set-auto-save-file-modes): Adapt version check.
2278         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2279         (tramp-handle-process-file): Call the program in a subshell, in
2280         order to preserve working directory.
2281         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2282         `tramp-remote-sh' from `tramp-methods'.
2283         (tramp-get-ls-command): Make test for "--color=never" stronger.
2284         (tramp-check-for-regexp): Use (forward-line 1).
2286         * net/trampver.el: Update release number.
2288 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
2290         * help.el (help-map): Bind `C-h P' to describe-package.
2292         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2294         * emacs-lisp/package.el (package-refresh-contents): Catch errors
2295         when downloading archives.
2296         (describe-package-1): Add package commentary.
2297         (package-install-button-action): New function.
2298         (package-menu-mode-map): Bind ? to package-menu-describe-package.
2299         (package-menu-view-commentary): Function removed.
2300         (package-list-packages-internal): Hide the `package' package too.
2302 2010-08-25  Kenichi Handa  <handa@m17n.org>
2304         * language/misc-lang.el ("Arabic"): New language environment.
2305         Setup composition-function-table for Arabic characters.
2307         * international/fontset.el (setup-default-fontset): Fix typo for
2308         arabic OTF spec (fini->fina).
2310 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
2312         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2313         on all frames.
2315 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2317         * whitespace.el: Allow cleaning up blanks without blank
2318         visualization (Bug#6651).  Adjust help window for
2319         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2320         instead of whitespace-line-column (from EmacsWiki).  New version
2321         13.1.
2322         (whitespace-style): Added new value 'face.  Adjust docstring.
2323         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2324         foreground property face.
2325         (whitespace-line-column): Adjust docstring and type declaration.
2326         (whitespace-style-value-list, whitespace-toggle-option-alist)
2327         (whitespace-help-text): Adjust const initialization.
2328         (whitespace-toggle-options, global-whitespace-toggle-options):
2329         Adjust docstring.
2330         (whitespace-display-window, whitespace-interactive-char)
2331         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2332         (whitespace-help-scroll): New fun.
2334 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2336         * emacs-lisp/package.el (list-packages): Alias for
2337         package-list-packages.
2339 2010-08-24  Kevin Ryde  <user42@zip.com.au>
2341         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2342         (Bug#5651).
2344         * progmodes/ruby-mode.el (ruby): Add defgroup.
2346 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2348         * progmodes/python.el: Add Ipython support (Bug#5390).
2349         (python-shell-prompt-alist)
2350         (python-shell-continuation-prompt-alist): New options.
2351         (python--set-prompt-regexp): New function.
2352         (inferior-python-mode, run-python, python-shell): Require
2353         ansi-color.  Use python--set-prompt-regexp to set the comint
2354         prompt based on the Python interpreter.
2355         (python--prompt-regexp): New var.
2356         (python-check-comint-prompt)
2357         (python-comint-output-filter-function): Use it.
2358         (run-python): Use a pipe (Bug#5694).
2360 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
2362         * progmodes/python.el (python-send-region): Send a different
2363         Python command if Ipython is in use.
2364         (python-check-version): Use a Python command to find the version.
2366 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2368         * mouse.el (mouse-yank-primary): Avoid setting primary when
2369         deactivating the mark (Bug#6872).
2371 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
2373         * progmodes/python.el (python-block-pairs): Allow use of "finally"
2374         with "else" (Bug#3991).
2376 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
2378         * net/dbus.el: Accept UNIX domain sockets as bus address.
2379         (top): Don't initialize `dbus-registered-objects-table' anymore,
2380         this is done in dbusbind,c.
2381         (dbus-check-event): Adapt test for bus.
2382         (dbus-return-values-table, dbus-unregister-service)
2383         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2384         Adapt doc string.
2386 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
2388         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2390 2010-08-22  Juri Linkov  <juri@jurta.org>
2392         * simple.el (read-extended-command): New function with the logic
2393         for `completing-read' moved to Elisp from `execute-extended-command'.
2394         Use `function-called-at-point' in `minibuffer-default-add-function'
2395         to get a command name for M-n (bug#5364, bug#5214).
2397 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2399         * startup.el (command-line-1): Issue warning for ignored arguments
2400         --unibyte, etc (Bug#6886).
2402 2010-08-22  Leo  <sdl.web@gmail.com>
2404         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2405         (ignore, bright, dim, keyword): Split list of nicknames before
2406         passing to rcirc-add-or-remove (Bug#6894).
2408 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2410         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2412 2010-08-22  Leo  <sdl.web@gmail.com>
2414         Fix buffer-list rename&refresh after killing a buffer in ido.
2415         * ido.el: Revert Óscar's.
2416         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2417         Remember the buffers at head, rather than their name.
2418         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2420 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
2421             Stefan Monnier  <monnier@iro.umontreal.ca>
2423         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2424         extra backslash added to each line (bug#6890).
2426 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2428         * subr.el (read-key): Don't echo keystrokes (bug#6883).
2430 2010-08-22  Glenn Morris  <rgm@gnu.org>
2432         * menu-bar.el (menu-bar-games-menu): Add landmark.
2434 2010-08-22  Glenn Morris  <rgm@gnu.org>
2436         * align.el (align-regexp): Make group and spacing arguments
2437         use the interactive defaults when non-interactive.  (Bug#6698)
2439         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2440         expansion, so as not to need sendmail.
2441         (mail-text-start): Remove declaration.
2442         (rmail-retry-failure): Require sendmail.
2444 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2446         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2448 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
2450         * progmodes/flymake.el (flymake-start-syntax-check-process):
2451         Use `start-file-process' in order to let it run also on remote hosts.
2453 2010-08-22  Kenichi Handa  <handa@m17n.org>
2455         * files.el: Add `word-wrap' as safe local variable.
2457 2010-08-22  Glenn Morris  <rgm@gnu.org>
2459         * woman.el (woman-translate): Case matters.  (Bug#6849)
2461 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2463         * simple.el (kill-region): Doc fix (Bug#6787).
2465 2010-08-22  Glenn Morris  <rgm@gnu.org>
2467         * calendar/diary-lib.el (diary-header-line-format):
2468         Fit it to the window, not the frame.
2470 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
2472         * subr.el (ignore-errors): Add debug declaration.
2474 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
2476         * whitespace.el (whitespace-color-off): Remove post-command-hook
2477         locally.
2479 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2481         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2483 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2485         * cus-edit.el (custom-group-value-create): Add extra newline
2486         before end line (Bug#6876).
2488 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2490         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2491         when extending it.  Before killing on the second click, check if
2492         the buffer is the correct one.  Doc fix.
2493         (mouse-secondary-save-then-kill): Allow usage without first
2494         calling mouse-start-secondary, by defaulting to point.  Don't save
2495         an empty secondary selection.  Doc fix.
2497 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2499         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2500         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2501         New version 13.0.
2502         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2503         Adjust initialization.
2504         (whitespace-bob-marker, whitespace-eob-marker)
2505         (whitespace-buffer-changed): New vars.
2506         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2507         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2508         (whitespace-post-command-hook, whitespace-display-char-on):
2509         Adjust code.
2510         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2511         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2513 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * files.el (locate-file-completion-table): Only list the .el and .elc
2516         extensions if there's no other choice (bug#5955).
2518         * facemenu.el (facemenu-self-insert-data): New var.
2519         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2520         New functions.
2521         (facemenu-add-face): Use them.
2523         * simple.el (blink-matching-open): Obey forward-sexp-function.
2525 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2527         * simple.el (prog-mode-map): New var.
2528         (prog-indent-sexp): New command.
2530         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2532         * progmodes/prolog.el (smie): Require.
2534         * emacs-lisp/smie.el (smie-default-backward-token)
2535         (smie-default-forward-token): Strip properties.
2536         (smie-next-sexp): Be more careful with associative operators.
2537         (smie-forward-sexp-command): Generalize.
2538         (smie-backward-sexp-command): Simplify.
2539         (smie-closer-alist): New var.
2540         (smie-close-block): New command.
2541         (smie-indent-debug-log): New var.
2542         (smie-indent-offset-rule): Add a few more cases.
2543         (smie-indent-column): New function.
2544         (smie-indent-after-keyword): Use it.
2545         (smie-indent-keyword): Use it.
2546         Fix up the opener code's point position.
2547         (smie-indent-comment): Only applies at BOL.
2548         (smie-indent-debug): New command.
2550         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2551         declarations that are useful before running the macro.
2553 2010-08-18  Joakim Verona  <joakim@verona.se>
2555         * image.el (imagemagick-types-inhibit): New variable.
2556         (imagemagick-register-types): New function.
2557         * image-mode.el (image-transform-properties): New function.
2558         (image-transform-set-scale, image-transform-fit-to-height)
2559         (image-transform-set-rotation, image-transform-set-resize)
2560         (image-transform-fit-to-width, image-transform-fit-to-height):
2561         New functions.
2562         (image-toggle-display-image): Support image transforms.
2564 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2566         * image.el (create-animated-image): Don't add heuristic mask to image
2567         (Bug#6839).
2569 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2571         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2572         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2574 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2576         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2578         Font-lock '...' strings, plus various simplifications and fixes.
2579         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2580         (octave-font-lock-close-quotes): New function.
2581         (octave-font-lock-syntactic-keywords): New var.
2582         (octave-mode): Use it.  Set beginning-of-defun-function.
2583         (octave-mode-map): Don't override the <foo>-defun commands.
2584         (octave-mode-menu): Pass it directly to easy-menu-define;
2585         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2586         (octave-block-match-alist): Fix up last change so that
2587         octave-close-block uses the more specific keyword.
2588         (info-lookup-mode): Silence byte-compiler.
2589         (octave-beginning-of-defun): Not interactive any more.
2590         Optimize slightly.
2591         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2592         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2593         (octave-completion-at-point-function): Make sure point is within
2594         beg..end.
2595         (octave-reindent-then-newline-and-indent):
2596         Use reindent-then-newline-and-indent.
2597         (octave-add-octave-menu): Remove.
2599 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2601         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2602         (report-emacs-bug-can-use-xdg-email): New functions.
2603         (report-emacs-bug): Set can-xdg-email to result of
2604         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2605         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2606         about it.
2608         * net/browse-url.el (browse-url-default-browser): Add cond
2609         for browse-url-xdg-open.
2610         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2612 2010-08-17  Glenn Morris  <rgm@gnu.org>
2614         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2615         (c-fontify-recorded-types-and-refs): Define for compiler.
2616         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2617         before use.
2619         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2620         Fix format call.
2622 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2624         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2625         properties.
2626         (tramp-handle-process-file): Call the program in a subshell, in
2627         order to preserve working directory.
2628         (tramp-action-password): Hide password prompt before next run.
2629         (tramp-process-actions): Widen connection buffer for the trace.
2631 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2633         * net/rcirc.el (rcirc-log-process-buffers): New option.
2634         (rcirc-print): Use it.
2635         (rcirc-generate-log-filename): New function.
2636         (rcirc-log-filename-function): Change default to
2637         rcirc-generate-log-filename (Bug#6828).
2639 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2641         * simple.el (deactivate-mark): If select-active-regions is `only',
2642         only set selection for temporarily active regions.
2644         * cus-start.el: Change defcustom for select-active-regions.
2646 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2648         * mouse.el (mouse--drag-set-mark-and-point): New function.
2649         (mouse-drag-track): Use LOCATION arg to push-mark.
2650         Use mouse--drag-set-mark-and-point to take click-count into
2651         consideration when updating point and mark (Bug#6840).
2653 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2655         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2656         Give the Ruby rule a lower priority than Gnu (Bug#6778).
2658 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2660         * font-lock.el (lisp-font-lock-keywords-2):
2661         Add combine-after-change-calls, condition-case-no-debug,
2662         with-demoted-errors, and with-silent-modifications (Bug#6025).
2664 2010-08-14  Kevin Ryde  <user42@zip.com.au>
2666         * emacs-lisp/copyright.el (copyright-update-year)
2667         (copyright-update): Temporary switch-to-buffer to ensure the
2668         buffer change being queried is visible (Bug#5394).
2670 2010-08-14  Tom Tromey  <tromey@redhat.com>
2672         * progmodes/etags.el (tags-file-name): Mark safe if stringp
2673         (Bug#6733).
2675 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
2677         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2678         MS-DOS.  (Bug#6689)
2680 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
2682         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2683         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2684         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2685         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2686         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2687         Call menu-bar-set-tool-bar-position.
2689 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2692         comment style (bug#6834).
2693         * progmodes/scheme.el (scheme-mode-syntax-table):
2694         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2695         "b" flag in "' 14b" syntax.
2697         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2698         for (un)commenting the region and performing completion.
2699         (octave-mode-menu): Use standard commands for help and completion.
2700         (octave-mode-syntax-table): Support %{..%} comments (sort of).
2701         (octave-mode): Use define-derived-mode.
2702         Set completion-at-point-functions and don't set columns.
2703         Don't disable adaptive-fill-regexp.
2704         (octave-describe-major-mode, octave-comment-region)
2705         (octave-uncomment-region, octave-comment-indent)
2706         (octave-indent-for-comment): Remove.
2707         (octave-indent-calculate): Rename from calculate-octave-indent.
2708         (octave-indent-line, octave-fill-paragraph): Update caller.
2709         (octave-initialize-completions): No need to make an alist.
2710         (octave-completion-at-point-function): New function.
2711         (octave-complete-symbol): Use it.
2712         (octave-insert-defun): Use define-skeleton.
2714         * progmodes/octave-mod.el (octave-mode): Set comment-add.
2715         (octave-mode-map): Use comment-dwim (bug#6829).
2717 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2719         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2720         indentation of inserted comment.
2722 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
2724         * faces.el (region): Add type gtk that uses gtk colors.
2726         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2727         Handle theme-name change.
2729 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
2731         * progmodes/sql.el: Version 2.5
2732         (sql-product-alist): Add :prompt-cont-regexp property for several
2733         database products.
2734         (sql-prompt-cont-regexp): New variable.
2735         (sql-output-newline-count, sql-output-by-send):
2736         New variables.  Record number of newlines in input text.
2737         (sql-send-string): Handle multiple filters and count newlines.
2738         (sql-send-magic-terminator): Count terminator newline.
2739         (sql-interactive-remove-continuation-prompt): Filters output to
2740         remove continuation prompts; one for each newline.
2741         (sql-interactive-mode): Set up new variables, prompt regexp and
2742         output filter.
2743         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2744         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2746 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * emacs-lisp/pcase.el: New file.
2750 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
2752         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2753         as here-document, otherwise the command could exceed maximum
2754         length of command line.
2755         (tramp-handle-vc-registered): Call script accordingly.
2756         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2758 2010-08-10  Kenichi Handa  <handa@m17n.org>
2760         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2761         composable pattern.
2763 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
2765         * emacs-lisp/package.el (package-version-split)
2766         (package--version-first-nonzero, package-version-compare):
2767         Functions removed.
2768         (package-directory-list, package-load-all-descriptors)
2769         (package--built-in, package-activate, define-package)
2770         (package-installed-p, package-compute-transaction)
2771         (package-read-all-archive-contents)
2772         (package--add-to-archive-contents, package-buffer-info)
2773         (package-tar-file-info, package-list-packages-internal):
2774         Use version-to-list and version-list-*.
2776         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2777         Use version-to-list.
2778         (package-upload-buffer-internal): Use version-list-<=.
2780 2010-08-09  Kenichi Handa  <handa@m17n.org>
2782         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2783         composable pattern.
2785 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
2787         * tutorial.el (tutorial--default-keys): C-d is now bound to
2788         delete-forward-char (Bug#6826).
2790         * mouse.el (mouse-drag-track): Remove accidentally-removed check
2791         for `double' value of mouse-1-click-follows-link (Bug#6807).
2793 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
2795         * replace.el (replace-highlight): Bind isearch-forward and
2796         isearch-error, ensuring that highlighting is updated if the user
2797         switches the search direction (Bug#6808).
2799         * isearch.el (isearch-lazy-highlight-forward): New var.
2800         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2801         (isearch-lazy-highlight-update): Use it.
2803 2010-08-08  Kenichi Handa  <handa@m17n.org>
2805         * international/mule.el (define-charset): Store NAME as :base property.
2806         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2807         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2808         current priority.  Force using the designation of the specific
2809         charset by adding `charset' text property.  Improve the whole algorithm.
2811 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2813         * emulation/pc-select.el (pc-selection-mode-hook)
2814         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2815         (pc-selection-mode): Fix typos in docstrings.
2817 2010-08-08  Kenichi Handa  <handa@m17n.org>
2819         * language/cyrillic.el: Don't add "microsoft-cp1251" to
2820         ctext-non-standard-encodings-alist here.
2822         * international/mule.el (ctext-non-standard-encodings-alist):
2823         Add "koi8-r" and "microsoft-cp1251".
2824         (ctext-standard-encodings): New variable.
2825         (ctext-non-standard-encodings-table): List only elements for
2826         non-standard encodings.
2827         (ctext-pre-write-conversion): Adjust for the above change.
2828         Check ctext-standard-encodings.
2830         * international/mule-conf.el (compound-text): Doc fix.
2831         (ctext-no-compositions): Doc fix.
2832         (compound-text-with-extensions): Doc fix.
2834 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2836         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2838 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2840         * progmodes/which-func.el (which-func-format): Split help-echo text
2841         into lines, like other mode-line tooltips.
2843         * server.el (server-start): When using TCP sockets, force IPv4
2844         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
2846 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2848         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2850 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2852         * term.el (term-delimiter-argument-list): Reflow docstring.
2853         (term-read-input-ring, term-write-input-ring, term-send-input)
2854         (term-bol, term-erase-in-display, serial-supported-or-barf):
2855         Fix typos in docstrings.
2857 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2859         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2861 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2863         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2865 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
2867         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2868         Fix typo in docstring (bug#6747).
2870 2010-08-08  Leo  <sdl.web@gmail.com>
2872         * eshell/esh-io.el (eshell-get-target): Better detection of
2873         read-only file (Bug#6762).
2875 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2877         * align.el (align-default-spacing): Doc fix.
2878         (align-region-heuristic, align-regexp): Fix typos in docstrings.
2880 2010-08-08  Stephen Peters  <speters@itasoftware.com>
2882         * calendar/icalendar.el
2883         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
2884         (icalendar--get-weekday-numbers): New.
2885         (icalendar--convert-recurring-to-diary): Handle multiple byday
2886         values in weekly rules.  (Bug#6766)
2888 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
2890         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2891         (icalendar--create-uid, icalendar-export-region)
2892         (icalendar--parse-summary-and-rest): Code formatting.
2894 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2896         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2897         to italicize headers.
2898         (calc-highlight-selections-with-faces): New variable.
2899         (calc-selected-face, calc-nonselected-face): New faces.
2901         * calc/calccomp.el (math-comp-highlight-string): Use
2902         `calc-highlight-selections-with-faces' to determine how to highlight
2903         sub-formulas.
2905         * calc/calc-sel.el (calc-show-selections): Change message to when
2906         using faces to highlight selections.
2908 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
2910         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2911         Add SQLite 3 keywords, functions and datatypes.
2912         (sql-interactive-mode): Remove `comint-process-echoes' set to t
2913         (Bug#6686).
2915 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
2917         * simple.el (select-active-regions): Move to keyboard.c.
2918         (deactivate-mark): Used saved-region-selection.
2919         (select-active-region): Function removed.
2920         (activate-mark, set-mark, push-mark-command)
2921         (handle-shift-selection): Don't call it.
2922         (keyboard-quit): Avoid adding the region to the window selection.
2924         * mouse.el (mouse-drag-track): Remove hacks to deal with old
2925         select-active-regions implementation.
2926         (mouse-yank-at-click): Doc fix.
2928         * cus-start.el: Add custom declaration for select-active-regions.
2930 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
2932         * simple.el (delete-forward-char): Doc fix.
2934         * tutorial.el (help-with-tutorial): Hack safe file-local variables
2935         after reading the tutorial.
2937 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
2939         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2940         for the case that a C style comment has its delimiters alone on
2941         their respective lines.
2943 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
2945         * net/tramp.el (tramp-handle-start-file-process): Set connection
2946         property "vec".
2947         (tramp-process-sentinel): Use it for flushing the cache.  We
2948         cannot do it via the process buffer, the buffer could be deleted
2949         already when running the sentinel.
2951 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2953         * comint.el (comint-mode): Make directory tracking functions
2954         functional on remote files.  (Bug#6764)
2956 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
2958         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2960 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
2962         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2963         unexec.c => unexcoff.c.
2965         * emacs-lisp/authors.el (authors-fixed-entries): Rename
2966         unexec.c => unexcoff.c.
2968 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
2970         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2971         cache, not only file cache.
2972         (tramp-process-sentinel): New defun.
2973         (tramp-handle-start-file-process): Use it, in order to invalidate
2974         file caches.
2976 2010-08-03  Leo  <sdl.web@gmail.com>
2978         * server.el (server-start): Simplify loop.
2980 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         * frame.el (screen-height, screen-width, set-screen-width)
2983         (set-screen-height): Remove ancient compatibility aliases.
2985         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2986         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
2988         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2989         that change current buffer.
2991 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2993         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2994         beginning of the string.  Use `string-match-p'.  (Bug#6765)
2996 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
2998         * cus-start.el (x-gtk-use-system-tooltips): New variable.
3000 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
3002         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3003         (package--builtins): Tweak descriptions.
3004         (package-print-package): Upcase descriptions if necessary.
3005         Show all built-in packages in font-lock-builtin-face.
3006         (package-list-packages-internal): Omit "emacs" package.
3007         Show status of built-in packages as "built-in".
3009 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
3011         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
3012         before killing to preserve the primary selection (Bug#6701).
3014         * term/x-win.el (x-select-text): Doc fix.
3016 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
3018         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3019         The following functions were modified or created:
3021         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3022         (objc-font-lock-extra-types):
3023         * progmodes/cc-mode.el (c-basic-common-init):
3024         * progmodes/cc-langs.el (c-make-mode-syntax-table)
3025         (c++-make-template-syntax-table)
3026         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3027         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3028         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3029         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3030         * progmodes/cc-fonts.el (c-make-inverse-face)
3031         (c-basic-matchers-after):
3032         * progmodes/cc-engine.el (c-forward-keyword-clause)
3033         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3034         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3035         (c-guess-continued-construct, c-guess-basic-syntax):
3037 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
3039         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3041 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
3043         * files.el (bidi-paragraph-direction): Define safe local values.
3045         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3046         language-info-alist.  Remove outdated FIXME in a comment.
3048 2010-07-31  Alan Mackenzie  <acm@muc.de>
3050         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3051         Auto-fill broken in C/C++ modes.
3053 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
3055         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3056         (menu-bar-showhide-tool-bar-menu-customize-disable)
3057         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3058         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3059         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3060         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3061         make a menu for Options => toolbar that can move it.
3063 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
3065         * emacs-lisp/package-x.el (package--make-rss-entry):
3066         (package-maint-add-news-item, package--update-news)
3067         (package-upload-buffer-internal): New arg ARCHIVE-URL.
3069         * emacs-lisp/package.el (package-archive-url): Rename from
3070         package-archive-id.
3071         (package-install): Doc fix.
3072         (package-download-single, package-download-tar, package-install)
3073         (package-menu-view-commentary): Callers changed.
3075 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
3077         * net/tramp.el (tramp-handle-start-file-process): Check only for
3078         `remote-tty' process property.
3079         (tramp-open-shell): Don't check for tty.
3080         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3081         process property.
3083         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3084         host.
3086 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
3088         * emacs-lisp/package.el (package-load-list, package-archives)
3089         (package-archive-contents, package-user-dir)
3090         (package-directory-list, package--builtins, package-alist)
3091         (package-activated-list, package-obsolete-alist): Mark as risky.
3093 2010-07-28  Phil Hagelberg  <phil@evri.com>
3095         Add support for non-default package repositories.
3096         * emacs-lisp/package.el (package-archive-base): Var deleted.
3097         (package-archives): New variable.
3098         (package-archive-contents): Doc fix.
3099         (package-load-descriptor): Do nothing if descriptor file is missing.
3100         (package--write-file-no-coding): New function.
3101         (package-unpack-single): Use it.
3102         (package-archive-id): New function.
3103         (package-download-single, package-download-tar)
3104         (package-menu-view-commentary): Use it.
3105         (package-installed-p): Make second argument optional.
3106         (package-read-all-archive-contents): New function.
3107         (package-initialize): Use it.
3108         (package-read-archive-contents): Add ARCHIVE argument.
3109         (package--add-to-archive-contents): New function.
3110         (package-install): Don't call package-read-archive-contents.
3111         (package--download-one-archive): Store archive file in a
3112         subdirectory of package-user-dir.
3113         (package-menu-execute): Remove spurious line movement.
3115 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
3117         * cus-start.el (tool-bar-style): Add text-image-horiz.
3119 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
3121         * progmodes/gud.el (gud-common-init): Check for remoteness of
3122         `file', and not of `default-directory'.
3124 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
3126         * net/tramp.el (tramp-methods): Move hostname to the end in all
3127         ssh `tramp-login-args'.
3128         (tramp-verbose): Describe verbose level 9.
3129         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3130         (tramp-open-connection-setup-interactive-shell): Trace stty
3131         settings if `tramp-verbose' >= 9.
3132         (tramp-handle-start-file-process): Implement tty setting.
3133         (Bug#4604, Bug#6360)
3135         * net/tramp-cmds.el (tramp-bug): Recommend setting of
3136         `tramp-verbose' to 9.
3138 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
3140         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3141         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3142         Remove references to package `lisp-re' (bug#4369).
3144 2010-07-27  Tom Tromey  <tromey@redhat.com>
3146         * progmodes/js.el (js-mode):
3147         * progmodes/make-mode.el (makefile-mode):
3148         * progmodes/simula.el (simula-mode):
3149         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3151 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
3153         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3155         * time.el (display-time-day-and-date): Remove spurious * in docstring.
3156         (display-time-world-buffer-name, display-time-world-mode-map):
3157         Fix typos in docstrings.
3159 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
3161         * image-mode.el (image-display-size): New function.
3162         (image-forward-hscroll, image-next-line, image-eol, image-eob)
3163         (image-mode-fit-frame): Use it (Bug#6639).
3165 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
3167         * dired.el (dired-buffers-for-dir): Handle list values of
3168         dired-directory (Bug#6636).
3170 2010-07-26  Sam Steingold  <sds@gnu.org>
3172         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3173         Do not call `x-get-selection' the second time, reuse the value.
3175 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
3177         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3178         which consist of control chars only.  Suggested by Richard Stallman.
3180 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
3182         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3183         exists before passing an error to find-file-not-found-functions
3184         (bug#6723).
3186 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
3188         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3189         Remove leading nil element, adjust values.
3190         (tetris-shapes, tetris-shape-scores):
3191         Change representation of shapes and remove some redundancy.
3192         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3193         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3194         Adjust for working with new representation of shapes.
3195         (tetris-shape-rotations): New function.
3196         (tetris-move-bottom, tetris-move-left, tetris-move-right)
3197         (tetris-rotate-prev, tetris-rotate-next):
3198         Adjust for working with the new version of tetris-test-shape.
3200 2010-07-23  Markus Triska  <markus.triska@gmx.at>
3202         * progmodes/ps-mode.el: Use comint (bug#5954).
3203         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3204         (ps-mode-other-newline): Simplify.
3205         (ps-run-mode): Derive from comint-mode instead of
3206         fundamental-mode, yielding input history etc.
3207         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3208         (ps-run-send-string): Adapt for comint-mode.
3209         (ps-run-newline): Remove now unneeded function.
3211 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3213         * net/tramp.el (tramp-methods): Move hostname to the end in all
3214         plink `tramp-login-args'.
3216 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3218         * net/tramp.el (tramp-open-shell): New defun.
3219         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3220         Use it.
3222 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
3224         * net/tramp.el (tramp-file-name-regexp-unified)
3225         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3226         not regard the volume letter as remote filename.  (Bug#5447)
3228 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
3230         * custom.el (custom-declare-variable): Give a clearer error message
3231         when the docstring is missing (bug#6476).
3233 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
3235         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
3236         (sql-login-params): New widget definition.
3237         (sql-oracle-login-params, sql-mysql-login-params)
3238         (sql-solid-login-params, sql-sybase-login-params)
3239         (sql-informix-login-params, sql-ingres-login-params)
3240         (sql-ms-login-params, sql-postgres-login-params)
3241         (sql-interbase-login-params, sql-db2-login-params)
3242         (sql-linter-login-params): Use it.
3243         (sql-sqlite-login-params): Use it; Define "database" parameter as
3244         a file name.
3245         (sql-sqlite-program): Change to "sqlite3".
3246         (sql-comint-sqlite): Make sure database name is complete.
3247         (sql-for-each-login): New function.
3248         (sql-connect, sql-save-connection): Use it.
3249         (sql-get-login-ext): New function.
3250         (sql-get-login): Use it.
3251         (sql-make-alternate-buffer-name): Handle :file parameters.
3253 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
3255         * dired.el (dired-no-confirm): Document value t and fix defcustom to
3256         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
3258 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
3260         * dired.el (dired-mode-map): Use command remapping (bug#6632).
3262 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
3264         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3266 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
3268         * net/tramp.el (tramp-get-ls-command)
3269         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3270         instead of "/".
3272 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
3274         * progmodes/sql.el: Version 2.3.
3275         (sql-connection-alist): Changed keys from symbols to strings;
3276         enhanced the widget definition.
3277         (sql-mode-menu): Added submenu to select connections.
3278         (sql-interactive-mode-menu): Added "Save Connection" item.
3279         (sql-add-product): Fixed menu item.
3280         (sql-get-product-feature): Improved error handling.
3281         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3282         (sql-make-alternate-buffer-name): Simplified.
3283         (sql-product-interactive): Handle missing product.
3284         (sql-connect): Support string keys, minor improvements.
3285         (sql-save-connection): New function.
3286         (sql-connection-menu-filter): New function.
3288 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
3290         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3291         (tramp-open-connection-setup-interactive-shell): Apply
3292         workaround for IRIX64 bug.  Move argument of last
3293         `tramp-send-command' where it belongs to.
3295 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
3297         * net/tramp.el (tramp-perl-file-attributes)
3298         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3299         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3300         front of `login-args'.
3302 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
3304         * time.el (display-time-world-mode): Define with `define-derived-mode'.
3305         Set `show-trailing-whitespace' to nil.
3306         (display-time-world-display): Simplify.
3308 2010-07-18  Alan Mackenzie  <acm@muc.de>
3310         Enhance `c-file-style' in file/directory local variables.
3311         * progmodes/cc-mode.el (c-count-cfss): New function.
3312         (c-before-hack-hook): Call `c-set-style' differently according to
3313         whether c-file-style was set in file or directory local
3314         variables.
3316 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
3318         * progmodes/sql.el: Version 2.2.
3319         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3320         defcustom :safe keyword rather than putting safe-local-variable
3321         property.
3322         (sql-password): Use defcustom :risky keyword rather than putting
3323         risky-local-variable property.
3324         (sql-oracle-login-params, sql-sqlite-login-params)
3325         (sql-solid-login-params, sql-sybase-login-params)
3326         (sql-informix-login-params, sql-ingres-login-params)
3327         (sql-ms-login-params, sql-postgres-login-params)
3328         (sql-interbase-login-params, sql-db2-login-params)
3329         (sql-linter-login-params): Add `port' option.
3330         (sql-get-product-feature): Added NO-INDIRECT parameter.
3331         (sql-comint-oracle, sql-comint-sybase)
3332         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3333         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3334         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3335         (sql-comint-linter): Renamed sql-connect-* functions to
3336         sql-comint-*.
3337         (sql-product-alist, sql-mode-menu): Renamed as above and
3338         :sqli-connect-func to :sqli-comint-func.
3339         (sql-connection): New variable.
3340         (sql-interactive-mode): Set it.
3341         (sql-connection-alist): New variable.
3342         (sql-connect): New function.
3343         (sql--alt-buffer-part, sql--alt-if-not-empty)
3344         (sql-make-alternate-buffer-name): Improved alternative buffer name.
3346 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3348         * image-mode.el (image-bookmark-make-record): Do not set context
3349         in an image (Bug#6650).
3351 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3353         * simple.el (select-active-region): New function.
3354         (push-mark-command, set-mark, activate-mark)
3355         (handle-shift-selection): Use it.
3356         (deactivate-mark): Don't check for size of region.
3358         * mouse.el (mouse-drag-track): Use select-active-region.
3360 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
3362         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3363         "--dired" stronger.
3365 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3367         * term/x-win.el (x-select-enable-primary): Change default to nil.
3368         (x-select-enable-clipboard): Add :version keyword.
3370         * mouse.el (mouse-drag-copy-region):
3371         * simple.el (select-active-regions): Likewise.
3373 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
3375         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3376         (vc-coding-system-for-diff): Use it to decide whether to inherit
3377         from the file the EOL format for reading the diffs of that file.
3378         (Bug#4451)
3380 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
3382         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3383         unibyte, so compressed attachments are not compressed again.
3385 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
3387         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3388         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3389         (tramp-find-shell): Simplify setting connection property.
3390         (tramp-get-ls-command): Make test for "--color=never" stronger.
3392 2010-07-15  Simon South  <ssouth@member.fsf.org>
3394         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3395         blocks within record declarations (i.e. variant parts) correctly.
3397 2010-07-15  Simon South  <ssouth@member.fsf.org>
3399         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3400         over literal tokens when parsing so newlines aren't "absorbed" by
3401         single-line comments.  Corrects the indentation of case blocks
3402         that have a comment on the first line.
3404 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
3406         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3407         by Drew Adams (Bug#5504).
3409 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3411         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3412         now that Unicode is used (Bug#6594).
3414 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
3416         * term/x-win.el (x-select-enable-clipboard): Default to t.
3417         (x-initialize-window-system): Don't overwrite Paste menu item.
3419         * simple.el (select-active-regions): Default to t.
3420         (push-mark-command): Don't overwrite primary with empty string.
3422         * mouse.el: Bind mouse-2 to mouse-yank-primary.
3423         (mouse-drag-copy-region): Default to nil.
3425         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3426         Cut/Copy/Paste menu bar items.
3428 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3430         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3431         Patch applied by Karl Fogel.
3433         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3434         and `bookmark-current-buffer' if they have been already set in
3435         another buffer (e.g gnus-art).
3437 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3438             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3440         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3442         * bookmark.el (bookmark-make-record-default): Allow unneeded
3443         information to be omitted from the record.
3445         Adjust declarations and calls:
3447         * info.el (bookmark-make-record-default): Adjust declaration.
3448         (Info-bookmark-make-record): Adjust call.
3450         * woman.el (bookmark-make-record-default): Adjust declaration.
3451         (woman-bookmark-make-record): Adjust call.
3453         * man.el (bookmark-make-record-default): Adjust declaration.
3454         (Man-bookmark-make-record): Adjust call.
3456         * image-mode.el (bookmark-make-record-default): Adjust declaration.
3458         * doc-view.el (bookmark-make-record-default): Adjust declaration.
3460 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3462         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3463         This is also from Thierry Volpiatto's patch in bug #6444.  However,
3464         because it was extraneous to the functional change in that patch,
3465         and causes a re-indendation, I am committing it separately.
3467 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3469         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3470         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3471         Patch applied by Karl Fogel (Bug#6444).
3473 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
3475         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3477 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
3479         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3480         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
3481         (ns-alternatives-map): Change S-tab binding to backtab
3482         (bug#6616).
3484         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3485         under ns.
3487 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3489         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3490         (Bug#5806)
3492         * language/tv-util.el (tai-viet-re): Remove format.
3494 2010-07-12  Kenichi Handa  <handa@m17n.org>
3496         * language/hebrew.el: Remove no-byte-compile declaration.
3497         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3498         composition-function-table for 3-character looking back.
3499         (hebrew-font-get-precomposed): New function.
3500         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3502 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3504         * mouse.el (mouse-drag-track): Handle select-active-regions
3505         (Bug#6612).
3507 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3509         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3510         empty argument to gvfs-copy.
3512 2010-07-10  Glenn Morris  <rgm@gnu.org>
3514         * calendar/calendar.el (calendar-week-end-day): New function.
3515         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3516         Respect calendar-week-start-day.  (Bug#6606)
3517         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3518         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3519         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3520         respect calendar-week-start-day.
3522 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3524         * simple.el (use-region-p): Doc fix (Bug#6607).
3526 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3528         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3529         regexps for cucumber and ruby.
3531 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3533         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3534         (epa-file-insert-file-contents): Hack to prevent
3535         find-file from opening empty buffer when decryption failed
3536         (bug#6568).
3538 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3540         * textmodes/ispell.el (ispell-alternate-dictionary):
3541         Use file-readable-p.
3542         Return nil if no word-list is found at default locations.
3543         (ispell-complete-word-dict): Default to nil.
3544         (ispell-command-loop): Use 'word-list' when using lookup-words.
3545         (lookup-words): Use ispell-complete-word-dict or
3546         ispell-alternate-dictionary.  Check for word-list availability
3547         and handle errors if needed with better messages (Bug#6539).
3548         (ispell-complete-word): Use ispell-complete-word-dict or
3549         ispell-alternate-dictionary.
3551 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3553         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3554         builtins (BufferError, BytesWarning, WindowsError; callables
3555         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3557 2010-07-07  Glenn Morris  <rgm@gnu.org>
3559         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3560         (zone-shift-left): Ignore intangibility, and any errors from
3561         forward-char.
3562         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3563         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3564         deleting, and copying text properties.
3565         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3566         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3567         to point-max is hard.
3568         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3569         (zone-fill-out-screen): Ignore intangibility.
3571 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3573         * menu-bar.el (menu-bar-mode):
3574         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3575         if it has been set.
3577         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3578         word/line selection (Bug#6565).
3580 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3582         * net/dbus.el (dbus-send-signal): Declare function.
3584 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3586         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3587         (dbus-register-property): New optional argument EMITS-SIGNAL.
3588         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3590 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3592         * mouse.el (mouse-drag-overlay): Variable deleted.
3593         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3594         (mouse--remap-link-click-p): New function.
3595         (mouse-drag-track): Handle dragging by using temporary Transient
3596         Mark mode, instead of a special overlay.
3597         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3598         mouse-show-mark.
3600         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3601         deleted.
3603 2010-07-02  Juri Linkov  <juri@jurta.org>
3605         * autoinsert.el (auto-insert-alist): Fix readability
3606         by using dotted pair notation for lambda.
3608 2010-07-02  Juri Linkov  <juri@jurta.org>
3610         * faces.el (read-face-name): Rename arg `string-describing-default'
3611         to `default'.  Doc fix.  Display the default value in quotes
3612         in the prompt.  With empty input, return the `default' arg,
3613         unless the default value is a string (in which case return nil).
3614         (describe-face): Replace the string `default' arg of `read-face-name'
3615         with the symbol `default'.
3617 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3619         * emulation/viper-cmd.el (viper-delete-backward-char)
3620         (viper-del-backward-char-in-insert)
3621         (viper-del-backward-char-in-replace, viper-change)
3622         (viper-backward-indent): Replace delete-backward-char with
3623         delete-char (Bug#6552).
3625 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3627         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3629 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3631         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3632         argument passed to frame-creation-function (Bug#5378).
3634         * faces.el (x-handle-named-frame-geometry)
3635         (x-handle-reverse-video, x-create-frame-with-faces)
3636         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3637         separately consult default-frame-alist.  It is now passed as the
3638         PARAMETER argument.
3640 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3642         * startup.el (command-line): Don't call tool-bar-setup in a
3643         tty-only build.
3645 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3647         * ruler-mode.el (ruler--save-header-line-format): New fun.
3648         (ruler-mode): Use it as a setter function, so as not to overwrite
3649         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3651 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
3653         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
3654         (vc-root-diff, vc-print-root-log, vc-log-incoming)
3655         (vc-log-outgoing): Use it.
3656         (vc-diff-internal): Set diff-vc-backend.
3658         * vc/diff-mode.el (diff-vc-backend): New var.
3660 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
3662         * dynamic-setting.el (font-setting-change-default-font): Remove
3663         call to message.
3665 2010-06-28  Kenichi Handa  <handa@m17n.org>
3667         * international/quail.el (quail-insert-kbd-layout): Fix the
3668         showing of untranslated characters.
3670 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
3672         * simple.el (delete-active-region): New option.
3673         (delete-backward-char): Implement in Lisp.
3674         (delete-forward-char): New command.
3676         * mouse.el (mouse-region-delete-keys): Deleted.
3677         (mouse-show-mark): Simplify.
3679         * bindings.el (global-map): Bind delete and DEL, the former to
3680         delete-forward-char.
3682 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
3684         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3685         (ruby-mode): Bind indent-line-function (Bug#5119).
3687 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3689         * startup.el (command-line): Recognize "0" X resource value.
3691 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3693         * startup.el (command-line): Use X resources to set the value of
3694         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3696         * menu-bar.el (menu-bar-mode):
3697         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3698         Set init-value to t.
3700         * frame.el (frame-notice-user-settings): Don't change
3701         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3702         vice versa (Bug#2249).
3704 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
3706         * w32-fns.el (w32-convert-standard-filename): Doc fix.
3708 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3710         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3711         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3713         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3714         default directories are expanded (Bug#6143).
3716 2010-06-24  Juri Linkov  <juri@jurta.org>
3718         * minibuffer.el (completions-format): Change default from nil to
3719         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
3721 2010-06-24  Juri Linkov  <juri@jurta.org>
3723         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3724         buffer-locally to lambda that re-runs the vc diff command.
3725         (Bug#6447)
3727 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
3729         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3730         echo area is in use (Bug#3412).
3732 2010-06-22  Glenn Morris  <rgm@gnu.org>
3734         * textmodes/texinfmt.el (texinfo-format-region)
3735         (texinfo-raise-lower-sections, texinfo-format-separate-node)
3736         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3737         (texinfo-format-option, texinfo-noindent):
3738         Use line-beginning-position and line-end-position.
3740         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3741         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3742         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3743         utf-8 characters.
3745 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
3747         * play/zone.el (zone-fall-through-ws): Fix next-line ->
3748         forward-line fallout.
3750 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
3752         * mouse.el (mouse-appearance-menu): Add docstring.
3754         * help.el (describe-key): Print up-event using key-description.
3756 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
3758         * net/zeroconf.el (zeroconf-resolve-service)
3759         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3760         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3762 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3764         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3766 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
3768         Avoid displaying files with a nil state in vc-dir.
3769         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3770         cases that cause insertion.
3771         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3772         with a nil state.
3774 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3776         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3778 2010-06-29  Leo  <sdl.web@gmail.com>
3780         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
3782 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3784         * generic-x.el (bat-generic-mode): Fix regexp for command line
3785         switches (Bug#5719).
3787 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
3789         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3790         of nconc to avoid pure storage error (Bug#6239).
3792 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
3794         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3795         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3796         bindings of bookmark-automatically-show-annotations (Bug#6515).
3798 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
3800         * arc-mode.el (archive-zip-extract): Don't quote the file name on
3801         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
3803 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3805         * comint.el (make-comint, make-comint-in-buffer): Mention return
3806         value in the docstrings.  (Bug#6498)
3808 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
3810         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3811         since it is not present when using some non-default switches.
3813 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
3815         * simple.el (compose-mail): Fix doc string to refer to
3816         `compose-mail-user-agent-warnings', instead of to the
3817         nonexistent `compose-mail-check-user-agent'.
3819 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
3821         Fix an indentation bug:
3823         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3824         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3825         of existing values.
3827         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3828         (c-clear->-pair-props-if-match-before): now return t when they've
3829         cleared properties, nil otherwise.
3830         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3831         by taking account of the existing value.
3833         * progmodes/cc-defs.el
3834         (c-clear-char-property-with-value-function): Fix this to clear the
3835         property rather than overwriting it with nil.
3837 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
3839         * emacs-lisp/package.el (package-print-package): Add link to
3840         package description via describe-package.
3841         (describe-package-1): List package requirements.  Add button to
3842         perform installation.
3843         (package-menu-describe-package): New command.
3845         * help-mode.el (help-package): New button type.
3847 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
3849         * emacs-lisp/package.el: Move package-list-packages binding to
3850         menu-bar.el.
3851         (describe-package, describe-package-1, package--dir): New funs.
3852         (package-activate-1): Use package--dir.
3854         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3856         * help-mode.el (help-package-def): New button type.
3858         * menu-bar.el: Move package-list-packages binding here from
3859         package.el.
3861 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
3863         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
3865 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3867         * emacs-lisp/edebug.el (edebug-read-list):
3868         Phase out old-style backquotes.
3870 2010-06-17  Juri Linkov  <juri@jurta.org>
3872         * help-mode.el (help-mode): Set buffer-local variable
3873         revert-buffer-function to help-mode-revert-buffer.
3874         (help-mode-revert-buffer): New function.
3876         * info.el (Info-revert-find-node): Check for major-mode Info-mode
3877         before popping to "*info*" (like in other Info functions).
3878         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
3879         old-history-forward.  Pop to old-buffer-name or "*info*" to
3880         recreate the killed buffer.  Set Info-history-forward from
3881         old-history-forward.
3882         (Info-breadcrumbs-depth): Add :group and :version.
3884 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
3886         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3888 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
3890         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3891         for languages like Portuguese with pt_{BR,PT} and no plain pt.
3893 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
3895         * emacs-lisp/package.el (package-menu-mode-map):
3896         Move initialization into declaration.
3898         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3900 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
3902         * emacs-lisp/package.el (package-archive-base): Point to
3903         elpa.gnu.org.
3904         (package-enable, package-load-list): New defcustoms.
3905         (package-user-dir, package-directory-list): Turn into defcustoms.
3906         Don't include package-user-dir in package-directory-list.
3907         (package--builtins-base): Don't include Emacs as a "package".
3908         (package-subdirectory-regexp): New var.
3909         (package-load-all-descriptors, package-compute-transaction)
3910         (package-download-transaction): Obey package-load-list.
3911         (package-activate-1): Rename from package-do-activate.
3912         (package-list-packages-internal): Check package-load-list.
3913         (package-load-descriptor, package-generate-autoloads)
3914         (package-unpack, package-unpack-single)
3915         (package--read-archive-file, package-delete): Use
3916         expand-file-name.
3918         * emacs-lisp/package-x.el: New file.  Package uploading
3919         functionality split out from package.el.
3921         * startup.el (command-line): Load packages after reading init file.
3923 2010-06-17  Tom Tromey  <tromey@redhat.com>
3925         * emacs-lisp/package.el: New file.
3927 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3929         Fix vc-annotate for renamed files when using Git.
3930         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3931         ls-files.  Doe not pass the object as a file name to cat-file, it
3932         is not a file name.
3933         (vc-git-annotate-command): Pass the file name using -- to avoid
3934         ambiguity with the revision.
3935         (vc-git-previous-revision): Pass a relative file name.
3937 2010-06-22  Glenn Morris  <rgm@gnu.org>
3939         * progmodes/js.el (js-mode-map): Use standard capitalization and
3940         ellipses for menu entries.
3942         * wid-edit.el (widget-complete): Doc fix.
3944 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
3946         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3948 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3950         Fix annotating other revisions for renamed files in vc-annotate.
3951         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3952         VC backend.  Use it when non-nil.
3953         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3954         (Bug#6487)
3956         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3957         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3958         Do not pass the file name to the 'previous-revision call when we
3959         don't want a file diff.  (Bug#6489)
3961 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3963         Fix finding revisions for renamed files in vc-annotate.
3964         * vc/vc.el (vc-find-revision): Add an optional argument for
3965         the VC backend.  Use it when non-nil.
3966         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3967         backend to vc-find-revision.  (Bug#6487)
3969 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3971         Fix reading file names in Git annotate buffers.
3972         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3973         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
3975 2010-06-20  Alan Mackenzie  <acm@muc.de>
3977         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3978         in file local variables, set it first.
3980 2010-06-19  Glenn Morris  <rgm@gnu.org>
3982         * descr-text.el (describe-char-unicode-data): Insert separating
3983         space when needed.  (Bug#6422)
3985         * progmodes/idlwave.el (idlwave-action-and-binding):
3986         Fix typo in 2009-12-03 change.  (Bug#6450)
3988 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3990         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3991         handling for `lambda' (misunderstanding).
3993 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
3995         * calc/calc-poly.el (math-accum-factors): Make sure that
3996         constants aren't distributed after they are factored out.
3998 2010-06-16  Juri Linkov  <juri@jurta.org>
4000         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4001         `list-colors-print'.  (Bug#6332)
4003         * subr.el (read-quoted-char): Fix up last change (bug#6290).
4005 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4008         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
4010         * font-lock.el (font-lock-major-mode): Rename from
4011         font-lock-mode-major-mode to distinguish it from
4012         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4013         (font-lock-set-defaults):
4014         * font-core.el (font-lock-default-function): Adjust users.
4015         (font-lock-mode): Don't set it at all.
4017 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4019         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4021 2010-06-16  Glenn Morris  <rgm@gnu.org>
4023         * calendar/appt.el (appt-time-msg-list): Doc fix.
4024         (appt-check): Let-bind appt-warn-time.
4025         (appt-add): Make the 3rd argument optional.
4026         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
4027         Only add WARNTIME to the output list if non-nil.
4029 2010-06-16  Ivan Kanis  <apple@kanis.eu>
4031         * calendar/appt.el (appt-check): Let the 3rd element of
4032         appt-time-msg-list specify the warning time.
4033         (appt-add): Add new argument with the warning time.  (Bug#5176)
4035 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
4037         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4038         older than version 1.6.  (Bug#6361)
4040 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
4042         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4043         used by cl-do-arglist.  (Bug#6408)
4045 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
4047         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4048         portuguese casechars/not-casechars for missing 'çÇ'.
4049         Suggested by Rolando Pereira (bug#6434).
4051 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
4053         * facemenu.el (list-colors-sort): Doc fix.
4055 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
4057         * progmodes/sql.el (sql-connect-mysql): Fix typo.
4059 2010-06-14  Juri Linkov  <juri@jurta.org>
4061         Add sort option `list-colors-sort'.  (Bug#6332)
4062         * facemenu.el (color-rgb-to-hsv): New function.
4063         (list-colors-sort): New defcustom.
4064         (list-colors-sort-key): New function.
4065         (list-colors-display): Doc fix.  Sort list according to the option
4066         `list-colors-sort'.
4067         (list-colors-print): Add HSV values to `help-echo' property of
4068         RGB strings.
4070 2010-06-14  Juri Linkov  <juri@jurta.org>
4072         * compare-w.el: Move to the "vc" subdirectory.
4074 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4076         * image-mode.el (image-mode-map): Remap left-char and right-char.
4078         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4080 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
4082         * term/common-win.el (x-colors): Add all the color names defined
4083         in rgb.txt (Bug#6332).
4085         * facemenu.el (list-colors-print): Don't print extra names if it
4086         will overflow the window width.
4088         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4089         change (Bug#6343).
4091 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
4093         * files.el (make-directory): Doc fix (bug#6396).
4095 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
4097         * net/tramp.el (tramp-remote-process-environment): Protect version
4098         string by apostroph.
4099         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4100         XEmacs.
4101         (tramp-file-name-for-operation): Add `call-process-region'.
4102         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4104         * net/tramp-compat.el (top): Do not autoload
4105         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4106         only when `start-file-process' is not bound.
4107         (tramp-advice-file-expand-wildcards): Do not use
4108         `tramp-handle-file-remote-p'.
4109         (tramp-compat-make-temp-file): Handle the case, that
4110         `make-temp-file' has no third argument EXTENSION.
4112 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
4114         * makefile.w32-in (WINS_BASIC): Include new directory vc.
4116         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4118 2010-06-11  Juri Linkov  <juri@jurta.org>
4120         * finder.el (finder-known-keywords): Add keyword "vc"
4121         for version control.
4123         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4124         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4125         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4126         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4128 2010-06-11  Juri Linkov  <juri@jurta.org>
4130         Move version control related files to the "vc" subdirectory.
4131         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4132         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4133         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4134         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4135         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4136         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4137         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4138         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4139         Move files to the "vc" subdirectory.
4141 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
4143         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4144         (Bug#6367).
4146 2010-06-11  Stephen Eglen  <stephen@gnu.org>
4148         * shell.el: Bind `shell-resync-dirs' to M-RET.
4150 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
4152         * notifications.el: Move file from lisp/net, because it is
4153         supposed to talk locally to the user.
4155 2010-06-10  Julien Danjou  <julien@danjou.info>
4157         * net/notifications.el (notifications-on-action-signal)
4158         (notifications-on-closed-signal): Pass notification id as first
4159         argument to the callback functions.  Add docstrings.
4160         (notifications-notify): Fix docstring.
4162 2010-06-10  Glenn Morris  <rgm@gnu.org>
4164         * emacs-lisp/authors.el (authors-ignored-files)
4165         (authors-valid-file-names): Add some files.
4167 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4169         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4170         merge conflict, giving preference to the emacs-23 version of the code.
4172 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4174         * emacs-lisp/advice.el (ad-compile-function):
4175         Define warning-suppress-types before we let-bind it (bug#6275).
4177         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4178         declare it, make it buffer-local and permanent-local (bug#6324).
4179         (vc-resynch-window): Adjust name.
4180         * vc-hooks.el (vc-find-file-hook): Adjust name.
4182 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
4184         * net/notifications.el (notifications-notify): Fix docstring.
4186 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
4188         Update to Unicode 6.0.0 beta.
4189         * international/charprop.el: Update copyright.
4190         * international/mule-cmds.el (ucs-names): Update character ranges.
4191         * international/uni-bidi.el:
4192         * international/uni-category.el:
4193         * international/uni-combining.el:
4194         * international/uni-comment.el:
4195         * international/uni-decimal.el:
4196         * international/uni-decomposition.el:
4197         * international/uni-digit.el:
4198         * international/uni-lowercase.el:
4199         * international/uni-mirrored.el:
4200         * international/uni-name.el:
4201         * international/uni-numeric.el:
4202         * international/uni-old-name.el:
4203         * international/uni-titlecase.el:
4204         * international/uni-uppercase.el: Regenerate.
4206 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
4208         * emacs-lisp/smie.el (comment-string-strip): Declare function.
4209         (smie-precs-precedence-table): Fix typo in docstring.
4211         * vc-mtn.el (log-edit-extract-headers): Declare function.
4213         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4215         * net/notifications.el (dbus-register-signal): Declare function.
4216         (notifications-notify): Fix typos and reflow docstring.
4218 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
4220         Improve VC create/retrieve tag/branch.
4221         * vc.el (vc-create-tag): Do not read the directory name for VCs
4222         with repository revision granularity.  Adjust the tag/branch
4223         prompt.  Reset VC properties.
4224         (vc-retrieve-tag): Do not read the directory name for VCs
4225         with repository revision granularity.  Reset VC properties.
4227 2010-06-09  Julien Danjou  <julien@danjou.info>
4229         * net/notifications.el: New file.
4231 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
4233         Add optional support for resetting VC properties.
4234         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4235         call vc-file-clearprops when true.
4236         (vc-resynch-buffer): Add new optional argument, pass it down.
4237         (vc-resynch-buffers-in-directory): Likewise.
4239         Improve support for special markup in the VC commit message.
4240         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4241         * vc-hg.el (vc-hg-checkin): Add support for Date:.
4242         * vc-git.el (vc-git-checkin):
4243         * vc-bzr.el (vc-bzr-checkin): Likewise.
4245 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4248         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4250 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
4252         * iimage.el: Remove images as soon as the underlying text is modified.
4253         (iimage-modification-hook): New function.
4254         (iimage-mode-buffer): Use it.
4256 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4258         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4259         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
4260         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
4261         (smie-indent-keyword): Add handling of open-paren keywords.
4262         (smie-indent-comment-continue): Don't assume comment-continue.
4264 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
4266         * window.el (pop-to-buffer): Remove the conditional that
4267         compares new-window and old-window, so it will reselect
4268         the selected window unconditionally.
4269         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4271 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4273         * emacs-lisp/smie.el (smie-indent-offset-after)
4274         (smie-indent-forward-token, smie-indent-backward-token): New functions.
4275         (smie-indent-after-keyword): Use them.
4276         (smie-indent-fixindent): Only applies to the indentation of the BOL.
4277         (smie-indent-keyword): Tweak the black magic.
4278         (smie-indent-comment-continue): Strip comment-continue before use.
4279         (smie-indent-functions): Indent comments before keywords.
4281 2010-06-06  Juri Linkov  <juri@jurta.org>
4283         * isearch.el (isearch-lazy-highlight-search): Fix looping
4284         by checking for empty match.  This syncs this loop with the
4285         similar loop in `isearch-search'.  (Bug#6362)
4287 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
4289         * net/dbus.el (dbus-register-method): Declare function.
4290         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4291         (dbus-introspect): Doc fix.
4292         (dbus-event-bus-name, dbus-introspect-get-interface)
4293         (dbus-introspect-get-argument): Reflow docstrings.
4295 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
4297         vc-log-incoming/vc-log-outgoing fixes for Git.
4298         * vc-git.el (vc-git-log-view-mode): Fix font lock for
4299         incoming/outgoing logs.
4300         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4301         instead of vc-git-compute-remote.
4302         (vc-git-compute-remote): Remove.
4304 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
4306         * term/common-win.el (x-colors): Add "dark green" and "dark
4307         turquoise" (Bug#6332).
4309 2010-06-04  Juri Linkov  <juri@jurta.org>
4311         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4312         Instead of setting `replace' to t and replacing the same string
4313         with itself, don't do certain actions when
4314         kill-do-not-save-duplicates is non-nil and string is equal to car
4315         of kill-ring: don't call menu-bar-update-yank-menu, don't push
4316         interprogram-paste strings to kill-ring, and don't push the input
4317         argument `string' to kill-ring.
4318         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4320 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4322         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4324 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
4326         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4327         (tramp-gvfs-handler-mounted-unmounted)
4328         (tramp-gvfs-connection-mounted-p): Handle default-location.
4330         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4331         move files to trash.
4333 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4335         * international/mule-cmds.el (nonascii-insert-offset)
4336         (nonascii-translation-table): Add obsolescence information.
4338         * international/mule.el (make-translation-table-from-vector): Doc fix.
4340 2010-06-03  Glenn Morris  <rgm@gnu.org>
4342         * desktop.el (desktop-clear-preserve-buffers):
4343         Add "*Warnings*" buffer.  (Bug#6336)
4345 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
4347         vc-log-incoming/vc-log-outgoing improvements for Git.
4348         * vc-git.el (vc-git-log-outgoing): Use the same format as the
4349         short log.
4350         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
4352         Add bindings for vc-log-incoming and vc-log-outgoing.
4353         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4354         and vc-log-outgoing.
4355         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4356         and vc-log-outgoing.
4358 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4360         * net/rcirc.el (rcirc-sort-nicknames): Remove.
4361         (rcirc-handler-366): Always sort nicknames.
4363 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
4365         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4367 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4369         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4371 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4373         * net/rcirc.el (rcirc-sort-nicknames): Change default.
4374         (rcirc-sort-nicknames-join): Avoid setq.
4376 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4378         * net/rcirc.el (rcirc-sort-nicknames): New custom.
4379         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4380         (rcirc-handler-366): Use them.
4382 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4384         Split smie-indent-calculate into more manageable chunks.
4385         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4386         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4387         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4388         (smie-indent-exps): Extract from smie-indent-calculate.
4389         (smie-indent-functions): New var.
4390         (smie-indent-functions): Use them.
4392 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4394         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4395         (smie-indent-calculate): Simplify and cleanup.
4397 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
4399         * net/tramp-gvfs.el (top): Require url-util.
4400         (tramp-gvfs-mount-point): Remove.
4401         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4402         New defuns.
4403         (with-tramp-dbus-call-method): Format trace message.
4404         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4405         Implement backup call, when operation on local files fails.
4406         Use progress reporter.  Flush properties of changed files.
4407         (tramp-gvfs-handle-make-directory): Make more traces.
4408         (tramp-gvfs-url-file-name): Hexify file name in url.
4409         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4410         into account for the resulting file name.
4411         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4412         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
4413         (tramp-gvfs-handler-mounted-unmounted)
4414         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4415         attribute "default_location".  Set "prefix" property.
4416         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4417         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4418         exists.  Raise an error, if not (due to a corresponding answer
4419         "no" in interactive questions, for example).
4421 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
4423         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4425 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
4427         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4428         right-*.  (Bug#6265)
4430 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
4432         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4433         * vc-git.el (vc-git-compute-remote): New function.
4434         (vc-git-log-outgoing): Use it instead of hard coding a value.
4435         (vc-git-log-incoming): New function.
4437         Improve state updating for VC tag commands.
4438         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4439         to update the state of all buffers in the directory.
4441         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4443 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4445         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4446         `file-directory-p' to the filename part rather than to the whole text.
4448 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4450         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4452 2010-05-31  Drew Adams  <drew.adams@oracle.com>
4454         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4456 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
4458         * subr.el (momentary-string-display): Just use read-event to read
4459         the exit event (Bug#6238).
4461 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
4463         * international/mule.el (define-coding-system): Doc fix (bug#6313).
4465 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4467         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4468         Suggested by Eli Zaretskii <eliz@gnu.org>.
4470 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * minibuffer.el (completion-file-name-table): Don't return a boundary
4473         past the end of `string' (bug#6299).
4474         (completion--file-name-table): Delegate to completion-file-name-table
4475         for the `boundaries' case.
4477 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4479         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4480         movement commands.
4482         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4483         `path-separator', but maintain compatibility with Emacs 20.2.
4485 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4487         * server.el (server-process-filter): Receive parent-id argument
4488         from emacsclient.
4489         (server-create-window-system-frame): New arg.  Pass parent-id as
4490         frame parameter.
4492 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4494         Bidi-sensitive word movement with arrow keys.
4495         * subr.el (right-arrow-command, left-arrow-command): Move to
4496         bindings.el.
4498         * bindings.el (right-char, left-char): Move from subr.el and
4499         rename from right-arrow-command and left-arrow-command.
4500         (right-word, left-word): New functions.
4501         (global-map) <right>: Bind to right-char.
4502         (global-map) <left>: Bind to left-char.
4503         (global-map) <C-right>: Bind to right-word.
4504         (global-map) <C-left>: Bind to left-word.
4506         * ls-lisp.el (ls-lisp-classify-file): New function.
4507         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4508         (ls-lisp-classify): Call ls-lisp-classify-file.
4509         (insert-directory): Remove blanks from switches.
4511 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4513         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4514         (ansi-color-drop-regexp): New constant.
4515         (ansi-color-apply, ansi-color-filter-region)
4516         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4517         (ansi-color-apply): Build string list before calling concat.
4519 2010-05-28  Juri Linkov  <juri@jurta.org>
4521         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4522         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4523         (Bug#5270)
4525 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4527         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4528         to ignored backtrace functions.
4529         (with-progress-reporter): Expand docstring.
4530         (tramp-handle-delete-file): Implement TRASH argument.
4531         (tramp-get-remote-trash): New defun.
4533 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4535         * net/tramp-compat.el (tramp-compat-delete-file): Use
4536         `symbol-value' for backward compatibility.
4538         * net/tramp.el (tramp-handle-make-symbolic-link)
4539         (tramp-handle-load)
4540         (tramp-do-copy-or-rename-file-via-buffer)
4541         (tramp-do-copy-or-rename-file-directly)
4542         (tramp-do-copy-or-rename-file-out-of-band)
4543         (tramp-handle-process-file, tramp-handle-call-process-region)
4544         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4545         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4546         (tramp-delete-temp-file-function): Use `delete-file' instead
4547         of `tramp-compat-delete-file'.
4549         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4550         (tramp-fish-handle-make-symbolic-link)
4551         (tramp-fish-handle-process-file): Use `delete-file' instead
4552         of `tramp-compat-delete-file'.
4554         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4555         `delete-file' instead of `tramp-compat-delete-file'.
4557         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4558         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4559         `tramp-compat-delete-file'.
4561         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4562         `delete-file' instead of `tramp-compat-delete-file'.
4564         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4565         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4566         (tramp-smb-handle-write-region): Use `delete-file' instead of
4567         `tramp-compat-delete-file'.
4568         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4570 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4572         * dired.el (dired-delete-file): New arg TRASH.
4573         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4574         (dired-do-flagged-delete, dired-do-delete): Use trash.
4576         * speedbar.el (speedbar-item-delete): Allow trashing.
4578         * files.el (delete-directory): New arg TRASH.
4580         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4581         (ange-ftp-rename-remote-to-remote)
4582         (ange-ftp-rename-local-to-remote)
4583         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4584         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4585         `delete-file'.
4586         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4587         allow trashing.
4589         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4590         handle new TRASH arg of `delete-file'.
4592         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4593         (tramp-handle-make-symbolic-link, tramp-handle-load)
4594         (tramp-do-copy-or-rename-file-via-buffer)
4595         (tramp-do-copy-or-rename-file-directly)
4596         (tramp-do-copy-or-rename-file-out-of-band)
4597         (tramp-handle-process-file, tramp-handle-call-process-region)
4598         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4599         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4600         (tramp-delete-temp-file-function): Use null TRASH arg in
4601         tramp-compat-delete-file call.
4603         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4604         (tramp-fish-handle-delete-file)
4605         (tramp-fish-handle-make-symbolic-link)
4606         (tramp-fish-handle-process-file): Use null TRASH arg in
4607         `tramp-compat-delete-file' call.
4609         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4610         arg in `tramp-compat-delete-file' call.
4612         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4613         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4614         `tramp-compat-delete-file' call.
4616         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4617         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4618         `tramp-compat-delete-file' call.
4620         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4621         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4622         (tramp-smb-handle-write-region): Use null TRASH arg in
4623         tramp-compat-delete-file call.
4624         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4625         (tramp-smb-handle-delete-file): Rename arg.
4627         * diff.el (diff-sentinel):
4628         * epg.el (epg--make-temp-file, epg-decrypt-string)
4629         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4630         * jka-compr.el (jka-compr-partial-uncompress)
4631         (jka-compr-call-process, jka-compr-write-region):
4632         * server.el (server-sentinel): Remove optional arg from
4633         delete-file, reverting 2010-05-03 change.
4635 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4637         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4638         font-lock-constant-face, not obsolete font-lock-reference-face.
4640 2010-05-27  Kenichi Handa  <handa@m17n.org>
4642         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4643         element of GSTRING is nil.
4645 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4647         * emacs-lisp/smie.el (smie-forward-token-function)
4648         (smie-backward-token-function): New vars.
4649         (smie-backward-sexp, smie-forward-sexp)
4650         (smie-indent-hanging-p, smie-indent-calculate): Use them.
4651         (smie-default-backward-token): Rename from smie-backward-token and
4652         skip comments.
4653         (smie-default-forward-token): Rename from smie-forward-token and
4654         skip comments.
4655         (smie-next-sexp): Handle nil results from next-token.
4656         (smie-indent-calculate): Add a new case for special `fixindent' comments.
4658 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4660         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4661         Use font-lock-constant-face, not obsolete font-lock-reference-face.
4663 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
4665         * htmlfontify.el (hfy-face-resolve-face): New function.
4666         (hfy-face-to-style): Use it (Bug#6279).
4668 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4670         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4671         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4673 2010-05-26  Glenn Morris  <rgm@gnu.org>
4675         * emulation/edt.el (edt-load-keys): Use locate-library.
4677 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
4679         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4680         (log-edit-changelog-entries): Doc fix.
4681         (log-edit-changelog-insert-entries): Args changed.
4682         Rename relative filenames in ChangeLog entries.  Delete tabs.
4683         (log-edit-insert-changelog-entries): Reorganize return value of
4684         `log-edit-changelog-entries' to pass filenames to
4685         log-edit-changelog-insert-entries.
4687 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4689         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4690         `image-dired-dired-insert-marked-thumbs' to
4691         `image-dired-dired-toggle-marked-thumbs'.
4693         * image-dired.el: Require cl when compiling.
4694         (image-dired-dired-toggle-marked-thumbs): Rename from
4695         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
4696         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
4697         to 'no-dir.  Skip files whose names don't match
4698         `image-file-name-regexp'.  When file has a thumbnail overlay,
4699         delete it.  (Bug#5270)
4701 2010-05-25  Juri Linkov  <juri@jurta.org>
4703         * image-mode.el (image-mode): Add image-after-revert-hook to
4704         after-revert-hook.
4705         (image-after-revert-hook): New function.  (Bug#5669)
4707 2010-05-25  Juri Linkov  <juri@jurta.org>
4709         * image.el (image-animated-p): When delay between animated images
4710         is 0, set it to 10 (0.1 sec).  (Bug#6258)
4712 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4714         * net/tramp.el (tramp-handle-insert-directory): Don't use
4715         `forward-word', its default syntax could be changed.
4717 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
4719         * net/tramp.el (tramp-progress-reporter-update): New defun.
4720         (with-progress-reporter): Use it.
4721         (tramp-process-actions):
4722         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4723         current message, in order to let progress reporter continue
4724         afterwards.  (Bug#6257)
4726 2010-05-25  Glenn Morris  <rgm@gnu.org>
4728         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4729         Add :version.
4731 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4733         * net/rcirc.el (rcirc-default-user-name): Change to "user".
4734         (rcirc-default-full-name): Change to "unknown".
4735         (rcirc-user-name-history): Add variable.
4737 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4738             Jonathan Rockway  <jon@jrock.us>
4740         * net/rcirc.el (rcirc-server-alist): Add :pass.
4741         (rcirc): When prompting for connection parameters, also prompt for
4742         username and password.
4743         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
4744         value to server when connecting.
4746 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4748         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4749         (smie-merge-prec2s): Pass the tables as separate args.
4750         (smie-bnf-precedence-table): Adjust call accordingly.
4751         (smie-prec2-levels): Set levels at the end.
4753         Replace Lisp calls to delete-backward-char by delete-char.
4754         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4755         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4756         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4757         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4758         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4759         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4760         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4761         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4762         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4763         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4764         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4765         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4766         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4767         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4768         delete-backward-char by calls to delete-char.
4770 2010-05-25  Kenichi Handa  <handa@m17n.org>
4772         * language/hebrew.el (hebrew-shape-gstring): New function.
4773         Register it in composition-function-table for all Hebrew combining
4774         characters.
4776 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4778         * epa.el (epa--select-keys): Don't explicitly delete the window since
4779         that can fail (e.g. sole window in frame).  Use dedication instead.
4781 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4783         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4785 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
4787         * image.el (image-refresh): Define as an alias for image-flush.
4789         * image-mode.el (image-toggle-display-image): Caller changed.
4791 2010-05-21  Juri Linkov  <juri@jurta.org>
4793         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4794         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
4795         whitespace, call wildcard-to-regexp on substrings and concat them
4796         with "\\|".  (Bug#6114)
4798 2010-05-21  Alan Mackenzie  <acm@muc.de>
4800         * progmodes/cc-engine.el (c-parse-state-get-strategy):
4801         Replace parameter `here' with `here-' and `here-plus', which sandwich
4802         any pertinent CPP construct.
4803         (c-remove-stale-state-cache-backwards): Fix a bug which happens
4804         when doing (c-parse-state) in a CPP construct: Exclude any "new"
4805         CPP construct from taking part in the scanning.
4807 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
4809         * net/tramp.el (tramp-do-copy-or-rename-file)
4810         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4811         Tune `with-progress-reporter' messages.
4812         (tramp-handle-vc-registered):
4813         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4814         (tramp-fish-handle-insert-file-contents)
4815         (tramp-fish-maybe-open-connection):
4816         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4817         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4818         (tramp-imap-handle-insert-file-contents)
4819         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4821 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
4823         * add-log.el (change-log-font-lock-keywords):
4824         Highlight all authors in multi-author entries.
4826         * smerge-mode.el (smerge-refine-ignore-whitespace)
4827         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4828         Fix typos in docstrings.
4829         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4831 2010-05-21  Glenn Morris  <rgm@gnu.org>
4833         * progmodes/fortran.el (fortran-mode):
4834         * progmodes/f90.el (f90-mode): Derive from prog-mode.
4836         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4837         having a relative path in src/Makefile.in.
4839 2010-05-20  Kevin Ryde  <user42@zip.com.au>
4841         * help-mode.el (help-make-xrefs): For Info node links turn
4842         newlines into spaces.  Link node names with newlines are matched
4843         by help-xref-info-regexp and buttonized, this change ensures they
4844         can be followed successfully with RET.  (Bug#6206)
4846 2010-05-20  Juri Linkov  <juri@jurta.org>
4848         * locate.el (locate): Use pop-to-buffer instead of
4849         switch-to-buffer-other-window.  (Bug#6204)
4851 2010-05-20  Juri Linkov  <juri@jurta.org>
4853         * replace.el (replace-highlight): Fix lazy-highlighting
4854         for `M-s w str M-% str RET'.
4856 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
4858         * isearch.el (isearch-yank-word-or-char): Pull next subword
4859         when `subword-mode' is activated.  (Bug#6220)
4861 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
4863         * isearch.el (isearch-update-post-hook): New hook.
4864         (isearch-update): Use the new hook.  (Bug#6225)
4866 2010-05-20  Juri Linkov  <juri@jurta.org>
4868         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4869         [f1], [help], and (char-to-string help-char) instead of "\C-h".
4870         (Bug#6222)
4872 2010-05-20  Juri Linkov  <juri@jurta.org>
4874         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4875         (Bug#6223)
4877 2010-05-20  Juri Linkov  <juri@jurta.org>
4879         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4880         FILE-NAME to read from the minibuffer when called interactively
4881         with prefix argument instead of using buffer-file-name.
4882         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4884         * dired.el: Update autoloads.
4886 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
4888         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4889         nxml-finish-element, for consistency with SGML mode.
4891         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4892         octave-close-block.
4894 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
4896         * composite.el: Require cl when compiling.
4897         (reference-point-alist, compose-gstring-for-graphic)
4898         (compose-gstring-for-terminal): Fix typos in docstrings.
4900 2010-05-19  Juri Linkov  <juri@jurta.org>
4902         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4903         set-window-parameter.
4905 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4907         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4908         where appropriate.
4909         (tramp-maybe-open-connection): Use it.
4911 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
4913         * simple.el (move-end-of-line): Make sure we are at line beginning
4914         before backing up to end of previous line.
4916 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4918         * password-cache.el (password-cache-remove): Fix docstring.
4920         * net/secrets.el: Autoload the widget functions.
4921         (secrets-search-items, secrets-create-item)
4922         (secrets-get-attributes, secrets-expand-item): Attributes will be
4923         stored on the password database without leading ":", as all other
4924         clients do as well.
4925         (secrets-mode): Fix docstring.
4926         (secrets-show-secrets): Provide it as autoloaded command only when
4927         D-Bus support is available.  Check existence of Secret Service API.
4929 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4931         * indent.el (indent-region): Deactivate region (bug#6200).
4933 2010-05-19  Glenn Morris  <rgm@gnu.org>
4935         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
4937 2010-05-19  Kenichi Handa  <handa@m17n.org>
4939         * composite.el: Register compose-gstring-for-graphic in
4940         composition-function-table only for combining characters (Mn, Mc, Me).
4942 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
4944         * calc/calc-trail.el (calc-trail-isearch-forward)
4945         (calc-trail-isearch-backward): Ensure that the new window
4946         point is set correctly.
4948 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4950         * subr.el (read-quoted-char): Resolve modifiers after key
4951         remapping (bug#6212).
4953 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
4955         Add visualization code for secrets.
4956         * net/secrets.el (secrets-mode): New major mode.
4957         (secrets-show-secrets, secrets-show-collections)
4958         (secrets-expand-collection, secrets-expand-item)
4959         (secrets-tree-widget-after-toggle-function)
4960         (secrets-tree-widget-show-password): New defuns.
4962 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4964         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4965         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4966         handled in smie-next-sexp.
4967         (smie-indent-calculate): Provide a starting indentation (so the
4968         recursion is well-founded ;-).
4970         Fix handling of non-associative equal levels.
4971         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4972         when it's not needed.
4973         (smie-op-left, smie-op-right): New functions.
4974         (smie-next-sexp): New function, extracted from smie-backward-sexp.
4975         Better handle equal levels to distinguish the associative case from
4976         the "multi-keyword construct" case.
4977         (smie-backward-sexp, smie-forward-sexp): Use it.
4979 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
4981         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4983         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4984         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4986 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4988         Provide a simple generic indentation engine and use it for Prolog.
4989         * emacs-lisp/smie.el: New file.
4990         * progmodes/prolog.el (prolog-smie-op-levels)
4991         (prolog-smie-indent-rules): New var.
4992         (prolog-mode-variables): Use them to configure SMIE.
4993         (prolog-indent-line, prolog-indent-level): Remove.
4995 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4997         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4998         order before computing the averages.
5000 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
5002         * calc/calc-vec.el (calc-histogram):
5003         (calcFunc-histogram): Allow vectors as inputs.
5004         (math-vector-avg): New function.
5006         * calc/calc-ext.el (math-group-float): Have the number of digits
5007         being grouped depend on the radix (Bug#6189).
5009 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
5011         * version.el (emacs-copyright, emacs-version): Don't define here,
5012         now that emacs.c defines it.
5014 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
5016         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5017         "Describe Language Environment" menu item.
5019         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5021         Bidi-sensitive movement with arrow keys.
5022         * subr.el (right-arrow-command, left-arrow-command): New functions.
5024         * bindings.el (global-map): Bind them to right and left arrow keys.
5026         Don't override standard definition of convert-standard-filename.
5027         * files.el (convert-standard-filename): Call
5028         w32-convert-standard-filename and dos-convert-standard-filename on
5029         the corresponding systems.
5031         * w32-fns.el (w32-convert-standard-filename): Rename from
5032         convert-standard-filename.  Doc fix.
5034         * dos-fns.el (dos-convert-standard-filename): Doc fix.
5035         (convert-standard-filename): Don't defalias.
5036         (register-name-alist, make-register, register-value)
5037         (set-register-value, intdos): Obsolete aliases for the
5038         corresponding dos-* functions and variables.
5039         (dos-intdos): Add a doc string.
5041 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
5043         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5044         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5045         (math-compose-tex-func):
5046         * calc/calccomp.el (math-compose-expr):
5047         * calc/calc-ext.el (math-format-flat-expr-fancy):
5048         * calc/calc-store.el (calc-read-var-name):
5049         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5051         * calc/calc.el (var-π, var-φ, var-γ): New variables.
5052         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5053         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5054         (math-standard-units): Add units.
5056 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5058         * progmodes/asm-mode.el (asm-mode):
5059         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5061         * pcomplete.el (pcomplete-completions-at-point): New function,
5062         extracted from pcomplete-std-complete.
5063         (pcomplete-std-complete): Use it.
5065 2010-05-15  Glenn Morris  <rgm@gnu.org>
5067         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5068         Remove references to CVS, RCS and Old directories.
5070 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
5072         * calc/calc-bin.el (math-format-twos-complement): Group digits when
5073         appropriate.
5075 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5077         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5078         (sh-mode-syntax-table): Give it a default value instead.
5079         (sh-header-marker): Make buffer-local.
5080         (sh-mode): Move make-local-variable to the corresponding setq.
5081         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5082         Use complete-with-action.
5084         * simple.el (prog-mode): New (abstract) major mode.
5085         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5086         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5088 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
5090         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5091         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5092         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5093         (sql-make-alternate-buffer-name, sql-placeholders-filter)
5094         (sql-escape-newlines-filter, sql-input-sender)
5095         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5097 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
5099         Add TeX open-block and close-block keybindings to SGML, and vice versa.
5101         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5102         latex-open-block and C-c / to latex-close-block.
5104         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5105         and C-c C-e to sgml-close-tag.
5107 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
5109         * net/tramp.el (with-progress-reporter): Create reporter object
5110         only when the message would be displayed.  Handle nested calls.
5111         (tramp-handle-load, tramp-handle-file-local-copy)
5112         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5113         (tramp-maybe-send-script, tramp-find-shell):
5114         Use `with-progress-reporter'.
5115         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5116         Fix message text.
5118         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5119         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5120         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5121         Use `with-progress-reporter'.
5123 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
5125         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5126         process everytime when spellchecking from the minibuffer (bug#6143).
5128 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5130         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5132         * dos-fns.el: Add "dos-" prefix for namespace control.
5133         (convert-standard-filename): Define as alias for
5134         dos-convert-standard-filename but only if applicable.
5136 2010-05-12  Alan Mackenzie  <acm@muc.de>
5138         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5139         Push the mark at the start of these functions when appropriate.
5141 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5143         * minibuffer.el (completion-cycle-threshold): New custom var.
5144         (completion--do-completion): Use it.
5145         (minibuffer-complete): Use cycling if appropriate.
5147 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
5149         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5150         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5152 2010-05-11  Juri Linkov  <juri@jurta.org>
5154         * scroll-all.el (scroll-all-check-to-scroll):
5155         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5157 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5159         * iimage.el (iimage-mode-map): Move initialization into declaration.
5160         (iimage-mode-buffer): Use with-silent-modifications.
5161         Simplify calling convention.  Adjust callers.
5162         (iimage-mode): Don't run hook redundantly.
5164         * minibuffer.el (completion-pcm--pattern->regex):
5165         Fix last change (bug#6160).
5167 2010-05-10  Juri Linkov  <juri@jurta.org>
5169         Remove nodes visited during Isearch from the Info history.
5170         * info.el (Info-isearch-initial-history)
5171         (Info-isearch-initial-history-list): New variables.
5172         (Info-isearch-start): Record initial values of
5173         Info-isearch-initial-history and Info-isearch-initial-history-list.
5174         Add Info-isearch-end to isearch-mode-end-hook.
5175         (Info-isearch-end): New function.
5177 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
5179         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5180         format string, in order to work around a bug in pdksh.
5181         Reported by Gilles Pion <gpion@lfdj.com>.
5182         (tramp-handle-verify-visited-file-modtime): Do not send a command
5183         when the connection is not established.
5184         (tramp-handle-set-file-times): Simplify the check for utc.
5186 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
5188         Fix use of `filter-buffer-substring' (rework previous change).
5189         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5190         (cua-repeat-replace-region):
5191         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5192         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5193         (cua-cut-region-to-global-mark): Use it.
5195 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
5197         * progmodes/sql.el: Version 2.1.
5198         (sql-product-alist): Redesign structure of product info.
5199         (sql-product, sql-user, sql-server, sql-database): Safe variables.
5200         (sql-port, sql-port-history): New variables.
5201         (sql-interactive-product): New variable.
5202         (sql-send-terminator): New variable.
5203         (sql-imenu-generic-expression): Add "Types" imenu entry.
5204         (sql-oracle-login-params, sql-sqlite-login-params)
5205         (sql-mysql-login-params, sql-solid-login-params)
5206         (sql-sybase-login-params, sql-informix-login-params)
5207         (sql-ingres-login-params, sql-ms-login-params)
5208         (sql-postgres-login-params, sql-interbase-login-params)
5209         (sql-db2-login-params, sql-linter-login-params)
5210         (sql-oracle-scan-on): New variables.
5211         (sql-mode-map): Add C-c C-i to start interactive mode.
5212         (sql-mode-menu): Update existing menu entries.
5213         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5214         (sql-mode-oracle-font-lock-keywords)
5215         (sql-mode-postgres-font-lock-keywords)
5216         (sql-mode-ms-font-lock-keywords)
5217         (sql-mode-sybase-font-lock-keywords)
5218         (sql-mode-informix-font-lock-keywords)
5219         (sql-mode-interbase-font-lock-keywords)
5220         (sql-mode-ingres-font-lock-keywords)
5221         (sql-mode-solid-font-lock-keywords)
5222         (sql-mode-mysql-font-lock-keywords)
5223         (sql-mode-sqlite-font-lock-keywords)
5224         (sql-mode-db2-font-lock-keywords)
5225         (sql-mode-linter-font-lock-keywords): Update initialization to
5226         reduce run-time complexity.
5227         (sql-add-product, sql-del-product): New functions.
5228         (sql-set-product-feature, sql-get-product-feature): New functions.
5229         (sql-product-font-lock): Update product API.
5230         (sql-add-product-keywords): New function.
5231         (sql-highlight-product): Update product API.
5232         (sql-help-list-products): New function.
5233         (sql-help): Dynamically lists free and non-free products.
5234         (sql-get-login): Correct bug in handling history and added
5235         prompt for port.
5236         (sql-copy-column): Copy without properties.
5237         (sqli-input-sender): Apply filters to SQLi input.
5238         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5239         Implement as a filter.
5240         (sql-escape-newlines-filter): Implement as a filter.
5241         (sql-remove-tabs-filter): New function.
5242         (sql-send-magic-terminator): New function.
5243         (sql-send-string): Implement magic terminator.
5244         (sql-send-region): Use `sql-send-string'.
5245         (sql-interactive-mode): Use product API.
5246         (sql-product-interactive): Use product API.
5247         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5248         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5249         (sql-db2, sql-linter): Use `sql-product-interactive'.
5250         (sql-connect): New function.
5251         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5252         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5253         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5254         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5255         Use `sql-connect'.
5257 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5259         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5260         New custom variable.
5261         (completion-pcm--string->pattern): Use it.
5262         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5263         Make it handle any symbol as `any'.
5264         (completion-pcm--merge-completions): Extract common suffix for the new
5265         `prefix' symbol as well.
5266         (completion-substring--all-completions): Use the new `prefix' symbol.
5268 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
5270         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5271         not bound.
5272         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5273         (tramp-compat-funcall): New defmacro.
5274         (tramp-compat-line-beginning-position)
5275         (tramp-compat-line-end-position)
5276         (tramp-compat-temporary-file-directory)
5277         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5278         (tramp-compat-copy-file, tramp-compat-copy-directory)
5279         (tramp-compat-delete-file, tramp-compat-delete-directory)
5280         (tramp-compat-number-sequence, tramp-compat-process-running-p)
5281         * net/tramp.el (top, with-progress-reporter)
5282         (tramp-rfn-eshadow-setup-minibuffer)
5283         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5284         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5285         (tramp-completion-mode-p, tramp-check-for-regexp)
5286         (tramp-open-connection-setup-interactive-shell)
5287         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5288         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5289         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5290         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5291         (tramp-reporter-dump-variable, tramp-load-report-modules)
5292         (tramp-append-tramp-buffers)
5293         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5295         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5297 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5299         * progmodes/compile.el (compilation-buffer-modtime): Rename from
5300         buffer-modtime.  Adjust users.
5302 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5304         * international/mule.el (auto-coding-alist): Only purecopy
5305         car of each item, not the whole list (Bug#6083).
5307 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5309         * progmodes/js.el (js-mode): Make paragraph variables local before
5310         calling c-setup-paragraph-variables (Bug#6071).
5312 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
5314         * composite.el (compose-region, reference-point-alist): Fix typos
5315         in the doc strings.
5317 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5319         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5320         gnuplot's "set" command.
5322 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5324         * abbrev.el (last-abbrev-text): Doc fix.
5325         (abbrev-prefix-mark): Don't escape parenthesis.
5327 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
5329         * composite.el (find-composition): Doc fix.
5331 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5333         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5334         (sql-oracle-program, sql-sqlite-options)
5335         (sql-query-placeholders-and-send): Doc fixes.
5336         (sql-set-product, sql-interactive-mode): Reflow docstrings.
5337         (sql-imenu-generic-expression, sql-buffer)
5338         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5339         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5340         (sql-mode-sybase-font-lock-keywords)
5341         (sql-mode-informix-font-lock-keywords)
5342         (sql-mode-interbase-font-lock-keywords)
5343         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5344         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5345         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5346         (sql-product-feature, sql-highlight-product)
5347         (comint-line-beginning-position, sql-rename-buffer)
5348         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5349         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5350         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5351         Fix typos in docstrings.
5353 2010-05-08  Juri Linkov  <juri@jurta.org>
5355         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5356         property instead of `invisible' and `after-string' (bug#5998).
5358 2010-05-08  Juri Linkov  <juri@jurta.org>
5360         * image-mode.el (image-mode-as-text): Fix typo in docstring.
5362 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5364         * filecache.el (file-cache-add-directory-list)
5365         (file-cache-add-directory-recursively): Fix typos in docstrings.
5367 2010-05-08  Kenichi Handa  <handa@m17n.org>
5369         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5370         (gujarati-composable-pattern): Fix typo.
5372 2010-05-08  Kenichi Handa  <handa@m17n.org>
5374         * language/indian.el (oriya-composable-pattern)
5375         (tamil-composable-pattern, malayalam-composable-pattern):
5376         Add two-part vowels to "v" (vowel sign).
5378 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5380         * files.el (copy-directory): Handle symlinks (Bug#5982).
5382 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
5384         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5385         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
5386         (Bug#5846).
5388 2010-05-08  Glenn Morris  <rgm@gnu.org>
5390         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5392         * minibuffer.el (completion-at-point): Doc fix.
5394 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * electric.el (Electric-command-loop): Minor tweak.
5398         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5399         better with dedicated windows.
5401 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
5403         * Version 23.2 released.
5405 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
5406             Stefan Monnier  <monnier@iro.umontreal.ca>
5408         Highlight vendor specific properties.
5409         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5410         (css-proprietary-property): New face.
5411         (css-font-lock-keywords): Use them.
5413 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
5415         * cus-start.el (all): Add native condition for tool-bar-* symbols.
5417 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5419         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5420         * files.el (auto-mode-alist): Remove redundant entries.
5422         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5423         * simple.el (auto-save-mode): Move from files.el.
5424         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5426 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
5428         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5430 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5432         * mail/binhex.el (binhex-decode-region-internal)
5433         * mail/uudecode.el (uudecode-decode-region-internal)
5434         * net/dns.el (dns-read-string-name, dns-write, dns-read)
5435         (dns-read-type, dns-query)
5436         * pgg-parse.el (pgg-parse-armor)
5437         * pgg.el (pgg-verify-region)
5438         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5439         XEmacs.
5441         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5443 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
5445         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5447         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5448         * emulation/cua-base.el (cua-repeat-replace-region):
5449         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5450         (cua-cut-region-to-global-mark):
5451         Remove text properties with `set-text-properties'.
5453 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
5455         * net/tramp.el (top, with-progress-reporter):
5456         Use `symbol-function' inside `funcall'.
5458         * net/tramp-compat.el (tramp-compat-file-attributes)
5459         (tramp-compat-delete-file, tramp-compat-delete-directory):
5460         Handle only `wrong-number-of-arguments' error.
5462         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5463         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5464         inside `funcall'.
5466 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * minibuffer.el (completion--sreverse, completion--common-suffix):
5469         New functions.
5470         (completion-pcm--merge-completions): Extract common suffix when safe.
5472         * emacs-lisp/easy-mmode.el (define-minor-mode):
5473         Make :variable more flexible.
5474         * files.el (auto-save-mode): Use it to define using define-minor-mode.
5476 2010-05-05  Juri Linkov  <juri@jurta.org>
5478         Add `slow' and `history' tags to the desktop data.
5480         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5481         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5482         (Info-finder-find-node): Require `finder.el' to be able
5483         to restore node from the desktop.
5484         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
5485         data `Info-history' and `slow' tag in the assoc list.
5486         (Info-restore-desktop-buffer): Don't restore nodes with the
5487         `slow' tag.  Restore `Info-history'.
5489 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
5491         Add FORCE argument to `delete-file'.
5493         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5494         forcing to delete the temporary file.
5495         (ange-ftp-delete-file): Add FORCE arg.
5496         (ange-ftp-rename-remote-to-remote)
5497         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5498         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5499         Force file deletion.
5501         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5503         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5504         (tramp-handle-make-symbolic-link, tramp-handle-load)
5505         (tramp-do-copy-or-rename-file-via-buffer)
5506         (tramp-do-copy-or-rename-file-directly)
5507         (tramp-do-copy-or-rename-file-out-of-band)
5508         (tramp-handle-process-file, tramp-handle-call-process-region)
5509         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5510         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5511         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5513         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5514         (tramp-fish-handle-make-symbolic-link)
5515         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5517         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5518         Use `tramp-compat-delete-file'.
5520         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5521         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5523         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5524         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5526         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5527         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5528         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5529         `tramp-compat-delete-file'.
5531 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5533         Minor cleanups.
5534         * subr.el (add-minor-mode): Use push.
5535         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5536         * emulation/edt.el (edt-select-mode): Simplify.
5538         Use define-minor-mode in more cases.
5539         * term/tvi970.el (tvi970-set-keypad-mode):
5540         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5541         (normal-erase-is-backspace-mode):
5542         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5543         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5544         (get-scroll-bar-mode): New function.
5545         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5547         Use define-minor-mode for less obvious cases.
5548         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5549         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5550         * international/iso-ascii.el (iso-ascii-mode):
5551         * frame.el (auto-raise-mode, auto-lower-mode):
5552         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5554 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5556         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5557         in order to see error messages for failed logins.
5559 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5561         * diff.el (diff-sentinel):
5563         * epg.el (epg--make-temp-file, epg-decrypt-string)
5564         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5566         * jka-compr.el (jka-compr-partial-uncompress)
5567         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5569         * server.el (server-sentinel): Use delete-file's new FORCE arg
5570         (Bug#6070).
5572 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5574         Use define-minor-mode where applicable.
5575         * view.el (view-mode):
5576         * type-break.el (type-break-query-mode)
5577         (type-break-mode-line-message-mode):
5578         * textmodes/reftex.el (reftex-mode):
5579         * term/vt100.el (vt100-wide-mode):
5580         * tar-mode.el (tar-subfile-mode):
5581         * savehist.el (savehist-mode):
5582         * ibuf-ext.el (ibuffer-auto-mode):
5583         * composite.el (auto-composition-mode):
5584         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5585         Use define-minor-mode.
5586         (vhdl-mode): Use static mode-line format.
5587         (vhdl-mode-line-update): Delete.
5588         (vhdl-create-mode-menu, vhdl-activate-customizations)
5589         (vhdl-hs-minor-mode): Don't bother calling it.
5591 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5593         * simple.el (with-wrapper-hook): Move.
5594         (buffer-substring-filters): Mark obsolete.
5595         (filter-buffer-substring-functions): New variable.
5596         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5598 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5599             Michael Albinus  <michael.albinus@gmx.de>
5601         Implement compression for inline methods.
5603         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5604         (tramp-copy-size-limit): Allow also nil.
5605         (tramp-inline-compress-commands): New defconst.
5606         (tramp-find-inline-compress, tramp-get-inline-compress)
5607         (tramp-get-inline-coding): New defuns.
5608         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5609         replaced by `tramp-get-inline-coding'.
5610         (tramp-handle-file-local-copy, tramp-handle-write-region)
5611         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5613 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5615         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5616         Remove unused functions.
5618         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5619         Set find-tag-default-function as a variable rather than a property.
5621         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5622         * progmodes/etags.el (tags-completion-at-point-function):
5623         Remove left over interactive spec.  Add autoloading stub.
5624         (complete-tag): Use tags-completion-at-point-function.
5626 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5628         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5630 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5632         * ido.el (ido-init-completion-maps): Remove C-v binding.
5633         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5635 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5637         * minibuffer.el (tags-completion-at-point-function): New function.
5638         (completion-at-point-functions): Use it.
5640         * progmodes/etags.el (complete-tag): Revert last change.
5642 2010-04-29  Alan Mackenzie  <acm@muc.de>
5644         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5645         off-by-one error (in end of macro position).
5647 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5650         firefox is absent.  Don't autoload.
5651         (browse-url-galeon-program): Don't autoload.
5653 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5655         * bindings.el (complete-symbol): Move into minibuffer.el.
5657         * minibuffer.el (complete-tag): Move from etags.el.  If tags
5658         completion cannot be performed, return nil instead of signalling
5659         an error.
5660         (completion-at-point): Make it an alias for complete-symbol.
5661         (complete-symbol): Move from bindings.el, and replace with the
5662         body of completion-at-point.
5664         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5666 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
5668         * net/tramp.el (tramp-remote-selinux-p): New defun.
5669         (tramp-handle-file-selinux-context)
5670         (tramp-handle-set-file-selinux-context): Use it.
5672 2010-04-28  Sam Steingold  <sds@gnu.org>
5674         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5675         `safe-local-variable' if the value is a string or a symbol with
5676         the property `bug-reference-url-format'.
5678 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5680         * progmodes/bug-reference.el (bug-reference-url-format):
5681         Revert 2010-04-27 change due to security risk.
5683 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5685         Make it possible to locally disable a globally enabled mode.
5686         * simple.el (fundamental-mode): Run fundamental-mode-hook.
5687         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5688         rather than kill-all-local-variables so it runs fundamental-mode-hook.
5689         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5690         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5691         that subsequent hooks get a chance to disable it.
5693 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5696         Avoid re-enabling a minor mode after the user turned the minor mode
5697         off if MODE-enable-in-buffers is run twice (typically once from
5698         fundamental-mode's after-change-major-mode-hook and a second time from
5699         run-mode-hook's own after-change-major-mode-hook).
5701         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5703 2010-04-27  Sam Steingold  <sds@gnu.org>
5705         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5706         `safe-local-variable' if the value is a string or a function, as
5707         documented and implemented on 2010-04-02.
5709 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
5711         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5712         when method is 'kill.
5714 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
5716         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5717         condition in default directory check.
5718         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5719         Kill ispell process when killing its associated buffer.
5721 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
5723         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5724         but we aren't using it.
5726 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
5728         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5729         checkin in rev 100010.
5731 2010-04-24  Glenn Morris  <rgm@gnu.org>
5733         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5734         Ignore VCS-ignore files, and deleted nextstep preferences files.
5735         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5736         (authors-ambiguous-files): New list.
5737         (authors-valid-file-names): Add some deleted files.
5738         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5739         (authors-disambiguate-file-name): New function.  (Bug#5501)
5740         (authors-canonical-file-name): Doc fix.
5741         Don't warn about obsolete files.
5742         (authors-canonical-file-name, authors-scan-el):
5743         Use authors-disambiguate-file-name.
5745         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5746         Add autoload cookies.
5747         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5748         (generated-autoload-file): Set file-local value to "htmlfontify.el".
5749         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5750         They have definitions / compiler macros in cl.el.
5751         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5752         Replace manual autoloads with generated ones.
5753         (htmlfontify-unload-rgb-file): Remove autoload.
5754         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5756 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5758         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5759         (byte-compile-setq-default): Optimize for the
5760         single-var case and don't call byte-compile-form in this case to avoid
5761         inf-loop with byte-compile-set-default.
5763         * progmodes/compile.el (compilation-start): Abbreviate default directory.
5765 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
5767         Implement SELINUX backends.
5769         * net/tramp.el (tramp-file-name-handler-alist):
5770         Add `file-selinux-context' and `set-file-selinux-context'.
5771         (tramp-handle-file-selinux-context)
5772         (tramp-handle-set-file-selinux-context): New defuns.
5773         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5774         Handle PRESERVE-SELINUX-CONTEXT.
5776         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5777         Add `file-selinux-context' and `set-file-selinux-context'.
5778         (tramp-gvfs-handle-file-selinux-context)
5779         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5780         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5782         * net/ange-ftp.el (ange-ftp-copy-file):
5783         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5784         * net/tramp-imap.el (tramp-imap-handle-copy-file):
5785         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5786         Add PRESERVE-SELINUX-CONTEXT.
5788 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5790         Synchronize with Tramp repository.
5792         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5793         (tramp-action-process-alive, tramp-action-out-of-band)
5794         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5795         (tramp-exists-file-name-handler): Fix docstring.
5796         (with-progress-reporter): New defmacro.
5797         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5798         (tramp-maybe-open-connection): Use it.
5800 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
5802         Detect ssh 'ControlMaster' argument automatically in some cases.
5804         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5805         (tramp-default-method): Use it.
5807 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5809         * net/tramp.el (tramp-handle-copy-file): Add new optional
5810         parameter `preserve-selinux-context'.
5811         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5813 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5815         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5816         Ensure, that non remote files are still checked.  Oops.
5818 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
5820         Fix Bug#5840.
5822         * icomplete.el (icomplete-completions): Use `non-essential'.
5824         * net/tramp.el (tramp-connectable-p): New defun.
5825         (tramp-handle-expand-file-name)
5826         (tramp-completion-handle-file-name-all-completions)
5827         (tramp-completion-handle-file-name-completion): Use it.
5829 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5831         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5833 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
5835         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5837         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5839         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5840         is present.
5842         * info.el (info-tool-bar-map): Add labels.
5844         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5846         * cus-edit.el (custom-commands): Add labels for tool bar.
5847         (custom-buffer-create-internal, Custom-mode): Adjust for
5848         labels in custom-commands.
5850         * dynamic-setting.el: Renamed from font-setting.el.
5852 2010-04-21  John Wiegley  <jwiegley@gmail.com>
5854         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5855         toggles the use of virtual buffers.
5856         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5857         (ido-toggle-virtual-buffers): New function.
5859 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
5861         Use `define-derived-mode'; fix window selection; doc fixes.
5862         * play/tetris.el (tetris, tetris-update-speed-function)
5863         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5864         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5865         (tetris-rotate-next, tetris-end-game, tetris-start-game)
5866         (tetris-pause-game): Fix typos in docstrings.
5867         (tetris-mode-map, tetris-null-map):
5868         Move initialization into declaration.
5869         (tetris-mode): Define with `define-derived-mode';
5870         set show-trailing-whitespace to nil.
5871         (tetris): Prefer window already displaying the "*Tetris*" buffer.
5873 2010-04-21  Karel Klíč  <kklic@redhat.com>
5875         * files.el (backup-buffer): Handle SELinux context, and return it
5876         if a backup was made by renaming.
5877         (backup-buffer-copy): Set SELinux context to the target file.
5878         (basic-save-buffer): Set SELinux context of the newly written file.
5879         (basic-save-buffer-1): Now it also returns any SELinux context.
5880         (basic-save-buffer-2): Set SELinux context of the newly created file,
5881         and return it.
5882         * net/tramp.el (tramp-file-name-for-operation):
5883         Add file-selinux-context.
5885 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5887         Make the log-edit comments use RFC822 format throughout.
5889         * vc.el (vc-checkin, vc-modify-change-comment):
5890         Adjust to new vc-start/finish-logentry.
5891         (vc-find-conflicted-file): New command.
5892         (vc-transfer-file): Adjust to new vc-checkin.
5893         (vc-next-action): Improve scoping.
5895         * vc-hg.el (vc-hg-log-edit-mode): Remove.
5896         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
5898         * vc-git.el (vc-git-log-edit-mode): Remove.
5899         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
5900         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5902         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5903         (vc-start-logentry): Remove argument `extra'.
5904         (vc-finish-logentry): Remove extra args.
5906         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5907         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
5908         (vc-bzr-conflicted-files): New function.
5910         * log-edit.el (log-edit-extra-flags)
5911         (log-edit-before-checkin-process): Remove.
5912         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5913         (log-edit-headers-alist): New var.
5914         (log-edit-header-contents-regexp): New const.
5915         (log-edit-match-to-eoh): New function.
5916         (log-edit-font-lock-keywords): Use them.
5917         (log-edit): Insert a "Summary:" header as default.
5918         (log-edit-mode): Mark font-lock rules as case-insensitive.
5919         (log-edit-done): Cleanup headers.
5920         (log-view-process-buffer): Remove.
5921         (log-edit-extract-headers): New function to replace it.
5923 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
5925         * subr.el (default-direction-reversed): Remove obsolescence info.
5927 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5929         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5930         windows/frames.
5932         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5933         I.e. include text after point in the completion region.
5934         Also, return nil when we're not after/in a symbol.
5936         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5937         default enable-multibyte-characters.
5939 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5941         * international/mule.el: Help the user choose a valid coding-system.
5942         (read-buffer-file-coding-system): New function.
5943         (set-buffer-file-coding-system): Use it.  Prompt the user if the
5944         coding-system cannot encode all the chars.
5946         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5947         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5948         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5949         Don't use *vc-bzr-shelve*.
5951 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
5953         Fix the version number for added files.
5954         * vc-hg.el (vc-hg-working-revision): Check if the file is
5955         registered after hg parent fails (Bug#5961).
5957 2010-04-19  Glenn Morris  <rgm@gnu.org>
5959         * htmlfontify.el (htmlfontify-buffer)
5960         (htmlfontify-copy-and-link-dir): Autoload entry points.
5962 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
5964         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5965         name relative to the project root (Bug#5960).
5967 2010-04-19  Glenn Morris  <rgm@gnu.org>
5969         * vc-git.el (vc-git-print-log): Doc fix.
5971 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
5973         * ido.el (ido-file-internal): Fix 2009-12-02 change.
5975 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
5977         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5978         default settings (Bug#5928).
5980 2010-04-19  Glenn Morris  <rgm@gnu.org>
5982         * progmodes/fortran.el (fortran-match-and-skip-declaration):
5983         New function.
5984         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
5986 2010-04-19  Kenichi Handa  <handa@m17n.org>
5988         * language/indian.el (malayalam-composable-pattern): Fix previous
5989         change (add U+0D4D "SIGN VIRAMA").
5990         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5991         (tamil-composable-pattern): Fix typo in the regexp.
5992         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5993         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5994         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5996 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5998         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5999         paragraph-separate (Bug#5821).
6001 2010-04-19  Juri Linkov  <juri@jurta.org>
6003         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6005         * info.el (Info-find-node-2): Comment out code that skips
6006         breadcrumbs line.
6007         (Info-mouse-follow-link): New command.
6008         (Info-link-keymap): New keymap.
6009         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6010         Return a string with links instead of inserting breadcrumbs
6011         to the Info buffer.
6012         (Info-fontify-node): Comment out code that inserts breadcrumbs.
6013         Instead of putting the `invisible' text property over the Info
6014         header, make an overlay over the Info header with the `invisible'
6015         property and `after-string' set to the string returned by
6016         `Info-breadcrumbs'.
6018 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
6020         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6021         Reported by monkey@sandpframing.com.
6023 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6025         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6026         (tmm-get-keymap): Add key-binding shortcuts now that they're not
6027         available in the "keyseq cache" any more.
6029         * custom.el (defcustom): Add edebug spec.
6031 2010-04-18  Juri Linkov  <juri@jurta.org>
6033         Test for special mode-class in view-buffer instead of view-file (bug#5513).
6035         * view.el (view-file, view-buffer): Move test for special mode-class
6036         from view-file to view-buffer.
6038         * tar-mode.el (tar-extract): Turn if's into one cond
6039         like in arc-mode.el.
6041 2010-04-18  Juri Linkov  <juri@jurta.org>
6043         Add 7z archive format support (bug#5475).
6045         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6046         (archive-7z-extract): New defcustom.
6047         (archive-find-type): Add magic string for 7z.
6048         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6049         If `stderr-file' is non-nil, use `(t stderr-file)' for the
6050         `buffer' arg of `call-process'.
6051         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6052         call the function `archive-7z-extract' with the variable
6053         `archive-7z-extract' let-bound to `archive-zip-extract'.
6054         (archive-7z-summarize, archive-7z-extract): New functions.
6056         * international/mule.el (auto-coding-alist):
6057         * files.el (auto-mode-alist): Add 7z file extension.
6059 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6061         * loadup.el: Setup hash-cons for pure data.
6063         Fix duplicate entries in cedet's loaddefs.el files.
6064         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6065         Should make most file-local generated-autoload-file unnecessary.
6066         (print-readably): Silence warnings.
6067         (autoload-find-destination): Take load-name as an arg to make sure
6068         it's the same as the one that will be in the file.
6069         (autoload-generate-file-autoloads): Adjust to above changes.
6070         Try to make the dataflow a bit simpler.
6072         * cvs-status.el (cvs-refontify): Remove unused.
6074 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
6076         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6078         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6079         twos-complement mode.
6081 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
6083         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6084         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
6085         (calc-inverse): Add "Option" to message, as appropriate.
6086         (calc-hyperbolic): Add "Option" to message, as appropriate.
6087         (calc-option, calc-is-option): New functions.
6089         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6090         (calc-option-prefix-help): New function.
6092         * calc/calc-misc.el (calc-help): Add "Option" entry.
6094         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6095         (calc-option-flag): New variable.
6096         (calc-do): Set `calc-option-flag to nil.
6097         (calc-set-mode-line): Add "Opt " as appropriate.
6099 2010-04-16  Juri Linkov  <juri@jurta.org>
6101         Move scrolling commands from simple.el to window.el
6102         because their primitives are implemented in window.c.
6104         * simple.el (scroll-error-top-bottom)
6105         (scroll-up-command, scroll-down-command, scroll-up-line)
6106         (scroll-down-line, scroll-other-window-down)
6107         (beginning-of-buffer-other-window, end-of-buffer-other-window):
6108         * window.el (scroll-error-top-bottom)
6109         (scroll-up-command, scroll-down-command, scroll-up-line)
6110         (scroll-down-line, scroll-other-window-down)
6111         (beginning-of-buffer-other-window, end-of-buffer-other-window):
6112         Move from simple.el to window.el because their primitives are
6113         implemented in window.c.
6115 2010-04-16  Juri Linkov  <juri@jurta.org>
6117         * isearch.el (isearch-lookup-scroll-key): Check both
6118         `isearch-scroll' and `scroll-command' properties.
6119         (scroll-up, scroll-down): Remove `isearch-scroll' property.
6121         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6123         * simple.el (scroll-up-command, scroll-down-command)
6124         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6126 2010-04-15  Juri Linkov  <juri@jurta.org>
6128         * simple.el (scroll-up-command, scroll-down-command)
6129         (scroll-up-line, scroll-down-line): Put `scroll-command'
6130         property on the these symbols.  Remove them from
6131         `scroll-preserve-screen-position-commands'.
6133         * mwheel.el (mwheel-scroll): Put `scroll-command' and
6134         `isearch-scroll' properties on the `mwheel-scroll' symbol.
6135         Remove it from `scroll-preserve-screen-position-commands'.
6137         * isearch.el (isearch-allow-scroll): Doc fix.
6139 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
6141         * net/tramp.el (tramp-error-with-buffer): Don't show the
6142         connection buffer when we are in completion mode.
6143         (tramp-file-name-handler): Catch the error for some operations
6144         when we are in completion mode.  This gives the user the chance to
6145         correct the file name in the minibuffer.
6147 2010-04-15  Glenn Morris  <rgm@gnu.org>
6149         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6151 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
6153         Simplify by using `define-derived-mode'.
6154         * info.el (Info-mode):
6155         * calendar/todo-mode.el (todo-mode):
6156         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6157         (gomoku-mode-map): Move initialization into declaration.
6159 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
6161         Fix Bug#5840.
6162         * ido.el (ido-file-name-all-completions-1):
6163         * minibuffer.el (minibuffer-completion-help):
6164         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6166 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6168         * simple.el (non-essential): New var.
6170         Add a new field `location' to bookmarks for non-file bookmarks.
6171         * bookmark.el (bookmark-location): Use the new field, if present.
6172         (bookmark-insert-location): Undo last change, not needed any more.
6173         * man.el (Man-bookmark-make-record):
6174         * woman.el (woman-bookmark-make-record): Add `location' field.
6176 2010-04-14  Juri Linkov  <juri@jurta.org>
6178         * simple.el (scroll-error-top-bottom): New defcustom.
6179         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
6181         * emulation/pc-select.el (pc-select-override-scroll-error):
6182         Obsolete in favor of `scroll-error-top-bottom'.
6184 2010-04-14  Juri Linkov  <juri@jurta.org>
6186         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6187         `scroll-up-command' and `M-v' to `scroll-down-command'.
6189         * emulation/cua-rect.el (cua--init-rectangles):
6190         * forms.el (forms--change-commands):
6191         * image-mode.el (image-mode-map):
6192         Remap scroll-down-command and scroll-up-command
6193         in addition to scroll-down and scroll-up.
6195 2010-04-14  Juri Linkov  <juri@jurta.org>
6197         * mwheel.el (scroll-preserve-screen-position-commands):
6198         Add mwheel-scroll to this list of commands.
6200         * simple.el (scroll-preserve-screen-position-commands):
6201         Add scroll-up-command, scroll-down-command, scroll-up-line,
6202         scroll-down-line to this list of commands.
6204 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6206         * obsolete/complete.el: Move from lisp/complete.el.
6208         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6210         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6211         to the minor mode function now turns the mode ON unconditionally.
6213 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6215         * vc-dir.el (vc-dir-kill-line): New command.
6216         (vc-dir-mode-map): Bind it to C-k.
6218         * bookmark.el (bookmark-insert-location): Handle a nil filename.
6220         * woman.el: Add bookmark declarations to silence the compiler.
6221         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6222         step to compatibility between man and woman bookmarks.
6223         Adjust for Man-default-bookmark-title renaming.
6224         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
6226         * man.el: Add bookmark declarations to silence the compiler.
6227         (Man-name-local-regexp): Make it match NAME as well.
6228         (Man-getpage-in-background): Return the buffer.
6229         (Man-notify-when-ready): Use `case'.
6230         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6231         Don't hardcode "NAME".  Simplify.
6232         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6233         Rename from Man-bookmark-make-record.
6234         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
6235         we have the actual man-args.  Use Man-getpage-in-background rather
6236         than `man' since the arg is already processed.  Let bookmark.el do the
6237         window handling.  Only wait for the relevant process.
6238         Don't forget to autoload.
6240         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6242 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6244         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6245         New functions.
6246         (woman-mode): Setup bookmark support.
6248         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6249         (man-bookmark-jump): New functions.
6250         (Man-mode): Setup bookmark support.
6252 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
6254         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6255         recognize ssh-keygen prompt (Bug#2817).
6257 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
6259         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6261 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
6263         Synchronize with Tramp repository.
6265         * net/tramp.el (tramp-completion-function-alist)
6266         (tramp-file-name-regexp, tramp-chunksize)
6267         (tramp-local-coding-commands, tramp-remote-coding-commands):
6268         Fix docstring.
6269         (tramp-remote-process-environment): Use `format' instead of `concat'.
6270         (tramp-handle-directory-files-and-attributes)
6271         (tramp-get-remote-path): Use `copy-tree'.
6272         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6273         compatibility: Use `completion-ignore-case' if
6274         `read-file-name-completion-ignore-case' does not exist.
6275         (tramp-do-copy-or-rename-file-directly): Do not use
6276         `tramp-handle-file-remote-p'.
6277         (tramp-do-copy-or-rename-file-out-of-band):
6278         Use `tramp-compat-delete-directory'.
6279         (tramp-do-copy-or-rename-file-out-of-band)
6280         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6281         Use `format-spec-make'.
6282         (tramp-find-foreign-file-name-handler)
6283         (tramp-advice-make-auto-save-file-name)
6284         (tramp-set-auto-save-file-modes): Remove superfluous check for
6285         `stringp'.  This is done inside `tramp-tramp-file-p'.
6286         (tramp-debug-outline-regexp): New defconst.
6287         (tramp-get-debug-buffer): Use it.
6288         (tramp-check-for-regexp): Use (forward-line 1).
6289         (tramp-set-auto-save-file-modes): Adapt version check.
6291         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6292         Wrap call of `featurep' for 2nd argument.
6293         (tramp-compat-make-temp-file): Simplify fallback implementation.
6294         (tramp-compat-copy-tree): Remove function.
6295         (tramp-compat-delete-directory): Provide implementation for older
6296         Emacsen.
6298         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6299         Do not use `tramp-fish-handle-file-attributes.
6301         * net/trampver.el: Update release number.
6303 2010-04-10  Glenn Morris  <rgm@gnu.org>
6305         * progmodes/compile.el (compilation-save-buffers-predicate):
6306         Add missing :version tag.
6308 2010-04-09  Sam Steingold  <sds@gnu.org>
6310         * progmodes/compile.el (compilation-save-buffers-predicate):
6311         Remove the "autoload" cookie.
6313         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6314         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6315         and `bug-reference-prog-mode' can be used in hooks directly.
6317 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
6319         Add --author support to git commit.
6320         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6321         (vc-git-log-edit-mode): New minor mode.
6322         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6323         New declarations.
6325 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
6327         * vc-hooks.el, vc-git.el: Improve documentation comments.
6329 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6331         Fix some of the problems in defsubst* (bug#5728).
6332         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6333         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6335 2010-04-07  Sam Steingold  <sds@gnu.org>
6337         * progmodes/compile.el (compilation-save-buffers-predicate):
6338         New custom variable.
6339         (compile, recompile): Pass it to `save-some-buffers'.
6341 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
6343         * wid-edit.el (widget-choose): Move cursor to the second line of
6344         the buffer (Bug#5695).
6346 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6348         Add new VC methods: vc-log-incoming and vc-log-outgoing.
6349         * vc.el (vc-print-log-setup-buttons): New function split out from
6350         vc-print-log-internal.
6351         (vc-log-internal-common): New function, a parametrized version of
6352         vc-print-log-internal.
6353         (vc-print-log-internal): Just call vc-log-internal-common with the
6354         right arguments.
6355         (vc-incoming-outgoing-internal):
6356         (vc-log-incoming, vc-log-outgoing): New functions.
6357         (vc-log-view-type): New permanent local variable.
6359         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6361         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6362         of the dynamic bound vc-short-log.
6363         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6365         * vc-git.el (vc-git-log-outgoing): New function.
6366         (vc-git-log-view-mode): Use vc-log-view-type instead
6367         of the dynamic bound vc-short-log.
6369         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6370         of the dynamic bound vc-short-log.  Highlight the tag.
6371         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6372         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6373         (vc-hg-incoming-mode): Remove.
6374         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6376 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6378         Fix default-directory for vc-root-diff.
6379         * vc.el (vc-root-diff): Bind default-directory to the root
6380         directory for the diff command.
6382 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
6384         * progmodes/verilog-mode.el (verilog-forward-sexp):
6385         (verilog-calc-1): Support "disable fork" and "fork wait" multi
6386         word keywords, suggested by Steve Pearlmutter.
6387         (verilog-pretty-declarations): Support lineup of declarations in
6388         port lists.
6389         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6390         fix bug for /* / comments.
6391         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6392         Speed up and simplfy as this is never called with a bound.
6393         (verilog-pretty-declarations): Enhance to line up declarations
6394         inside a parameter list, suggested by Alan Morgan.
6395         (verilog-pretty-expr): Tune assignment regular expression match
6396         string for corner cases; also use markers instead of character
6397         number as indent changes the later.
6399 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
6401         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6402         as missing keyword.
6403         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6404         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
6405         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6406         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
6407         Tennant.
6408         (verilog-keywords):
6409         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6410         1800-2009 keywords, including "global.".
6412 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6414         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6415         appearing in buffer list (if a live buffer name matched a recentf
6416         file basename).  Should use uniquify to offer a real solution.
6418 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6420         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6421         comment to code, and add a :version tag.
6422         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6424 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
6426         Enable recentf-mode if using virtual buffers.
6427         * ido.el (recentf-list): Declare for byte-compiler.
6428         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
6429         (ido-make-buffer-list): Simplify.
6430         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
6432 2010-04-05  Juri Linkov  <juri@jurta.org>
6434         Scrolling commands which scroll a line instead of full screen.
6435         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6437         * simple.el (scroll-up-line, scroll-down-line): New commands.
6438         Put property isearch-scroll=t on them.
6440         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6441         Remove commands.
6443 2010-04-05  Juri Linkov  <juri@jurta.org>
6445         Scrolling commands which do not signal errors at top/bottom.
6446         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6448         * simple.el (scroll-up-command, scroll-down-command): New commands.
6449         Put property isearch-scroll=t on them.
6451         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6452         `scroll-down-command' and [next] from `scroll-up' to
6453         `scroll-up-command'.
6455         * emulation/cua-base.el: Put property CUA=move on
6456         `scroll-up-command' and `scroll-down-command'.
6457         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6458         and `scroll-down-command' to `cua-scroll-down'.
6460 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
6462         * help.el (describe-mode): Return nil.
6464 2010-04-04  John Wiegley  <jwiegley@gmail.com>
6466         * ido.el (ido-use-virtual-buffers): New variable to indicate
6467         whether "virtual buffer" support is enabled for IDO.
6468         (ido-virtual): Face used to indicate virtual buffers in the list.
6469         (ido-buffer-internal): If a buffer is chosen, and no such buffer
6470         exists, but a virtual buffer of that name does (which would be why
6471         it was in the list), recreate the buffer by reopening the file.
6472         (ido-make-buffer-list): If virtual buffers are being used, call
6473         `ido-add-virtual-buffers-to-list' before the make list hook.
6474         (ido-virtual-buffers): New variable which contains a copy of the
6475         current contents of the `recentf-list', albeit pared down for the
6476         sake of speed, and with proper faces applied.
6477         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6478         create a list of "virtual buffers" to present to the user in
6479         addition to the currently open set.  Note that this logic could
6480         get rather slow if that list is too large.  With the default
6481         `recentf-max-saved-items' of 200, there is little speed penalty.
6483 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6485         * font-lock.el: Require CL when compiling.
6486         (font-lock-turn-on-thing-lock): Use `case'.
6488 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
6490         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6491         Zaretskii.
6493 2010-04-02  Juri Linkov  <juri@jurta.org>
6495         * ehelp.el (electric-help-orig-major-mode):
6496         New buffer-local variable.
6497         (electric-help-mode): Set it to original major-mode.  Doc fix.
6498         (with-electric-help): Use `electric-help-orig-major-mode' instead
6499         of (default-value 'major-mode).  Doc fix.
6500         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6502 2010-04-02  Sam Steingold  <sds@gnu.org>
6504         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6505         `vc-hg-command' with a list of flags.
6507         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6508         Also accept "patch" and "RFE".
6509         (bug-reference-fontify): `bug-reference-url-format' can also be a
6510         function to be able to handle the bug kind.
6511         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6513 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6515         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6516         value to fboundp, it may not be a symbol.
6518 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6520         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6522 2010-03-31  Juri Linkov  <juri@jurta.org>
6524         * simple.el (next-line, previous-line): Re-throw a signal
6525         with `signal' instead of using `ding'.
6526         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6528 2010-03-31  Juri Linkov  <juri@jurta.org>
6530         * simple.el (keyboard-escape-quit): Raise deselecting the active
6531         region higher than exiting the minibuffer.
6532         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6534 2010-03-31  Juri Linkov  <juri@jurta.org>
6536         * image.el (image-animated-p): Use `image-metadata' instead of
6537         `image-extension-data'.  Get GIF extenstion data from metadata
6538         property `extension-data'.
6540 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6542         * simple.el (append-to-buffer): Simplify.
6544 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6546         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6547         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6549 2010-03-31  Kenichi Handa  <handa@m17n.org>
6551         * language/sinhala.el (composition-function-table): Fix regexp for
6552         the new Unicode specification.
6554         * language/indian.el (devanagari-composable-pattern)
6555         (tamil-composable-pattern, kannada-composable-pattern)
6556         (malayalam-composable-pattern): Adjust for the new Unicode
6557         specification.
6558         (bengali-composable-pattern, gurmukhi-composable-pattern)
6559         (gujarati-composable-pattern, oriya-composable-pattern)
6560         (telugu-composable-pattern): New variables to cope with the new
6561         Unicode specification.  Use them in composition-function-table.
6563 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6565         Make tmm-menubar work for the Buffers menu again (bug#5726).
6566         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6567         vectors rather than cons cells, as used in menu-bar-update-buffers.
6569 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6571         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6572         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6573         electric punctuation for "{}();,:" (Bug#5586).
6575         * mail/sendmail.el (mail-default-directory): Doc fix.
6577 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6579         * mail/sendmail.el (mail-default-directory): Doc fix.
6581 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6583         * subr.el (version-regexp-alist, version-to-list)
6584         (version-list-<, version-list-=, version-list-<=)
6585         (version-list-not-zero, version<, version<=, version=): Doc fix.
6586         (Bug#5744).
6588 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6590         * vc.el (vc-root-diff): Doc fix.
6592 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6594         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6596         * simple.el (append-to-buffer): Fix last change.
6598 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6600         * simple.el (append-to-buffer): Ensure that point is preserved if
6601         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6602         (Bug#5749)
6604 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6606         * files.el (auto-mode-case-fold): Change default to t.
6608 2010-03-30  Juri Linkov  <juri@jurta.org>
6610         * dired-x.el (dired-omit-mode): Doc fix.
6612 2010-03-30  Juri Linkov  <juri@jurta.org>
6614         * replace.el (occur-accumulate-lines): Move occur-engine related
6615         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6616         to be located after `occur-engine'.
6618 2010-03-30  Juri Linkov  <juri@jurta.org>
6620         Make occur handle multi-line matches cleanly with context.
6621         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6623         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6624         (occur-engine): Add local variables `ret', `prev-after-lines',
6625         `prev-lines'.  Use more arguments for `occur-context-lines'.
6626         Set first elem of its returned list to `data', and the second elem
6627         to `prev-after-lines'.  Don't print the separator line.
6628         In the end, print remaining context after-lines.
6629         (occur-context-lines): Add new arguments `begpt', `endpt',
6630         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6631         after-lines of the previous match with before-lines of the
6632         current match and not overlap them.  Return a list with two
6633         values: the output line and the list of context after-lines.
6635 2010-03-30  Juri Linkov  <juri@jurta.org>
6637         * replace.el (occur-accumulate-lines): Fix a bug where the first
6638         context line at the beginning of the buffer was missing.
6640 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6642         * files.el: Make bidi-display-reordering safe variable for boolean
6643         values.
6645 2010-03-29  Phil Hagelberg  <phil@evri.com>
6646             Chong Yidong  <cyd@stupidchicken.com>
6648         * subr.el: Extend progress reporters to perform "spinning".
6649         (progress-reporter-update, progress-reporter-do-update):
6650         Handle non-numeric value arguments.
6651         (progress-reporter--pulse-characters): New var.
6653 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
6655         * progmodes/compile.el (compilation-start): Fix regexp detection
6656         of initial cd command (Bug#5771).
6658 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
6660         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6662 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
6664         Restore GDB/MI fuctionality removed by r99212.
6665         * progmodes/gdb-mi.el: Restore.
6666         * progmodes/gdb-ui.el: Remove.
6667         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6669 2010-03-25  Glenn Morris  <rgm@gnu.org>
6671         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6672         all dired buffers, even tramp ones.  (Bug#5755)
6674 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6676         Add "union tags" in mpc.el.
6677         * mpc.el: Remove backward compatibility code.
6678         (mpc-browser-tags): Change default.
6679         (mpc--find-memoize-union-tags): New var.
6680         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6681         (mpc-cmd-find): Handle the case where the playlist does not exist.
6682         Handle union-tags.
6683         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
6684         (mpc-cmd-add): Use mpc-cmd-flush.
6685         (mpc-tagbrowser-tag-name): New fun.
6686         (mpc-tagbrowser-buf): Use it.
6687         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
6689 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6691         Misc cleanup.
6692         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6693         Use replace-regexp-in-string.
6694         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6695         (makefile-imake-mode-syntax-table): Move init into defvar.
6696         (makefile-mode): Use define-derived-mode.
6698         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6699         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6700         not be present any more.
6702 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6704         * faces.el (set-face-attribute): Fix typo in docstring.
6705         (face-valid-attribute-values): Reflow docstring.
6707 2010-03-24  Glenn Morris  <rgm@gnu.org>
6709         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6711 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6713         * indent.el (indent-for-tab-command): Doc fix.
6715 2010-03-24  Alan Mackenzie  <acm@muc.de>
6717         * progmodes/cc-engine.el (c-remove-stale-state-cache):
6718         Fix off-by-one error.  Fixes bug #5747.
6720 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6722         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6723         (image-dired-read-comment): Doc fix.
6725         * json.el (json-object-type, json-array-type, json-key-type)
6726         (json-false, json-null, json-read-number):
6727         * minibuffer.el (completion-in-region-functions):
6728         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6729         (cal-tex-cursor-week):
6730         * emacs-lisp/trace.el (trace-function):
6731         * eshell/em-basic.el (eshell/printnl):
6732         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6733         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6734         * obsolete/levents.el (allocate-event, event-key, event-object)
6735         (event-point, event-process, event-timestamp, event-to-character)
6736         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6737         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6738         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6739         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6740         (reftex-highlight-selection): Fix typos in docstrings.
6742 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6744         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6746 2010-03-24  Glenn Morris  <rgm@gnu.org>
6748         * mail/rmail.el (rmail-highlight-face): Restore option deleted
6749         2008-02-13 without comment; mark it obsolete.
6750         (rmail-highlight-headers): Use rmail-highlight-face once more.
6752 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6754         * woman.el (woman2-process-escapes): Only consume the newline if
6755         the filler character is on a line by itself (Bug#5729).
6757 2010-03-24  Kenichi Handa  <handa@m17n.org>
6759         * language/indian.el (devanagari-composable-pattern): Add more
6760         consonants.
6762 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6764         * net/trampver.el: Update release number.
6766 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6768         * net/tramp.el (tramp-find-executable):
6769         Use `tramp-get-connection-buffer'.  Make the regexp for checking
6770         output of "wc -l" more robust.
6771         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6772         (tramp-open-connection-setup-interactive-shell): Remove workaround
6773         for OpenSolaris bug, it is not needed anymore.
6775 2010-03-24  Glenn Morris  <rgm@gnu.org>
6777         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
6779 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
6781         * files.el (auto-mode-alist): Accept more verilog file patterns.
6783 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6785         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6787 2010-03-24  Glenn Morris  <rgm@gnu.org>
6789         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6790         log-edit-before-checkin-process.
6792         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6794         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6796         * vc-dispatcher.el (vc-start-logentry): Doc fix.
6797         (log-view-process-buffer, log-edit-extra-flags): Declare.
6799         * log-edit.el (log-edit-before-checkin-process): Doc fix.
6801 2010-03-23  Sam Steingold  <sds@gnu.org>
6803         Fix bug#5620: recalculate all markers on compilation buffer
6804         modifications, not on file modifications.
6805         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6806         the buffer modification time, for buffers not associated with files.
6807         (compilation-mode): Create it.
6808         (compilation-filter): Update it.
6809         (compilation-next-error-function): Use it instead of
6810         `visited-file-modtime' for timestamp.
6812 2010-03-23  Juri Linkov  <juri@jurta.org>
6814         Implement Occur multi-line matches.
6815         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6817         * replace.el (occur): Doc fix.
6818         (occur-engine): Set `begpt' to the beginning of the first line.
6819         Set `endpt' to the end of the last match line.  At first, count
6820         line numbers between `origpt' and `begpt'.  Split out code from
6821         `out-line' variable to new let-bindings `match-prefix' and
6822         `match-str'.  In `out-line' add non-numeric prefix to all
6823         non-first lines of multi-line matches.  Finally, count lines
6824         between `begpt' and `endpt' and add to `lines'.
6826 2010-03-23  Juri Linkov  <juri@jurta.org>
6828         * replace.el (occur-accumulate-lines, occur-engine):
6829         Use `occur-engine-line' instead of duplicate code.
6830         (occur-engine-line): New function created from duplicate code
6831         in `occur-accumulate-lines' and `occur-engine'.
6833         * replace.el (occur-engine-line): Add optional arg `keep-props'.
6834         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6836 2010-03-23  Juri Linkov  <juri@jurta.org>
6838         * finder.el: Remove TODO tasks.
6840         * info.el (Info-finder-find-node): Add node "all"
6841         with all package info.  Handle a list of multiple keywords
6842         separated by comma.
6843         (info-finder): In interactive use with a prefix argument,
6844         use `completing-read-multiple' to read a list of keywords
6845         separated by comma.
6847 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6849         Add a new completion style `substring'.
6850         * minibuffer.el (completion-basic--pattern): New function.
6851         (completion-basic-try-completion, completion-basic-all-completions):
6852         Use it.
6853         (completion-substring--all-completions)
6854         (completion-substring-try-completion)
6855         (completion-substring-all-completions): New functions.
6856         (completion-styles-alist): New style `substring'.
6858 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6860         Get rid of .elc files after removal of the corresponding .el.
6861         * Makefile.in (compile-clean): New target.
6862         (compile-main): Use it.
6864 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
6866         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6867         don't do make there.  When compiling with separate object dir, there
6868         is no Makefile there.
6870 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6872         Get rid of the ELCFILES abomination, again.
6873         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6874         (all, compile): Don't call compile-last.
6875         (compile-main): Build the "elcfiles" list dynamically.
6876         (compile-targets): New (internal) target.
6878 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6880         * Makefile.in (top_srcdir): Define.
6881         (abs_top_builddir): Define.
6882         (srcdir): Don't append `/..'.
6883         (EMACS): Use ${abs_top_builddir}.
6884         (all, compile, compile-always, compile-last): Don't set emacswd.
6885         (update-subdirs, update-authors): Use $(top_srcdir) instead of
6886         $(srcdir).
6887         (lisp): Use $(srcdir) instead of @srcdir@.
6889 2010-03-21  Juri Linkov  <juri@jurta.org>
6891         Fix message of multi-line occur regexps and multi-buffer header lines.
6892         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6894         * replace.el (occur-1): Don't display regexp if it is longer
6895         than window-width.  Use `query-replace-descr' to display regexp.
6896         (occur-engine): Don't display regexp in the buffer header for
6897         multi-buffer occur.  Display a separate header line with total
6898         match count and regexp for multi-buffer occur.
6899         Use `query-replace-descr' to display regexp.
6901 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
6903         * net/secrets.el: Fix parenthesis.
6904         (secrets-enabled): Fix parenthesis.
6906 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6908         Use more relative file and directory names.
6909         * Makefile.in (EMACS): Arrange for it to work when we chdir.
6910         (setwins, setwins_almost, setwins_for_subdirs):
6911         Don't `cd'; output relative names.
6912         (all, compile, compile-always, compile-last): Set emacswd.
6913         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6914         Just cd to the lisp source dir so we can use relative file names.
6916         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6918 2010-03-20  Glenn Morris  <rgm@gnu.org>
6920         * textmodes/rst.el: Use faces for font-lock customization, and make the
6921         old -face variables obsolete.
6922         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6923         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6924         (rst-block-face, rst-external-face, rst-definition-face)
6925         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6926         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6927         Make obsolete.
6928         (rst-font-lock-keywords-function): Update for above changes.
6930 2010-03-20  Juri Linkov  <juri@jurta.org>
6932         * s-region.el:
6933         * obsolete/s-region.el: Move to obsolete.
6935 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
6937         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6939 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6941         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6943 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6945         Add special markup processing for commit logs.
6946         * log-edit.el (log-edit-extra-flags): New variable.
6947         (log-edit): Add new argument MODE.  Use that mode when non-nil
6948         instead of the log-view-mode.
6949         (log-view-process-buffer): New function.
6951         * vc.el: Document that the checkin method takes optional
6952         arguments.  Document new backend specific method: log-view-mode.
6953         (vc-default-log-edit-mode): New function.
6954         (vc-checkin): Use a backend specific log-view-mode.
6955         Pass extra arguments to the checkin method.
6956         (vc-modify-change-comment): Pass a dummy extra argument.
6958         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6959         log-edit.
6960         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6961         (vc-finish-logentry): Process the log buffer before passing it
6962         down.  Pass log-edit-extra-flags.
6964         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6965         command.
6966         (log-edit-extra-flags, log-edit-before-checkin-process):
6967         New declarations.
6969         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6970         command.
6971         (log-edit-extra-flags, log-edit-before-checkin-process):
6972         New declarations.
6973         (vc-hg-log-edit-mode): New derived mode.
6975         * vc-arch.el (vc-arch-checkin):
6976         * vc-cvs.el (vc-cvs-checkin):
6977         * vc-git.el (vc-git-checkin):
6978         * vc-mtn.el (vc-mtn-checkin):
6979         * vc-rcs.el (vc-rcs-checkin):
6980         * vc-sccs.el (vc-sccs-checkin):
6981         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6983 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6985         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6986         parent typo).
6988 2010-03-19  Glenn Morris  <rgm@gnu.org>
6990         * password-cache.el (password-cache, password-cache-expiry): Autoload.
6992 2010-03-18  Glenn Morris  <rgm@gnu.org>
6994         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6996         * replace.el (query-replace-history): Give it a doc string.
6997         (map-query-replace-regexp): Use query-replace-from-history-variable
6998         and query-replace-to-history-variable.
7000         * mail/hashcash.el (declare-function): Remove duplicate definition.
7002         * mail/emacsbug.el (report-emacs-bug-pretest-address):
7003         Make it an obsolete alias for report-emacs-bug-address.
7004         (message-strip-special-text-properties): Declare.
7005         (report-emacs-bug): Remove test for a pretest bug address.
7006         Combine message-mode-specific code.
7008         * mail/supercite.el: Don't require sendmail.
7009         (mh-in-header-p): Declare rather than using with-no-warnings.
7010         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7011         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
7013         * calendar/cal-french.el: Convert to utf-8.
7015         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7016         Emacs scripts.
7018 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
7020         * net/secrets.el (secrets-enabled): New variable.  Use it instead
7021         of a subfeature.
7023 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
7025         * net/secrets.el (top): Register the D-Bus signals only when the
7026         service "org.freedesktop.secrets" can be pinged.
7027         Provide subfeature `enabled'.
7029 2010-03-14  Juri Linkov  <juri@jurta.org>
7031         Add finder unknown keywords.
7033         * finder.el (finder-unknown-keywords): New function.
7035         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7036         to create a Finder node with unknown keywords.
7038 2010-03-14  Juri Linkov  <juri@jurta.org>
7040         * finder.el (finder-compile-keywords): Replace `princ' with
7041         `prin1' on a list of symbols interned from keyword strings.
7043         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7044         a comma, then split keywords using a comma and optional whitespace.
7045         Otherwise, split by whitespace.
7047         * complete.el:
7048         * face-remap.el:
7049         * log-view.el:
7050         * net/hmac-def.el:
7051         * net/hmac-md5.el:
7052         * net/netrc.el:
7053         * progmodes/mixal-mode.el: Fix keywords.
7055 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
7057         * Makefile.in (ELCFILES): Add net/secrets.elc.
7059         * net/secrets.el: New file.
7061 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7063         * facemenu.el (list-colors-display, list-colors-print): New arg
7064         callback.  Use it to allow selecting colors.
7066         * wid-edit.el (widget-image-insert): Insert image prop even if the
7067         current display is non-graphic.
7068         (widget-field-value-set): New fun.
7069         (editable-field): Use it.
7070         (widget-field-value-get): Clean up unused var.
7071         (widget-color-value-create, widget-color--choose-action):
7072         New funs.  Allow using list-colors-display to choose color.
7074 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7076         * cus-edit.el: Resort topmost custom groups.
7077         (custom-buffer-sort-alphabetically): Default to t.
7078         (customize-apropos): Use apropos-parse-pattern.
7079         (custom-search-field): New var.
7080         (custom-buffer-create-internal): Add custom-apropos search field.
7081         (custom-add-parent-links): Don't display parent doc.
7082         (custom-group-value-create): Don't sort top-level custom group.
7083         (custom-magic-value-create): Show visibility button before option name.
7085         (custom-variable-state): New fun, from custom-variable-state-set.
7086         (custom-variable-state-set): Use it.
7087         (custom-group-value-create): Hide options with standard values
7088         using the :hidden-states property.  Use progress reporter.
7090         (custom-show): Simplify.
7091         (custom-visibility): Disable images by default.
7092         (custom-variable): New property :hidden-states.
7093         (custom-variable-value-create): Enable images for
7094         custom-visibility widgets.  Use :hidden-states property to
7095         determine initial visibility.
7097         * wid-edit.el (widget-image-find): Give images center ascent.
7098         (visibility): Add :on-image and :off-image properties.
7099         (widget-visibility-value-create): Use them.
7101 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
7103         * cus-edit.el (processes): Remove from development group.
7104         (oop, hypermedia): Delete group.
7105         (comm): Promote to top-level group.
7107         * net/browse-url.el (browse-url):
7108         * net/xesam.el (xesam):
7109         * net/tramp.el (tramp):
7110         * net/goto-addr.el (goto-address):
7111         * net/ange-ftp.el (ange-ftp): Put in comm group.
7113         * view.el (view): Remove from editing group.
7115         * uniquify.el (uniquify): Put in files group.
7117         * net/browse-url.el (browse-url):
7118         * ps-print.el (postscript): Put in external group.
7120         * cus-edit.el (outlines):
7121         * textmodes/text-mode.el (text-mode-hook):
7122         * textmodes/table.el (table):
7123         * textmodes/picture.el (picture):
7124         * outline.el (outlines): Put in wp group.
7126         * nxml/nxml-mode.el (nxml): Remove from wp group.
7128         * net/tramp-imap.el (tramp-imap): Put in tramp group.
7130         * mail/metamail.el (metamail): Remove from hypermedia group.
7132         * cus-edit.el (abbrev):
7133         * whitespace.el (whitespace):
7134         * vcursor.el (vcursor):
7135         * reveal.el (reveal):
7136         * hl-line.el (hl-line): Put in convenience group.
7138         * epg-config.el (epg): Put in data group.
7140         * emulation/pc-select.el (pc-select): Put in emulations group.
7142         * calculator.el (calculator): Put in applications group.
7144 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
7146         Add .dir-locals.el support for file-less buffers.
7147         * files.el (hack-local-variables): Split out code to apply local
7148         variable settings ...
7149         (hack-local-variables-apply): ... here.  New function.
7150         (hack-dir-local-variables): Use the default directory for when the
7151         buffer does not have an associated file.
7152         (hack-dir-local-variables-non-file-buffer): New function.
7153         * diff-mode.el (diff-mode):
7154         * vc-annotate.el (vc-annotate-mode):
7155         * vc-dir.el (vc-dir-mode):
7156         * log-edit.el (log-edit-mode):
7157         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7159 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
7161         Add support for shelving snapshots and for showing shelves.
7162         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7163         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7164         New functions.
7165         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7166         (vc-bzr-extra-menu-map): Map them.
7168 2010-03-11  Glenn Morris  <rgm@gnu.org>
7170         * cus-edit.el (customize-changed-options-previous-release):
7171         Bump to 23.1.
7173         * image.el (image-animate-max-time): Fix :version tag.
7175 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
7177         * Branch for 23.2.
7179 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7181         * vc-git.el (vc-git-revision-table): Include remote branches.
7183 2010-03-10  Kim F. Storm  <storm@cua.dk>
7185         Animated image API.
7186         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7188         * image.el (image-animate-max-time): New defcustom.
7189         (image-animated-types): New defconst.
7190         (create-animated-image, image-animate-timer)
7191         (image-animate-start, image-animate-stop, image-animate-timeout)
7192         (image-animated-p): New functions.
7194         * image-mode.el (image-toggle-display-image):
7195         Replace `create-image' with `create-animated-image'.
7197 2010-03-09  Miles Bader  <miles@gnu.org>
7199         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7200         instead of "format:"; this ensures that the output is
7201         newline-terminated.
7203 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
7205         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7206         that all errors are caught, and that the return value is always a
7207         list (Bug#5692).
7209 2010-03-08  Kenichi Handa  <handa@m17n.org>
7211         * language/misc-lang.el (windows-1256): New coding system.
7212         (cp1256): New alias of windows-1256 (bug#5690).
7214 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
7216         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7217         call to rfc822-bad-address.  (Bug#5692)
7219 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7221         * vc-git.el (vc-git-annotate-extract-revision-at-line):
7222         Use vc-git-root as default directory for revision path (Bug#5657).
7224 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
7226         * calculator.el (calculator): Don't bind split-window-keep-point
7227         (Bug#5674).
7229 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7231         * vc-git.el: Re-flow to fit into 80 columns.
7232         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7233         Remove spurious `quote' element in each case alternative.
7234         (vc-git-show-log-entry): Use prog1.
7235         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7237 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7239         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7241 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
7243         * macros.el (insert-kbd-macro): Look up keyboard macro using the
7244         definition, not the name (Bug#5481).
7246 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7248         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7249         argument with a local variable.  (Bug#5670)
7251 2010-03-02  Juri Linkov  <juri@jurta.org>
7253         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
7255 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
7257         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7258         error when FILENAME and NEWNAME are existing remote directories.
7260         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7261         parameter DIR-FLAG.
7263 2010-03-02  Glenn Morris  <rgm@gnu.org>
7265         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7266         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7268 2010-03-01  Kenichi Handa  <handa@m17n.org>
7270         * language/burmese.el (burmese-composable-pattern): Rename from
7271         myanmar-composable-pattern.
7273         * international/characters.el (script-list):
7274         * international/fontset.el (script-representative-chars):
7275         Change myanmar to burmese.
7276         (otf-script-alist): Likewise.
7277         (setup-default-fontset): Likewise.  Re-fix :otf spec.
7279 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
7281         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7283 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
7285         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7287 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
7289         * net/tramp.el (tramp-handle-write-region): START can be a string.
7290         Take care in the checks.  Reported by Dan Davison
7291         <davison@stats.ox.ac.uk>.
7293 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
7295         * net/dbus.el (dbus-introspect, dbus-get-property)
7296         (dbus-set-property, dbus-get-all-properties):
7297         Use `dbus-call-method' when noninteractive.  (Bug#5645)
7299 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
7301         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7302         * emacs-lisp/elint.el (elint-add-required-env):
7303         * calendar/icalendar.el (icalendar--add-diary-entry):
7304         * calc/calcalg2.el (math-tracing-integral):
7305         * files.el (recover-session-finish): Use with-current-buffer
7306         instead of save-excursion.
7308 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7310         Fix in-buffer completion when after-change-functions modify the buffer.
7311         * minibuffer.el (completion--replace): New function.
7312         (completion--do-completion): Use it and use relative movement.
7314 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
7316         * international/fontset.el (setup-default-fontset): Fix :otf spec.
7318 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
7320         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7321         Allow the characters _<> in the stack entry (Bug#5653).
7323 2010-02-26  Kenichi Handa  <handa@m17n.org>
7325         * language/burmese.el: Fix entries in composition-function-table.
7326         (myanmar-composable-pattern): New variable.
7328         * international/fontset.el (setup-default-fontset): Add an entry
7329         for myanmar.
7331         * international/characters.el (script-list): Add Myanmar
7332         Extended-A.
7334 2010-02-26  Glenn Morris  <rgm@gnu.org>
7336         * custom.el (custom-initialize-delay): Doc fix.
7338         * mail/sendmail.el (send-mail-function): Autoload the call
7339         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7341 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
7343         * files.el (hack-local-variables-filter): For eval forms, also
7344         check safe-local-variable-p (Bug#5636).
7346 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
7348         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7349         setting the modes by `ignore-errors'.  It might fail, for example
7350         if the file is not owned by the user but the group.
7351         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7353 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
7355         * files.el (directory-listing-before-filename-regexp): Use
7356         stricter matching for iso-style dates, to avoid false matches with
7357         date-like filenames (Bug#5597).
7359         * htmlfontify.el (htmlfontify): Doc fix.
7361         * eshell/eshell.el (eshell): Doc fix.
7363         * startup.el (fancy-about-screen): In mode-line, apply
7364         mode-line-buffer-id face only to the buffer name (Bug#5613).
7366 2010-02-20  Kevin Ryde  <user42@zip.com.au>
7368         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7369         In `watcom' anchor regexp to start of line, to avoid slowness
7370         (Bug#5599).
7372 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
7374         * subr.el (remove-yank-excluded-properties): Explain in a comment
7375         why `category' property is removed.
7377 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
7379         * isearch.el (isearch-update-post-hook, isearch-update): Revert
7380         2010-02-17 change.
7382 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
7384         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7385         (icalendar--convert-weekly-to-ical)
7386         (icalendar--convert-yearly-to-ical)
7387         (icalendar--convert-block-to-ical)
7388         (icalendar--convert-cyclic-to-ical)
7389         (icalendar--convert-anniversary-to-ical): Take care of time
7390         specifications where hour has 1-digit only (Bug#5549).
7392 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
7394         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7395         of disassemble output in GDB 7.1.
7397 2010-02-19  Glenn Morris  <rgm@gnu.org>
7399         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7400         property.  (Bug#5593)
7402 2010-02-18  Sam Steingold  <sds@gnu.org>
7404         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7406 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7408         Use abbreviated file names in bookmarks (bug#5591).
7409         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7410         calls to expand-file-name.
7411         (bookmark-relocate): Use abbreviated file names in bookmarks.
7412         (bookmark-load): Use abbreviated file names in messages.
7414 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7416         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7417         expand "." and "..".  Reported by Thierry Volpiatto
7418         <thierry.volpiatto@gmail.com>.
7420 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7422         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7423         permissions of the temporary file to "0600".  In case the remote
7424         file has no read permissions for the owner, there might be
7425         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
7427 22010-02-18  Glenn Morris  <rgm@gnu.org>
7429         * emacs-lisp/authors.el (authors-renamed-files-alist):
7430         Add entries for INSTALL.CVS.
7432 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
7434         * vc-bzr.el: Fix typo in Known Bugs section.
7436         * isearch.el (isearch-update-post-hook): New hook.
7437         (isearch-update): Use the new hook.
7439 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
7441         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7442         Fix errors in copying directories.
7443         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7444         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7445         (tramp-handle-delete-file)
7446         (tramp-handle-dired-recursive-delete-directory)
7447         (tramp-handle-write-region): Flush also the cache for the upper
7448         directory.
7450 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
7452         * simple.el (save-interprogram-paste-before-kill): Doc fix.
7454         * cus-edit.el (hardware): Doc fix.
7456         * man.el (man): Add to external custom group.
7458         * delim-col.el (columns): Move to wp custom group.
7460         * doc-view.el (doc-view): Add to data custom group.
7462         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7464         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7465         by ispell-parse-output (Bug#5575).
7467 2010-02-16  Kenichi Handa  <handa@m17n.org>
7469         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7470         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7471         (skkdic-convert): Use `euc-japan' coding system for writing.
7473 2010-02-16  Glenn Morris  <rgm@gnu.org>
7475         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7476         tex-main-file before using it.  (Bug#5562)
7478 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7480         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7481         warnings, since it is annoying for the user to see them each time he
7482         runs the code.
7484 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
7486         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7487         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7488         instead of PROC for caching "first-password-request".  Otherwise,
7489         new processes would not profit from passwords already entered.
7491         * net/tramp-cache.el (tramp-dump-connection-properties):
7492         Don't save "first-password-request" property.
7494 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7496         * outline.el (outline-head-from-level):
7497         * simple.el (with-wrapper-hook):
7498         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7499         (elint-defun, elint-buffer-env, elint-top-form-logged)
7500         (elint-unbound-variable):
7501         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7502         Fix typos in docstrings.
7504 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7506         * files.el (insert-directory): When WILDCARD-REGEXP and
7507         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7508         whole directory.  (Bug#5551)
7510         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7511         dired's alignment sanity.  (Bug#5516)
7513 2010-02-14  Juri Linkov  <juri@jurta.org>
7515         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7516         Remove remaining ^H with their preceding chars.  (Bug#5566)
7518 2010-02-13  Glenn Morris  <rgm@gnu.org>
7520         * simple.el (transpose-subr): Give it a doc-string.
7522         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7523         Doc fixes.
7525 2010-02-12  Juri Linkov  <juri@jurta.org>
7527         * arc-mode.el (archive-unique-fname): Make directories for nested
7528         archives.  (Bug#5540)
7530 2010-02-12  Juri Linkov  <juri@jurta.org>
7532         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7534 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7536         * subr.el (copy-overlay): Handle deleted overlays.
7538         * man.el (Man-completion-table): Don't signal an error if we can't run
7539         manual-program (bug#4056).
7541 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7543         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7545 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7547         * info.el (Info-bookmark-jump): Simplify.
7549         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7550         (bookmark-default-handler): Accept new bookmark field `buffer'.
7552 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7554         * iswitchb.el (iswitchb-completions): Revert last change.
7556 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7558         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7559         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7560         This prevents file names like "~/" being listed literally.
7562 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7564         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7565         Remove dead code.  (Bug#5546)
7567 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7569         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7570         correctly (Bug#5548).
7572 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7574         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7575         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7577 2010-02-08  Kenichi Handa  <handa@m17n.org>
7579         * international/mule-util.el (with-coding-priority): Add autoload
7580         cookie for putting `lisp-indent-function'.
7582 2010-02-07  Glenn Morris  <rgm@gnu.org>
7584         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7585         Move F2003 named interfaces from keywords-2 to keywords-1, and
7586         use function-name-face rather than constant-face.
7587         Simplify "abstract interface" regexp.
7589 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7591         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7592         ID-FORMAT.  Pass it to `file-attributes'.
7594         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7596 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7598         * faces.el (set-face-attribute): Allow calling
7599         internal-set-lisp-face-attribute with 'unspecified family and
7600         foundry argument (Bug#5536).
7602 2010-02-07  Glenn Morris  <rgm@gnu.org>
7604         * progmodes/f90.el (f90-font-lock-keywords-2)
7605         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7606         Handle F2003 named interfaces.
7608 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7610         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7611         beg and end before calling c-get-state-before-change-functions.
7613 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7615         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7617 2010-02-05  Juri Linkov  <juri@jurta.org>
7619         * doc-view.el (doc-view-mode):
7620         * image-mode.el (image-mode): Put property mode-class=special.
7621         (Bug#4896)
7623 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7625         * vc-svn.el (vc-svn-revision-table): New function.
7627 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7629         * net/ange-ftp.el (ange-ftp-insert-directory):
7630         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7631         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7632         Handle also directories.  (Bug#5478)
7634 2010-02-05  Glenn Morris  <rgm@gnu.org>
7636         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7638 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7640         * startup.el (command-line-1): Convert options beginning with a
7641         single dash as well (Bug#5519).
7643 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7645         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7646         * minibuffer.el (completion-initials-expand): Only check the presence
7647         of delims *within* the boundaries, since otherwise the / delim is
7648         always found for files.
7650         Fix up various corner case problems.
7651         * doc-view.el (doc-view-last-page-number): New function.
7652         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7653         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7654         (doc-view-kill-proc): Avoid inf-loop in freak cases.
7655         (doc-view-reconvert-doc): Use the new recursive delete-directory.
7656         (doc-view-convert-current-doc): Don't create the resolution.el file
7657         here any more.
7658         (doc-view-pdf/ps->png): Do it here instead.
7659         (doc-view-already-converted-p): Check that resolution.el is present.
7660         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7661         windows that are not yet showing images.
7663 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
7665         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7666         `dired-uncache' for every elemnt which is an absolute file name.
7668         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7669         directory, handle its directory component.
7670         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7671         function is called permanently and creates noise, otherwise.
7673         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7674         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7675         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
7677 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
7679         * macros.el (apply-macro-to-region-lines):
7680         Minor simplification.  (Bug#5485)
7682 2010-02-04  Glenn Morris  <rgm@gnu.org>
7684         * mail/rmail.el (rmail-show-message-1): Handle malformed
7685         quoted-printable text.  (Bug#5441)
7687         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7689         * simple.el (visual-line-mode): Capitalize lighter.
7691 2010-02-03  John Wiegley  <jwiegley@gmail.com>
7693         * iswitchb.el (iswitchb-completions): Add bookmark files to the
7694         list of files considered for "virtual buffer" completions.
7696 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
7698         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7699         also in case of (and (not full) (not wildcard)).  This is needed
7700         when dired is called with a list of files, which are not in
7701         `default-directory'.  (Bug#5478)
7703 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7705         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7707 2010-02-02  Juri Linkov  <juri@jurta.org>
7709         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7710         from unidiff to allow function-line after @@.
7712 2010-02-02  Juri Linkov  <juri@jurta.org>
7714         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7715         '(RCS SCCS) with inverted condition.
7717 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
7719         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7720         messages.
7722 2010-02-01  Juri Linkov  <juri@jurta.org>
7724         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7725         compare with "pkunzip" and "pkzip" instead of only "pkzip".
7726         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7727         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
7729 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7731         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7732         (doc-view-revert-buffer): New command.
7733         (doc-view-mode-map): Use it.
7735 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
7737         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7738         pending merge is detected.
7740 2010-01-31  Juri Linkov  <juri@jurta.org>
7742         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7743         beginning of interactive spec like all other grep commands do.
7744         Put "all" in front of "gz".  (Bug#5260)
7746 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
7748         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7750 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
7752         * dirtrack.el (dirtrack): Warn instead of signalling error if the
7753         regexp is incorrect (Bug#5476).
7755 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
7757         * net/tramp.el (tramp-handle-insert-directory): Handle also
7758         symlinks, when FILENAME is not in `default-directory'.
7760 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7762         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7763         FILE is not in `default-directory'.  (Bug#5478)
7765         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7766         of SWITCHES.  Handle the case, FILENAME is not in
7767         `default-directory'.  (Bug#5478)
7768         (tramp-register-file-name-handlers): Add safe-magic property.
7770 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
7772         * arc-mode.el (archive-zip-extract): Quote the argument passed to
7773         unzip (Bug#5475).
7775 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
7777         * progmodes/flymake.el (flymake-allowed-file-name-masks)
7778         (flymake-master-make-header-init): Add other C++ filename masks.
7779         (flymake-find-possible-master-files)
7780         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7782 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7784         Fix some busybox annoyances.
7786         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7787         not responding." string.
7788         (tramp-open-connection-setup-interactive-shell): Dump stty
7789         settings.  Enable "neveropen" arg for all `tramp-send-command'
7790         calls.  Handle "=" in variable values properly.
7791         (tramp-find-inline-encoding): Raise an error, when no encoding is
7792         found.
7793         (tramp-wait-for-output): Check, whether PROC buffer is available.
7794         Remove spurious " ^H" sequences, sent by busybox.
7795         (tramp-get-ls-command): Suppress coloring, if possible.
7797 2010-01-28  Glenn Morris  <rgm@gnu.org>
7799         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
7801         * log-edit.el (log-edit-strip-single-file-name): Add missing
7802         :safe, :group, and :version tags.
7804 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
7806         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7807         buffers.  (Bug#5477)
7809 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
7811         * files.el (delete-directory): Handle moving to trash without
7812         first doing recursion (Bug#5436).
7814 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
7816         * vc-hooks.el (vc-path): Mark as obsolete.
7818 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
7820         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7821         names too.
7823         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7824         for the short log.
7825         (vc-bzr-log-view-mode): Adjust regexp for the above change.
7827 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
7829         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7831         * vc-bzr.el (vc-bzr-revision-table): New function.
7833 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
7835         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7836         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
7838 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
7840         Remove support for adding --signoff on commit.
7841         Future support will use an incompatible generic mechanism.
7842         * vc-git.el (vc-git-add-signoff): Remove variable.
7843         (vc-git-toggle-signoff): Remove function.
7844         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7846         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7847         from xterm-set-background-mode.  Return t if the background mode
7848         was set.
7849         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7850         earlier, call it again in case the background mode has changed.
7852 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
7854         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7855         (Bug#3541).
7857 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
7859         * emacs-lisp/assoc.el (aelement): Doc fix.
7860         (aput, adelete, amake): Use lexical-let (Bug#5450).
7862 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
7864         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7865         is the same as subprogram call, not declaration.  (Bug#5435).
7867 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
7869         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7870         (tramp-smb-maybe-open-connection): Use it.
7872 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
7874         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
7876 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7879         just because we see "encoding: 8bit".
7880         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7882 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
7884         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7886 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
7888         * jka-compr.el (jka-compr-load): If load-file is not in
7889         load-history, try its file-truename version.  (bug#5447)
7891 2010-01-21  Alan Mackenzie  <acm@muc.de>
7893         Fix a situation where deletion of a cpp construct throws an error.
7894         * progmodes/cc-engine.el (c-invalidate-state-cache):
7895         Before invoking c-with-all-but-one-cpps-commented-out, check that the
7896         special cpp construct is still in the buffer.
7897         (c-parse-state): Record the special cpp with markers, not numbers.
7899 2010-01-21  Kenichi Handa  <handa@m17n.org>
7901         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7902         process last-command-event, as it is now decoded first (Bug#5380).
7904 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
7906         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7908 2010-01-20  Glenn Morris  <rgm@gnu.org>
7910         * indent.el (tab-always-indent): Fix custom-type.
7912 2010-01-19  Alan Mackenzie  <acm@muc.de>
7914         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7915         buffer throws "args out of range".
7916         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7917         playing the role of delimiter.
7919 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
7921         * progmodes/ada-mode.el: Fix bug#5400.
7922         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7923         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7924         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
7925         Improve comments in "is" portion.  Handle null procedure declaration.
7926         (ada-move-to-end): Improve doc string.
7928 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
7930         * ido.el (ido-cur-list): Initialize to nil.
7931         Remove obsolete information from commentary.
7932         (ido-choice-list): Initialize to nil.
7933         (ido-get-bufname): Reject minibuffers.
7934         (ido-make-buffer-list): If "default" is a nonexistent
7935         buffer, ignore it, as per the function's comment.
7936         (ido-kill-buffer-internal): New function.
7937         (ido-kill-buffer-at-head): Use it.
7938         (ido-visit-buffer): Likewise.
7940 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
7942         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7944 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
7946         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7947         Fix typos in chart titles.
7949         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7950         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7951         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7952         (describe-class, eieio-describe-generic, describe-generic):
7953         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7954         (eieio-speedbar-expand):
7955         * emulation/viper-cmd.el (viper-exec-form-in-vi)
7956         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7957         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7958         (viper-del-backward-char-in-replace, viper-backward-indent)
7959         (viper-brac-function, viper-register-to-point, viper-submit-report):
7960         * net/tramp.el (tramp-remote-coding-commands):
7961         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7962         Fix typos in docstrings.
7964 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
7966         * mail/sendmail.el (mail-yank-original): Set the mark if the
7967         specified function for yanking does not do it.
7969 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
7971         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
7973         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7974         resyncing a directory.
7976 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
7978         * progmodes/ada-mode.el: Fix bug#1920.
7979         (ada-ident-re): Delete ., allow multibyte characters.
7980         (ada-goto-label-re): New; matches goto labels.
7981         (ada-block-label-re): New; matches block labels.
7982         (ada-label-re): New; matches both.
7983         (ada-named-block-re): Deleted; callers changed to use
7984         `ada-block-label-re' instead.
7985         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7986         Use `ada-block-label-re'.
7987         (ada-indent-on-previous-lines): Improve handling of goto labels.
7988         (ada-get-indent-block-start): Special-case block label.
7989         (ada-get-indent-label): Split into `ada-indent-block-label' and
7990         `ada-indent-goto-label'.
7991         (ada-goto-stmt-start, ada-goto-next-non-ws):
7992         Optionally ignore goto labels.
7993         (ada-goto-next-word): Simplify.
7994         (ada-indent-newline-indent-conditional): Insert newline before
7995         trying to fix indentation; doc fix.
7997 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
7999         * calc/calc.el (calc-command-flags): Give it an initial value.
8001 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
8003         * files.el (minibuffer-with-setup-hook):
8004         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8005         (artist-key-draw-continously, artist-key-do-continously-continously)
8006         (artist-key-set-point-continously, artist-mouse-draw-continously):
8007         Fix typos in docstrings.
8009 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
8011         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8012         return t (Bug#3898).
8014 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
8016         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8017         can parse the output of the external commands (Bug#5279).
8019 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
8021         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8023 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
8025         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8027         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8029         * startup.el (command-line): Remove unused --icon-type arg.
8030         Handle --display arg, passing it to command-line-1 (Bug#5392).
8032 2010-01-16  Mario Lang  <mlang@delysid.org>
8034         * emacs-lisp/chart.el (chart-translate-namezone):
8035         * textmodes/artist.el (artist-compute-popup-menu-table):
8036         Remove duplicated words in doc-strings.
8038 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
8040         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8041         to mairix-search to suppress threading (Bug#5342).
8043 2010-01-15  Kenichi Handa  <handa@m17n.org>
8045         * international/mule-cmds.el (canonicalize-coding-system-name):
8046         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8048 2010-01-15  Glenn Morris  <rgm@gnu.org>
8050         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
8052         * wid-edit.el (widget-keymap): Doc fix.
8054         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8055         former seems to be more widely accepted by various svn versions.
8057 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8059         * find-cmd.el (find-constituents):
8060         * vc-arch.el (vc-arch-root):
8061         * window.el (window-body-height, pop-up-frames):
8062         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8063         * progmodes/ada-stmt.el (ada-if):
8064         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8065         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8066         (ispell-encoding8-command, ispell-aspell-supports-utf8)
8067         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8069         * progmodes/flymake.el (flymake-post-syntax-check):
8070         Fix typo in error message.
8072 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8074         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8075         which is always a string.  (Bug#5313)
8077 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
8079         * progmodes/ada-xref.el (ada-default-prj-properties):
8080         Simplify previous change.
8082 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8084         * progmodes/ada-xref.el (ada-default-prj-properties):
8085         Default ada_project_path to $ADA_PROJECT_PATH.
8087 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8089         * progmodes/ada-mode.el (ada-create-keymap):
8090         Override `narrow-to-defun' with `ada-narrow-to-defun'.
8092 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8094         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8095         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8096         (ada-get-current-indent, ada-imenu-generic-expression)
8097         (ada-which-function): Check for it.
8099 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
8101         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8102         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8104 2010-01-14  Glenn Morris  <rgm@gnu.org>
8106         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
8108 2010-01-14  Kenichi Handa  <handa@m17n.org>
8110         * composite.el (auto-composition-mode): Make it a buffer local
8111         variable (permanent-local).
8112         (auto-composition-function): Set the default value to
8113         auto-compose-chars.
8114         (auto-composition-mode): Make it a simple function, not a minor mode.
8115         (global-auto-composition-mode): Likewise.
8116         (turn-on-auto-composition-if-enabled): Delete it.
8118 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
8120         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8122 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
8124         * files.el (copy-directory): Compute target for recursive
8125         directories with identical names.  (Bug#5343)
8127 2010-01-12  Glenn Morris  <rgm@gnu.org>
8129         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8130         it to bug-gnu-emacs rather than emacs-pretest-bug.
8132 2010-01-11  Sam Steingold  <sds@gnu.org>
8134         * imenu.el (imenu-default-create-index-function): Detect infinite
8135         loops caused by imenu-prev-index-position-function.
8137 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
8139         * htmlfontify.el (htmlfontify-load-rgb-file)
8140         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8141         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8142         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8143         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8144         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8145         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8146         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8147         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8148         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8149         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8150         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8151         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8152         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8153         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8154         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8155         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8156         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8157         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8158         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8159         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8160         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8161         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8162         backslash-quoting from parentheses, etc.
8164 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
8166         * progmodes/js.el: Autoload javascript-mode alias.
8168 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
8170         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8171         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8172         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8173         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8174         Fix typos in docstrings.
8175         (ffap-url-regexp): Doc fix.
8176         (ffap-at-mouse): Fix typo in message.
8178 2010-01-11  Glenn Morris  <rgm@gnu.org>
8180         * version.el (emacs-copyright): Set copyright year to 2010.
8182 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8184         * format.el (format-annotate-function): Only set
8185         write-region-post-annotation-function after running to-fn so as not to
8186         affect nested write-region calls (bug#5273).
8188 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
8190         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8191         wisent/python.el.
8193 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
8195         * man.el (Man-goto-section): Signal error if the section is not
8196         found (Bug#5317).
8198 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
8200         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8201         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
8203 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
8205         * progmodes/compile.el: Don't treat compile-command as safe if
8206         compilation-read-command might be nil (Bug#4218).
8208 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
8210         * startup.el (command-line-1): Use orig-argi to check for ignored X and
8211         NS options.
8213 2010-01-08  Kenichi Handa  <handa@m17n.org>
8215         * international/fontset.el (build-default-fontset-data):
8216         Exclude characters in scripts kana, hangul, han, or cjk-misc.
8218 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
8220         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8221         to `create-file-buffer' as it expects, not just a buffer name.
8222         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8223         to help uniquify.  (Bug#3224)
8225 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
8227         * font-setting.el (font-setting-change-default-font): Use user-spec
8228         instead of name.
8230 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
8232         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8234 2010-01-05  Tom Tromey  <tromey@redhat.com>
8236         * progmodes/python.el (python-font-lock-keywords):
8237         Handle qualified decorators (Bug#881).
8239 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
8241         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8242         in a lightweight checkout.
8244 2010-01-05  Kenichi Handa  <handa@m17n.org>
8246         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8248 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
8250         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8252 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
8254         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8255         checkouts.  (Bug#618)
8256         (vc-bzr-log-view-mode): Also highlight the author.
8257         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8258         (vc-bzr-shelve-menu-map):
8259         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8260         (vc-bzr-shelve-apply): Make prompt more explicit.
8262 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
8264         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8265         They are valid characters in URL paths (rfc3986), and at least
8266         Firefox does not understand the encoded version (Bug#3166).
8268 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
8270         * progmodes/octave-mod.el (octave-end-keywords)
8271         (octave-block-begin-or-end-regexp, octave-block-match-alist):
8272         Add "end" keyword (Bug#3061).
8273         (octave-end-as-array-index-p): New function.
8274         (calculate-octave-indent): Use it.
8276 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8278         * bookmark.el: Consistently put the text property on the bookmark name.
8279         (bookmark-bmenu-marks-width): Bump back to 2, to include
8280         annotation marks.
8281         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8282         property on the bookmark name, instead of not putting it at all.
8283         (bookmark-bmenu-list): Fix where we put the text property.
8285 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8287         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8288         for showing buffer modified state (as added in the previous change).
8290 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8292         * bookmark.el: Show modified state of bookmark buffer more accurately.
8293         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8294         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8295         (with-buffer-modified-unmodified): New macro.
8296         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8297         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8298         Use new macro to preserve the buffer modified state.
8300 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8302         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8303         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8304         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8305         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8306         (bookmark-bmenu-rename, bookmark-bmenu-locate)
8307         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8308         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8310 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8312         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8313         Make the lines in the generated doc string shorter.  (Bug#4668)
8315 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
8317         * net/rcirc.el: Add follow-link binding (Bug#4738).
8319 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8321         * Makefile.in (bzr-update): Rename from cvs-update.
8322         (cvs-update): New target for backward compatibility.
8324         * makefile.w32-in (bzr-update): Rename from cvs-update.
8325         (cvs-update): New target for backward compatibility.
8327 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8329         * bookmark.el: Remove gratuitous gratitude.
8331 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8333         * bookmark.el (bookmark-bmenu-any-marks): New function.
8334         (bookmark-bmenu-save): Clear buffer modification if no marks.
8336 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8338         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8339         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8340         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8341         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8343         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8344         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8345         To: emacs-devel {_AT_} gnu.org
8346         Subject: bookmark.el bug report
8347         Date: Mon, 28 Dec 2009 14:19:16 +0800
8348         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8350 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8352         * bookmark.el: Improvements suggested by Drew Adams:
8353         (bookmark-bmenu-ensure-position): New name for
8354         `bookmark-bmenu-check-position'.  Just ensure the position,
8355         don't return any meaningful value.
8356         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8357         New constants.
8359 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
8361         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8362         (bookmark-yank-point, bookmark-bmenu-check-position):
8363         Fix typos in docstrings.
8364         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8365         (bookmark-name-from-full-record, bookmark-get-position)
8366         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8367         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8368         Remove useless quoting of parenthesis, etc. in docstrings.
8370         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8371         (ediff-append-custom-diff): Fix typo in error message.
8372         (ediff-meta-mark-equal-files): Fix typos in messages.
8374         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8376         * net/imap-hash.el (imap-hash-make): Doc fix.
8377         (imap-hash-test): Fix typo in error message; reflow docstring.
8378         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8379         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8380         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8381         Fix typos in docstrings.
8382         (imap-hash-open-connection): Fix typo in error message.
8384         * play/gomoku.el (gomoku): Fix typos in docstring.
8386         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8387         (gdb-jsonify-buffer): Fix typos in docstring.
8388         (gdb-goto-breakpoint): Fix typo in error message.
8389         ("Display Other Windows"): Fix typo in help message.
8390         (gdb-speedbar-expand-node): Fix typo in question.
8392         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8393         (idlwave-html-system-help-location, idlwave-html-help-location)
8394         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8395         (idlwave-help-browser-generic-args, idlwave-help-directory)
8396         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8397         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8398         (idlwave-online-help, idlwave-help-html-link)
8399         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8400         Fix typos in docstrings.
8401         (idlwave-help-with-source, idlwave-help-find-routine-definition):
8402         Reflow docstrings.
8403         (idlwave-help-assistant-start): Fix typo in error message.
8405         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8406         (octave-electric-space): Fix typos in docstrings.
8408 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
8410         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8412 2010-01-01  Juri Linkov  <juri@jurta.org>
8414         * comint.el (comint-input-ring-size): Make it a defcustom and
8415         increase the default to 500 (Bug#5148).
8417 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
8419         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8420         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8421         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8423 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
8425         Show working revision correctly for mercurial.
8426         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8427         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8429 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
8431         Declare some functions for the byte-compiler.
8432         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8433         (speedbar-timer-fn, speedbar-change-expand-button-char)
8434         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8436 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
8438         This changeset reverts GDB Graphical Interface to use annotations.
8439         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8441 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
8443         Make vc-dir work on subdirectories of the bzr root.
8444         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
8445         file names relative to it.
8446         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8447         relative directory to vc-bzr-after-dir-status.
8449 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
8451         * font-lock.el (font-lock-refresh-defaults): New function, which
8452         can be used to let font-lock react to external changes in
8453         variables like font-lock-defaults and keywords.
8454         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8456 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
8458         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8460         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8462 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
8464         Supersede color.diff settings in git log (bug#5211).
8466         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8467         escape chars in its output when the user has color.diff set to `always'.
8468         This fix works on git 1.4.2 and newer (released on 2006-08-13).
8470 2009-12-26  Kevin Ryde  <user42@zip.com.au>
8472         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8473         node.  Keep previous "Index" name to work with past coreutils too.
8475         * man.el (man): Revise docstring a bit to show -a and -l as
8476         examples.  Add -k description since support for it has otherwise
8477         been a secret.  (Further to bug#3717.)
8478         (Man-bgproc-sentinel): When "-k foo" produces no output show error
8479         "no matches" rather than "Can't find manpage", as the latter reads
8480         like -k was interpreted as a page name, which is not so.  (Bug#5431)
8482 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
8484         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8485         switches.  Check also for //SUBDIRED// line.
8487 2009-12-25  Kenichi Handa  <handa@m17n.org>
8489         * language/indian.el (devanagari-composable-pattern): Fixed to
8490         handle ZWNJ and ZWJ.  Use it in composition-function-table for
8491         Devanagari.
8492         (malayalam-composable-pattern): Fix previous change.
8494 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8496         * ps-print.el (ps-face-attributes): It was not returning the
8497         attribute face for faces specified as string.  Reported by harven
8498         <harven@free.fr>.  (Bug#5254)
8499         (ps-print-version): New version 7.3.5.
8501 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8503         * calendar/icalendar.el (icalendar--convert-tz-offset):
8504         Fix timezone names.
8505         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8506         (icalendar--add-diary-entry): Remove the trailing blank that
8507         diary-make-entry inserts.
8509 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8511         Make `file-expand-wildcards' work for remote files.
8513         * files.el (file-expand-wildcards): In case of remote files, check
8514         only local file name part for wildcards.  Provide feature 'files
8515         and subfeature 'remote-wildcards.  (Bug#5198)
8517         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8518         if there is already an established connection.
8519         (tramp-advice-file-expand-wildcards): Remove it.
8521         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8522         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8523         Activate advice for older GNU Emacs versions.  (Bug#5237)
8525 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8527         Some doc fixes (more needed).
8529         * find-cmd.el (find-constituents): Reflow docstring.
8530         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8531         (find-generic): Doc fix.
8533 2009-12-17  Juri Linkov  <juri@jurta.org>
8535         Fix regression from 23.1 to allow multiple modes in Local Variables.
8537         * files.el (hack-local-variables-filter): While ignoring duplicates,
8538         don't take `mode' into account.
8539         (hack-local-variables-filter, hack-dir-local-variables):
8540         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8542 2009-12-17  Juri Linkov  <juri@jurta.org>
8544         Make `dired-diff' safer.  (Bug#5225)
8546         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8547         `current' or when `file' is a directory of the `current' file.
8549 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8551         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8552         unconditionally preloaded files.
8554 2009-12-16  Juri Linkov  <juri@jurta.org>
8556         Revert to old 23.1 logic of using the file at the mark as default.
8557         * dired-aux.el (dired-diff): Use the file at the mark as default
8558         if it's not the same as the current file, and the target dir is
8559         the current dir or the mark is active.  Add the current file
8560         as the arg of `dired-dwim-target-defaults'.  Use the default file
8561         in the prompt.  (Bug#5225)
8563 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8565         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8566         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8567         (tramp-check-for-regexp): Check also, when an echoing shell stops
8568         to echo sent commands.
8570 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8572         * Makefile.in: Revert last change (Bug#5191).
8574 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8576         * vc-hg.el (vc-hg-print-log): Fix argument order.
8577         (vc-hg-working-revision): Make sure the command is executed in a
8578         known environment so that we can parse the output.  (Bug#4417)
8580 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8582         * progmodes/python.el (python-symbol-completions): Remove text
8583         properties from symbol string before calling python-send-receive.
8585 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8587         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8588         when there are values for both file and line.  (Bug#5060)
8590 2009-12-14  Juri Linkov  <juri@jurta.org>
8592         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8593         whitespace after the file name of the first line of unified format,
8594         because git-diff doesn't output whitespace and file modification time
8595         after the file name.
8597 2009-12-14  David Kastrup  <dak@gnu.org>
8599         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8600         check if it already has the `display' property added by
8601         `Info-display-images-node', and not put the `invisible' property
8602         in this case.
8604 2009-12-13  Glenn Morris  <rgm@gnu.org>
8606         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8607         (report-emacs-bug): In message-mode, sort manually before storing
8608         original report text.  (Bug#5178)
8609         Remove superfluous save-excursion.
8611 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8613         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8614         when responding to "GetAll" properties.
8616 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8618         * simple.el (compose-mail): Remove mail-setup-with-from from
8619         customization checks.
8621 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8623         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8624         RAR archives created on Unix systems.
8626 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8628         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8629         the varalias that was accidentally removed by the 2009-11-19 change
8630         (bug#5186).
8632 2009-12-12  Kenichi Handa  <handa@m17n.org>
8634         * language/indian.el (indian-compose-regexp): New function.
8635         (malayalam-composable-pattern): Fix the pattern.
8636         (composition-function-table): Set malayalam-composable-pattern for
8637         Malayalam characters.
8639 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8641         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8642         rather than down-mouse-1, based on follow-link conventions.
8644         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8645         are compiled.
8647 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8649         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8650         (verilog-vmm-statement-re, verilog-ovm-statement-re)
8651         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8652         (verilog-leap-to-head, verilog-backward-token):
8653         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
8655 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
8657         * progmodes/verilog-mode.el (verilog-auto-lineup)
8658         (verilog-nameable-item-re): Cleanup user-visible spelling and
8659         documentation errors.  One reported by Gary Delp.
8660         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8661         (verilog-read-decls): Fix AUTOWIRE with types declared in a
8662         package, bug195.  Reported by Pierre-David Pfister.
8664 2009-12-11  Glenn Morris  <rgm@gnu.org>
8666         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8668         * mail/emacsbug.el: No longer require sendmail.
8669         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
8670         (report-emacs-bug-orig-text): Doc fix.
8671         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8672         New local variables, to adapt to different mail-user-agents.
8673         (report-emacs-bug): Fix test for a gnu.org address.
8674         Use overlays for emphasis, since font-lock defeats 'face property.
8675         Pretest bugs also end up at the newsgroup these days.
8676         Stop message-mode stripping text properties.
8677         Set and use the new buffer-local variables.
8678         (report-emacs-bug-hook): Add doc-string.
8679         Remove some unnecessary save-excursions and simplify.
8680         Use the appropriate hook and send-command.
8682         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8683         capitalization of some menu entries.
8685 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8687         * whitespace.el (whitespace-display-char-on):
8688         Ensure `buffer-display-table' is unique when two or more windows are
8689         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8690         New version 12.1.
8692 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
8694         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8695         characters in the Attribute field.
8697 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
8699         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
8701 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8703         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8704         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8705         Disregard autoload-excludes.
8706         (update-directory-autoloads): Obey autoload-excludes here instead.
8707         But don't store its contents in no-autoloads and remove entries that
8708         refer to excludes files.
8710 2009-12-10  Glenn Morris  <rgm@gnu.org>
8712         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8713         (expand-mail-aliases): Define for compiler.
8715         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8716         Define for compiler.
8718         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8719         appropriate for the mail-user-agent in use.
8721 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
8723         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8725 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
8727         Fix short log parsing and fontification.
8728         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8729         Fix fontification for the [merge] label.
8731 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
8733         Drop some properties to avoid surprises (bug#5002).
8734         * htmlfontify.el (hfy-ignored-properties): New defcustom.
8735         (hfy-fontify-buffer): Use it.
8737 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8739         Minor cleanup.
8740         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8741         Adjust all callers.
8742         (ffap-locate-file): Remove unused arg `dir-ok' and make other
8743         args compulsory.  Adjust callers.
8744         (ffap-gopher-at-point): Remove unused var `name'.
8746         Get rid of the ELCFILES abomination.
8747         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8748         (compile-elcfiles): New phony target.
8749         (compile-main): Compute ELCFILES dynamically.
8750         (compile-clean): New target to remove left-over elc files.
8751         (compile, all): Use it.
8753 2009-12-09  Kenichi Handa  <handa@etlken>
8755         * international/mule-diag.el: Require help-mode instead of help-fns.
8757 2009-12-09  Kenichi Handa  <handa@m17n.org>
8759         * international/mule-cmds.el (ucs-names): Supply sufficiently
8760         fine ranges instead of pre-calculating accurate ranges.
8761         Iterate with bigger gc-cons-threshold.
8763 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
8765         Add support for stashing a snapshot of the current tree.
8766         * vc-git.el (vc-git-stash-snapshot): New function.
8767         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8769 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
8771         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8772         instead of `(beginning|end)-of-line'.
8774 2009-12-08  Glenn Morris  <rgm@gnu.org>
8776         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8778         * Makefile.in (ELCFILES): Regenerate.
8780 2009-12-07  Juri Linkov  <juri@jurta.org>
8782         Don't lazy-highlight the comint output in history Isearch mode.
8784         * comint.el (comint-history-isearch-search): Instead of
8785         `comint-line-beginning-position', use `comint-after-pmark-p'
8786         to check if point if before the process mark, and go to
8787         `process-mark' in this case.
8789 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8791         * textmodes/tex-mode.el (latex-complete)
8792         (latex-indent-or-complete): Remove.
8793         (latex-mode): Set completion-at-point-functions instead.
8795         Provide a standard completion command and hook it into TAB.
8796         * minibuffer.el (completion-at-point-functions): New var.
8797         (completion-at-point): New command.
8798         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8799         * progmodes/python.el (python-mode-map): Use completion-at-point.
8800         (python-completion-at-point): Rename from python-partial-symbol and
8801         adjust for use in completion-at-point-functions.
8802         (python-mode): Setup completion-at-point for Python completion.
8803         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8804         extracted from lisp-complete-symbol.
8805         (lisp-complete-symbol): Use it.
8806         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8807         setup completion-at-point for Elisp completion.
8808         (emacs-lisp-mode-map, lisp-interaction-mode-map):
8809         Use completion-at-point.
8810         * ielm.el (ielm-map): Use completion-at-point.
8811         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8812         * progmodes/sym-comp.el: Move to...
8813         * obsolete/sym-comp.el: Move from progmodes.
8815 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
8817         Prevent save-buffer in Rmail buffers from using the coding-system
8818         of the current message, and from clobbering the encoding mnemonics
8819         in the mode line (Bug#4623).
8821         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8822         flag, too.
8823         (rmail-message-encoding): New variable.
8824         (rmail-write-region-annotate): Record the encoding of the current
8825         message in rmail-message-encoding.
8826         (rmail-after-save-hook): New function, restores the encoding of
8827         the current message after the message collection is saved.
8829 2009-12-07  Juri Linkov  <juri@jurta.org>
8831         * progmodes/grep.el (grep-read-files): Use `completing-read'
8832         instead of `read-string'.  Set its `collection' arg to
8833         `read-file-name-internal'.  (Bug#4301)
8835 2009-12-07  Juri Linkov  <juri@jurta.org>
8837         Correctly restore original Isearch point.  (Bug#4994)
8839         * isearch.el (isearch-mode): Move `isearch-push-state' after
8840         `(run-hooks 'isearch-mode-hook)'.
8841         (isearch-cancel): When `isearch-push-state-function' is defined,
8842         let-bind `isearch-cmds' to the first state (the last element of
8843         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8844         function and restores the original point).  Otherwise, move point
8845         to `isearch-opoint'.
8847 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8849         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8850         chars that don't have names, so the table can be built much faster at
8851         run-time.
8853 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
8855         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8856         change.  Suggested by David Kastrup.
8858         * simple.el (compose-mail): Check for incompatibilities and warn.
8859         (compose-mail-user-agent-warnings): New option.
8861 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8863         Support showing a single log entry from vc-annotate.
8864         * vc.el (print-log): Add a new argument: START-REVISION.
8865         (vc-print-log-internal): Add a new optional argument and
8866         pass it to the backend.
8867         (vc-print-log, vc-print-root-log): Adjust callers.
8868         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8869         buffer already displays the requested log entry, use it.
8870         Otherwise display only the log entry in question.
8871         * vc-svn.el (vc-svn-print-log):
8872         * vc-mtn.el (vc-mtn-print-log):
8873         * vc-hg.el (vc-hg-state):
8874         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8875         (vc-git-show-log-entry): Return t on success.
8876         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8877         (vc-bzr-show-log-entry): Return t on success.
8878         * vc-rcs.el (vc-rcs-print-log):
8879         * vc-sccs.el (vc-sccs-print-log):
8880         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8882 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8884         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8885         Add menus to the meta mode.  (Bug#5043)
8887 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8889         * ediff-init.el (ediff-event-key): Use event-to-character instead of
8890         event-key.
8892         * ediff.el (ediff-buffers-internal): Add unwind-protect.
8894 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
8896         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
8897         Berbain <raphael.berbain@gmail.com>.
8899         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
8900         characters.
8901         (tramp-initial-end-of-output): New defconst.
8902         (tramp-methods, tramp-find-shell)
8903         (tramp-open-connection-setup-interactive-shell)
8904         (tramp-maybe-open-connection): Use it.
8905         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8906         existence of `#' and `$'.
8908         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8909         `tramp-initial-end-of-output'.
8911 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8913         Get the background mode from the terminal for xterm, and set
8914         faces accordingly.
8915         * term/xterm.el (xterm-set-background-mode): New function.
8916         (terminal-init-xterm): Use it in case xterm supports background
8917         color queries.  Recompute faces after getting the background
8918         color.
8920 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
8922         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8923         number comment back on its own line, for easier parsing.
8925 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8927         Make it work for non-file buffers (bug#5102).
8928         * doc-view.el (doc-view-current-cache-dir):
8929         Use doc-view-buffer-file-name rather than buffer-file-name.
8930         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8932 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
8934         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8935         author field is too short.
8937 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
8939         * vc-git.el (vc-git-print-log): Handle a limit argument.
8940         Display the short log in graph form and with labels.
8941         (vc-git-log-view-mode): Handle labels.
8943         Make vc-revert change VC state from 'added to 'unregistered.
8944         * vc-git.el (vc-git-revert): Call git reset first.
8946 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8948         * net/newst-backend.el, net/newst-plainview.el:
8949         * net/newst-reader.el, net/newst-ticker.el:
8950         * net/newst-treeview.el, net/newsticker.el:
8951         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
8953 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8955         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8957         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8958         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
8959         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8960         Update annotation regexp.
8962         * simple.el (beginning-of-visual-line): Constrain to field
8963         boundaries (Bug#5106).
8965 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8967         * xml.el (xml-substitute-numeric-entities): Move
8968         newsticker--decode-numeric-entities in newst-backend.el to
8969         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8970         * net/newst-backend.el (newsticker--parse-generic-feed)
8971         (newsticker--parse-generic-items)
8972         (newsticker--decode-numeric-entities): Move
8973         newsticker--decode-numeric-entities in newst-backend.el to
8974         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8976 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
8978         * progmodes/js.el (js--js-not): Add null to the list of values.
8980 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8982         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8984 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8986         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8987         delimiter if it is at the end of the current line.
8988         (bibtex-generate-url-list): Fix docstring.
8990 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8992         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8993         minibuffer's content with itself.
8994         Fold the confirm-after-completion case into the `confirm' case.
8995         (completion-pcm-word-delimiters): Add : and / to the delimiters.
8997 2009-12-06  Kevin Ryde  <user42@zip.com.au>
8999         * ffap.el (ffap-rfc-path): Make this a defcustom since
9000         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
9002         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9003         manuals, similar to existing setup for help-mode.  (Bug#3913.)
9005 2009-12-05  Juri Linkov  <juri@jurta.org>
9007         Save and restore dired buffer's point positions too.  (Bug#4880)
9009         * dired.el (dired-save-positions): Return in the first element
9010         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9011         Doc fix.
9012         (dired-restore-positions): First restore buffer's position.
9013         While restoring window's positions, check if window still displays
9014         the original buffer.
9016 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
9018         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9019         if possible.
9021         * shell.el (shell): Require ansi-color (Bug#5113).
9023         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9025         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9027 2009-12-05  Alan Mackenzie  <acm@muc.de>
9029         * progmodes/cc-mode.el (c-before-hack-hook)
9030         (c-postprocess-file-styles): Revert change 1.85 to permit
9031         `c-file-style' to work again.  This reversion restores the current
9032         software to its state in Emacs 23.1.  (Bug#4146)
9034 2009-12-05  Kevin Ryde  <user42@zip.com.au>
9036         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9037         comment-start-skip to comment-end-skip as comment (Bug#4781).
9039 2009-12-05  Juri Linkov  <juri@jurta.org>
9041         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9042         for virtual nodes.  (Bug#4147)
9043         (Info-find-node-2): Set `Info-current-node-virtual' to nil
9044         when moving from a virtual node.
9045         (Info-mode-menu): Add `Info-virtual-index' to the menu.
9046         (Info-mode): Add `Info-virtual-index' to the docstring.
9048 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
9050         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9051         track of the buffer position of the end of a BibTeX entry as this
9052         position may change during reformatting.
9053         (bibtex-format-entry): Remove whitespace before processing
9054         numerical fields so that we recognize the latter properly.
9055         (bibtex-reformat): Do not use push which changes the global value
9056         of bibtex-entry-format.
9057         (bibtex-field-braces-alist, bibtex-field-strings-alist)
9058         (bibtex-field-re-init): Replace only space characters by regexp
9059         for whitespace.
9060         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9061         (bibtex-initialize): Also update bibtex-strings.
9062         (bibtex-kill-field): Preserve white space at end of entry.
9063         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9064         Update bibtex-reference-keys.
9066 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9068         * minibuffer.el (completion-pcm--merge-try): Also consider placing
9069         point after a star, if that's the only place where modifications can
9070         make progress.
9072 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
9074         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9075         in docstrings.
9077 2009-12-04  Juri Linkov  <juri@jurta.org>
9079         * proced.el (proced): Call `(proced-update t)' to update process
9080         information instead of only running proced-post-display-hook.
9081         (proced-send-signal): Add a leading space to the buffer name
9082         " *Marked Processes*" to make this buffer ephemeral.
9084 2009-12-04  Juri Linkov  <juri@jurta.org>
9086         * dired.el (dired-auto-revert-buffer): New defcustom.
9087         (dired-internal-noselect): Use it.
9089 2009-12-04  Juri Linkov  <juri@jurta.org>
9091         Change roles of modes and functions in image-mode.el (Bug#5062).
9093         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9094         in `auto-mode-alist'.
9095         (image-mode-previous-major-mode): New variable.
9096         (image-minor-mode-map): Rename from `image-mode-text-map'.
9097         (image-mode): Move graceful error-handling code from
9098         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
9099         (image-minor-mode): Remove all image-handling code.
9100         Replace `image-mode-text-map' with `image-minor-mode-map'.
9101         Check for `image-type' in mode-line format string.
9102         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9103         (image-mode-as-text): New function with most code from
9104         `image-mode-maybe'.
9105         (image-toggle-display-text): Move code that removes image
9106         properties from `image-toggle-display' to here.
9107         (image-toggle-display-image): New function with code that adds
9108         image properties copied from `image-toggle-display'.
9109         (image-toggle-display): Remove most code with leaving only code
9110         that toggles between `image-mode-as-text' and `image-mode'.
9112 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
9114         * net/newst-treeview.el
9115         (newsticker--treeview-list-highlight-start): Restored call to
9116         save-excursion: Selected item was stuck.
9117         (newsticker--treeview-list-select): New.
9118         (newsticker--treeview-item-show-text)
9119         (newsticker--treeview-item-show)
9120         (newsticker--treeview-item-update): Use new
9121         newsticker-treeview-item-mode.
9122         (newsticker-treeview-update): Keep current item.
9123         (newsticker-treeview-next-new-or-immortal-item): Doc change.
9124         (newsticker--treeview-first-feed): Doc change.
9125         (newsticker-treeview-list-menu)
9126         (newsticker-treeview-item-menu): Added menu entries.
9127         (newsticker-treeview-item-mode): New.
9129         * net/newst-backend.el (newsticker-customize): Delete other
9130         windows.
9132 2009-12-04  Sam Steingold  <sds@gnu.org>
9134         * log-view.el (log-view-mode-map): "q" calls quit-window,
9135         like in all the other non-self-insert buffers.
9137 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9139         Minor cleanup.
9140         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9141         key decoding rather than do it manually via last-input-event +
9142         ascii-character.
9143         (term-exec): Use delete-and-extract-region.
9144         (term-handle-ansi-terminal-messages): Remove unused var `end'.
9145         (term-process-pager): Remove unused var `i'.
9146         (term-dynamic-simple-complete): Make obsolete.
9147         (serial-update-config-menu): Remove unused vars `y' and `str'.
9148         (term-update-mode-line): Remove unused var `temp'.
9150 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9152         Limit the number of log entries displayed by default.
9153         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9154         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9155         using a prefix argument.
9157 2009-12-03  Glenn Morris  <rgm@gnu.org>
9159         * progmodes/idlwave.el (class): Restore still useful declaration.
9161 2009-12-03  Alan Mackenzie  <acm@muc.de>
9163         Enhance `c-parse-state' to run efficiently in "brace deserts".
9165         * progmodes/cc-mode.el (c-basic-common-init):
9166         Call c-state-cache-init.
9167         (c-neutralize-syntax-in-and-mark-CPP): Rename from
9168         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
9169         placing `category' properties value 'c-cpp-delimiter at its boundaries.
9171         * progmodes/cc-langs.el (c-before-font-lock-function):
9172         c-extend-and-neutralize-syntax-in-CPP has been renamed
9173         c-neutralize-syntax-in-and-mark-CPP.
9175         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9176         with `category' properties now, not `syntax-table' ones.
9178         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9179         enhanced (but slower) version of c-end-of-macro that won't land
9180         inside a literal or on another awkward character.
9181         (c-state-cache-too-far, c-state-cache-start)
9182         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9183         (c-state-nonlit-pos-cache-limit, c-state-point-min)
9184         (c-state-point-min-lit-type, c-state-point-min-lit-start)
9185         (c-state-min-scan-pos, c-state-brace-pair-desert)
9186         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9187         buffer local variables.
9188         (c-state-literal-at, c-state-lit-beg)
9189         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9190         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9191         (c-state-cache-top-paren, c-state-cache-after-top-paren)
9192         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9193         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9194         (c-renarrow-state-cache)
9195         (c-append-lower-brace-pair-to-state-cache)
9196         (c-state-push-any-brace-pair, c-append-to-state-cache)
9197         (c-remove-stale-state-cache)
9198         (c-remove-stale-state-cache-backwards, c-state-cache-init)
9199         (c-invalidate-state-cache-1, c-parse-state-1)
9200         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9201         (c-parse-state): Enhance and refactor.
9202         (c-debug-parse-state): Amend to deal with all the new variables.
9204         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9205         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9206         modify to use category text properties rather than syntax-table ones.
9207         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9208         to switch off/on the syntactic paren property of C++ template
9209         delimiters using the category property.
9210         (c-with-<->-as-parens-suppressed): Macro to invoke code with
9211         template delims suppressed.
9212         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9213         New constant/macros which apply category properties to the start
9214         and end of preprocessor constructs.
9215         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9216         "comment out" the syntactic value of characters in preprocessor
9217         constructs.
9218         (c-with-cpps-commented-out)
9219         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9220         with characters in all or all but one preprocessor constructs
9221         "commented out".
9223 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
9225         * proced.el (proced-filter-alist): Use regexp-quote.
9227 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
9229         Cleanup.
9230         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9231         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
9232         arguments.  Expand `default-directory'.
9234         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9235         the benefit of returning an expanded localname.
9236         (tramp-tramp-file-p): Handle the case NAME is not a string.
9238 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9240         Add support for bzr shelve/unshelve.
9241         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9242         (vc-bzr-extra-menu-map): New variables.
9243         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9244         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9245         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9246         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9247         (vc-bzr-dir-extra-headers): Display shelves.
9249         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9251 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9253         * textmodes/bibtex.el (bibtex-complete-internal):
9254         Use completion-in-region.
9255         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9257 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
9259         Support applying stashes.  Improve UI.
9260         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9261         (vc-git-stash-apply, vc-git-stash-pop)
9262         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9263         (vc-git-stash-menu): New functions.
9264         (vc-git-stash-menu-map): New variable.
9265         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9267 2009-12-03  Glenn Morris  <rgm@gnu.org>
9269         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9270         (vc-print-log-internal): Fix previous change.
9271         (vc-revert): Correct pluralization.
9273 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9275         * progmodes/make-mode.el (makefile-special-targets-list): No need for
9276         it to be an alist any more.
9277         (makefile-complete): Use completion-in-region.
9279         * progmodes/octave-mod.el (octave-complete-symbol):
9280         Use completion-in-region.
9282         Misc cleanup.
9283         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9284         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9285         (idlwave-complete-class): Don't quote lambda.
9286         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9287         (idlwave-mode-map): Move initialization into declaration.
9288         (idlwave-action-and-binding): Use backquotes.
9289         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9290         Simplify.
9291         (idlwave-is-pointer-dereference): Remove unused var `pos'.
9292         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9293         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9294         `parts', and `all-parts'.
9295         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9296         (idlwave-convert-xml-system-routine-info): Remove unused string
9297         `version-string'.
9298         (idlwave-display-user-catalog-widget): Use dolist.
9299         (idlwave-scanning-lib): Declare dynamically-scoped var.
9300         (idlwave-scan-library-catalogs): Remove unused var `flags'.
9301         (completion-highlight-first-word-only): Declare to silence bytecomp.
9302         (idlwave-popup-select): Tighten scope of `resp'.
9303         (idlwave-find-struct-tag): Remove unused var `beg'.
9304         (idlwave-after-load-rinfo-hook): Declare.
9305         (idlwave-sintern-class-info): Remove unused var `taglist'.
9306         (idlwave-find-class-definition): Remove unused var `list'.
9307         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9308         (idlwave-what-module-find-class): Remove unused var `classes'.
9310 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
9312         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9314 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9316         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9317         buffers visited.  Remove redundant current-buffer-saving.
9319 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9321         Use completion-in-buffer and remove uses of dynamic scoping.
9322         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9323         (pascal-buffer-to-use, pascal-flag): Don't declare.
9324         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9325         (pascal-get-completion-decl, pascal-keyword-completion):
9326         Add `pascal-str' argument, save-excursion,
9327         return the found completions, and don't filter with pascal-pred.
9328         (pascal-completion-cache): New var.
9329         (pascal-completion): Don't switch buffer any more (it was never
9330         necessary).  Don't save-excursion any more (it's done by the called
9331         subroutines).  Use a cache to avoid redundant computations.
9332         Use complete-with-action rather than pascal-completion-response and
9333         let it apply the predicate as well.
9334         (pascal-complete-word): Use completion-in-buffer when
9335         pascal-toggle-completions is nil.
9336         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9337         not used any more.
9338         (pascal-comp-defun): Don't change buffer any more.
9339         Use complete-with-action rather than pascal-completion-response and
9340         let it apply the predicate as well.
9341         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9342         when neded.
9344 2009-12-02  Kenichi Handa  <handa@m17n.org>
9346         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9347         shape for all Indic scripts.
9349 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9351         Use completion-in-buffer.
9352         * wid-edit.el (widget-field-text-end): New function.
9353         (widget-field-value-get): Use it.
9354         (widget-string-complete, widget-file-complete)
9355         (widget-color-complete): Use it and completion-in-region.
9356         (widget-complete): Don't narrow the buffer.
9358 2009-12-02  Glenn Morris  <rgm@gnu.org>
9360         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
9361         (rmail-select-summary): Use rmail-pop-to-buffer.
9362         * mail/rmailsum.el: Replace all pop-to-buffer calls with
9363         rmail-pop-to-buffer, to prevent horizontal splits.
9365         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9366         save-excursion with save-current-buffer.
9367         Widen before searching.  (Bug#5093)
9368         (diary-list-sexp-entries): Remove superfluous save-excursion.
9370 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
9372         * woman.el (woman-make-bufname): Handle man-pages with "." in the
9373         name.  (Bug#5038)
9375 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
9377         * ido.el (ido-file-internal): Handle filenames at point that do
9378         not have a directory part.  (Bug#5049)
9380 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
9382         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9383         (mpc-songs-jump-to, mpc-resume): Doc fixes.
9385 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
9387         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9388         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9389         any more.
9391 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9393         * comint.el (comint-insert-input): Ignore clicks to the right of
9394         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9396         * vc.el (vc-print-log-internal): Don't wait for the process to
9397         terminate before setting up the major mode.
9399         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9400         in case.
9402         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9403         the last element.
9405         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9407 2009-12-01  Glenn Morris  <rgm@gnu.org>
9409         * window.el (window--display-buffer-2): Fix previous changes.
9411 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
9413         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9415 2009-12-01  Glenn Morris  <rgm@gnu.org>
9417         * Makefile.in (ELCFILES): Add mpc.elc.
9419 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9421         * mpc.el: New file.
9423 2009-12-01  Glenn Morris  <rgm@gnu.org>
9425         * window.el (window-to-use): Define for compiler.
9427         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9428         consistent with others (no final period).
9430         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9431         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
9433 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
9435         Make vc-print-log buttons work.
9436         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9438 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
9440         * savehist.el (savehist-autosave-interval): Allow setting to nil
9441         through customize.  (Bug#5056)
9443 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
9445         Fix references to jit-lock properties.
9446         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9447         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9448         (perl-font-lock-special-syntactic-constructs):
9449         Quote jit-lock-defer-multiline property.
9451 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
9453         * vc-git.el (vc-git-registered): Call vc-git-root only once.
9455 2009-11-30  Juri Linkov  <juri@jurta.org>
9457         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9458         value `buffer' of `multi-isearch-next-buffer-current-function'.
9459         Use `(current-buffer)' when `buffer' is nil.
9460         (multi-isearch-next-buffer-from-list): Don't fallback to
9461         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
9463 2009-11-30  Juri Linkov  <juri@jurta.org>
9465         * misearch.el (multi-isearch-read-buffers): Move canonicalization
9466         of buffers with `get-buffer' to `multi-isearch-buffers'.
9467         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9468         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
9469         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9470         FILES with `expand-file-name' converting relative file names
9471         to absolute.  Doc fix.  (Bug#4727)
9473 2009-11-30  Juri Linkov  <juri@jurta.org>
9475         * misearch.el (multi-isearch-read-buffers)
9476         (multi-isearch-read-matching-buffers): New functions.
9477         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9478         Use them in the `interactive' spec.  Doc fix.
9479         (multi-isearch-read-files, multi-isearch-read-matching-files):
9480         New functions.
9481         (multi-isearch-files, multi-isearch-files-regexp):
9482         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
9484 2009-11-30  Juri Linkov  <juri@jurta.org>
9486         * doc-view.el (doc-view-continuous):
9487         Rename from `doc-view-continuous-mode'.
9488         (doc-view-menu): Move "Toggle display" to the top.
9489         Add submenu "Continuous" with radio buttons "Off"/"On"
9490         and "Save as Default".
9491         (doc-view-scroll-up-or-next-page)
9492         (doc-view-scroll-down-or-previous-page)
9493         (doc-view-next-line-or-next-page)
9494         (doc-view-previous-line-or-previous-page): Rename
9495         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9497 2009-11-30  Juri Linkov  <juri@jurta.org>
9499         * comint.el (comint-mode-map): Rebind `M-r' from
9500         `comint-previous-matching-input' to
9501         `comint-history-isearch-backward-regexp'.
9502         Unbind `M-s' to allow global key binding `M-s'.
9503         Add menu items for `comint-history-isearch-backward' and
9504         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9506 2009-11-30  Juri Linkov  <juri@jurta.org>
9508         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9509         For def=recenter, replace `recenter' with `recenter-top-bottom'
9510         that is called with `this-command' and `last-command' let-bound
9511         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9512         set `recenter-last-op' to nil.  (Bug#4981)
9514 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9516         Minor cleanup and simplification.
9517         * filecache.el (file-cache-add-directory)
9518         (file-cache-add-directory-recursively)
9519         (file-cache-add-from-file-cache-buffer)
9520         (file-cache-delete-file-regexp, file-cache-delete-directory)
9521         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9522         (file-cache-temp-minibuffer-message): Delete function.
9523         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9525         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9526         Don't signal an error when bumping into EOB in tr, s, or y.
9528 2009-11-29  Juri Linkov  <juri@jurta.org>
9530         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9531         (Bug#4960)
9533         * descr-text.el (describe-char-unidata-list): Use lowercase name
9534         for "Unicode name" like in other tags.
9536 2009-11-29  Juri Linkov  <juri@jurta.org>
9538         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9539         New compatibility macro.
9540         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9542 2009-11-29  Juri Linkov  <juri@jurta.org>
9544         Add defcustom to define the cycling order of `recenter-top-bottom'.
9545         (Bug#4981)
9547         * window.el (recenter-last-op): Doc fix.
9548         (recenter-positions): New defcustom.
9549         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9550         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9552 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9554         Improve integration of Tramp and ange-ftp in eshell.
9556         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9557         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9558         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9560         * eshell/esh-util.el (top): Require also Tramp when compiling.
9561         (eshell-directory-files-and-attributes): Check for FTP remote
9562         connection.
9563         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9564         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9565         (eshell-file-attributes): Handle ".".  Return `entry'.
9567         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9568         (ange-ftp-directory-files-and-attributes)
9569         (ange-ftp-real-directory-files-and-attributes): New defuns.
9571         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9572         shell with "exec" when possible.  This prevents trailing prompts
9573         in `start-file-process'.
9575 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9577         Try and remove assumptions about point-min==1.
9578         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9579         (rng-compute-mode-line-string): Show the validation percentage in
9580         terms of the narrowed text, not the widened text.
9581         (rng-do-some-validation): Don't catch internal errors when debugging.
9582         (rng-first-error): Simplify.
9583         (rng-after-change-function): Remove work around.  AFAIK the bug has
9584         been fixed a while ago.
9586         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9587         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9589         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9591         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9592         `cd' doesn't always do it for us (bug#5067).
9594         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9595         on 2009-10-25 as part of some other change (bug#5067).
9597 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9600         `suspicious'.
9601         (byte-compile-warnings): Use byte-compile-warning-types.
9602         (byte-compile-save-excursion): Warn about use of set-buffer right
9603         after save-excursion.
9605         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9606         the excursion as well.
9608 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9610         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9611         providing a Tramp related implementation of "su" and "sudo".
9612         (eshell-unix-initialize): Add "su" and "sudo".
9614 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9616         * net/socks.el (socks-send-command): Convert binary request to
9617         unibyte before sending.  This fixes mishandling of some port
9618         numbers such as 129.
9620 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9622         * help.el (describe-bindings-internal): Remove `interactive'.
9624         * man.el (Man-completion-table): Trim a terminating "(".
9625         Remove the space between name page a section.
9626         Add the command's description on the `help-echo' property.
9627         Remove `process-connection-type' binding since it's unused by
9628         call-process.
9629         Provide completion for the "<section> <name>" format as well.
9630         (Man-default-man-entry): Remove spurious var shadowing the argument.
9632 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9634         * log-view.el: Add "Keywords: tools", since its other keywords
9635         aren't in finder-known-keywords, and following vc.el.
9637         * sha1.el (sha1-string-external): default-directory "/" in case
9638         otherwise non-existent.  process-connection-type pipe for touch of
9639         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9641 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9643         Misc coding convention cleanups.
9644         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9645         hfy-init-kludge-hooks.
9646         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9647         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9648         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9649         and push.
9650         (hfy-slant, hfy-weight): Use tables rather than code.
9651         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9652         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9653         (hfy-face-attr-for-class): Initialize `face-spec' directly.
9654         (hfy-face-to-css): Remove `nconc' with single arg.
9655         (hfy-p-to-face-lennart): Use `or'.
9656         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
9657         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9658         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9659         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9660         (hfy-force-fontification): Use run-hooks.
9662 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
9664         Various minor fixes.
9665         * htmlfontify.el (hfy-default-header): Add toggle_invis since
9666         Javascript belongs in the header, not the body.
9667         (hfy-javascript): Remove.
9668         (hfy-fontify-buffer): Don't insert it any more.
9669         (hfy-face-at): Handle (face0 face1 face2) style face properties.
9670         Fix bug in invis handling when there were no invis props in a chunk.
9672 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9674         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9676 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
9678         * finder.el (finder-mode-map): Add a menu.
9680 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
9682         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9683         "unsigned" structs.
9685         (verilog-leap-to-head, verilog-backward-token): Handle "disable
9686         fork" statement better.
9688 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
9690         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9691         (verilog-delete-auto, verilog-delete-empty-auto-pair)
9692         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9693         Reported by Clay Douglass.
9695         (verilog-auto-inst, verilog-auto-star-safe)
9696         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9697         Fix removing "// Interfaces" when saving .* expansions.  Reported by
9698         Pierre-David Pfister.
9700 2009-11-26  Glenn Morris  <rgm@gnu.org>
9702         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9703         the scope.
9705 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
9707         * vc-annotate.el (vc-annotate-revision-previous-to-line):
9708         Really use previous revision.
9710 2009-11-25  Kevin Ryde  <user42@zip.com.au>
9712         * man.el (Man-completion-table): default-directory "/" in case
9713         doesn't otherwise exist.  process-environment COLUMNS=999 so as
9714         not to truncate long names.  process-connection-type pipe to avoid
9715         any chance of hitting the pseudo-tty TIOCGWINSZ.
9716         (man): completion-ignore-case t for friendliness and since man
9717         itself is case-insensitive on the command line.
9718         Further to Bug#3717.
9720         * arc-mode.el: Add "Keywords: files", so the details in its
9721         commentary can be reached from finder-by-keyword.
9722         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
9723         editing mode, but it's comms related and sgml-mode.el has "comm"
9724         on that basis too.
9725         * textmodes/bibtex-style.el: Add "Keywords: tex".
9726         * international/isearch-x.el, international/ja-dic-cnv.el:
9727         * international/ja-dic-utl.el, international/kkc.el:
9728         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9730 2009-11-25  Juri Linkov  <juri@jurta.org>
9732         * man.el (Man-completion-table): Modify regexp to include
9733         section names to completion strings.  (Bug#3717)
9735 2009-11-25  Juri Linkov  <juri@jurta.org>
9737         Search recursively in gzipped files.  (Bug#4982)
9739         * progmodes/grep.el (grep-highlight-matches): Add new options
9740         `always' and `auto'.  Doc fix.
9741         (grep-process-setup): Check `grep-highlight-matches' for
9742         `auto-detect' to determine the need to compute grep defaults.
9743         Move Windows/DOS specific --colors settings handling
9744         to `grep-compute-defaults'.  Check `grep-highlight-matches'
9745         to get the value of "--color=".
9746         (grep-compute-defaults): Compute `grep-highlight-matches' when it
9747         has the value `auto-detect'.  Move Windows/DOS specific settings
9748         from `grep-process-setup'.
9749         (zrgrep): New command with alias `rzgrep'.
9751 2009-11-25  Juri Linkov  <juri@jurta.org>
9753         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9754         to nil instead of switching off view-mode.  (Bug#4896)
9756 2009-11-25  Juri Linkov  <juri@jurta.org>
9758         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
9760         * mwheel.el (mwheel-scroll-up-function)
9761         (mwheel-scroll-down-function): New defvars.
9762         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9763         `scroll-up', and `mwheel-scroll-down-function' instead of
9764         `scroll-down'.
9766         * doc-view.el (doc-view-scroll-up-or-next-page)
9767         (doc-view-scroll-down-or-previous-page): Add optional ARG.
9768         Use this ARG in the call to image-scroll-up/image-scroll-down.
9769         Change `interactive' spec to "P".  Goto next/previous page only
9770         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9771         SPC/DEL case).  Doc fix.
9772         (doc-view-next-line-or-next-page)
9773         (doc-view-previous-line-or-previous-page): Rename arg to ARG
9774         for consistency.
9775         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9776         `doc-view-scroll-up-or-next-page', and buffer-local
9777         `mwheel-scroll-down-function' to
9778         `doc-view-scroll-down-or-previous-page'.
9780 2009-11-25  Juri Linkov  <juri@jurta.org>
9782         Provide additional default values (directories at other Dired
9783         windows) via M-n in the minibuffer of some Dired commands.
9785         * dired-aux.el (dired-diff, dired-compare-directories)
9786         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9787         `minibuffer-default' in `minibuffer-with-setup-hook'.
9788         (dired-dwim-target-directory): Find a window that displays Dired
9789         buffer instead of failing when the next window is not Dired.
9790         Use `get-window-with-predicate' to find for the next Dired window.
9791         (dired-dwim-target-defaults): New function.
9793         * ediff-util.el (ediff-read-file-name):
9794         Use `dired-dwim-target-defaults' to set `minibuffer-default'
9795         in `minibuffer-with-setup-hook'.
9797 2009-11-25  Juri Linkov  <juri@jurta.org>
9799         Provide additional default values (file name at point or at the
9800         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
9802         * minibuffer.el (read-file-name-defaults): New function.
9803         (read-file-name): Reset `minibuffer-default' to nil when
9804         it duplicates initial input `insdef'.
9805         Bind `minibuffer-default-add-function' to lambda that
9806         calls `read-file-name-defaults' in `minibuffer-selected-window'.
9807         (minibuffer-insert-file-name-at-point): New command.
9809         * files.el (file-name-at-point-functions): New defcustom.
9810         (find-file-default): Remove defvar.
9811         (find-file-read-args): Don't use `find-file-default'.
9812         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9813         to `read-file-name'.
9814         (find-file-literally): Use `read-file-name' with
9815         `confirm-nonexistent-file-or-buffer'.
9817         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9819         * dired.el (dired-read-dir-and-switches):
9820         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9821         to `read-file-name'.
9822         (dired-file-name-at-point): New function.
9823         (dired-mode): Add hook `dired-file-name-at-point' to
9824         `file-name-at-point-functions'.
9826 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         Really make the *Completions* window soft-dedicated (bug#5030).
9829         * window.el (window--display-buffer-2): Add `dedicated' argument.
9830         (display-buffer): Pass it when needed so the dedicated flag is set
9831         after calling set-window-buffer, which would otherwise reset it.
9833 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * progmodes/meta-mode.el (meta-complete-symbol):
9836         * progmodes/etags.el (complete-tag):
9837         * mail/mailabbrev.el (mail-abbrev-complete-alias):
9838         Use completion-in-region.
9840         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9841         (dabbrev-completion): Use completion-in-region.
9842         (dabbrev--abbrev-at-point): Simplify regexp.
9844         * abbrev.el (abbrev--before-point): Use word-motion functions
9845         if :regexp is not specified (bug#5031).
9847         * subr.el (string-prefix-p): New function.
9849         * man.el (Man-completion-cache): New var.
9850         (Man-completion-table): Use it.
9852         * vc.el (vc-print-log-internal): Make `limit' optional for better
9853         compatibility (e.g. with vc-annotate.el).
9855 2009-11-24  Kevin Ryde  <user42@zip.com.au>
9857         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9858         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
9860         * emacs-lisp/elint.el (elint-add-required-env): Better error message
9861         when .el source file not found or other error.
9863 2009-11-24  Markus Triska  <markus.triska@gmx.at>
9865         * linum.el (linum-update-window): Ignore intangible (bug#4996).
9867 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9869         Handle the [back] button properly (bug#4979).
9870         * descr-text.el (describe-text-properties): Add a `buffer' argument.
9871         Use help-setup-xref, help-buffer, and with-help-window.
9872         (describe-char): Add `buffer' argument.
9873         Pass proper command to help-setup-xref.  Don't meddle with
9874         help-xref-stack-item directly.
9875         (describe-text-category): Use with-help-window and help-buffer.
9877         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9878         for the displayed buffer (bug#4887).
9880         * man.el (Man-completion-table): New function.
9881         (man): Use it.
9883 2009-11-24  David Reitter  <david.reitter@gmail.com>
9885         * vc-git.el (vc-git-registered): Use checkout directory (where
9886         .git is) rather than the file's directory and a relative path spec
9887         to work around a bug in git.
9889 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
9891         Improve handling of processes on remote hosts.
9893         * eshell/esh-util.el (eshell-path-env): New defvar.
9894         (eshell-parse-colon-path): New defun.
9895         (eshell-file-attributes): Use `eshell-parse-colon-path'.
9897         * eshell/esh-ext.el (eshell-search-path):
9898         Use `eshell-parse-colon-path'.
9899         (eshell-remote-command): Remove argument HANDLER.
9900         (eshell-external-command): Check for FTP remote connection.
9902         * eshell/esh-proc.el (eshell-gather-process-output):
9903         Use `file-truename', in order to start also symlinked files.
9904         Apply `start-file-process' instead of `start-process'.
9905         Shorten `command' to the local file name part.
9907         * eshell/em-cmpl.el (eshell-complete-commands-list):
9908         Use `eshell-parse-colon-path'.
9910         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9912         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
9913         to `eshell-directory-change-hook'.
9915 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
9917         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9918         because it could be enabled automatically if view-read-only is non-nil.
9920 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
9922         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9923         made on 2009-11-22.
9925 2009-11-24  Glenn Morris  <rgm@gnu.org>
9927         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9928         deleted variable bookmark-bmenu-bookmark-column.
9930 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9932         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9934 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9936         * net/browse-url.el (browse-url-filename-alist): On Windows, add
9937         two slashes to the "file:" prefix.
9938         (browse-url-file-url): De-munge Cygwin filenames before passing
9939         them to Windows browser.
9940         (browse-url-default-windows-browser): Use call-process.
9942 2009-11-23  Juri Linkov  <juri@jurta.org>
9944         Implement DocView Continuous mode.  (Bug#4896)
9945         * doc-view.el (doc-view-continuous-mode): New defcustom.
9946         (doc-view-mode-map): Bind C-n/<down> to
9947         `doc-view-next-line-or-next-page', C-p/<up> to
9948         `doc-view-previous-line-or-previous-page'.
9949         (doc-view-next-line-or-next-page)
9950         (doc-view-previous-line-or-previous-page): New commands.
9952 2009-11-23  Juri Linkov  <juri@jurta.org>
9954         Implement Isearch in comint input history.  (Bug#3746)
9955         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9956         `isearch-mode-hook'.
9957         (comint-history-isearch): New defcustom.
9958         (comint-history-isearch-backward)
9959         (comint-history-isearch-backward-regexp): New commands.
9960         (comint-history-isearch-message-overlay): New buffer-local variable.
9961         (comint-history-isearch-setup, comint-history-isearch-end)
9962         (comint-goto-input, comint-history-isearch-search)
9963         (comint-history-isearch-message, comint-history-isearch-wrap)
9964         (comint-history-isearch-push-state)
9965         (comint-history-isearch-pop-state): New functions.
9967 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
9969         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9970         return.
9971         (tramp-handle-make-symbolic-link)
9972         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9973         Quote file names.
9974         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9975         (tramp-handle-process-file): Use it.
9977 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9979         * window.el (move-to-window-line-last-op): Remove.
9980         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9982 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9984         Make M-r mirror the new cycling behavior of C-l.
9985         * window.el (move-to-window-line-last-op): New var.
9986         (move-to-window-line-top-bottom): New command.
9987         (global-map): Bind M-r move-to-window-line-top-bottom.
9989 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
9991         * dired-x.el (dired-guess-shell-alist-default):
9992         Support xz format.  (Bug#4953)
9994 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
9996         * emulation/viper-cmd.el: Use viper-last-command-char instead of
9997         last-command-char/last-command-event.
9998         (viper-prefix-arg-value): Do correct conversion of event-char for
9999         XEmacs.
10001         * emulation/viper-util.el, emulation/viper.el:
10002         Use viper-last-command-char instead of
10003         last-command-char/last-command-event.
10005         * ediff-init.el, ediff-mult.el, ediff-util.el:
10006         Replace last-command-char and last-command-event
10007         with (ediff-last-command-char) everywhere.
10009         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10010         created in fundamental mode.
10012         * ediff.el (ediff-version): Revert the change of interactive-p to
10013         called-interactively-p.
10015 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
10017         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10018         generation from word-movement command names.
10020 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
10022         * cus-start.el (all): Add native condition for font-use-system-font.
10024 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
10026         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10027         Correct the patch from 2009-11-18.  (Bug#3910)
10029 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
10031         * progmodes/subword.el: Rename from lisp/subword.el.
10033         * subword.el: Rename to progmodes/subword.el.
10035         * Makefile.in (ELCFILES): Adapt to subword.el move.
10037 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10038             Stefan Monnier  <monnier@iro.umontreal.ca>
10040         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10041         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10042         (bookmark-bmenu-show-filenames): Use push.
10043         (bookmark-bmenu-hide-filenames): Use local var instead of
10044         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
10045         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10046         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10047         filenames now that the bookmark names are always available.
10049 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10051         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10052         (bookmark-search-pattern): Move and leave unbound.
10053         (bookmark-bmenu-mode-map): Change binding.
10054         (bookmark-read-search-input): Simplify.
10055         Don't use text-char-description.  Don't error on non-char events.
10056         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10057         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10058         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10059         Use a local var for the timer.
10060         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10061         (i.e. bookmark-bmenu-search).
10063 2009-11-21  Glenn Morris  <rgm@gnu.org>
10065         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
10067 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10069         * net/browse-url.el (browse-url-default-windows-browser):
10070         Use cygstart for cygwin.
10072 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
10074         * bookmark.el: Formatting and doc fixes only:
10075         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10076         (bookmark-bmenu-search): Wrap to fit within 80 columns.
10077         Minor grammar and punctuation fixes in doc string.
10078         (bookmark-read-search-input): Adjust to fit within 80 columns.
10080 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
10082         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10083         (c-backward-into-nomenclature): Adapt to subword renaming.
10085         * subword.el (subword-forward, subword-backward, subword-mark)
10086         (subword-kill, subword-backward-kill, subword-transpose)
10087         (subword-downcase, subword-upcase, subword-capitalize)
10088         (subword-forward-internal, subword-backward-internal):
10089         Rename from forward-subword, backward-subword, mark-subword,
10090         kill-subword, backward-kill-subword, transpose-subwords,
10091         downcase-subword, upcase-subword, capitalize-subword,
10092         forward-subword-internal, backward-subword-internal.
10094 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10096         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10097         New options.
10098         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10099         New vars.
10100         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10101         (bookmark-bmenu-filter-alist-by-regexp)
10102         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10103         (bookmark-bmenu-search): New command.
10104         (bookmark-bmenu-mode-map): Bind it.
10106 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
10108         * progmodes/cc-cmds.el: declare-functioned forward-subword and
10109         backward-subword to quit the byte-compiler.
10111         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10113         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10115         * progmodes/cc-cmds.el (c-update-modeline)
10116         (c-forward-into-nomenclature, c-backward-into-nomenclature):
10117         Refer to subword.el functions instead of cc-subword.el.
10119         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10120         subword.el functions instead of cc-subword.el.
10122         * progmodes/cc-subword.el: Rename to subword.el.
10123         * subword.el: Rename from progmodes/cc-subword.el.
10124         (subword-mode-map): Rename from c-subword-mode-map.
10125         (subword-mode): Rename from c-subword-mode.
10126         (global-subword-mode): New global minor mode.
10127         (forward-subword): Rename from c-forward-subword.
10128         (backward-subword): Rename from c-backward-subword.
10129         (mark-subword): Rename from c-mark-subword.
10130         (kill-subword): Rename from c-kill-subword.
10131         (backward-kill-subword): Rename from c-backward-kill-subword.
10132         (transpose-subwords): Rename from c-tranpose-subword.
10133         (downcase-subword): Rename from c-downcase-subword.
10134         (capitalize-subword): Rename from c-capitalize-subword.
10135         (forward-subword-internal): Rename from c-forward-subword-internal.
10136         (backward-subword-internal): Rename from c-backward-subword-internal.
10138 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
10140         * vc.el (vc-deduce-fileset): Allow non-state changing operations
10141         from a dired buffer.
10142         (vc-dired-deduce-fileset): New function.
10143         (vc-root-diff, vc-print-root-log): Use it.
10145         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10146         nil LIMIT argument to vc-print-log-internal.
10148 2009-11-20  Glenn Morris  <rgm@gnu.org>
10150         * Makefile.in (ELCFILES): Regenerate.
10152 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
10154         * calc/calc.el (calc-set-mode-line):
10155         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10156         (math-format-number): Rename `math-format-complement-signed' to
10157         `math-format-twos-complement'.
10159         * calc/calc-bin.el (math-format-twos-complement): Rename from
10160         math-format-complement-signed.
10161         (calc-radix): Rename `calc-complement-signed-mode' to
10162         `calc-twos-complement-mode'.
10163         (calc-octal-radix, calc-hex-radix): Add an argument for
10164         two's complement.
10166         * calc/calc-embed.el (calc-embedded-mode-vars):
10167         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10169         * calc/calc-ext.el (calc-init-extensions):
10170         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10171         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10173         * calc/calc-units.el (math-build-units-table-buffer):
10174         Let `calc-twos-complement-mode' be nil.
10176         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10177         entries.
10179         * calc/calc-vec.el (calcFunc-vunpack):
10180         * calc/calc-aent.el (calc-do-calc-eval):
10181         * calc/calc-forms.el (math-format-date):
10182         * calc/calc-graph.el (calc-graph-plot):
10183         * calc/calc-math.el (math-use-emacs-fn):
10184         * calc/calccomp.el (math-compose-expr):
10185         Let `calc-twos-complement-mode' be nil.
10187 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10190         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
10191         * minibuffer.el (completion-in-region-functions): New hook.
10192         (completion-in-region): New function.
10193         * emacs-lisp/lisp.el (lisp-complete-symbol):
10194         * pcomplete.el (pcomplete-std-complete): Use it.
10196 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10198         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10199         (latex-complete-alist): New vars.
10200         (latex-string-prefix-p, latex-complete-bibtex-keys)
10201         (latex-complete-envnames, latex-complete-refkeys)
10202         (latex-complete-data): New functions.
10203         (latex-complete, latex-indent-or-complete): New commands.
10205         * window.el (display-buffer-mark-dedicated): New var.
10206         (display-buffer): Obey it.
10207         * minibuffer.el (minibuffer-completion-help): Use it.
10209         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10211         * filecache.el (file-cache-add-file): Use push and cons.
10212         (file-cache-delete-file-regexp): Use push.
10213         (file-cache-complete): Use completion-in-region.
10215         * simple.el (with-wrapper-hook): Fix thinko.
10217         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10218         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10219         Use with-current-buffer and string-to-number.
10220         (hfy-fallback-colour-values): Use assoc-string.
10221         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10222         (hfy-face-at): Remove unused var `found-face'.
10223         (hfy-compile-stylesheet): Remove unused var `css'.
10224         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10225         and `orig-buffer'.
10226         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10227         Use with-current-buffer.
10228         (hfy-text-p): Use expand-file-name and fewer setq.
10230 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
10232         * htmlfontify.el, hfy-cmap.el: New files.
10234 2009-11-19  Juri Linkov  <juri@jurta.org>
10236         * minibuffer.el (completions-format): New defcustom.
10237         (completion--insert-strings): Implement vertical format.
10239         * simple.el (switch-to-completions): Move point to the first
10240         completion when point was at the beginning of the buffer.
10242 2009-11-19  Juri Linkov  <juri@jurta.org>
10244         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
10246         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10248 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
10250         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10251         (mail-signature): Change default to t.
10252         (mail-from-style): Deprecate `system-default' value.
10253         (mail-insert-from-field): For default value of mail-from-style,
10254         default to `angles' unless `angles' needs quoting and `parens'
10255         does not.
10256         (mail-citation-prefix-regexp): Use citation regexp from
10257         message-mode.
10259 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
10261         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10262         Set variables for computing the prompt for reading password.
10264 2009-11-19  Glenn Morris  <rgm@gnu.org>
10266         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
10268         * textmodes/flyspell.el (sgml-lexical-context): Declare.
10270         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10271         (newsticker-treeview-listwindow-height): Fix custom type.
10273 2009-11-19  Kenichi Handa  <handa@m17n.org>
10275         * descr-text.el (describe-char-padded-string): Compose with TAB
10276         only if there's a font for CH.
10277         (describe-char): Fix the condition for detecting a trivial composition.
10279 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
10281         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10282         more accurate version of the regexp.  (Bug#3910)
10284 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
10286         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10288 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
10290         * font-setting.el (font-use-system-font): Declare for byte-compiler.
10291         (font-setting-change-default-font): Fix typo in docstring.
10293 2009-11-18  Alan Mackenzie  <acm@muc.de>
10295         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10297 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10299         * font-setting.el (font-use-system-font): Move ...
10301         * cus-start.el (all): ... to here.
10303 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
10305         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10306         Don't set `ad-return-value' if `ad-do-it' doesn't.
10308         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10309         modification time.
10311 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10313         * menu-bar.el: Put "Use system font" in Option-menu.
10314         (menu-bar-options-save): Add font-use-system-font.
10316         * loadup.el: If feature system-font-setting or font-render-setting is
10317         there, load font-setting.
10319         * Makefile.in (ELCFILES): Add font-settings.el.
10320         * font-setting.el: New file.
10322 2009-11-17  Glenn Morris  <rgm@gnu.org>
10324         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10326         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10327         Preserve point in the list buffer.  (Bug#4939)
10328         Use point-at-eol.
10329         (newsticker--treeview-list-update-highlight)
10330         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10332 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10334         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10335         Remove.
10337         * calc/calc-ext.el (calc-init-extensions): Remove references to
10338         symclip.
10340         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10342         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10343         * calc/calc-help.el (calc-b-prefix-help): Remove references to
10344         `calc-symclip'.
10346 2009-11-16  Kevin Ryde  <user42@zip.com.au>
10348         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10349         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10351         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10352         (lm-keywords-list): Allow comma-only separator like "foo,bar".
10353         Ignore trailing spaces by omit-nulls to split-string (fixing
10354         regression from Emacs 21 due to the incompatible split-string
10355         change).  (Bug #4928.)
10357 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
10359         * vc.el (vc-log-show-limit): Default to 2000.
10360         (vc-print-log-internal): Insert buttons to request more entries
10361         when limiting the output.
10363         * vc-sccs.el (vc-sccs-print-log):
10364         * vc-rcs.el (vc-rcs-print-log):
10365         * vc-cvs.el (vc-cvs-print-log):
10366         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10367         LIMIT is non-nil.
10369 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10371         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10372         error when `tramp-gvfs-dbus-event-vector' is set.
10373         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10375 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10377         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10379 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10381         * net/dbus.el (dbus-unregister-service): New defun.
10382         (dbus-register-property): Register the handlers of
10383         "org.freedesktop.DBus.Properties" for SERVICE.
10384         (dbus-property-handler): Fix docstring.
10386 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10388         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10389         Quote doc string reference in defvaralias as it is not in special form.
10390         (byte-compile-output-docform): Doc fix.
10392 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10394         * calc/calc.el (math-2-word-size, math-half-2-word-size)
10395         (calc-complement-signed-mode): New variables.
10396         (calc-set-mode-line): Add indicator for twos-complements.
10397         (math-format-number): Format twos-complement notation.
10399         * calc/calc-bin.el (calc-word-size): Reset the variables
10400         `math-2-word-size' and `math-half-2-word-size'.
10401         (math-format-complement-signed, math-symclip, calcFunc-symclip)
10402         (calc-symclip): New functions.
10404         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10406         * calc/calc-embed.el (calc-embedded-mode-vars):
10407         Add `calc-complement-signed-mode' to the list of modes.
10409         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10410         (calc-b-oper-keys): Add `calc-symclip' to list.
10412         * calc/calc-ext.el (math-read-number-fancy): Read complement
10413         signed numbers.
10414         (calc-init-extensions): Add binding for `calc-symclip'.
10415         Add autoload for `calcFunc-symclip' and `calc-symclip'.
10417         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10418         `calc-symclip'.
10419         (calc-modes-menu): Add item for twos complement mode.
10421         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10423 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10425         * register.el (jump-to-register, insert-register): Handle Semantic
10426         tags.  From commented-out advice in semantic/senator.el.
10428 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
10430         * vc.el (vc-log-show-limit): New variable.
10431         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
10432         when using a prefix argument.
10433         (vc-print-log-internal): Add new argument LIMIT.
10435         * vc-svn.el (vc-svn-print-log):
10436         * vc-mtn.el (vc-mtn-print-log):
10437         * vc-hg.el (vc-hg-print-log):
10438         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10439         pass it to the log command when set.  Make the BUFFER argument
10440         non-optional.
10442         * vc-sccs.el (vc-sccs-print-log):
10443         * vc-rcs.el (vc-rcs-print-log):
10444         * vc-git.el (vc-git-print-log):
10445         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10446         ignore it.  Make the BUFFER argument non-optional
10448         * bindings.el (mode-line-buffer-identification): Do not purecopy.
10450 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10452         * dired.el (dired-mode-map): Move encryption items to "Operate"
10453         menu (Bug#4703).
10455         * strokes.el (strokes-update-window-configuration): Make strokes
10456         buffer current before erasing (Bug#4906).
10458 2009-11-15  Juri Linkov  <juri@jurta.org>
10460         * simple.el (set-mark-default-inactive): Add :type, :group
10461         and :version.  (Bug#4876)
10463 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
10465         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10466         (archive-unique-fname): ... here.  (Bug#4929)
10468 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10470         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10471         with a real fix.
10473         * novice.el (disabled-command-function): Add useful args.
10474         Setup the help buffer so that [back] works.
10475         Remove redundant call to help-mode.
10476         (disabled-command-function): Use `case'.
10477         (en/disable-command): New function extracted from enable-command.
10478         (enable-command, disable-command): Use it.
10480 2009-11-14  Glenn Morris  <rgm@gnu.org>
10482         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10483         constants.  (Bug#4913)
10485         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10487 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10489         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10490         defined in C that have no doc-strings.  (Bug#1063)
10492 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10494         * cus-edit.el (data, files):
10495         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10497 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10499         * simple.el (shell-command): Doc fix (Bug#4891).
10501         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10503 2009-11-14  Glenn Morris  <rgm@gnu.org>
10505         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10506         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10507         If they are already loaded, eval-after-load will do the right thing.
10509         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10510         compiling.
10512         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10514         * simple.el (x-selection-owner-p): Declare.
10515         (read-mail-command): Use custom radio type rather than choice.
10516         (completion-no-auto-exit): Doc fix.
10518         * custom.el (defgroup):
10519         * epg-config.el (epg): Doc fixes.
10521 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10523         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10524         * international/ccl.el (define-ccl-program): Do not purecopy the
10525         docstring, defconst does it anyway.
10527 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10529         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10530         a second time.
10532         * x-dnd.el (x-dnd-maybe-call-test-function):
10533         * window.el (split-window-vertically):
10534         * whitespace.el (whitespace-help-on):
10535         * vc-rcs.el (vc-rcs-consult-headers):
10536         * userlock.el (ask-user-about-lock-help)
10537         (ask-user-about-supersession-help):
10538         * type-break.el (type-break-force-mode-line-update):
10539         * time-stamp.el (time-stamp-conv-warn):
10540         * terminal.el (te-set-output-log, te-more-break, te-filter)
10541         (te-sentinel, terminal-emulator):
10542         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10543         (term-write-input-ring, term-check-source, term-start-output-log):
10544         (term-display-buffer-line, term-dynamic-list-completions):
10545         (term-ansi-make-term, serial-term):
10546         * subr.el (selective-display):
10547         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10548         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10549         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10550         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10551         (speedbar-remove-localized-speedbar-support)
10552         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10553         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10554         (speedbar-buffers-line-directory):
10555         * simple.el (shell-command-on-region, append-to-buffer)
10556         (prepend-to-buffer):
10557         * shadowfile.el (shadow-save-todo-file):
10558         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10559         (scroll-bar-maybe-set-window-start):
10560         * sb-image.el (speedbar-image-dump):
10561         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10562         (load-save-place-alist-from-file):
10563         * ps-samp.el (ps-print-message-from-summary):
10564         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10565         (ps-background-image, ps-begin-job, ps-do-despool):
10566         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10567         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10568         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10569         (pr-call-process, pr-file-list, pr-interface-save):
10570         * novice.el (disabled-command-function)
10571         (enable-command, disable-command):
10572         * mouse.el (mouse-buffer-menu-alist):
10573         * mouse-copy.el (mouse-kill-preserving-secondary):
10574         * macros.el (kbd-macro-query):
10575         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10576         * informat.el (batch-info-validate):
10577         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10578         * hippie-exp.el (try-expand-dabbrev-visible):
10579         * help-mode.el (help-make-xrefs):
10580         * help-fns.el (describe-variable):
10581         * generic-x.el (bat-generic-mode-run-as-comint):
10582         * finder.el (finder-mouse-select):
10583         * find-dired.el (find-dired-sentinel):
10584         * filesets.el (filesets-file-close):
10585         * files.el (list-directory):
10586         * faces.el (list-faces-display, describe-face):
10587         * facemenu.el (list-colors-display):
10588         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10589         * epg.el (epg--process-filter, epg-cancel):
10590         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10591         (epa--read-signature-type):
10592         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10593         (emerge-file-names):
10594         * ehelp.el (electric-helpify):
10595         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10596         * ediff-vers.el (rcs-ediff-view-revision):
10597         * ediff-util.el (ediff-setup):
10598         * ediff-mult.el (ediff-append-custom-diff):
10599         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10600         (ediff-wordify):
10601         * echistory.el (Electric-command-history-redo-expression):
10602         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10603         * disp-table.el (describe-display-table):
10604         * dired.el (dired-find-buffer-nocreate):
10605         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10606         * dabbrev.el (dabbrev--same-major-mode-p):
10607         * chistory.el (list-command-history):
10608         * apropos.el (apropos-documentation):
10609         * allout.el (allout-obtain-passphrase):
10610         (allout-copy-exposed-to-buffer):
10611         (allout-verify-passphrase): Use with-current-buffer.
10613 2009-11-13  Glenn Morris  <rgm@gnu.org>
10615         * Makefile.in (ELCFILES): Regenerate.
10617 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10619         * net/dbus.el (dbus-registered-objects-table): Rename from
10620         `dbus-registered-functions-table', because it contains also properties.
10621         (dbus-unregister-object): Unregister also properties.
10622         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10623         Use a timeout of 500 msec, in order to not block.
10624         (dbus-register-property, dbus-property-handler): New defuns.
10626 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10628         * simple.el (minibuffer-default-add-completions): Drop deprecated
10629         4th arg.
10631 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10633         * textmodes/artist.el (artist-mouse-choose-operation):
10634         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10635         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10636         (artist-compute-up-event-key): New function.
10637         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10639 2009-11-13  Kenichi Handa  <handa@m17n.org>
10641         * language/japan-util.el: Make sure that the value of jisx0208
10642         property is jisx0208 character.
10644 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10646         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10647         car or each item, not the whole list.
10649 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10651         * minibuffer.el (minibuffer-completion-help):
10652         Use minibuffer-hide-completions.
10654 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
10656         * dired.el (dired-save-positions, dired-restore-positions): New funs.
10657         (dired-revert): Use them (bug#4880).
10659 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10661         * tooltip.el (tooltip-frame-parameters): Undo previous change.
10663 2009-11-12  Juri Linkov  <juri@jurta.org>
10665         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10666         New functions.
10667         (find-file-literally-at-point): Alias of `ffap-literally'.
10669 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10671         * textmodes/ispell.el (ispell-skip-region-alist):
10672         * textmodes/css-mode.el (auto-mode-alist):
10673         * progmodes/compile.el (auto-mode-alist):
10674         * international/mule.el (ctext-non-standard-encodings-alist)
10675         (ctext-non-standard-encodings-regexp):
10676         * simple.el (shell-command-switch, text-read-only):
10677         * replace.el (occur-mode-map):
10678         * paths.el (rmail-file-name):
10679         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10680         * find-file.el (ff-special-constructs):
10681         * files.el (file-name-handler-alist):
10682         * composite.el: Purecopy strings.
10684         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10686 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10688         * widget.el (define-widget): Purecopy the docstring.
10689         * international/mule-cmds.el (charset): Do not purecopy the
10690         docstring here, define-widget does it.
10692         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10693         * textmodes/bibtex-style.el (auto-mode-alist):
10694         * progmodes/inf-lisp.el (inferior-lisp-prompt):
10695         * progmodes/compile.el (compile-command):
10696         * language/korea-util.el (default-korean-keyboard):
10697         * international/mule-conf.el (file-coding-system-alist):
10698         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10699         * tooltip.el (tooltip-frame-parameters):
10700         * newcomment.el (comment-end, comment-padding):
10701         * dired.el (dired-trivial-filenames):
10702         * comint.el (comint-file-name-prefix): Purecopy initial values.
10704 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
10706         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10707         (tramp-advice-minibuffer-electric-tilde): Unload advices via
10708         `tramp-unload'.
10709         (tramp-advice-make-auto-save-file-name)
10710         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10711         after removing the advice.
10713 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10715         * progmodes/grep.el (grep-regexp-alist):
10716         * international/mule-cmds.el (iso-2022-control-alist):
10717         * emacs-lisp/timer.el (timer-duration-words):
10718         * subr.el (version-separator, version-regexp-alist):
10719         * minibuffer.el (completion-styles-alist):
10720         * faces.el (face-attribute-name-alist, list-faces-sample-text):
10721         Change defvars to defconsts.
10723         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10724         * loadup.el ("international/mule-conf"): Load the byte compiled version.
10725         * international/mule-conf.el: Allow to be byte compiled.
10727         * international/mule.el (define-charset): Purecopy props.
10728         (load-with-code-conversion): Purecopy doc string and file name.
10729         (put-charset-property): Purecopy strings.
10730         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10732         * international/mule-cmds.el (register-input-method): Purecopy arguments.
10733         (define-char-code-property): Correctly purecopy the table.
10735         * international/ccl.el (define-ccl-program): Purecopy the docstring.
10737         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10739         * subr.el (add-hook): Purecopy strings.
10740         (eval-after-load): Purecopy load-history-regexp and the form.
10742         * custom.el (custom-declare-group): Purecopy load-file-name.
10744         * subr.el (menu-bar-separator): New defconst.
10745         * net/eudc.el (eudc-tools-menu):
10746         * international/mule-cmds.el (set-coding-system-map)
10747         (mule-menu-keymap):
10748         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10749         * vc-hooks.el (vc-menu-map):
10750         * replace.el (occur-mode-map):
10751         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10752         (menu-bar-edit-menu, menu-bar-goto-menu)
10753         (menu-bar-custom-menu, menu-bar-showhide-menu)
10754         (menu-bar-options-menu, menu-bar-tools-menu)
10755         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10756         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10757         (menu-bar-help-menu):
10758         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10759         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10761         * term/x-win.el (x-gtk-stock-map):
10762         * progmodes/vera-mode.el (auto-mode-alist):
10763         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10764         (inferior-lisp-program, inferior-lisp-load-command):
10765         * progmodes/hideshow.el (hs-special-modes-alist):
10766         * progmodes/gud.el (same-window-regexps):
10767         * progmodes/grep.el (grep-program, find-program, xargs-program):
10768         * net/telnet.el (same-window-regexps):
10769         * net/rlogin.el (same-window-regexps):
10770         * language/ethiopic.el (font-ccl-encoder-alist):
10771         * vc-sccs.el (vc-sccs-master-templates):
10772         * vc-rcs.el (vc-rcs-master-templates):
10773         * subr.el (cl-assertion-failed):
10774         * simple.el (next-error-overlay-arrow-position):
10775         * lpr.el (lpr-command):
10776         * locate.el (locate-ls-subdir-switches):
10777         * info.el (same-window-regexps, info)
10778         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10779         * image-mode.el (image-mode, auto-mode-alist):
10780         * hippie-exp.el (hippie-expand-ignore-buffers):
10781         * format.el (format-alist):
10782         * find-dired.el (find-ls-subdir-switches, find-grep-options)
10783         (find-name-arg):
10784         * facemenu.el (facemenu-keybindings):
10785         * dired.el (dired-listing-switches, dired-chown-program):
10786         * diff.el (diff-switches, diff-command):
10787         * cus-edit.el (same-window-regexps):
10788         * bindings.el (mode-line-mule-info)
10789         (mode-line-buffer-identification): Purecopy strings.
10791 2009-11-11  Juri Linkov  <juri@jurta.org>
10793         * simple.el (dired-get-filename) <declare-function>:
10794         Tell the byte-compiler about dired-get-filename.
10795         (shell-command): In Dired mode, get filename from the current line
10796         as the default value.
10798 2009-11-10  Glenn Morris  <rgm@gnu.org>
10800         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10801         * calendar/holidays.el, progmodes/cperl-mode.el:
10802         Update x-popup-menu declarations.
10804         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10805         (list-load-path-shadows): Use dolist.
10806         (list-load-path-shadows): Use with-current-buffer.
10808 2009-11-10  Juri Linkov  <juri@jurta.org>
10810         * minibuffer.el (read-file-name): Support a list of default values
10811         in `default-filename'.  Use the first file name where only one
10812         element is required.  Doc fix.
10814 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
10816         * net/dbus.el (dbus-unregister-object): Release service, if no
10817         other method is registered for it.
10819 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
10821         * bookmark.el (bookmark-completing-read): Sort bookmark names if
10822         bookmark-sort-flag is non-nil (Bug#4653).
10824 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10826         * emulation/cua-base.el: Add CUA property to some CC mode commands
10827         (Bug#4100).
10829 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10831         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10832         at end of sentence (Bug#4818).
10834 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
10836         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10837         Handle "see declaration of" MSFT statements (Bug#4100).
10839 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
10841         * net/tramp.el (tramp-advice-make-auto-save-file-name)
10842         (tramp-advice-file-expand-wildcards): Unload via
10843         `ad-remove-advice'.
10845         * net/trampver.el: Update release number.
10847 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10849         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10850         `ad-do-it'.
10852 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
10854         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10855         in order to keep context in SELinux.
10857 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10859         * dired-aux.el (dired-query): Place cursor in echo area and allow
10860         C-g.
10862         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10863         menu item if not on a directory (Bug#4701).
10865 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
10867         Sync with Tramp 2.1.17.
10869         * net/tramp.el (tramp-handle-copy-directory): Don't use
10870         `file-remote-p' (due to compatibility).
10872         * net/tramp-compat.el (tramp-compat-copy-directory)
10873         (tramp-compat-delete-directory): New defuns.
10875         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10876         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10877         `tramp-compat-delete-directory'.
10879         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10880         (tramp-smb-handle-delete-directory): Use
10881         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10883         * net/trampver.el: Update release number.
10885 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
10887         * tar-mode.el (tar-copy): Call write-region on the right buffer
10888         (Bug#4857).
10890         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10891         by hand, if necessary (Bug#4878).
10893 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
10895         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10896         align size column (Bug#4839).
10898         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10899         statement.
10901 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10903         * progmodes/ld-script.el (auto-mode-alist):
10904         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10906         * cus-face.el (custom-declare-face): Purecopy face spec.
10908 2009-11-06  Kenichi Handa  <handa@m17n.org>
10910         * international/uni-bidi.el: Re-generated.
10911         * international/uni-category.el: Re-generated.
10912         * international/uni-combining.el: Re-generated.
10913         * international/uni-mirrored.el: Re-generated.
10915 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10917         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10918         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10919         (tex-start-options, slitex-run-command, latex-run-command)
10920         (tex-run-command, tex-directory):
10921         * textmodes/ispell.el (ispell-html-skip-alists)
10922         (ispell-tex-skip-alists, ispell-tex-skip-alists):
10923         * textmodes/fill.el (adaptive-fill-first-line-regexp):
10924         (adaptive-fill-regexp):
10925         * textmodes/dns-mode.el (auto-mode-alist):
10926         * progmodes/python.el (interpreter-mode-alist):
10927         * progmodes/etags.el (tags-compression-info-list):
10928         * progmodes/etags.el (tags-file-name):
10929         * net/browse-url.el (browse-url-galeon-program)
10930         (browse-url-firefox-program):
10931         * mail/sendmail.el (mail-signature-file)
10932         (mail-citation-prefix-regexp):
10933         * international/mule-conf.el (eight-bit):
10934         * international/latexenc.el (latex-inputenc-coding-alist):
10935         * international/fontset.el (x-pixel-size-width-font-regexp):
10936         * emacs-lisp/warnings.el (warning-type-format):
10937         * emacs-lisp/trace.el (trace-buffer):
10938         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10939         (emacs-lisp-mode-map):
10940         * calendar/holidays.el (holiday-solar-holidays)
10941         (holiday-bahai-holidays, holiday-islamic-holidays)
10942         (holiday-christian-holidays, holiday-hebrew-holidays)
10943         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10944         (hebrew-holidays-1, holiday-oriental-holidays)
10945         (holiday-general-holidays):
10946         * x-dnd.el (x-dnd-known-types):
10947         * tool-bar.el (tool-bar):
10948         * startup.el (site-run-file):
10949         * shell.el (shell-dumb-shell-regexp):
10950         * rfn-eshadow.el (file-name-shadow-tty-properties)
10951         (file-name-shadow-properties):
10952         * paths.el (remote-shell-program, news-directory):
10953         * mouse.el ([C-down-mouse-3]):
10954         * menu-bar.el (menu-bar-tools-menu):
10955         * jka-cmpr-hook.el (jka-compr-load-suffixes)
10956         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10957         (jka-compr-compression-info-list):
10958         * isearch.el (search-whitespace-regexp):
10959         * image-file.el (image-file-name-extensions):
10960         * find-dired.el (find-ls-option):
10961         * files.el (directory-listing-before-filename-regexp)
10962         (directory-free-space-args, insert-directory-program)
10963         (list-directory-brief-switches, magic-fallback-mode-alist)
10964         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10965         (automount-dir-prefix):
10966         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10967         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10968         (face-font-registry-alternatives, face-font-registry-alternatives)
10969         (face-font-family-alternatives):
10970         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10971         (facemenu-foreground-menu, facemenu-face-menu):
10972         * epa-hook.el (epa-file-name-regexp):
10973         * dnd.el (dnd-protocol-alist):
10974         * textmodes/rst.el (auto-mode-alist):
10975         * button.el (default-button): Purecopy strings.
10977 2009-11-06  Glenn Morris  <rgm@gnu.org>
10979         * Makefile.in (ELCFILES): Update.
10981 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10983         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10984         * emacs-lisp/levents.el: Move to obsolete/levents.el.
10986         * nxml/xsd-regexp.el (xsdre-gen-categories):
10987         * nxml/xmltok.el (xmltok-parse-entity):
10988         * nxml/rng-parse.el (rng-parse-validate-file):
10989         * nxml/rng-maint.el (rng-format-manual)
10990         (rng-manual-output-force-new-line):
10991         * nxml/rng-loc.el (rng-save-schema-location-1):
10992         * nxml/rng-cmpct.el (rng-c-parse-file):
10993         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10994         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10996 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
10998         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10999         Remove extra save-excursions and make-variable-buffer-local's.
11000         Suggested by Stefan Monnier.
11002         (verilog-getopt-file, verilog-module-inside-filename-p)
11003         (verilog-set-define): Merge GNU 1.35 and repair changes from
11004         switching to using with-current-buffer.
11006         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11007         being treated as a number and confusing AUTORESET.
11008         Reported by Dan Dever.
11010         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11011         Add verilog-auto-ignore-concat to fix backward compatibility with
11012         older verilog-modes.  Reported by Dan Katz.
11014         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11015         containing closing anchors "...$".
11017         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11018         Reported by Wade Smith.
11020         (verilog-batch-execute-func): Comment on function usage.
11022 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
11024         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11025         for labels.
11027         (verilog-label-re, verilog-calc-1): Support proper indent of named
11028         asserts.
11030         (verilog-backward-token, verilog-basic-complete-re)
11031         (verilog-beg-of-statement, verilog-indent-re): Support proper
11032         indent of the assert statement at the beginning of a block of text.
11034         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11035         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11036         tokens as begins.
11038 2009-11-05  Glenn Morris  <rgm@gnu.org>
11040         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11041         Emacs 19.  (Bug#1531)
11042         (byte-compile-fix-header): Update for the above change.
11043         Drop test for epoch::version.
11045         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11046         * cus-dep.el (custom-make-dependencies):
11047         * finder.el (finder-compile-keywords):
11048         Use autoload-rubric's feature argument.
11050         * calendar/diary-lib.el (top-level): Make load behave more like require.
11052         * vc-git.el (vc-git-stash-map): Move definition before use.
11054 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
11056         * custom.el (custom-declare-group): Purecopy standard-value.
11057         (custom-declare-group): Purecopy custom-prefix.
11059         * international/mule.el (load-with-code-conversion):
11060         Call do-after-load-evaluation unconditionally.
11062         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11064 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11066         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11068 2009-11-04  Glenn Morris  <rgm@gnu.org>
11070         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11071         (byte-compile-compatibility): Remove option.
11072         (byte-compile-close-variables, byte-compile-fix-header)
11073         (byte-compile-insert-header, byte-compile-output-docform)
11074         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11075         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11076         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11077         (byte-compile-insert, byte-compile-defun):
11078         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
11079         (byte-defop-compiler19): Remove.
11080         Without byte-compile-compatibility, the 'emacs19-opcode property is not
11081         used by anything.  Replace all calls with byte-defop-compiler.
11083 2009-11-04  Juri Linkov  <juri@jurta.org>
11085         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11086         (menu-bar-options-menu): Don't quote the `prop' arg of
11087         `menu-bar-make-mm-toggle'.
11089 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
11091         * calendar/calendar.el (cal-loaddefs):
11092         * calendar/diary-lib.el (diary-loaddefs):
11093         * calendar/holidays.el (hol-loaddefs):
11094         * eshell/esh-module.el (esh-groups): Load rather than require.
11096 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11098         * calendar/todo-mode.el (todo-add-category): Don't hardcode
11099         point-min==1.
11100         (todo-top-priorities): Only display-buffer when called interactively.
11101         (todo-item-start): Don't save excursion point.
11102         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
11103         (todo-insert-item-here, todo-file-item, todo-remove-item):
11104         Adjust uses of todo-item-start and todo-item-end.
11106         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11107         (autoload-rubric): Don't use any more.
11109         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11110         and only put a prop if it is non-nil.
11112 2009-11-03  Juri Linkov  <juri@jurta.org>
11114         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11115         (menu-bar-options-menu): Fix list quoting (Bug#4429).
11117         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11118         and "Menu" to make top-level menu item visually one unit (like
11119         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11120         multi-word menu items).  Fix :help string for quit-window.
11122 2009-11-03  Glenn Morris  <rgm@gnu.org>
11124         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11125         (byte-compile-file-form-define-abbrev-table)
11126         (byte-compile-file-form-custom-declare-variable)
11127         (byte-compile-variable-ref, byte-compile-defvar):
11128         Whether or not a warning is enabled should only affect whether we issue
11129         the warning, not whether or not we collect the relevant data.
11130         Eg warnings can be turned on and off throughout the course of a file.
11132         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11133         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11135 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11137         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11138         * play/mpuz.el (mpuz-create-buffer):
11139         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11140         (lm-print-y,s,noise, lm-print-w0, lm-init):
11141         * play/gomoku.el (gomoku-prompt-for-move):
11142         * play/fortune.el (fortune-in-buffer):
11143         * play/dissociate.el (dissociated-press):
11144         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11145         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11146         * mail/supercite.el (sc-eref-show):
11147         * mail/smtpmail.el (smtpmail-send-it):
11148         * mail/rmailsum.el (rmail-summary-next-labeled-message)
11149         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11150         (rmail-summary-undelete-many, rmail-summary-rmail-update)
11151         (rmail-summary-goto-msg, rmail-summary-expunge)
11152         (rmail-summary-get-new-mail, rmail-summary-search-backward)
11153         (rmail-summary-add-label, rmail-summary-output-menu)
11154         (rmail-summary-output-body):
11155         * mail/rfc822.el (rfc822-addresses):
11156         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11157         * mail/mailpost.el (post-mail-send-it):
11158         * mail/hashcash.el (hashcash-generate-payment):
11159         * mail/feedmail.el (feedmail-run-the-queue)
11160         (feedmail-queue-send-edit-prompt-help-first)
11161         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11162         (feedmail-deduce-address-list):
11163         * eshell/esh-ext.el (eshell-remote-command):
11164         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11165         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11166         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11167         (viper-save-string-in-file, viper-valid-marker):
11168         * emulation/viper-keym.el (viper-toggle-key):
11169         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11170         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11171         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11172         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11173         (viper-exec-form-in-emacs, viper-brac-function):
11174         * emulation/viper.el (viper-delocalize-var):
11175         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11176         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11177         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11178         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11179         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11180         * emulation/edt.el (edt-electric-helpify):
11181         * emulation/cua-rect.el (cua--rectangle-aux-replace):
11182         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11183         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11184         (cua-indent-to-global-mark-column):
11185         * calendar/diary-lib.el (calendar-mark-1):
11186         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11187         Use with-current-buffer.
11188         * emulation/viper.el (viper-delocalize-var): Use dolist.
11190 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
11192         * comint.el (comint-replace-by-expanded-history-before-point):
11193         Replace !! with the previous input string literally (Bug#1795).
11195 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
11197         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11198         to be made up of whitespace.
11200 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
11202         * minibuffer.el (read-file-name): Don't use file dialogs for
11203         remote directories (Bug#99).
11205 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
11207         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11209 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11211         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11212         instead of deleting the window or frame.
11214 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
11216         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11217         Support face colors.
11219         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11220         New function.  Support face colors (Bug#1168).
11221         (tex-common-initialization): Use it.
11223         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11224         mode allows it (Bug#1168).
11226 2009-10-31  Juri Linkov  <juri@jurta.org>
11228         * facemenu.el (list-colors-display): Don't mark buffer as
11229         modified (Bug#3948).
11231 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
11233         * international/mule-diag.el (list-character-sets-1): Minor
11234         message fix (Bug#3526).
11236         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11237         face property (Bug#4834).
11238         (etags-list-tags, etags-tags-apropos-additional)
11239         (etags-tags-apropos, tags-select-tags-table): Add follow-link
11240         property.
11242         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11243         items.
11245 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11247         * textmodes/two-column.el (2C-split):
11248         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11249         * textmodes/tex-mode.el (tex-set-buffer-directory):
11250         * textmodes/spell.el (spell-region, spell-string):
11251         * textmodes/reftex.el (reftex-erase-buffer):
11252         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11253         * textmodes/reftex-toc.el (reftex-toc-promote-action):
11254         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11255         (reftex-select-item):
11256         * textmodes/reftex-ref.el (reftex-label-info-update)
11257         (reftex-offer-label-menu):
11258         * textmodes/reftex-index.el (reftex-index-change-entry)
11259         (reftex-index-phrases-info):
11260         * textmodes/reftex-global.el (reftex-create-tags-file)
11261         (reftex-save-all-document-buffers, reftex-ensure-write-access):
11262         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11263         (reftex-view-crossref-from-bibtex):
11264         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11265         (reftex-extract-bib-entries-from-thebibliography)
11266         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11267         * textmodes/refbib.el (r2b-capitalize-title):
11268         (r2b-convert-buffer, r2b-help):
11269         * textmodes/page-ext.el (pages-directory)
11270         (pages-directory-goto-with-mouse):
11271         * textmodes/bibtex.el (bibtex-validate-globally):
11272         * textmodes/bib-mode.el (bib-capitalize-title):
11273         * textmodes/artist.el (artist-clear-buffer, artist-system):
11274         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11275         (local-set-scheme-interaction-buffer, xscheme-process-filter)
11276         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11277         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11278         (xscheme-send-control-g-interrupt, xscheme-start-process)
11279         (xscheme-process-sentinel, xscheme-cd):
11280         * progmodes/verilog-mode.el (verilog-read-always-signals)
11281         (verilog-set-define, verilog-getopt-file)
11282         (verilog-module-inside-filename-p):
11283         * progmodes/sh-script.el:
11284         * progmodes/python.el (python-pdbtrack-get-source-buffer)
11285         (python-pdbtrack-grub-for-buffer, python-execute-file):
11286         * progmodes/octave-inf.el (inferior-octave):
11287         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11288         (idlwave-shell-compile-helper-routines, idlwave-set-local)
11289         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11290         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11291         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11292         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11293         (idlwave-shell-filter, idlwave-shell-examine-highlight)
11294         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11295         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11296         (idlwave-shell-examine-display, idlwave-shell-run-region)
11297         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11298         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11299         * progmodes/idlw-help.el (idlwave-help-get-special-help)
11300         (idlwave-help-get-help-buffer):
11301         * progmodes/gud.el (gud-basic-call, gud-find-class)
11302         (gud-tooltip-activate-mouse-motions-if-enabled):
11303         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11304         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11305         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11306         (ebrowse-tags-next-file):
11307         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11308         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11309         (ebnf-eps-finish-and-write):
11310         * progmodes/cpp.el (cpp-edit-save):
11311         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11312         * progmodes/cc-defs.el (c-emacs-features):
11313         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11314         (antlr-directory-dependencies):
11315         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11316         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11317         (ada-find-any-references, ada-make-filename-from-adaname)
11318         (ada-make-body-gnatstub):
11319         * obsolete/rnews.el (news-list-news-groups):
11320         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11321         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11322         * net/rcirc.el (rcirc-debug):
11323         * net/newst-treeview.el (newsticker--treeview-list-add-item)
11324         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11325         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11326         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11327         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11328         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11329         (newsticker--treeview-list-clear-highlight)
11330         (newsticker--treeview-list-update-highlight)
11331         (newsticker--treeview-list-highlight-start)
11332         (newsticker--treeview-tree-update-highlight)
11333         (newsticker--treeview-get-selected-item)
11334         (newsticker-treeview-mark-list-items-old)
11335         (newsticker--treeview-set-current-node):
11336         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11337         * net/newst-backend.el (newsticker--get-news-by-funcall)
11338         (newsticker--get-news-by-wget, newsticker--image-get)
11339         (newsticker--image-sentinel):
11340         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11341         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11342         (eudc-ph-close-session):
11343         * net/eudc.el (eudc-save-options):
11344         * language/thai-word.el (thai-update-word-table):
11345         * language/japan-util.el (japanese-string-conversion):
11346         * international/titdic-cnv.el (tsang-quick-converter)
11347         (ziranma-converter, ctlau-converter):
11348         * international/mule-cmds.el (describe-language-environment):
11349         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11350         (skkdic-convert-postfix, skkdic-convert-prefix):
11351         (skkdic-convert-okuri-nasi, skkdic-convert):
11352         * emacs-lisp/re-builder.el (reb-update-overlays):
11353         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11354         * emacs-lisp/gulp.el (gulp-send-requests):
11355         * emacs-lisp/find-gc.el (trace-call-tree):
11356         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11357         (eieio-describe-generic):
11358         * emacs-lisp/eieio-base.el (eieio-persistent-read):
11359         * emacs-lisp/edebug.el (edebug-outside-excursion):
11360         * emacs-lisp/debug.el (debugger-make-xrefs):
11361         * emacs-lisp/cust-print.el (custom-prin1-to-string):
11362         * emacs-lisp/chart.el (chart-new-buffer):
11363         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11364         Use with-current-buffer.
11365         * textmodes/artist.el (artist-system): Don't call
11366         copy-sequence on a fresh string.
11367         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11369 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
11371         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11372         is no item to edit.  (Bug#4820)
11373         (todo-top-priorities): Restore point and restore narrowing in Todo
11374         buffer.  (Bug#4820)
11376 2009-10-31  Glenn Morris  <rgm@gnu.org>
11378         * net/ange-ftp.el (top-level): Don't require dired when compiling.
11379         (comint-last-output-start, comint-last-input-start)
11380         (comint-last-input-end): Don't defvar when compiling.
11381         (ange-ftp-process-file): Use bound-and-true-p.
11383         * pcmpl-rpm.el (top-level): Move provide statement to end.
11384         (pcmpl-rpm): Remove unused custom group.
11386         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11388         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11390         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11391         (byte-compile-warnings): Add `constants' as an option.
11392         (byte-compile-callargs-warn, byte-compile-arglist-warn)
11393         (display-call-tree): Update for byte-compile-fdefinition possibly
11394         returning `(macro lambda ...)'.  (Bug#4778)
11395         (byte-compile-variable-ref, byte-compile-setq-default):
11396         Respect `constants' member of byte-compile-warnings.
11398 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11400         * vc-bzr.el (vc-bzr-revision-keywords): New var.
11401         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11402         to "submit:".
11404 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
11406         * textmodes/ispell.el (ispell-skip-region-alist):
11407         * international/mule-conf.el (eight-bit):
11408         * international/fontset.el (font-encoding-alist):
11409         * startup.el (pure-space-overflow-message):
11410         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11411         * paths.el (gnus-nntp-service, rmail-spool-directory)
11412         (term-file-prefix):
11413         * files.el (save-some-buffers-action-alist):
11414         * cmuscheme.el (same-window-buffer-names):
11415         * ielm.el (same-window-buffer-names):
11416         * shell.el (same-window-buffer-names):
11417         * mail/sendmail.el (same-window-buffer-names):
11418         * progmodes/inf-lisp.el (same-window-buffer-names):
11419         * bindings.el (mode-line-client)
11420         (mode-line-column-line-number-mode-map):
11421         * language/tibetan.el (tibetan-precomposition-rule-regexp)
11422         (tibetan-precomposed-regexp): Purecopy string arguments.
11424 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11426         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11427         (calcDigit-nondigit):
11428         * calc/calc-yank.el (calc-copy-to-buffer):
11429         * calc/calc-units.el (calc-invalidate-units-table):
11430         * calc/calc-trail.el (calc-trail-yank):
11431         * calc/calc-store.el (calc-insert-variables):
11432         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11433         * calc/calc-prog.el (calc-read-parse-table):
11434         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11435         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11436         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11437         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11438         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11439         (calc-graph-name, calc-graph-find-command, calc-graph-view)
11440         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11441         * calc/calc-ext.el (calc-realign):
11442         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11443         (calc-embedded-finish-edit, calc-embedded-make-info)
11444         (calc-embedded-finish-command, calc-embedded-stack-change):
11445         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11447         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11448         shell-dynamic-complete-filename in preference to
11449         comint-dynamic-complete-filename.
11451         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11452         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11453         Don't consider whether the display supports colors.
11454         (bookmark-import-new-list): Use dolist.
11455         (bookmark-bmenu-mode-map): Move initialization into declaration.
11456         (bookmark-bmenu-list): Use dolist, simplify.
11457         (bookmark-show-all-annotations): Use save-selected-window and dolist.
11458         (menu-bar-final-items): Use push.
11460 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11462         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11463         it works on remote files.
11464         (vc-hg-diff): Don't pass any `--cwd' argument.
11466 2009-10-27  Kevin Ryde  <user42@zip.com.au>
11468         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11469         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11470         (Further to Bug#3921).
11472 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
11474         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11475         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11476         calling `tramp-imap-put-file'.  Add file size to the call.
11477         (tramp-imap-get-file-entries): Compute also user name, file size,
11478         and date.
11479         (tramp-imap-handle-insert-directory): Insert uid and gid.
11480         (tramp-imap-handle-file-attributes): Transform uid and gid
11481         according to `id-format'.
11482         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
11483         size in header X-Size.
11485 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11487         * simple.el (transpose-subr): Give clearer error when the mark
11488         is not set.  (Bug#4807)
11490 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
11492         * net/tramp.el (tramp-perl-file-truename): New defconst.
11493         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11494         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11495         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11496         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11498         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11499         Ignore `dired-call-process'.
11500         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11502 2009-10-26  Julian Scheid  <julians37@gmail.com>
11504         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11505         (tramp-get-remote-readlink): New defun.
11506         (tramp-handle-file-truename): Use it.
11507         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11508         file exists if cache value present.
11509         (tramp-check-cached-permissions): New defun.
11510         (tramp-handle-file-readable-p): Use it.
11511         (tramp-handle-file-writable-p): Likewise.
11512         (tramp-handle-file-executable-p): Likewise.
11513         (tramp-handle-file-name-all-completions): Try using Perl to get
11514         partial completions.  When perl not available, combine `cd' and
11515         `ls' into single remote operation and use shell expansion to get
11516         partial remote directory contents.  Set `file-exists-p' cache for
11517         directory and any files returned by ls.  Change cache handling to
11518         support partial directory contents.  Use error message emitted by
11519         remote `cd' or Perl code for local tramp-error.
11520         (tramp-do-copy-or-rename-file-directly): Avoid separate
11521         tramp-send-command-and-check call.
11522         (tramp-handle-process-file): Merge three remote ops into one.
11523         Do not flush all caches when `process-file-side-effects' is set.
11524         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11525         file-attributes shows uid/gid to be set already.
11527 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11529         * textmodes/tex-mode.el (tex-dvi-view-command)
11530         (tex-show-queue-command, tex-open-quote):
11531         * progmodes/ruby-mode.el (auto-mode-alist)
11532         (interpreter-mode-alist): Purecopy strings.
11534         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11536         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11537         string for the hook, keymap and abbrev table.
11539         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11541         * x-dnd.el (x-dnd-xdnd-to-action):
11542         * startup.el (fancy-startup-text, fancy-about-text): Change to
11543         defconst from defvar.
11545         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11547         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11548         Purecopy initialization strings.
11550         * mail/sendmail.el (mail-header-separator)
11551         (mail-personal-alias-file):
11552         * mail/rmail.el (rmail-default-dont-reply-to-names)
11553         (rmail-ignored-headers, rmail-retry-ignored-headers)
11554         (rmail-highlighted-headers, rmail-secondary-file-directory)
11555         (rmail-secondary-file-regexp):
11556         * files.el (null-device, file-name-invalid-regexp)
11557         (locate-dominating-stop-dir-regexp)
11558         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11559         (interpreter-mode-alist): Use mapcar instead of mapc.
11561         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11563         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11564         (completion-ignored-extensions):
11565         (debug-ignored-errors): Purecopy strings.
11567 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11569         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11570         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11571         (pcomplete--here): Use push.
11573         * subr.el (all-completions): Declare the 4th arg obsolete.
11575 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11577         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11578         (pcomplete-unquote-argument): New function.
11579         (pcomplete--common-suffix): Always pay attention to case.
11580         (pcomplete--table-subvert): Quote and unquote the text.
11581         (pcomplete--common-quoted-suffix): New function.
11582         (pcomplete-std-complete): Use it and pcomplete-begin.
11584         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11585         we're inside a dedicated or minibuffer window.
11587 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11589         * bookmark.el: Update documentation, especially documentation
11590         of `bookmark-alist' and of the bookmark file format.
11591         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11593 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11595         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11596         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11597         window to buffer.
11599         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11600         (global-whitespace-mode, global-whitespace-newline-mode)
11601         (whitespace-toggle-options, global-whitespace-toggle-options):
11602         Doc fix (Bug#3660).
11604         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11605         of xmltok-start before the end tag was inserted (Bug#2840).
11607         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11608         patterns that are preceded by an open-paren (Bug#1320).
11610 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11612         * files.el (delete-directory): Delete symlinks to directories with
11613         delete-file (Bug#4739).
11615 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11617         * vc.el (vc-backend-for-registration): Rename from
11618         vc-get-backend-for-registration.  Update callers.
11620         * international/mule-cmds.el (set-language-info-alist):
11621         Purecopy lang-env.
11622         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11623         (charset): Purecopy the name.
11624         (define-char-code-property): Purecopy string arguments.
11626         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11627         Purecopy string arguments.
11629         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11630         * ediff-hook.el (menu-bar-ediff-menu):
11631         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11632         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11634 2009-10-24  Glenn Morris  <rgm@gnu.org>
11636         * comint.el (comint-dynamic-list-completions):
11637         * term.el (term-dynamic-list-completions): Use choose-completion rather
11638         than obsolete alias mouse-choose-completion.
11640         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11641         file-cache-choose-completion.
11642         (file-cache-choose-completion): Handle an optional event argument.
11643         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11645         * progmodes/octave-mod.el (octave-complete-symbol):
11646         Use choose-completion if mouse-choose-completion is ever removed.
11648         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11649         use.
11651         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11652         compiler.
11654         * vc-hooks.el (vc-responsible-backend): Fix declaration.
11656 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11658         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11659         Ignore `pred' now that we receive one.
11660         Handle test-completion specially.
11662 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11664         * vc.el (vc-responsible-backend): Throw an error if not backend is
11665         found.  Remove the REGISTER argument.  Move the code dealing with
11666         REGISTER ...
11667         (vc-get-backend-for-registration): ... here.  New function.
11668         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11669         of vc-responsible-backend, pass the file name instead of the
11670         directory name.
11672 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11674         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11675         New funs.
11676         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
11677         (pcomplete-comint-setup): Don't modify a global var via
11678         accidental side-effects.
11679         (pcomplete-shell-setup): Adjust call accordingly.
11680         (pcomplete-parse-comint-arguments): Use push.
11682 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11684         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11685         Allow uncapitalized info node names (Bug#3921).
11687         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11688         to the DEBUG file (Bug#3781).
11690 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
11692         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11693         dictionary entry (Bug#4579).
11695 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
11697         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11698         from `rfn-eshadow-update-overlay-hook' when unloading.
11699         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11700         "rsyncc".  Adjust doc string.
11701         (tramp-temp-buffer-file-name): New buffer-local defvar.
11702         (tramp-handle-insert-file-contents, tramp-handle-write-region):
11703         Keep temporary file when indicated by method ("rsync" and
11704         "rsyncc").
11705         (tramp-handle-write-region): Handle APPEND.
11706         (tramp-delete-temp-file-function): New defun.  Added to
11707         `kill-buffer-hook'.
11709 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
11711         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11713 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11715         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11716         (color-name-rgb-alist, tty-standard-colors)
11717         (tty-color-mode-alist): Change to defconst.
11719         * simple.el (mark-inactive): Purecopy message.
11721         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11722         (global-map, yank-menu):
11723         * textmodes/ispell.el (ispell-menu-map):
11724         * net/eudc.el (eudc-tools-menu):
11725         * international/mule-cmds.el (describe-language-environment-map)
11726         (setup-language-environment-map, set-coding-system-map)
11727         (mule-menu-keymap):
11728         * vc-hooks.el (vc-menu-entry, vc-menu-map):
11729         * replace.el (occur-mode-map):
11730         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11732 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
11734         * calc/calc.el (math-read-number, math-read-number-simple): Use
11735         `save-match-data'.
11737 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11739         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11740         rather than fiddling with global-map bindings, since it should only
11741         affect per-terminal settings.
11742         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11744         * minibuffer.el (completion-table-with-terminator): Allow to specify
11745         the terminator-regexp.
11747         * simple.el (switch-to-completions): Look for *Completions* in other
11748         frames as well.
11750         * pcomplete.el: Allow the use of completion-tables.
11751         (pcomplete-std-complete): New command.
11752         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11753         (pcomplete--here): Use a function for `form' rather than an expression,
11754         so it can be byte-compiled.
11755         (pcomplete-here, pcomplete-here*): Adjust accordingly.
11756         Add edebug declaration.
11757         (pcomplete-show-completions): Remove unused var `curbuf'.
11758         (pcomplete-do-complete, pcomplete-stub):
11759         Don't assume `completions' is a list of strings any more.
11761 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
11763         * find-dired.el (find-name-arg): Fix typo in docstring.
11765 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11767         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11768         (pcmpl-linux-fs-types): Same, and update to new modules layout.
11770         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11771         pcomplete-entries.
11773         * comint.el (comint-read-input-ring, comint-write-input-ring)
11774         (comint-substitute-in-file-name)
11775         (comint-dynamic-complete-as-filename)
11776         (comint-dynamic-simple-complete)
11777         (comint-dynamic-list-filename-completions)
11778         (comint-dynamic-list-completions)
11779         (comint-redirect-results-list-from-process): Minor simplifications.
11781 2009-10-21  Kevin Ryde  <user42@zip.com.au>
11783         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11784         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11785         the first form.  And insert a blank line after ";;; Code" since
11786         that's usual style.  (Bug#4612)
11788         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11790 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11792         * minibuffer.el (completion-table-with-terminator): Properly implement
11793         boundaries, in case `terminator' appears in the suffix.
11794         (completion--embedded-envvar-table): Don't return boundaries if
11795         there's no valid completion.  Simplify.
11796         (completion-file-name-table): New completion table extracted from
11797         completion--file-name-table.
11798         (completion--file-name-table): Use it.
11799         (read-file-name-predicate): Declare obsolete.
11800         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11801         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11802         completion-file-name-table, and use the `pred' argument.
11803         * files.el (locate-file-completion-table): Use the `pred' arg rather
11804         than read-file-name-predicate.
11805         (abbreviate-file-name): Use \` rather than ^ for BOS.
11807 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
11809         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11810         vc-responsible-backend to register, it causes problems.
11812 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11814         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11816 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
11818         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11819         (tramp-smb-handle-file-attributes): Use it.
11820         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11821         (tramp-smb-handle-insert-directory): Use `mapc' rather than
11822         `mapcar'.  Use `tramp-smb-get-stat-capability'.
11823         Add `dired-filename' text properties.
11824         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11825         (tramp-smb-maybe-open-connection): Simplify check for smbclient
11826         version.
11828 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11830         * subr.el (read-key-delay): Reduce to 0.01.
11831         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11832         (bug#4751).
11834 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11836         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11838         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11839         (Info-menu): Remove unused vars `last' and `completions'.
11840         (Info-index-nodes): Remove unused var `node'.
11842         * info.el (Info-complete-menu-item): Use complete-with-action.
11844 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11846         Make vc-annotate work through copies and renames.
11847         * vc-annotate.el (vc-annotate-extract-revision-at-line):
11848         Return the file name too.
11849         (vc-annotate-revision-at-line)
11850         (vc-annotate-find-revision-at-line)
11851         (vc-annotate-revision-previous-to-line)
11852         (vc-annotate-show-log-revision-at-line): Update to get the file
11853         name from vc-annotate-extract-revision-at-line.
11854         (vc-annotate-show-diff-revision-at-line-internal): Change the
11855         argument to mean whether to show a file diff or not.  Get the file
11856         name from vc-annotate-extract-revision-at-line.
11857         (vc-annotate-show-diff-revision-at-line):
11858         Update vc-annotate-show-diff-revision-at-line call.
11859         (vc-annotate-warp-revision): Add an optional file argument.
11861         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11862         (vc-git-annotate-extract-revision-at-line): Also return the file
11863         name if found.
11865         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11866         command.  Remove unused code.
11867         (vc-hg-annotate-re): Update to match --follow output.
11868         (vc-hg-annotate-extract-revision-at-line): Also return the file
11869         name if found.
11871         * vc.el: Update annotate-extract-revision-at-line documentation.
11873 2009-10-18  Kevin Ryde  <user42@zip.com.au>
11875         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11876         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11878         * net/browse-url.el (browse-url): Identify alist with "consp and
11879         not functionp" and let all other things go down the `apply' leg,
11880         as suggested by Stefan.  (Further to bug#4531.)
11882 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
11884         * minibuffer.el (read-file-name): Check for repeat before putting
11885         a default argument in file-name-history (Bug#4657).
11887         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11888         read syntax (Bug#4737).
11890         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11892 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11894         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11895         (html-tag-alist, html-tag-help): Add descriptions for undocumented
11896         entries and make note of obsolete tags.
11898 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11900         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11902 2009-10-18  Glenn Morris  <rgm@gnu.org>
11904         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11905         grep, so that binary files (eg international/uni-bidi.el) can match.
11906         Remove test for "UnicodeData" files, since it is hopefully unnecessary
11907         now, and in any case the file header format has changed.
11909 2009-10-17  Glenn Morris  <rgm@gnu.org>
11911         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11912         (flyspell-get-word, flyspell-large-region)
11913         (flyspell-auto-correct-previous-word): Doc/error message fixes.
11915 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
11917         * Makefile.in (ELCFILES): Add ede/shell.
11919 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11921         * term/common-win.el (x-colors): Purecopy it.
11923 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11925         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11926         permissive for when the buffer is empty.
11927         (tar-header-block-tokenize): Decode the username and groupname.
11928         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11930 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11932         * international/mule-cmds.el (select-safe-coding-system): If the file
11933         has a coding cookie, use it regardless of any other setting (bug#4712).
11935 2009-10-17  Glenn Morris  <rgm@gnu.org>
11937         * foldout.el (foldout-mouse-swallow-events):
11938         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11940         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11941         (dired-keep-marker-copy, dired-keep-marker-hardlink)
11942         (dired-keep-marker-symlink, dired-dwim-target)
11943         (dired-copy-preserve-time): Do not autoload these defcustoms.
11945         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11946         messages from messing up the file coding.  (Bug#4623)
11948 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
11950         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11951         if no match is found for the current dictionary.  (Bug#4578)
11953         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11954         optional, since that is how it is documented, and this is often called
11955         with a nil argument.  (Bug#4577)
11956         (flyspell-external-point-words, flyspell-auto-correct-word)
11957         (flyspell-correct-word-before-point, flyspell-word-search-forward)
11958         (flyspell-word-search-backward): Remove nil argument in calls to
11959         flyspell-get-word, since it is not needed now.
11961 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
11963         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
11965 2009-10-16  Glenn Morris  <rgm@gnu.org>
11967         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11969 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11971         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11972         (ange-ftp-file-size): New function.
11973         (ange-ftp-file-attributes): Use it.
11975 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
11977         * net/tramp-smb.el (tramp-smb-version): New defvar.
11978         (tramp-smb-maybe-open-connection): Use it, in order to avoid
11979         repeated checks.
11981 2009-10-16  Glenn Morris  <rgm@gnu.org>
11983         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11984         Maybe copy some custom properties from old to new name.  (Bug#4706)
11986 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11988         * subr.el (error, sit-for, start-process-shell-command)
11989         (start-file-process-shell-command): Set the calling convention
11990         after the function definition.
11992 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11994         * subr.el (error, sit-for, start-process-shell-command)
11995         (start-file-process-shell-command): Use the new
11996         set-advertised-calling-convention feature.
11998 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
12000         * international/ucs-normalize.el (ucs-normalize-version):
12001         Change to 1.2.
12002         (check-range): Adjust for Unicode 5.2.
12004 2009-10-15  Juri Linkov  <juri@jurta.org>
12006         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12007         to the `menu-item' format.
12009 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
12011         * net/tramp.el (tramp-replace-environment-variables): Do not fail
12012         if the environment variable does not exist.
12014         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12015         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12016         parameter.
12017         (tramp-smb-handle-add-name-to-file)
12018         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12019         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12020         (tramp-smb-handle-file-attributes)
12021         (tramp-smb-do-file-attributes-with-stat)
12022         (tramp-smb-handle-file-local-copy)
12023         (tramp-smb-handle-insert-directory)
12024         (tramp-smb-handle-make-directory)
12025         (tramp-smb-handle-make-directory-internal)
12026         (tramp-smb-handle-make-symbolic-link)
12027         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12028         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12029         (tramp-smb-maybe-open-connection): Apply the changed parameters.
12030         (tramp-smb-read-file-entry): Read Disk names in compressed format.
12031         Handle long file names.
12032         (tramp-smb-get-cifs-capabilities): Check, whether the connection
12033         process is running.
12034         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12035         Read share names with "-g" option.
12037 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
12039         * net/rcirc.el (rcirc-view-log-file): New command.
12040         (rcirc-track-minor-mode-map): Remove C-c ` binding.
12041         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12042         specified.
12044 2009-10-15  Glenn Morris  <rgm@gnu.org>
12046         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12047         from the second command-line argument.
12048         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12049         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12050         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12051         w32-batch-update-autoloads.
12052         * emacs-lisp/autoload.el (autoload-make-program): New variable.
12053         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12055         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12056         the headers cannot be located.  Simplify, subtracting superflous
12057         save-excursions.
12059 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12061         Replace completion-base-size by completion-base-position to fix bugs
12062         such as (bug#4699).
12063         * simple.el (completion-base-position): New var.
12064         (completion-base-size): Mark as obsolete.
12065         (choose-completion): Make it work for mouse events as well.
12066         Pass the new base-position to choose-completion-string.
12067         (choose-completion-guess-base-position): New function, extracted from
12068         choose-completion-delete-max-match.
12069         (choose-completion-delete-max-match): Use it.  Make obsolete.
12070         (choose-completion-string): Use the new base-position info.
12071         (completion-root-regexp): Delete.
12072         (completion-setup-function): Preserve completion-base-position.
12073         Eliminate obsolete base-size manipulation.
12074         * minibuffer.el (display-completion-list): Don't mess with base-size.
12075         (minibuffer-completion-help): Set completion-base-position instead.
12076         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12077         choose-completion.
12078         * textmodes/bibtex.el (bibtex-complete):
12079         * emacs-lisp/crm.el (crm--choose-completion-string):
12080         Adjust to new calling convention.
12081         * complete.el (partial-completion-mode): Use minibufferp to avoid
12082         bumping into incompatible change to choose-completion-string-functions.
12083         * ido.el (ido-choose-completion-string): Make its calling convention
12084         more permissive.
12085         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12086         base-size manipulation.
12087         (comint-dynamic-list-input-ring): Use dotimes and push.
12088         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12089         fundamental-mode.  Use `or'.
12091 2009-10-14  Juri Linkov  <juri@jurta.org>
12093         * misearch.el (multi-isearch-next-buffer-from-list)
12094         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
12096 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12098         * Makefile.in (compile-onefile): Load `bytecomp' rather than
12099         `bytecomp.el'.
12101         * minibuffer.el (completion-pcm--merge-completions): Make sure the
12102         string we return is all made up of text from the completions rather
12103         than part from the completions and part from the input (bug#4219).
12105         * ido.el (ido-everywhere): Use define-minor-mode.
12107         * buff-menu.el (list-buffers, ctl-x-map):
12108         Mark the entry points with ;;;###autoload cookies.
12110 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
12112         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12113         correctly in the detached head case.
12114         (vc-git-print-log): Remove unused binding.
12116         * vc.el (vc-responsible-backend): When a directory is passed for
12117         for registration create a VC repository if no backend is
12118         responsible for the directory argument.
12119         (vc-deduce-fileset): Tell vc-responsible-backend to register.
12121         * vc.el: Move comments about RCS and SCCS ...
12122         * vc-rcs.el:
12123         * vc-sccs.el: ... here, respectively.
12125 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12127         * minibuffer.el (completion--file-name-table): Return nil if there's
12128         no file completion, even if substitute-in-file-name changed
12129         the string (bug#4708).
12131 2009-10-13  Juri Linkov  <juri@jurta.org>
12133         * files-x.el (read-file-local-variable-value): Don't filter out
12134         minor modes from mode name completion (bug#4664).
12136 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
12138         * international/mule-cmds.el (ucs-names): Remove exclusion of
12139         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12141 2009-10-13  Kenichi Handa  <handa@m17n.org>
12143         * international/uni-name.el: Regenerated.
12145 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
12147         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
12148         should be automatically buffer-local, but isn't.)
12150 2009-10-12  Sam Steingold  <sds@gnu.org>
12152         * progmodes/compile.el (compilation-next-error-function): Fix the
12153         timestamps if the buffer has been visited before.
12154         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12155         non-anchored patterns, like the perl one (bug#3928).
12157 2009-10-12  Glenn Morris  <rgm@gnu.org>
12159         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12160         Let-bind `size'.
12162 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
12164         * proced.el (proced-unload-function): New function.
12166         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12167         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12168         Doc fix.
12170         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12172 2009-10-11  Juri Linkov  <juri@jurta.org>
12174         * files-x.el (read-file-local-variable-value):
12175         Provide default value only for bound variables (bug#4664).
12177 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
12179         * net/tramp.el (tramp-local-host-p): Function shall return nil for
12180         connection methods like smb.
12182         * net/tramp-cache.el (tramp-flush-connection-property): The hash
12183         can be empty.
12185         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12186         (tramp-smb-file-name-handler-alist): Add handlers for
12187         `add-name-to-file', `make-symbolic-link'.
12188         (tramp-smb-handle-add-name-to-file)
12189         (tramp-smb-do-file-attributes-with-stat)
12190         (tramp-smb-handle-make-symbolic-link)
12191         (tramp-smb-get-cifs-capabilities): New defuns.
12192         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12193         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12194         (tramp-smb-handle-file-local-copy)
12195         (tramp-smb-handle-make-directory-internal)
12196         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12197         The file name syntax depends on cifs capabilities.
12198         (tramp-smb-handle-file-attributes):
12199         Call `tramp-smb-do-file-attributes-with-stat' if possible.
12200         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12201         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12203 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
12205         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12206         (eieio-defclass): Apply deftype handler and setf-method properties
12207         directly.
12208         (eieio-add-new-slot): Avoid union function from cl library.
12209         (eieio--typep): New function.
12210         (eieio-perform-slot-validation): Use it.
12212 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
12214         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12215         Update documentation to refer to the variables documented in r1.135.
12216         (Bug#4188)
12218 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
12220         * bookmark.el (Info-suffix-list): Remove this unused variable.
12221         (bookmark-current-point): Remove this obsolete variable.
12222         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12223         Adjust for removal of bookmark-current-point.
12225         (bookmarks-already-loaded, bookmark-current-buffer)
12226         (bookmark-yank-point): Document.  (Bug#4188)
12228 2009-10-10  Glenn Morris  <rgm@gnu.org>
12230         * frame.el (frame-height): Doc fix.
12232         * calendar/calendar.el (calendar-split-width-threshold): New option.
12233         (calendar-basic-setup): Use calendar-split-width-threshold.
12235 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
12237         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12238         Ideographic Supplement" range (U+1F200..U+1F2FF).
12240 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12242         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12243         since the list will have been rebuilt anyway.  (Bug#4349)
12245 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12247         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12248         (bookmark-bmenu-execute-deletions): Don't save here, as
12249         bookmark-delete will now do so if necessary.
12250         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12251         (Bug#4348)
12253 2009-10-09  Glenn Morris  <rgm@gnu.org>
12255         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12257 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
12259         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12260         (bookmark-jump-other-window): Just invoke bookmark-jump with new
12261         argument now, so the two function's behaviors will match.  (Bug#3645)
12263 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
12265         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12266         (tramp-file-name-real-host, tramp-file-name-port):
12267         Apply `save-match-data'.
12269         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12270         case both directories are remote.
12271         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12272         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12274 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
12276         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12278 2009-10-07  Glenn Morris  <rgm@gnu.org>
12280         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12281         of concat.
12283 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12285         * files-x.el (read-file-local-variable): Include some
12286         non-user-variables in the completion table (bug#4664).
12288 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
12290         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12291         message.
12293         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12294         (tramp-smb-file-name-handler-alist): Add handler for
12295         `copy-directory', `expand-file-name', `set-file-modes'.
12296         (tramp-smb-handle-copy-directory)
12297         (tramp-smb-handle-expand-file-name)
12298         (tramp-smb-handle-set-file-modes): New defuns.
12299         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12300         (tramp-smb-handle-file-attributes): Simplify check for retrieving
12301         entry.
12302         (tramp-smb-handle-insert-directory): Don't flush the cache.
12303         (tramp-smb-maybe-open-connection): Check for samba client and
12304         server versions.
12306 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
12308         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12309         to not error out of search for "^lisp=" fails.
12311 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
12313         * makefile.w32-in (WINS_UPDATES): New macro.
12314         (custom-deps, finder-data, autoloads): Use it.
12316 2009-10-07  Glenn Morris  <rgm@gnu.org>
12318         * Makefile.in (autoloads): Revert previous change.
12319         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12320         the list of preloaded files passed on the command-line, get
12321         it from src/Makefile.
12323         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12324         show the original buffer rather than a random one.
12326 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
12328         * help.el (describe-no-warranty): Place point in a slightly better
12329         position in the GPLv3 text.
12331 2009-10-06  Sam Steingold  <sds@gnu.org>
12333         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12334         the comm attribute is present before calling regexp-quote.
12336 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
12338         * play/animate.el (animate-string): For good effect, make sure
12339         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12341         * play/animate.el (animate-sequence, animate-birthday-present):
12342         * misc.el (butterfly): Don't set `indent-tabs-mode'.
12344 2009-10-06  Glenn Morris  <rgm@gnu.org>
12346         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12348         * emacs-lisp/autoload.el (autoload-excludes): New variable.
12349         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12350         (batch-update-autoloads): Process a string value of autoload-excludes,
12351         set during the build process.
12352         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
12354         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12355         inside with-parsed...  macro so that `v' is defined.
12357         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12358         * progmodes/fortran.el (fortran-end-of-block)
12359         (fortran-beginning-of-block):
12360         Also push mark in the macro case.
12362         * emerge.el (emerge-show-file-name):
12363         * calc/calc.el (calc-quit):
12364         * calc/calc-misc.el (calc-big-or-small):
12365         * calc/calc-graph.el (calc-graph-view):
12366         * calc/calc-ext.el (calc-reset):
12367         * calendar/calendar.el (calendar-basic-setup):
12368         Use window-full-height-p.
12370         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12371         header we don't understand, don't insert another.  (Bug#4624)
12372         If changing mime charset, insert the new one in the right place.
12374 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
12376         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12377         (cal-tex-cursor-month): Correctly increment the end date for diary and
12378         holiday listing.  (Bug#4626)
12380 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12382         * help-fns.el (describe-function-1): Don't burp if the function is not
12383         a symbol.
12385 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
12387         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12388         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12389         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12390         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12392         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12393         (eieio-default-superclass): Reflow docstrings.
12394         (this, class-option-assoc, defclass, eieio-class-un-autoload)
12395         (eieio-unbind-method-implementations, defmethod)
12396         (eieio-validate-slot-value, eieio-validate-class-slot-value)
12397         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12398         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12399         (eieio-slot-originating-class-p, eieio-slot-name-index)
12400         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12401         (constructor, initialize-instance, no-next-method, object-print)
12402         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12403         Fix typos in docstrings.
12404         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12405         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12406         (next-method-p): Doc fixes.
12407         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12408         Fix typos in error messages.
12409         (eieio-defmethod): Fix typo in description of generic method.
12411         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12412         (eieio-persistent-save-interactive, slot-missing):
12413         Fix typos in docstrings.
12414         (eieio-instance-inheritor-slot-boundp): Doc fix.
12416         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12417         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12419         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12420         (eieio-custom-object-apply-reset):
12421         Fix typos in docstrings and error messages.
12423         * emacs-lisp/eieio-datadebug.el (data-debug-show):
12424         Fix typo in docstring.
12426         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12427         (eieio-browse-tree): Doc fix.
12428         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12429         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12430         Fix typos in docstrings.
12432         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12433         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12434         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12435         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12436         Reflow docstrings.
12438 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
12440         * vc-hg.el (log-view-vc-backend): Declare for compiler.
12441         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12442         Set log-view-vc-backend so that diff can work.
12444         * log-view.el (log-view-diff): Use vc-diff-internal instead of
12445         vc-version-diff.
12446         (vc-diff-internal): Autoload this instead of vc-version-diff.
12448 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
12450         * simple.el (eval-expression): Doc fix.
12452         * progmodes/cwarn.el (cwarn-mode): Doc fix.
12454 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
12456         * files.el (directory-files-no-dot-files-regexp): New defconst.
12457         (delete-directory): Use it.
12458         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
12460         * net/tramp.el (tramp-verbose): Fix docstring.
12461         (tramp-methods): Add recursive option to `tramp-copy-args'.
12462         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
12463         "scp1_old", "scp2_old", "rsync", "rsyncc".
12464         (tramp-default-method): Check also for `auth-source-user-or-password'.
12465         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12466         Add handler for `copy-directory'.
12467         (tramp-handle-copy-directory): New defun.
12468         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12469         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12470         Optimize sent command.
12472 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12474         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12475         window if necessary.
12477         * calendar/calendar.el (calendar-basic-setup): Don't call
12478         switch-to-buffer in a dedicated window.
12480 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
12482         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12483         don't do anything related to relocating, just return nil.
12484         (bookmark-error-no-filename): New error.
12485         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12486         bookmark has no file.  Don't even attempt to handle things that
12487         are not files; the whole point of custom handlers is to keep that
12488         knowledge elsewhere anyway.  Tighten some comments.
12489         (bookmark-file-or-variation-thereof): Remove now-unused function.
12490         (bookmark-location): Doc string fix.
12491         (Bug#4250)
12493 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12495         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12496         don't use a file dialog, because they usually don't know how to read
12497         a directory target from the user.  (Bug#4230)
12498         Also, make sure the prompt can display directories as well as files.
12500 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12502         * bookmark.el (bookmark-set, bookmark-buffer-name):
12503         Improve doc strings.  (Bug#1193)
12505 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12507         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12508         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12509         (bookmark-get-annotation, bookmark-set-annotation)
12510         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12511         (bookmark-set-position, bookmark-get-front-context-string)
12512         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12513         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12514         (bookmark-jump-other-window, bookmark-handle-bookmark)
12515         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12516         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12517         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12518         Improve doc strings to say whether bookmark can be a string or
12519         a record or both, and make other consistency and clarity fixes.
12520         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12521         (bookmark-default-annotation-text, bookmark-yank-word)
12522         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12523         (bookmark-import-new-list, bookmark-maybe-rename)
12524         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12525         (bookmark-bmenu-bookmark): Give these doc strings.
12526         (bookmark-bmenu-check-position): Give this a doc string, but also
12527         add a FIXME comment about how the function may be pointless.
12528         (bookmark-default-handler): Rework doc string and change a
12529         parameter name, to clarify that this takes a bookmark record
12530         not a bookmark name.
12531         (bookmark-set): Change a parameter name to indicate its meaning,
12532         and improve the doc string a bit.
12533         (Bug#4188)
12535 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12537         * bookmark.el (bookmark-alist): Document the new `handler' element
12538         in the param alist.
12539         (bookmark-make-record-function): Adjust documentation for above.
12540         (Bug#4193)
12542 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12544         * info.el (Info-bookmark-make-record): Document this function.
12545         (Info-bookmark-jump): Document with a doc string, not just a comment.
12546         (Bug#4203)
12548 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12550         * files.el (copy-directory): New defun.
12552         * dired-aux.el (dired-copy-file-recursive): Use it.
12554 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12556         * files-x.el (modify-dir-local-variable)
12557         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12558         docstrings.
12560         * recentf.el (recentf-unload-function): New function.
12562 2009-10-04  Glenn Morris  <rgm@gnu.org>
12564         * window.el (window-full-height-p): Add doc string.
12566 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12568         * window.el (window-full-height-p): New function.  (Bug#4543)
12570 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12572         * vc.el: Remove commented out code.
12573         (vc-derived-from-dir-mode): Remove, unused.
12574         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12576 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12578         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12579         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12580         there could be recursive loading when `default-directory' is a
12581         remote file name.  (Bug#4614)
12583 2009-10-03  Glenn Morris  <rgm@gnu.org>
12585         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12586         the frame is wide.
12587         (calendar-generate-window): Test for shrinkability rather than width.
12589         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12590         reusing existing buffers, in case we happen to visit two files with the
12591         same basename.  (Bug#4593)
12593 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12595         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12596         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12597         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12598         subdirs of cedet as well.
12599         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12601 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12603         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12604         Obey advertised-signature-table.
12606         * help-fns.el (help-function-arglist): Don't check
12607         advertised-signature-table.
12608         (describe-function-1): Do it here instead so it also applies to subrs.
12610 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12612         * simple.el (start-file-process): Say in the doc-string, that file
12613         handlers might not support pty association, if PROGRAM is nil.
12615         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12616         HOST and USER are strings.  They are nil, when there are
12617         incomplete entries in ~/.netrc, for example.
12618         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12619         root directory ("device busy" error otherwise).
12621         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12622         Flush file properties of created directory.
12624 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12626         * makefile.w32-in (WINS_BASIC): Remove cedet.
12627         (WINS_CEDET): Add cedet.
12628         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12630 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12632         * net/browse-url.el (browse-url): Pass any symbol in
12633         browse-url-browser-function to `apply', since if you've mistakenly put
12634         an unbound symbol then the error is clearer.  (Bug#4531)
12636 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12638         * allout.el (allout-init, allout-back-to-current-heading)
12639         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12640         (allout-ascend, allout-up-current-level, allout-end-of-level)
12641         (allout-previous-visible-heading, allout-forward-current-level)
12642         (allout-backward-current-level, allout-show-children):
12643         * apropos.el (apropos-describe-plist):
12644         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12645         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12646         * completion.el (add-completion, add-permanent-completion):
12647         * descr-text.el (describe-text-category, describe-char):
12648         * desktop.el (desktop-lazy-abort):
12649         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12650         * dired.el (dired-build-subdir-alist):
12651         * ediff.el (ediff-version):
12652         * elide-head.el (elide-head, elide-head-show):
12653         * emerge.el (emerge-version):
12654         * env.el (getenv):
12655         * face-remap.el (variable-pitch-mode):
12656         * faces.el (describe-face):
12657         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12658         (dired-at-point):
12659         * files.el (find-file-existing, auto-save-mode):
12660         * font-lock.el (font-lock-fontify-buffer):
12661         * help-fns.el (describe-function, describe-variable)
12662         (describe-syntax, describe-categories):
12663         * help.el (view-lossage, describe-bindings, describe-key)
12664         (describe-mode):
12665         * hexl.el (hexl-current-address):
12666         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12667         * info.el (Info-goto-emacs-key-command-node):
12668         * log-edit.el (log-edit-insert-cvs-template)
12669         (log-edit-insert-cvs-rcstemplate):
12670         * menu-bar.el (menu-bar-mode):
12671         * mouse.el (mouse-appearance-menu):
12672         * newcomment.el (comment-indent-new-line):
12673         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12674         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12675         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12676         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12677         * recentf.el (recentf-mode):
12678         * savehist.el (savehist-mode, savehist-save):
12679         * shadowfile.el (shadow-copy-files):
12680         * simple.el (kill-ring-save, next-line, previous-line)
12681         (normal-erase-is-backspace-mode):
12682         * strokes.el (strokes-update-window-configuration)
12683         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12684         (strokes-xpm-for-stroke):
12685         * time.el (emacs-uptime, emacs-init-time):
12686         * tutorial.el (tutorial--describe-nonstandard-key)
12687         (tutorial--detailed-help):
12688         * type-break.el (type-break-mode)
12689         (type-break-mode-line-message-mode, type-break-query-mode)
12690         (type-break-guesstimate-keystroke-threshold):
12691         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12692         * version.el (emacs-version):
12693         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12694         * winner.el (winner-mode):
12695         * calendar/timeclock.el (timeclock-in, timeclock-out)
12696         (timeclock-status-string, timeclock-change)
12697         (timeclock-workday-remaining-string)
12698         (timeclock-workday-elapsed-string)
12699         (timeclock-when-to-leave-string):
12700         * calendar/todo-mode.el (todo-add-category):
12701         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12702         * emacs-lisp/autoload.el (update-file-autoloads):
12703         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12704         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12705         (checkdoc-message-text, checkdoc-defun):
12706         * emacs-lisp/debug.el (debugger-list-functions):
12707         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12708         * emacs-lisp/eieio-opt.el (eieio-describe-class)
12709         (eieio-describe-generic):
12710         * emacs-lisp/lisp-mnt.el (lm-synopsis):
12711         * emacs-lisp/shadow.el (list-load-path-shadows):
12712         * emulation/cua-base.el (cua-mode):
12713         * emulation/edt.el (edt-set-scroll-margins):
12714         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12715         (tpu-toggle-regexp, tpu-toggle-search-direction)
12716         (tpu-toggle-rectangle, tpu-toggle-control-keys):
12717         * emulation/tpu-extras.el (tpu-set-scroll-margins):
12718         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12719         (viper-set-parsing-style-toggling-macro)
12720         (viper-set-emacs-state-searchstyle-macros):
12721         * emulation/viper.el (viper-set-hooks):
12722         * eshell/esh-mode.el (eshell-truncate-buffer):
12723         * international/mule-cmds.el (prefer-coding-system)
12724         (describe-input-method, describe-language-environment):
12725         * international/mule-diag.el (list-character-sets)
12726         (describe-character-set, describe-coding-system)
12727         (describe-fontset, list-fontsets, list-input-methods):
12728         * mail/sendmail.el (mail-signature):
12729         * net/ange-ftp.el (ange-ftp-copy-file):
12730         * net/browse-url.el (browse-url):
12731         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12732         * net/quickurl.el (quickurl-add-url):
12733         * net/rcirc.el (names, topic):
12734         * net/xesam.el (xesam-mode):
12735         * play/5x5.el (5x5-new-game):
12736         * play/yow.el (apropos-zippy):
12737         * progmodes/ada-mode.el (ada-mode-version):
12738         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12739         (f90-end-of-block)
12740         (f90-beginning-of-block):
12741         * progmodes/fortran.el (fortran-end-of-block)
12742         (fortran-beginning-of-block):
12743         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12744         * progmodes/python.el (python-describe-symbol, python-shell):
12745         * term/ns-win.el (ns-print-buffer):
12746         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12747         * textmodes/flyspell.el (flyspell-mode-on):
12748         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12749         (pages-directory-for-addresses):
12750         * textmodes/table.el (table-recognize-cell)
12751         (table-query-dimension, table-generate-source)
12752         (table-insert-sequence, table--warn-incompatibility):
12753         * textmodes/tex-mode.el (tex-validate-buffer):
12754         * textmodes/texinfmt.el (texinfmt-version)
12755         (texinfo-format-buffer):
12756         Use `called-interactively-p' instead of `interactive-p'.
12758 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12760         * image-mode.el (image-toggle-display):
12761         * emacs-lisp/elp.el (elp-instrument-function):
12762         * emacs-lisp/advice.el (ad-make-advised-definition):
12763         * emacs-lisp/easy-mmode.el (define-minor-mode):
12764         * net/browse-url.el (browse-url-maybe-new-window):
12765         * progmodes/sh-script.el (sh-learn-buffer-indent):
12766         Pass new argument 'any to `called-interactively-p'.
12768 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
12770         * international/uni-bidi.el:
12771         * international/uni-category.el:
12772         * international/uni-combining.el:
12773         * international/uni-comment.el:
12774         * international/uni-decimal.el:
12775         * international/uni-decomposition.el:
12776         * international/uni-digit.el:
12777         * international/uni-lowercase.el:
12778         * international/uni-mirrored.el:
12779         * international/uni-name.el:
12780         * international/uni-numeric.el:
12781         * international/uni-old-name.el:
12782         * international/uni-titlecase.el:
12783         * international/uni-uppercase.el:
12784         Regenerate from Unicode 5.2.0 data.
12786 2009-10-01  Glenn Morris  <rgm@gnu.org>
12788         * Makefile.in (ELCFILES): Regenerate.
12790 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * subr.el (interactive-p): Mark obsolete.
12793         (called-interactively-p): Make the optional-ness of `kind' obsolete.
12794         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12795         advertised-signature-table for subroutines as well.
12797         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12798         (set-advertised-calling-convention): New function.
12799         (make-obsolete, define-obsolete-function-alias)
12800         (make-obsolete-variable, define-obsolete-variable-alias):
12801         Make the optional-ness of `when' obsolete.
12802         (define-obsolete-face-alias): Make `when' non-optional.
12803         * help-fns.el (help-function-arglist):
12804         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12805         Use advertised-signature-table.
12807 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
12809         * files.el (delete-directory): New defun.  The original function
12810         in fileio.c has been renamed to `delete-directory-internal'.
12812         * dired.el (dired-delete-file): Call `delete-directory' with
12813         RECURSIVE parameter.
12815         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12816         parameter RECURSIVE.  Implementation is missing.
12818         * net/tramp.el (tramp-handle-make-directory): Flush upper
12819         directory's file properties.
12820         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12821         (tramp-handle-dired-recursive-delete-directory): Flush directory
12822         properties after the remove command only.
12824         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12825         Handle optional parameter RECURSIVE.
12827         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12828         Handle optional parameter RECURSIVE.
12830         * net/tramp-smb.el (tramp-smb-errors): Add error message for
12831         connection timeout.
12832         (tramp-smb-handle-delete-directory): Handle optional parameter
12833         RECURSIVE.
12835 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12837         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12838         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12839         (byte-compile-defmacro): Use backquotes.
12841         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12843         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12844         has no associated file.
12845         (vc-resynch-buffer): Use vc-dir-buffers.
12847 2009-10-01  Glenn Morris  <rgm@gnu.org>
12849         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12850         (chart-file-count):
12851         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12852         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12853         * emacs-lisp/eieio-opt.el (eieio-describe-class):
12854         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12855         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12856         (eieio-copy-parents-into-subclass, make-instance, class-children)
12857         (eieio-generic-form):
12859         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12860         match-data.  (Bug#4555).
12862         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12863         rather than parsing it as a regexp.  This relaxes the layout
12864         requirements and makes errors easier to detect.
12865         (check-declare-verify): Check file is regular.
12866         (check-declare-directory): Doc fix.
12867         * subr.el (declare-function): Doc fix.
12869         * ibuffer.el (ibuffer-format-qualifier):
12870         * isearch.el (hi-lock-regexp-okay):
12871         * calc/calc.el (math-zerop):
12872         * mail/uce.el (rmail-msgbeg, rmail-msgend):
12873         * term/w32-win.el (setup-default-fontset, set-fontset-font):
12874         Remove unused declarations.
12876 2009-09-30  Glenn Morris  <rgm@gnu.org>
12878         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12880         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12881         filename is not a string.
12883 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
12885         * files.el (safe-local-eval-forms): Fix typo.
12887 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12889         * vc-hooks.el (vc-dir-buffers): New var.
12890         (vc-state-refresh): New function.
12891         (vc-state): Use it.
12892         (vc-after-save): Always ask the backend to recompute the new state.
12893         Always call vc-dir if necessary, using vc-dir-buffers.
12894         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12895         Use vc-dir-buffers.
12896         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12897         (vc-dir-prepare-status-buffer, vc-dir-update)
12898         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12899         Don't call expand-file-name on default-directory.
12901 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12903         * speedbar.el (speedbar-item-delete):
12904         * calc/calc-prog.el (calc-kbd-if):
12905         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12907         * epa.el (epa-key-list-mode-map):
12908         * hi-lock.el (hi-lock-menu): Fix typos in menus.
12910         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12911         (hs-show-hook): Fix typo in docstring.
12913 2009-09-29  Glenn Morris  <rgm@gnu.org>
12915         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12916         file-name-nondirectory call preventing location of cedet files.
12917         (check-declare-verify): Use literal search rather than re-search.
12918         Add basic defmethod and defclass, and define-overloadable-function.
12920         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12921         Use tramp-compat-file-attributes rather than nonexistent
12922         tramp-compat-handle-file-attributes.
12924         * Makefile.in (lisptagsfiles4): New.
12925         (AUTOGENEL): Add cedet loaddefs files.
12926         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12927         (update-elclist, compile-always, backup-compiled-files)
12928         (bootstrap-clean): Add yet another directory level.
12929         (update-elclist): Use LC_COLLATE rather than COLLATE.
12930         (ELCFILES): Update, via `make update-elclist'.
12932 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12934         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12935         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12936         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12938 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12940         * Makefile.in (lisptagsfiles3): Define.
12941         (TAGS, TAGS-LISP): Use it.
12942         (update-elclist): Add third directory level to look for elc files.
12943         (compile-always): Likewise.
12944         (backup-compiled-files): Likewise.
12945         (bootstrap-clean): Likewise.
12946         (ELCFILES): Update.
12948 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
12950         * Makefile.in (ELCFILES): Add CEDET files.
12952 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
12954         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12956         * net/tramp.el (top): Require tramp-imap.
12958         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12959         Use `tramp-compat-handle-file-attributes'.
12961 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
12963         * net/tramp-imap.el: New package.
12965 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12967         * whitespace.el (whitespace-trailing-regexp)
12968         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12969         Fix doc string.
12971 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
12973         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12974         menu.
12976         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12977         menu-bar-ediff-menu.
12979         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12980         define-overloadable-function.
12982         * progmodes/autoconf.el: Provide autoconf as well, so that this
12983         file can be `require'd.
12985         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12987         * emacs-lisp/autoload.el (generated-autoload-feature)
12988         (generated-autoload-load-name): New vars.
12989         (autoload-rubric, autoload-generate-file-autoloads): Use them.
12990         (make-autoload): Recognize define-overloadable-function and
12991         defclass forms (for EIEIO).
12993         * Makefile.in (update-subdirs): Exclude cedet directory.
12995 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
12997         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
12999         * faces.el: Default light-background background for region face to
13000         ns_selection_color under NS.
13002 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
13004         * net/imap-hash.el: New library, see NEWS.
13006         * Makefile.in (ELCFILES): Add imap-hash.el.
13008 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13010         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13011         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13012         * help-macro.el (make-help-screen): Avoid using an ambiguous function
13013         definition where the docstring could be taken for the return value.
13015 2009-09-26  Glenn Morris  <rgm@gnu.org>
13017         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13018         Add option to only show images below a certain size.
13019         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13020         save-excursion calls.
13022 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
13024         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13025         subdirectories) and eieio.
13027 2009-09-26  Alan Mackenzie  <acm@muc.de>
13029         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13030         buggy bracketing.  (Bug#4289)
13032         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13033         character constants (as case labels).  (Bug#4289)
13035 2009-09-25  Juri Linkov  <juri@jurta.org>
13037         * files.el (safe-local-eval-forms): Allow time-stamp in
13038         before-save-hook (Bug#4554).
13040 2009-09-25  Drew Adams  <drew.adams@oracle.com>
13042         * menu-bar.el (list-buffers-directory): Doc fix.
13044 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13046         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13047         Try and avoid copying twice the same paragraph.
13048         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13049         Remove save-excursion.
13050         (log-edit-changelog-entry): Do it here instead.
13052 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
13054         * bs.el (bs--get-file-name): Use `list-buffers-directory'
13055         when available, instead of hardcoding mode names.  Doc fix.
13057         * menu-bar.el (list-buffers-directory): Add docstring.
13058         Make automatically buffer-local.
13060         * dired.el (dired-mode):
13061         * files.el (cd-absolute):
13062         * pcvs.el (cvs-temp-buffer):
13063         * pcvs-util.el (cvs-get-buffer-create):
13064         * shell.el (shell-mode):
13065         * vc-dir.el (vc-dir-mode):
13066         Don't make `list-buffers-directory' buffer local.
13068 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
13070         * comint.el (comint-exec, comint-run, make-comint):
13071         Doc fixes (Bug#4542).
13073 2009-09-25  Glenn Morris  <rgm@gnu.org>
13075         * mail/rmailmm.el (rmail-mime): New custom group.
13076         Move all defcustoms in this file into this group.
13077         (rmail-mime-media-type-handlers-alist): Revert previous change.
13078         (rmail-mime-show-images): New option.
13079         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13080         references to it, since it wasn't actually used for anything.
13081         (rmail-mime-insert-image): New function.
13082         (rmail-mime-image): Use rmail-mime-insert-image.
13083         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13084         obey the value of `rmail-mime-show-images' option.  Print the size of
13085         attachments.
13087 2009-09-25  David Engster  <deng@randomsample.de>
13089         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
13091 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13093         * whitespace.el: Does not highlight trailing spaces While point is
13094         at end of line.  Does not highligt spaces at beginning of buffer
13095         while point is at beginning of buffer.  Does not highlight spaces
13096         at end of buffer while point is at end of buffer.  (Bug#4177)
13097         New version 12.0.
13098         (whitespace-display-mappings): Adjust initialization.
13099         (whitespace-point, whitespace-font-lock-refontify): New vars.
13100         (whitespace-color-on, whitespace-color-off): Adjust code.
13101         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13102         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13103         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13105 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
13107         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13109         * textmodes/sgml-mode.el: Remove xml-mode alias.
13111         * files.el (auto-mode-alist, conf-mode-maybe)
13112         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13114 2009-09-24  Alan Mackenzie  <acm@muc.de>
13116         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13117         c-forward-conditionals, but it doesn't move point and doesn't set
13118         the mark.
13119         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13120         (c-down-conditional-with-else, c-backward-conditional)
13121         (c-forward-conditional): Refactor to use c-scan-conditionals.
13123 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
13125         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13126         (help-default-arg-highlight): Remove.
13127         (help-highlight-arg): New function.
13128         (help-do-arg-highlight): Use it.
13129         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
13131 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13133         * term.el (term-set-scroll-region, term-handle-ansi-escape):
13134         Undo last change, which didn't fix the problem and introduced others.
13136 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
13138         * progmodes/gdb-mi.el: Don't require speedbar.
13139         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13141 2009-09-24  Glenn Morris  <rgm@gnu.org>
13143         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13145         * term/ns-win.el (ns-reg-to-script): Define for compiler.
13147         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13148         there is no newline after the final mime boundary.  (Bug#4539)
13149         Move markers on insertion so that any buttons inserted don't end up in
13150         the next part of a multipart message.
13151         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
13152         (rmail-mime-bulk-handler): Optionally handle images.
13153         (rmail-mime-image): New button action.
13154         (rmail-mime-image-handler): New function.
13155         (rmail-mime-mode): New mode.
13156         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
13158 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13160         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13161         than just dropping elements from it (bug#4504).
13163         * term.el (term-set-scroll-region): Don't move cursor any more.
13164         (term-handle-ansi-escape): Call term-goto here instead.
13165         Suggested by Ivan Kanis <apple@kanis.eu>.
13167         * term.el: Require CL.
13168         (term-ansi-reset): New function.
13169         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13170         (term-handle-colors-array): Simplify.
13172 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
13174         * allout.el (allout-overlay-interior-modification-handler)
13175         (allout-obtain-passphrase):
13176         * epa-file.el (epa-file-write-region):
13177         * ps-print.el (ps-begin-job):
13178         * vc-hooks.el (vc-toggle-read-only):
13179         * vc-rcs.el (vc-rcs-rollback):
13180         * vc-sccs.el (vc-sccs-rollback):
13181         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13182         (vc-version-diff, vc-revert, vc-rollback):
13183         * wdired.el (wdired-check-kill-buffer):
13184         * emacs-lisp/authors.el (authors):
13185         * net/socks.el (socks-open-connection):
13186         * net/zeroconf.el (zeroconf-service-add-hook):
13187         * obsolete/vc-mcvs.el (vc-mcvs-register):
13188         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13189         (gdb-select-frame):
13190         * progmodes/grep.el (lgrep, rgrep):
13191         * progmodes/idlw-help.el (idlwave-help-check-locations)
13192         (idlwave-help-html-link, idlwave-help-assistant-open-link):
13193         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13194         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13195         (reftex-toc-rename-label): Fix typos in error messages.
13197         * dired-aux.el (dired-do-shell-command): Reflow docstring.
13198         (dired-copy-how-to-fn): Doc fix.
13199         (dired-files-attributes, dired-read-shell-command):
13200         Fix typos in docstrings.
13202         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13203         (dired-x-find-file-other-window): Reflow docstrings.
13204         (dired-omit-marker-char, dired-read-shell-command)
13205         (dired-x-submit-report): Fix typos in docstrings.
13207         * shell.el (shell-mode-hook):
13208         * view.el (View-scroll-line-forward):
13209         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13210         Fix typos in docstrings.
13212         * net/dig.el (dig-invoke): Fix typo in docstring.
13213         (query-dig): Reflow docstring.
13215         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13216         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13217         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13218         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13219         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13220         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13221         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13222         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13223         (idlwave-completion-map, idlwave-current-indent)
13224         (idlwave-custom-ampersand-surround, idlwave-customize)
13225         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13226         (idlwave-define-abbrev, idlwave-determine-class-special)
13227         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13228         (idlwave-end-block-reg, idlwave-end-of-statement)
13229         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13230         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13231         (idlwave-explicit-class-listed, idlwave-file-header)
13232         (idlwave-fill-paragraph, idlwave-find-class-definition)
13233         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13234         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13235         (idlwave-in-quote, idlwave-indent-action-table)
13236         (idlwave-indent-expand-table, idlwave-indent-line)
13237         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13238         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13239         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13240         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13241         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13242         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13243         (idlwave-outlawed-buffers, idlwave-popup-select)
13244         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13245         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13246         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13247         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13248         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13249         (idlwave-statement-type, idlwave-struct-skip)
13250         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13251         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13252         (idlwave-what-module-find-class): Fix typos in docstrings.
13253         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13254         (idlwave-calculate-cont-indent, idlwave-expand-equal)
13255         (idlwave-find-module, idlwave-find-structure-definition)
13256         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13257         (idlwave-list-load-path-shadows, idlwave-next-statement)
13258         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13259         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13260         (idlwave-template): Reflow docstrings.
13262         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13263         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13264         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13265         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13266         (idlwave-shell-display-line, idlwave-shell-display-wframe)
13267         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13268         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13269         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13270         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13271         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13272         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13273         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13274         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13275         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13276         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13277         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13278         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13279         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13280         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13281         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13282         Fix typos in docstrings.
13283         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13284         (idlwave-shell-hide-output, idlwave-shell-mode)
13285         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13286         Reflow docstrings.
13288         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13290 2009-09-24  Ivan Kanis  <apple@kanis.eu>
13292         * term.el (term-bold-attribute): New var.
13293         (term-handle-colors-array): Use it.
13295 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
13297         * progmodes/gdb-mi.el (gdb-version): New variable.
13298         (gdb-non-stop-handler): Set gdb-version.
13299         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13300         Condition "--thread" option on gdb-version.
13301         (gdb-invalidate-threads): Remove unused argument.
13303 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13305         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13306         to looking-back to avoid ridiculous slow down in large files (bug#4511).
13308 2009-09-23  Glenn Morris  <rgm@gnu.org>
13310         * mail/rmail.el (rmail-reply): Don't try to add a References header when
13311         replying to mail without References or Message-Id.  (Bug#4525)
13313 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
13315         * term/ns-win.el (ns-reg-to-script): New variable.
13317 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
13319         * epg.el (epg-wait-for-status): Preserve existing 'error results.
13321 2009-09-22  Sam Steingold  <sds@gnu.org>
13323         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13324         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13325         to 1 because hg returns status 1 when nothing is found.
13326         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13328 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13330         * textmodes/fill.el: Convert to utf-8 encoding.
13331         (fill-french-nobreak-p): Remove redundant » and « inherited from our
13332         pre-Unicode days.
13334         * add-log.el (change-log-fill-forward-paragraph): New function.
13335         (change-log-mode): Use it so fill-region DTRT.
13336         Set fill-indent-according-to-mode here rather than in
13337         change-log-fill-paragraph.
13338         (change-log-fill-paragraph): Remove.
13340 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
13342         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13343         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
13345 2009-09-22  Glenn Morris  <rgm@gnu.org>
13347         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13348         the scroll-bar scroll the calendar window rather than the buffer.
13350         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13351         commands that move point (as opposed to scrolling).
13353         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13355         * emacs-lisp/elint.el (elint): New custom group.
13356         (elint-log-buffer): Make it a defcustom.
13357         (elint-scan-preloaded, elint-ignored-warnings)
13358         (elint-directory-skip-re): New options.
13359         (elint-builtin-variables): Doc fix.
13360         (elint-preloaded-env): New variable.
13361         (elint-unknown-builtin-args): Add an entry for encode-time.
13362         (elint-extra-errors): Make it a variable rather than a constant.
13363         (elint-preloaded-skip-re): New constant.
13364         (elint-directory): Skip files matching elint-directory-skip-re.
13365         (elint-features): New variable, local to linted buffers.
13366         (elint-update-env): Initialize elint-features.  Possibly add
13367         elint-preloaded-env to the buffer's environment.
13368         (elint-get-top-forms): Bind elint-current-pos, for log messages.
13369         Skip quoted forms.
13370         (elint-init-form): New function, extracted from elint-init-env.
13371         Make non-list forms a warning rather than an error.
13372         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
13373         easy-menu-define, put that adds an error-condition, and provide.
13374         When requiring cl, also require cl-macs.  Really require cl, to handle
13375         some cl macros.  Store required libraries in the list elint-features,
13376         so as not to re-load them.  Treat cc-require like require.
13377         (elint-init-env): Call elint-init-form to do the work.
13378         Handle eval-and-compile and such like.
13379         (elint-add-required-env): Do not clear messages.
13380         (elint-special-forms): Add handlers for function, defalias, if, when,
13381         unless, and, or.
13382         (elint-form): Add optional argument to ignore elint-special-forms,
13383         useful to prevent recursive calls from handlers.  Doc fix.
13384         Respect elint-ignored-warnings.
13385         (elint-form): Respect elint-ignored-warnings.
13386         (elint-bound-variable, elint-bound-function): New variables.
13387         (elint-unbound-variable): Respect elint-bound-variable.
13388         (elint-get-args): Respect elint-bound-function.
13389         (elint-check-cond-form): Add some simple handling for (f)boundp and
13390         featurep tests.
13391         (elint-check-defalias-form): New handler.
13392         (elint-check-let-form): Make an empty let a warning rather than an
13393         error.
13394         (elint-check-setq-form): Make an empty setq a warning rather than an
13395         error.  Respect elint-ignored-warnings.
13396         (elint-check-defvar-form): Accept null doc-strings.
13397         (elint-check-conditional-form): New handler.  Does some simple-minded
13398         checking of featurep and (f)boundp tests.
13399         (elint-put-function-args): New function.
13400         (elint-initialize): Use elint-scan-doc-file rather than
13401         elint-find-builtin-variables.  Use elint-put-function-args.
13402         Possibly scan preloaded-file-list.
13403         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13404         extend to handle functions as well.
13406 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
13408         * linum.el (linum-delete-overlays, linum-update-window):
13409         Do not modify the right margin.  (Bug#3971)
13411 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
13413         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13414         nxml-mode instead of xml-mode.
13416 2009-09-21  Kevin Ryde  <user42@zip.com.au>
13418         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
13420 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13422         * net/dig.el (dig-mode): Use define-derived-mode.
13424 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
13426         * vc-dispatcher.el (vc-do-command): Return the process object in
13427         the asynchronous case.  Use when instead of if.  Do not run
13428         vc-exec-after to display a message if not enabled.  (Bug#4463)
13430         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13431         properties to the stash strings.
13432         (vc-git-stash-list): Return a list of strings.
13433         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13434         (vc-git-stash-show-at-point): New functions.
13435         (vc-git-stash-map): New keymap.
13437         * register.el (ctl-x-r-map): Define the keys here instead of
13438         using autoload.
13440 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
13442         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13443         list, to workaround performance problem (bug#4485).
13445 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
13447         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13449 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
13451         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13452         Document that this option is not recommended to use.
13454 2009-09-19  Glenn Morris  <rgm@gnu.org>
13456         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13457         variable `var'.
13459         * calc/calc-alg.el (var):
13460         * calc/calcalg2.el (var): Define for compiler.
13462 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
13464         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13465         Doc fix (Bug#3932).
13467         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13469         * time-stamp.el (time-stamp-month-dd-yyyy)
13470         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13471         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13472         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13473         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13474         Remove functions that have been obsolete since 1995 (Bug#4436).
13476         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13477         indent buffer only if called interactively (Bug#4452).
13479 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
13480             Eli Zaretskii  <eliz@gnu.org>
13482         This fixes bug#4197 (merged to bug#865, though not identical).
13483         * server.el (server-auth-dir): Add docstring note about FAT32.
13484         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13485         but warn against using them.
13487 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
13489         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13490         older GDB where there is no has_more field.
13492 2009-09-19  Glenn Morris  <rgm@gnu.org>
13494         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13496 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13498         * files.el (auto-mode-alist): Change default for XML files to nXML
13499         mode (Bug#4169).
13501 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13503         * server.el (server-ensure-safe-dir): Pass 'integer
13504         to `file-attributes', as suggested.
13506 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13508         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13509         (dired-query): Use read-key.
13511 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13513         * cus-start.el (ns-use-qd-smoothing): Remove.
13515 2009-09-18  Glenn Morris  <rgm@gnu.org>
13517         * allout.el (top-level): Remove unnecessary progn.
13519         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13521         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13522         definition of abbrev table.
13524         * speedbar.el (speedbar-track-mouse):
13525         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13526         * net/eudc.el (eudc-expand-inline):
13527         * net/newst-backend.el (newsticker--cache-read-feed):
13528         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13529         condition-case handlers.
13531 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13533         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13534         (gdb-var-list): Add an element for has_more field.
13535         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13536         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13537         (gdb-var-update-handler-1): Parse output of dynamic variable
13538         objects (STL containers).
13539         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13540         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13542         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13543         gdb-var-list.
13544         (gud-speedbar-buttons): Make node expandable if expression "has more"
13545         children.
13547 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13549         * startup.el (emacs-quick-startup): Remove variable and all uses.
13550         (command-line): Set `inhibit-x-resources' instead.
13551         (command-line-1): Use `inhibit-x-resources' instead.
13553 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13555         * subr.el: Fix last change to avoid using the `unless' macro,
13556         which breaks bootstrapping.
13558 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13560         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13561         extended definitions, in case we reload subr.el after having
13562         loaded CL.
13563         (eval-next-after-load): Mark as obsolete.
13565 2009-09-17  Juri Linkov  <juri@jurta.org>
13567         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13568         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13569         (menu-bar-showhide-menu, menu-bar-tools-menu)
13570         (menu-bar-describe-menu, menu-bar-help-menu)
13571         (minibuffer-local-completion-map, minibuffer-local-map):
13572         Fix list quoting.
13574 2009-09-17  Glenn Morris  <rgm@gnu.org>
13576         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13577         arguments, whether or not it has a handler.
13579         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13581         * simple.el (hard-newline): Give it a doc-string.
13583         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13584         (lisp-mode-syntax-table): Give them doc-strings.
13586 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13588         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13589         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13590         (menu-bar-options-menu, menu-bar-showhide-menu)
13591         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13592         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13593         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13594         (menu-bar-options-menu, menu-bar-tools-menu)
13595         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13596         (menu-bar-help-menu):
13597         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13598         string arguments.
13600         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13601         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13602         calls for the menu names and :help.
13604 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13606         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13607         to :minor-mode-function (bug#4455).
13609 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13611         * startup.el (command-line): Initialize the window-system after
13612         processing the command-line.
13614         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13615         page-delimiter matches the empty string.
13617 2009-09-16  Glenn Morris  <rgm@gnu.org>
13619         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13620         byte-compile-not-obsolete-var.  It's a list now.
13621         (byte-compile-not-obsolete-funcs): New variable.
13622         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13623         byte-compile-not-obsolete-funcs.
13624         (byte-compile-variable-ref, byte-compile-defvar): Update for
13625         byte-compile-not-obsolete-vars name-change and list nature.
13626         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13627         and variables behind (f)boundp tests.
13628         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13630 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13632         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13634 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13636         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13637         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13638         Don't autoload.
13640 2009-09-15  Stephen Eglen  <stephen@gnu.org>
13642         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13643         the virtual-buffers, use the name of the buffer specified by
13644         find-file-noselect, as the match may be a symlink.  (This was a
13645         problem if the target and the symlink had different names.)
13647 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13649         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13651         * desktop.el (desktop-path): Check user-emacs-directory.
13653         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13655         * loadup.el: Use after-load-functions to GC after loading each file.
13656         Remove the explicit GC calls that used to be sprinkled around.
13658         * subr.el (after-load-functions): New hook.
13659         (do-after-load-evaluation): Run it.  Use string-match-p to detect
13660         `obsolete' packages, rather than painfully extracting the relevant
13661         directory name.
13663 2009-09-15  Glenn Morris  <rgm@gnu.org>
13665         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13666         free variable `doc'.
13668         * dired.el (dired-mode-map): Add menu entry for async shell command.
13670         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13671         variables, also consider the .elc files, since the .el files are
13672         normally gzipped (subsequent code locates the .el.gz from the .elc).
13674         * calc/calc-prog.el (arglist): Define for compiler.
13676         * calendar/diary-lib.el (diary-display-function): Change the default to
13677         fancy display.
13678         (body): Define for compiler.
13680         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13681         (byte-compile-file-form, byte-compile-lambda)
13682         (byte-compile-top-level-body, byte-compile-form)
13683         (byte-compile-variable-ref, byte-compile-setq)
13684         (byte-compile-setq-default, byte-compile-body)
13685         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13686         (batch-byte-compile): Give some more local variables with common names
13687         a "bytecomp-" prefix to avoid masking warnings about free variables.
13689         * startup.el (command-line-1): Give local variables with common names a
13690         distinguishing prefix, so as not to hide free variable warnings during
13691         bootstrap.
13693         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13694         clever and add a suffix to make a unique name, just let the user decide
13695         whether or not to overwrite it.  If the input is a directory, write the
13696         default filename to that directory.  (Bug#4388)
13697         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13698         is a filename-as-a-directory.
13700 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13702         * textmodes/page.el (what-page): Don't move to beginning of line.
13703         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13705 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13707         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13709 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
13711         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13712         * help.el (help-for-help-internal): Add purecopy calls for text.
13714         * vc.el (top): print-log method now takes an optional SHORTLOG
13715         argument.  Add a new method: root.
13716         (vc-root-diff, vc-print-root-log): New functions.
13717         (vc-log-short-style): New variable.
13718         (vc-print-log-internal): Add support for showing short logs.
13720         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13721         vc-print-root-log and vc-print-root-diff.
13723         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13724         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13725         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13726         short logs.
13728         * vc-cvs.el (vc-cvs-print-log):
13729         * vc-mtn.el (vc-mtn-print-log):
13730         * vc-rcs.el (vc-rcs-print-log):
13731         * vc-sccs.el (vc-sccs-print-log):
13732         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13733         that is ignored for now.
13735         * vc-mtn.el (vc-mtn-annotate-command):
13736         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13738 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13740         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13741         to function-key-map, and give them ascii-character property.
13742         * term/x-win.el (x-alternatives-map):
13743         * term/ns-win.el (ns-alternatives-map):
13744         * term/internal.el (msdos-key-remapping-map):
13745         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13747 2009-09-14  Glenn Morris  <rgm@gnu.org>
13749         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13750         temp-buffers (2009-09-12).
13752 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13754         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13755         the new read-key function.
13757 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13759         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13760         is defined (Bug#4405).
13762 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
13764         * recentf.el (recentf-cleanup): Use a hash table to find
13765         duplicates (Bug#4407).
13767 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
13769         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13770         kp-0 to ascii equivalents (Bug#4325).
13772 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13774         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13776         * eshell/em-hist.el:
13777         * eshell/em-dirs.el (eshell-complete-user-reference):
13778         Declare pcomplete functions and variables to avoid compiler warnings.
13780 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
13782         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13783         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13784         * eshell/em-alias.el (eshell-aliases-file):
13785         * eshell/em-hist.el (eshell-history-file-name):
13786         Use expand-file-name instead of concat to make file names (Bug#4308).
13788 2009-09-13  Glenn Morris  <rgm@gnu.org>
13790         * ediff-merg.el (ediff-do-merge):
13791         * filesets.el (filesets-run-cmd):
13792         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13793         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13794         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13795         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13796         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13797         Replace empty `let's with `progn'.
13799 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13801         * mail/sendmail.el (send-mail-function):
13802         * tooltip.el (tooltip-mode):
13803         * simple.el (transient-mark-mode):
13804         * rfn-eshadow.el (file-name-shadow-mode):
13805         * frame.el (blink-cursor-mode):
13806         * font-core.el (global-font-lock-mode):
13807         * files.el (temporary-file-directory)
13808         (small-temporary-file-directory, auto-save-file-name-transforms):
13809         * epa-hook.el (auto-encryption-mode):
13810         * composite.el (global-auto-composition-mode):
13811         Use custom-initialize-delay.
13812         * startup.el (command-line): Don't explicitly call
13813         custom-reevaluate-setting for all the above vars.
13814         * custom.el (custom-initialize-safe-set)
13815         (custom-initialize-safe-default): Delete.
13817 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13819         * term/x-win.el (x-initialize-window-system):
13820         * term/w32-win.el (w32-initialize-window-system):
13821         * term/ns-win.el (ns-initialize-window-system): Don't call
13822         mouse-wheel-mode since it's enabled globally by default already.
13824         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13825         actually define the variable, but only silences the byte-compiler.
13826         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13827         before looking it up.
13828         (mouse-wheel-scroll-amount): Also reset the bindings if this value
13829         is changed.
13831 2009-09-12  Glenn Morris  <rgm@gnu.org>
13833         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13834         1000.
13835         (elint-add-required-env): Don't beep on error.
13836         (elint-forms): In case of error, return ENV unchanged.
13837         (elint-init-env): Skip non-list forms.
13838         (elint-log): Handle unknown file positions.
13840 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
13842         * epg.el (epg-make-context): Add autoload cookie.
13843         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13844         (epg-decrypt-string, epg-start-verify, epg-verify-file)
13845         (epg-verify-string, epg-start-sign, epg-sign-file)
13846         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13847         (epg-encrypt-string, epg-start-export-keys)
13848         (epg-export-keys-to-file, epg-export-keys-to-string)
13849         (epg-start-import-keys, epg-import-keys-from-file)
13850         (epg-import-keys-from-string, epg-start-receive-keys)
13851         (epg-receive-keys, epg-import-keys-from-server)
13852         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13853         (epg-sign-keys, epg-start-generate-key)
13854         (epg-generate-key-from-file, epg-generate-key-from-string):
13855         Remove autoload cookie.
13857 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
13859         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13860         reevaluation of trash-directory.
13862         * mwheel.el: Fix last change.
13863         (mouse-wheel-mode): New defvar.
13864         (mouse-wheel-mode): Remove autoload cookie.
13866 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13868         * mwheel.el (mwheel-installed-bindings): New var.
13869         (mouse-wheel-mode): Use it, so as to make sure we really remove all
13870         the bindings we set last time.  Use custom-initialize-delay.
13871         * loadup.el: Load mwheel after term/*-win.el.
13872         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13873         and mouse-wheel-up-event now that their first evaluation is done
13874         sufficiently late to be correct.
13876         * startup.el (tutorial-directory): Make it a defcustom.
13877         Use custom-initialize-delay rather than eval-at-startup to set it.
13878         * image.el (image-load-path): Make it a defcustom.
13879         Use custom-initialize-delay rather than eval-at-startup to set it.
13880         * subr.el (eval-at-startup): Remove.
13881         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13883         * subr.el (do-after-load-evaluation): Warn the user after loading an
13884         obsolete package.
13886 2009-09-12  Glenn Morris  <rgm@gnu.org>
13888         * proced.el (proced-mark-alt): Remove alias.
13889         (proced-mode-map): Remove proced-mark-alt.
13891         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13892         Elint file and directory.  Remove initialization entry.
13894         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13895         commands.
13896         (elint-current-buffer): Set mode-line-process.
13897         (elint-init-env): Handle define-derived-mode.
13898         Fix declare-function with unspecified arglist.  Guard against odd
13899         defalias statements (eg iso-insert's 8859-1-map).
13900         (elint-add-required-env): Use a temp buffer.
13901         (elint-form): Just print the function/macro name, not the whole form.
13902         Return env unchanged if we fail to parse a macro.
13903         (elint-forms): Guard against parse errors.
13904         (elint-output): New function, to handle batch mode.
13905         (elint-log-message): Add optional argument.  Use elint-output.
13906         (elint-set-mode-line): New function.
13908 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13910         * emacs-lisp/elp.el (elp-not-profilable): Add more
13911         functions (Bug#4233).
13913 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
13915         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13916         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13918 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13920         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13921         (gdb-var-list-children): Use json parsing.
13923 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
13925         * progmodes/js.el (js--proper-indentation): Handle the case where
13926         char-before is null.  Reported by Deniz Dogan.
13928 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13930         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13932 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
13934         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13935         (epg-digest-algorithm-alist): Add SHA224.
13936         (epg-context-set-passphrase-callback)
13937         (epg-context-set-progress-callback): Add description about
13938         callback function.
13940 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13942         * custom.el (custom-delayed-init-variables): New var.
13943         (custom-initialize-delay): New function.
13944         * startup.el (command-line): "Re"evaluate all vars in
13945         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
13946         explicitly any more.
13947         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13948         to avoid creating a ~/.emacs.d at build-time (bug#4347).
13950         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13952 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13954         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13955         (gdb-var-update-handler): Use json parsing.
13957 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13959         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13960         decode annotated text, regardless of language environment.  (Bug#2741)
13962 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13964         * Makefile.in (autoloads): Make rmail.el writable as well.
13966 2009-09-11  Glenn Morris  <rgm@gnu.org>
13968         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13969         loaddefs.el.
13970         * dired.el: Regenerate with extracted autoloads.
13971         * Makefile.in (autoloads): Make dired.el writable.
13973         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13974         * ibuffer.el: Regenerate with extracted autoloads.
13975         * Makefile.in (autoloads): Make ibuffer.el writable.
13977         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13978         * version.el (emacs-copyright, emacs-major-version)
13979         (emacs-minor-version): Reformat doc-strings for make-docfile.
13981         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13982         functions and variables, since they must be stuff specific to some other
13983         platform.
13984         (apropos-print): Make mouse-click message less specific about button.
13986         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13987         that records where a macro was defined.
13988         * help-fns.el (describe-function-1): Mention if a function has a
13989         compiler-macro.
13990         * help-mode.el (help-function-cmacro): New button.
13992         * locate.el (top-level): Always require dired.
13993         (locate-mode-map): Initialize inside the defvar.
13995         * net/ange-ftp.el (dired-compress-file): Declare.
13996         (ange-ftp-dired-compress-file): Add doc string.
13998         * term/ns-win.el (x-display-name, x-setup-function-keys):
13999         Unify doc-strings with X versions.
14001 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14003         * emulation/crisp.el (crisp-mode-map): Move initialization
14004         into declaration.
14005         (crisp-mode): Use define-minor-mode.
14007         * progmodes/xscheme.el (xscheme-evaluation-commands):
14008         Put a :advertised-binding property rather than using
14009         advertised-xscheme-send-previous-expression.
14010         (advertised-xscheme-send-previous-expression): Declare obsolete.
14011         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14012         `advertised-undo'.
14013         (crisp-mode): Add corresponding bindings to
14014         undo's :advertised-binding instead.
14015         * dired.el (dired-mode-map): Put a :advertised-binding property rather
14016         than using dired-advertised-find-file.
14017         (dired-advertised-find-file):
14018         * simple.el (advertised-undo):
14019         * wid-edit.el (advertised-widget-backward): Declare obsolete.
14020         (widget-keymap): Put a :advertised-binding property rather
14021         than using advertised-widget-backward.
14022         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14023         than using advertised-undo.
14024         * tutorial.el (tutorial--default-keys): Adjust accordingly.
14026 2009-09-10  Simon South  <ssouth@slowcomputing.org>
14028         * progmodes/delphi.el (delphi-tab): Indent region when Transient
14029         Mark mode is enabled and region is active; otherwise indent or
14030         insert TAB as usual.
14031         (delphi-mode): Update description of TAB-key binding.
14033 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14035         * subr.el (define-key-rebound-commands): Mark obsolete.
14036         * startup.el (precompute-menubar-bindings): Remove.
14037         (normal-top-level): Remove obsolete code that tried to precompute
14038         menubar bindings.
14039         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14040         define-key-rebound-commands and precompute-menubar-bindings.
14042 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
14044         * net/imap.el (imap-interactive-login): Better messages.
14045         (imap-open): Fix bug with renamed buffer on reconnect.
14046         (imap-authenticate): Add buffer-local imap-last-authenticator variable
14047         for easier debugging and cleaner code.  On successful (guessed based on
14048         server capabilities) secondary authentication, set imap-state
14049         correctly.
14050         (imap-last-authenticator): Define imap-last-authenticator as a variable
14051         to avoid warnings.
14053 2009-09-10  Glenn Morris  <rgm@gnu.org>
14055         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14057         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14058         (byte-compile-file-form-autoload): Don't warn about unknown functions
14059         where the autoload statement comes after the use.
14060         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14061         that any handlers inside the body (eg require) are in turn respected.
14063         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14064         effects.
14066         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14067         and syntax and abbrev tables basic docs, if they don't have any.
14069         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14071         * international/mule-cmds.el (top-level): Require cl when compiling.
14072         (view-hello-file): Use default-value rather than
14073         default-enable-multibyte-characters.
14075         * progmodes/fortran.el: Move all safe and risky properties into the
14076         defcustoms.
14078         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14079         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14080         * mail/undigest.el:
14081         Put autoloads in rmail.el rather than loaddefs.el.
14082         * mail/rmail.el: Regenerate with extracted autoloads.
14084         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14085         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14087 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
14089         Reported in thread for Bug#4375.
14090         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14091         "-data-evaluate-expression" instead of print.
14092         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14093         (gdb-tooltip-print): Parse output from above MI command.
14094         (gdb): Revert 2009-08-11 change.  User should detach inferior
14095         manually.
14097         Remove the word "separate" from IO functions as inferior
14098         output is now never displayed in the GUD buffer.
14100 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
14102         * startup.el (command-line-normalize-file-name): On Windows and
14103         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14105 2009-09-10  Juri Linkov  <juri@jurta.org>
14107         * isearch.el (isearch-text-char-description): Propertize escape
14108         character sequences with the `escape-glyph' face.  (Bug#4344)
14110         * simple.el (shell-command): Set asynchronous process filter to
14111         `comint-output-filter'.  (Bug#4343)
14113         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14114         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
14115         the list.  Move "asm" to the bottom.
14116         (grep-find-ignored-directories): Add `choice' with nil value
14117         to empty the list easily.
14118         (grep-find-ignored-files): New option.
14119         (grep-files-history): Set to nil by default instead of '("ch" "el").
14120         (grep-compute-defaults): Add "<X>" to `grep-template'.
14121         (grep-read-files): Bind new local variables `default-alias' and
14122         `default-extension'.  Use a list of default values for the file prompt.
14123         (lgrep): Add `--exclude=' command line options composed from
14124         `grep-find-ignored-files'.
14125         (rgrep): Add `-name' command line options composed from
14126         `grep-find-ignored-files'.  (Bug#4301)
14128 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14130         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14131         (bug#4368).
14133 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
14135         * calendar/time-date.el (autoload):
14136         Expand define-obsolete-function-alias into defalias and make-obsolete
14137         for old Emacsen that Gnus supports.
14138         (with-no-warnings): Define it for old Emacsen.
14139         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14140         is available.
14141         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14142         float-time is available; suppress compile warning for time-to-seconds.
14144 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
14146         * net/imap.el (imap-message-map): Docstring fix.
14148 2009-09-09  Glenn Morris  <rgm@gnu.org>
14150         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14151         line numbers too.  (Bug#4374)
14153 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14155         * smerge-mode.el (smerge-remove-props, smerge-refine):
14156         Use with-silent-modifications (bug#4342).
14158         * subr.el (with-silent-modifications): New macro.
14160 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
14162         * files.el (top-level): Require `cl' when compiling.
14164 2009-09-07  Glenn Morris  <rgm@gnu.org>
14166         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14168         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14169         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
14171 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
14173         * vc-git.el (vc-git-annotate-command): Use separator to parse
14174         arguments correctly.
14176 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
14178         * proced.el (proced-mode): Doc fix.
14180 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
14182         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14183         lstat fails.
14184         (tramp-do-file-attributes-with-ls): Check for file existence at
14185         remote end.
14186         (tramp-do-file-attributes-with-stat): Likewise.
14187         (tramp-convert-file-attributes): Return nil when attr is nil.
14189 2009-09-05  Glenn Morris  <rgm@gnu.org>
14191         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14192         properties to this button.
14193         (diary-fancy-display): Don't extend the button to the final newline.
14194         (diary-fancy-display-mode): Continue to define "q" as a local key.
14196         * calendar/cal-china.el (holiday-chinese): Make it slightly more
14197         efficient.
14199         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14201         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14202         (byte-compile-dest-file-function): New option.
14203         (byte-compile-dest-file): Doc fix.
14204         Obey byte-compile-dest-file-function.
14205         (byte-compile-cl-file-p): New function.
14206         (byte-compile-eval): Only suppress noruntime warnings about cl functions
14207         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
14208         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14209         than for file being previously loaded.
14210         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14211         (byte-compile-file-form-require): Handle the case where requiring a file
14212         indirectly causes CL to be loaded.
14214 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
14216         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14217         before killing the old buffer, since by the time `kill-buffer' is
14218         run so many buffer variables have been set to nil that it may not
14219         behave as expected.  (Bug#4061)
14221 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
14223         * files.el (find-alternate-file): If the old buffer is modified
14224         and visiting a file, behave similarly to `kill-buffer' when
14225         killing it, thus reverting to the pre-1.878 behavior; see
14226         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14227         for discussion.  Also, consult `buffer-file-name' as a variable
14228         not as a function, for consistency with the rest of the code.
14230 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
14232         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14233         also when adding a new directory.
14235         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14236         defun.
14238 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14240         * files.el (locate-file-completion-table): Make it provide boundary
14241         information, so partial-completion works better.
14243 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
14245         * mail/footnote.el (Footnote-text-under-cursor):
14246         Check footnote-text-marker-alist before using it (bug#4324).
14248 2009-09-04  Glenn Morris  <rgm@gnu.org>
14250         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14251         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14252         * play/solitaire.el, play/tetris.el:
14253         Remove leading * from defcustom and defface docs.
14255         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14256         necessary.
14257         (diary-fancy-overriding-map): New variable.
14258         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14259         Use view-mode.
14261         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14262         goto-line.
14264 2009-09-03  Glenn Morris  <rgm@gnu.org>
14266         * arc-mode.el (archive-mode):
14267         * dos-fns.el (set-default-process-coding-system):
14268         * man.el (Man-getpage-in-background):
14269         * menu-bar.el (menu-bar-describe-menu):
14270         * server.el (server-process-filter):
14271         * startup.el (command-line):
14272         * tar-mode.el (tar-header-block-tokenize, tar-extract):
14273         * w32-fns.el (set-default-process-coding-system):
14274         * x-dnd.el (x-dnd-handle-file-name):
14275         * international/mule-cmds.el (mule-menu-keymap)
14276         (set-default-coding-systems, language-info-alist, set-language-info)
14277         (set-language-environment, standard-display-european-internal)
14278         (set-locale-environment):
14279         * international/mule-diag.el (mule-diag):
14280         * mail/emacsbug.el (report-emacs-bug):
14281         * mail/rmail.el (rmail-mode):
14282         * mail/sendmail.el (mail-setup):
14283         Use default-value rather than default-enable-multibyte-characters.
14285         * progmodes/f90.el: Move all safe properties into the defcustoms.
14286         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14288         * calendar/appt.el (appt-check):
14289         * calendar/diary-lib.el (diary-set-header, diary-live-p)
14290         (diary-check-diary-file, diary-list-entries)
14291         (diary-include-other-diary-files, diary-simple-display)
14292         (diary-fancy-display, diary-print-entries)
14293         (diary-mark-included-diary-files, diary-make-entry):
14294         Don't call substitute-in-file-name on diary-file.
14296 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
14297             Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * mail/footnote.el (footnote-prefix): Make it a defcustom.
14300         (footnote-mode-map): Move initialization into the declaration.
14301         (footnote-minor-mode-map): Define it rather than changing global-map.
14302         (footnote-mode): Use define-minor-mode.
14304 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
14306         * net/tramp.el (tramp-handle-file-attributes-with-ls)
14307         (tramp-do-file-attributes-with-perl)
14308         (tramp-do-file-attributes-with-stat): Rename from
14309         `tramp-handle-file-attributes-with-*'.
14310         (tramp-handle-file-attributes): Use them.
14311         (tramp-do-directory-files-and-attributes-with-perl)
14312         (tramp-do-directory-files-and-attributes-with-stat): Rename from
14313         `tramp-handle-directory-files-and-attributes-with-*'.
14314         (tramp-handle-directory-files-and-attributes): Use them.
14315         (tramp-method-out-of-band-p): Additional parameter SIZE.
14316         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14317         (tramp-handle-write-region): Use it.
14318         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14319         (tramp-handle-vc-registered): Check, whether the first run did
14320         return files to be tested.
14321         (tramp-advice-make-auto-save-file-name): Do not call directly
14322         `tramp-handle-make-auto-save-file-name', because this would bypass
14323         the locking mechanism.
14325         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14326         (file-remote-p, process-file, start-file-process, set-file-times)
14327         (tramp-compat-file-attributes): Compatibility functions shall not
14328         call directly `tramp-handle-*', because this would bypass the
14329         locking mechanism.
14330         (tramp-compat-number-sequence): New defun.
14332 2009-09-02  Glenn Morris  <rgm@gnu.org>
14334         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14335         alias for float-time.
14336         (time-to-number-of-days): In Emacs, use float-time.
14337         * net/newst-backend.el (time-add): Suppress warnings from compat
14338         function.
14339         * time.el (emacs-uptime, emacs-init-time):
14340         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14341         Use float-time rather than time-to-seconds.
14343         * minibuffer.el (completion-initials-expand): Fix typo.
14345         * faces.el (modeline, modeline-inactive, modeline-highlight)
14346         (modeline-buffer-id):
14347         * info.el (info-menu-5): Mark these face aliases as obsolete.
14349 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14351         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14352         space ...
14353         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14354         no "--thread" option.
14355         (gdb-stopped): Don't print "Switched to thread" message when it is
14356         unchanged.
14358 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14360         * minibuffer.el (completion-try-completion)
14361         (completion-all-completions): Remove ill-defined (and
14362         mistakenly installed and luckily never used nor documented)
14363         `completion-styles' property.
14364         (completion-initials-expand, completion-initials-all-completions)
14365         (completion-initials-try-completion): New functions.
14366         (completion-styles-alist): Add doc to each entry.
14367         Add new `initials' entry.
14369 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14371         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14372         MI command -var-evaluate-expression.
14373         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14374         and tweak for case of string child.
14375         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14377 2009-09-01  Glenn Morris  <rgm@gnu.org>
14379         * add-log.el (change-log-date-face, change-log-name-face)
14380         (change-log-email-face, change-log-file-face, change-log-list-face)
14381         (change-log-conditionals-face, change-log-function-face)
14382         (change-log-acknowledgement-face):
14383         * cus-edit.el (custom-invalid-face, custom-rogue-face)
14384         (custom-modified-face, custom-set-face, custom-changed-face)
14385         (custom-saved-face, custom-button-face, custom-button-pressed-face)
14386         (custom-documentation-face, custom-state-face, custom-comment-face)
14387         (custom-comment-tag-face, custom-variable-tag-face)
14388         (custom-variable-button-face, custom-face-tag-face)
14389         (custom-group-tag-face-1, custom-group-tag-face):
14390         * diff-mode.el (diff-header-face, diff-file-header-face)
14391         (diff-index-face, diff-hunk-header-face, diff-removed-face)
14392         (diff-added-face, diff-changed-face, diff-function-face)
14393         (diff-context-face, diff-nonexistent-face):
14394         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14395         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14396         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14397         (Info-title-4-face):
14398         * isearch.el (isearch-lazy-highlight-face):
14399         * log-view.el (log-view-file-face, log-view-message-face):
14400         * paren.el (show-paren-match-face, show-paren-mismatch-face):
14401         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14402         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14403         (cvs-msg-face):
14404         * smerge-mode.el (smerge-mine-face, smerge-other-face)
14405         (smerge-base-face, smerge-markers-face):
14406         * wid-edit.el (widget-documentation-face, widget-button-face)
14407         (widget-field-face, widget-single-line-field-face)
14408         (widget-inactive-face, widget-button-pressed-face):
14409         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14410         (woman-addition-face):
14411         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14412         (eshell-ls-executable-face, eshell-ls-readonly-face)
14413         (eshell-ls-unreadable-face, eshell-ls-special-face)
14414         (eshell-ls-missing-face, eshell-ls-archive-face)
14415         (eshell-ls-backup-face, eshell-ls-product-face)
14416         (eshell-ls-clutter-face):
14417         * eshell/em-prompt.el (eshell-prompt-face):
14418         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14419         * obsolete/old-whitespace.el (whitespace-highlight-face):
14420         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14421         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14422         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14423         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14424         (antlr-font-lock-literal-face):
14425         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14426         (ebrowse-root-class-face, ebrowse-file-name-face)
14427         (ebrowse-default-face, ebrowse-member-attribute-face)
14428         (ebrowse-member-class-face, ebrowse-progress-face):
14429         * progmodes/make-mode.el (makefile-space-face):
14430         * progmodes/sh-script.el (sh-heredoc-face):
14431         * textmodes/flyspell.el (flyspell-incorrect-face)
14432         (flyspell-duplicate-face):
14433         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14434         * textmodes/texinfo.el (texinfo-heading-face):
14435         Mark face aliases with "-face" suffix as obsolete.
14437         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14438         compiler.
14440         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14441         (eudc-bob-sound-menu): Use defvar rather than defconst, since
14442         easy-menu-define wants to modify these.
14444         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14446         * net/browse-url.el (browse-url-file-url):
14447         * term/internal.el (dos-codepage-setup):
14448         Use default-value rather than default-enable-multibyte-characters.
14450         * progmodes/etags.el (etags-goto-tag-location):
14451         * progmodes/flymake.el (flymake-highlight-line)
14452         (flymake-goto-file-and-line, flymake-goto-line):
14453         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14454         (gdb-goto-breakpoint):
14455         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14456         * progmodes/python.el (python-find-function)
14457         (python-pdbtrack-track-stack-file):
14458         * progmodes/verilog-mode.el (verilog-surelint-off):
14459         * term/ns-win.el (ns-open-file-select-line):
14460         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14461         Use forward-line rather than goto-line.
14463         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14464         * textmodes/reftex-index.el (reftex-display-index):
14465         * textmodes/reftex-ref.el (reftex-offer-label-menu):
14466         * textmodes/reftex-toc.el (reftex-toc):
14467         Remove unnecessary bindings of default-major-mode (all are followed by
14468         major-mode check and possible mode switch).
14470 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14472         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14473         Handle watchpoints (bug#4282).
14474         (def-gdb-thread-buffer-command): Enable thread to be selected by
14475         clicking without selecting threads buffer first.
14476         (gdb-current-context-command): Use selected frame so that "up",
14477         "down" etc work in the GUD buffer.
14478         (gdb-update): Find selected frame before rendering stack buffer.
14479         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14481 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14483         * progmodes/sym-comp.el (displayed-completions): Remove.
14484         (symbol-complete): Use minibuffer-complete.
14486 2009-08-31  Glenn Morris  <rgm@gnu.org>
14488         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14490         * apropos.el (apropos-symbols-internal):
14491         Handle (obsolete) face aliases.
14493         * faces.el (describe-face): Adjust the output format to be more like
14494         describe-variable, and to mention (obsolete) face aliases.
14495         Adjust the whitespace so that help-setup-xref works.
14497         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14498         * calendar/diary-lib.el (diary-button-face):
14499         Mark these face aliases as obsolete.
14501         * calendar/calendar.el (calendar-today): Doc fix.
14503 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14505         * progmodes/gdb-mi.el (gdb-control-all-threads)
14506         (gdb-control-current-thread): Force tool bar update.
14507         (gdb-non-stop-handler): New function.
14508         (gdb-init-1): Use it to test if non-stop mode is supported.
14509         Remove unused gdbmi buffer type.
14511 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14513         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14514         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14516 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14518         * comint.el (comint-exec-1): Check command is non-null first.
14519         Part of gdb-mi.el change (2009-08-28).
14521 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14523         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14525 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14527         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14528         instead of `dolist' to avoid a recursive require when bootstrapping.
14530 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14532         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14534         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14536         * net/imap.el (imap-send-command): Simplify.
14537         (imap-wait-for-tag): point-max -> buffer-size.
14539         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14541         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14542         with constant argument.
14544         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14546         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14548         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14549         Change default, since most of our files don't have a history.
14550         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14551         the user.
14553         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14554         Add comint-run.
14556         * calc/calc.el: Improve commenting convention.
14557         (calc-digit-map, toplevel): Simplify.
14559         * comint.el (comint-insert-input): Be careful to only set point if we
14560         don't delegate to some other command.
14562         * proced.el (proced-signal-list): Make it an alist.
14563         (proced-grammar-alist): Capitalize names.
14564         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14565         Disable undo manually and make it read-only.
14566         Use completion-annotate-function.
14568         * minibuffer.el (minibuffer-message): If the current buffer is not
14569         a minibuffer, insert the message in the echo area rather than at the
14570         end of the buffer.
14571         (completion-annotate-function): New variable.
14572         (minibuffer-completion-help): Use it.
14573         (completion--embedded-envvar-table): Environment vars are
14574         always case-sensitive.
14576 2009-08-30  Glenn Morris  <rgm@gnu.org>
14578         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14579         from fortran-current-defun.
14580         (fortran-beginning-of-subprogram): Be more precise about finding the
14581         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14582         (fortran-end-of-subprogram): Simplify.
14583         (fortran-current-defun): Use fortran-start-prog-re.
14585 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14587         * subr.el (do-after-load-evaluation): Simplify.
14589 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14591         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14593         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14594         (vc-rcs-print-log): Use it.
14596         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14598 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14600         * paths.el (abbrev-file-name): Move to abbrev.el.
14601         * abbrev.el (abbrev-file-name): Move from paths.el.
14602         Obey user-emacs-directory.
14603         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14604         user-emacs-directory.
14605         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14606         abbrev-file-name and calc-settings-file any more.
14607         * startup.el (command-line): Recompute abbrev-file-name and
14608         abbreviated-home-dir.
14609         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14610         of the special code for when C-h bindings haven't been changed.
14611         (display-startup-echo-area-message): Use with-current-buffer.
14612         (command-line-1): Use a list of strings, rather than a list of lists
14613         of strings for longopts.
14615         * files.el (get-free-disk-space): Use / for default-directory.
14617         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14618         Use with-current-buffer.
14620         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14621         Recognize immutable variables like most-positive-fixnum.
14622         (byte-compile-setq-default): Check and warn if trying to assign
14623         to an immutable variable, or a non-variable.
14625         * progmodes/cc-vars.el (c-comment-continuation-stars):
14626         * progmodes/cc-engine.el (c-looking-at-bos):
14627         * progmodes/cc-cmds.el (c-toggle-auto-state)
14628         (c-forward-into-nomenclature, c-backward-into-nomenclature)
14629         (c-comment-line-break-function): Add version of obsolescence.
14631 2009-08-28  Juri Linkov  <juri@jurta.org>
14633         * files.el (magic-fallback-mode-alist): Add ZIP magic number
14634         associated with `archive-mode'.
14636         * image.el (image-type-header-regexps): Use only JPEG magic number
14637         to determine JPEG images, and don't use `image-jpeg-p' because
14638         Emacs can display non-JFIF non-Exif JPEG images.
14640 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14642         * arc-mode.el (archive-mode):
14643         * emacs-lisp/re-builder.el (re-builder-unload-function):
14644         Protect against the default value of `major-mode' being nil.
14646 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14648         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14649         Fix typos in docstrings.
14651         * progmodes/js.el (js--macro-decl-re): Doc fix.
14652         (js--plain-method-re, js--split-name): Refloc docstring.
14653         (js--class-styles, js--make-merged-item, js--splice-into-items):
14654         Fix typos in docstrings; reflow docstrings.
14655         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14656         (js--variable-decl-matcher, js--inside-pitem-p)
14657         (js--parse-state-at-point, js--get-all-known-symbols)
14658         (js--symbol-history, js-find-symbol, js--js-references)
14659         (js--moz-interactor, js--js-encode-value, js--read-tab):
14660         Fix typos in docstrings.
14662 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14664         * textmodes/reftex.el (reftex-get-file-buffer-force):
14665         * progmodes/verilog-mode.el (verilog-batch-execute-func):
14666         * emulation/viper.el (viper-go-away, viper-set-hooks):
14667         * emacs-lisp/re-builder.el (re-builder-unload-function):
14668         * emacs-lisp/bytecomp.el (byte-compile-file):
14669         * ses.el (ses-unload-function):
14670         * hexl.el (hexl-find-file):
14671         * files.el (normal-mode):
14672         * ehelp.el (with-electric-help):
14673         * autoinsert.el (auto-insert-alist):
14674         * arc-mode.el (archive-mode):
14675         Use (default-value 'major-mode) instead of default-major-mode.
14677         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14678         * international/mule.el (load-with-code-conversion):
14679         * emacs-lisp/debug.el (debug):
14680         * ediff-vers.el (ediff-rcs-get-output-buffer):
14681         * dired.el (dired-internal-noselect): Don't let-bind
14682         default-major-mode around code that doesn't use it.
14683         E.g. buffer creation via get-buffer-create doesn't use it.
14685 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
14687         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14688         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14689         when writing the temp file.  Otherwise, epa-file gets confused.
14690         (tramp-register-file-name-handlers): Make it a defun.  Move also
14691         `epa-file-handler' to the front of `file-name-handler-alist'.
14693 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14695         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14696         start right after a ^M.
14697         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14698         (tramp-completion-file-name-regexp-separate)
14699         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14700         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14701         Don't modify last-coding-system-used by accident.
14702         (tramp-completion-file-name-handler): Apply the checks here,
14703         instead during registration.
14704         (tramp-register-file-name-handlers): Renamed from
14705         `tramp-register-file-name-handler'.  Register both
14706         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14707         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
14709 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
14711         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14712         Remove variable ...
14713         (gdb-init-1, gdb-display-separate-io-buffer)
14714         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14715         references to it.
14716         (gdb-inferior-io-mode): Use make-comint-in-buffer.
14717         (gdb-inferior-filter): Use comint-output-filter to stop
14718         echoing and remove ^M characters.
14720 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14722         * emulation/viper-init.el (viper-restore-cursor-type):
14723         * emulation/cua-base.el (cua--update-indications):
14724         Replace default-cursor-type with (default-value 'cursor-type).
14726         * mail/sendmail.el (mail-recover-1):
14727         * international/mule-diag.el (describe-current-coding-system-briefly)
14728         (describe-current-coding-system):
14729         * international/mule-cmds.el (select-safe-coding-system)
14730         (select-message-coding-system)
14731         (set-language-environment-coding-systems, set-locale-environment):
14732         * hexl.el (hexl-insert-multibyte-char):
14733         * dos-w32.el (find-buffer-file-type-coding-system):
14734         * simple.el (what-cursor-position):
14735         Replace uses of default-buffer-file-coding-system
14736         with (default-value 'buffer-file-coding-system).
14738         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14739         Replace uses of default-cursor-in-non-selected-windows
14740         with (default-value 'cursor-in-non-selected-windows).
14741         Use with-current-buffer.
14743         * mail/feedmail.el: Use CL macros.
14744         (feedmail-run-the-queue, feedmail-send-it-immediately):
14745         * dos-w32.el (find-buffer-file-type): Replace uses of
14746         default-buffer-file-type with (default-value 'buffer-file-type).
14748 2009-08-28  Glenn Morris  <rgm@gnu.org>
14750         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14751         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14752         Use default-value of major-mode rather than default-major-mode.
14754 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14756         * Makefile.in (update-elcfiles): Report left over elc files.
14758         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14759         expand-file-name and with-current-buffer.
14760         (mail-get-names, mail-directory): Use with-current-buffer.
14762         * vc.el (vc-read-revision): New function.
14763         (vc-version-diff, vc-merge): Use it.
14765 2009-08-27  Sam Steingold  <sds@gnu.org>
14767         * simple.el (kill-do-not-save-duplicates): New user option.
14768         (kill-new): When it is non-nil, and the new string is the same as
14769         the latest kill, set replace to t to avoid duplicates in kill-ring.
14771 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
14773         * net/tramp.el (tramp-handle-process-file): Do not flush all
14774         caches when `process-file-side-effects' is set.
14775         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14776         instead of `tramp-find-file-exists-command'.
14777         Unset `process-file-side-effects'.
14779 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
14781         * net/tramp.el (tramp-methods): New method "rsyncc".
14782         (top): Add completion function for "rsyncc".
14783         (tramp-message-show-message): New defvar.
14784         (tramp-message, tramp-error): Use it.
14785         (tramp-do-copy-or-rename-file-directly): Extend check for direct
14786         remote copying.
14787         (tramp-do-copy-or-rename-file-out-of-band): Handle new
14788         `tramp-methods' entry `copy-env' of "rsyncc".
14789         (tramp-vc-registered-read-file-names): New defconst.
14790         (tramp-vc-registered-file-names): New defvar.
14791         (tramp-handle-vc-registered): Implement optimization strategy.
14792         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14793         (tramp-vc-file-name-handler): New defun.
14794         (tramp-get-ls-command, tramp-get-test-command)
14795         (tramp-get-file-exists-command, tramp-get-remote-ln)
14796         (tramp-get-remote-perl, tramp-get-remote-stat)
14797         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14799         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14800         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
14801         timestamps.
14802         (tramp-get-file-property): Check for timestamps in
14803         `tramp-cache-inhibit-cache'.
14804         (tramp-set-file-property): Write timestamp.
14806 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14808         * language/japan-util.el (japanese-symbol-table): Add entries for
14809         cp932-2-byte.
14811         * international/characters.el: Add category `j' to cp932-2-byte.
14813 2009-08-27  Kenichi Handa  <handa@m17n.org>
14815         * international/fontset.el (build-default-fontset-data): New macro.
14816         (setup-default-fontset): Use build-default-fontset-data for CJK,
14817         tibetan, ethiopic, and ipa.
14819 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14821         * cus-start.el (default-major-mode): Customize `major-mode' instead.
14822         (enable-multibyte-characters): Not customizable any more.
14824         * subr.el (default-mode-line-format, default-header-line-format)
14825         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14826         (default-direction-reversed, default-truncate-lines)
14827         (default-left-margin, default-tab-width, default-case-fold-search)
14828         (default-left-margin-width, default-right-margin-width)
14829         (default-left-fringe-width, default-right-fringe-width)
14830         (default-fringes-outside-margins, default-scroll-bar-width)
14831         (default-vertical-scroll-bar, default-indicate-empty-lines)
14832         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14833         (default-fringe-cursor-alist, default-scroll-up-aggressively)
14834         (default-scroll-down-aggressively, default-fill-column)
14835         (default-cursor-type, default-buffer-file-type)
14836         (default-cursor-in-non-selected-windows)
14837         (default-buffer-file-coding-system, default-major-mode)
14838         (default-enable-multibyte-characters): Mark as obsolete.
14840 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
14842         * vc-dir.el (vc-dir-update): Remove debug helper.
14844         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14846 2009-08-26  Sam Steingold  <sds@gnu.org>
14848         * simple.el (save-interprogram-paste-before-kill): New user option.
14849         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14850         save the interprogram-paste into kill-ring before overriding it
14851         with the Emacs kill.
14853 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14855         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14856         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14857         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14858         and move to vc-rcs.el.
14859         (vc-default-next-revision): Rename to vc-rcs-next-revision and
14860         move to vc-rcs.el.
14861         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14862         (vc-rcs-update-changelog): Remove.
14863         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14864         and move to vc-rcs.el.
14866         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14867         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14868         renaming.
14869         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14870         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14871         vc.el, renamed to be RCS specific.
14873         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14874         New functions.
14875         (vc-cvs-update-changelog): Move here from vc.el.
14877         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14878         New functions.
14880 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14882         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14884 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14886         * vc-git.el (vc-git-register): Use "git add" for directories.
14887         (vc-git-stash, vc-git-stash-show): New functions.
14888         (vc-git-extra-menu-map): Bind them.
14890         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14891         directory correctly in case the item is a directory itself.
14893         * vc.el: Document the desired behavior for reverted files in the
14894         `added' state.
14895         (vc-default-prettify-state-info): Remove function, unused.
14897         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14899 2009-08-26  Glenn Morris  <rgm@gnu.org>
14901         * bindings.el (standard-mode-line-format): Reposition dashes in
14902         which-func entry.  (Bug#4217)
14904         * files.el (enable-local-variables, enable-local-eval)
14905         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14906         the defcustoms.
14907         (auto-mode-alist, ignored-local-variables)
14908         (save-some-buffers-action-alist): Move risky declarations to the
14909         definitions.
14910         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14911         (font-lock-defaults, format-alist, imenu--index-alist)
14912         (imenu-generic-expression, input-method-alist, minor-mode-alist)
14913         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14914         (mode-line-modified, mode-line-mule-info, mode-line-position)
14915         (mode-line-process, mode-line-remote, outline-level)
14916         (parse-time-rules, rmail-output-file-alist)
14917         (special-display-buffer-names, vc-mode):
14918         Move risky declarations to the relevant files.
14919         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14920         (mode-line-modified, mode-line-process, mode-line-position)
14921         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14922         * font-core.el (font-lock-defaults):
14923         * format.el (format-alist):
14924         * vc-hooks.el (vc-mode):
14925         * window.el (special-display-buffer-names):
14926         * international/mule-cmds.el (input-method-alist):
14927         Define riskiness here (dumped file) rather than in files.el.
14928         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14929         * imenu.el (imenu-generic-expression, imenu--index-alist):
14930         * outline.el (outline-level):
14931         * time.el (display-time-string):
14932         * calendar/parse-time.el (parse-time-rules):
14933         * mail/rmailout.el (rmail-output-file-alist):
14934         Autoload riskiness here, rather than placing in files.el.
14936 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
14938         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14940 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
14942         * simple.el (process-file-side-effects): New defvar.
14944         * dired-aux.el (dired-show-file-type):
14945         * vc.el (vc-diff-internal):
14946         * vc-arch.el (vc-arch-diff):
14947         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14948         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14949         * vc-git.el (vc-git-registered, vc-git-working-revision)
14950         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14951         (vc-git--empty-db-p):
14952         * vc-hooks.el (vc-user-login-name):
14953         * vc-svn.el (vc-svn-registered, vc-svn-state)
14954         (vc-svn-dir-extra-headers, vc-svn-find-revision):
14955         * progmodes/grep.el (grep-probe): Let-bind
14956         `process-file-side-effects' with nil.
14958         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14960         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14961         daemon.  Replace ping by checking for running service for bluez
14962         and zeroconf.  (Bug#4239)
14964 2009-08-25  Kevin Ryde  <user42@zip.com.au>
14966         * net/dig.el (dig): Add autoload cookie.
14968 2009-08-25  Glenn Morris  <rgm@gnu.org>
14970         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14971         load-history for absolute file-names.
14972         (byte-compile-file-form-require): Warn about use of the cl package.
14974         * format.el (format-alist): Doc fix.
14976         * play/bubbles.el (top-level): Don't require cl at run-time.
14978         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14979         run-time cl).
14981 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
14983         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14984         from cl package.
14985         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14987 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
14989         * calc/calc-alg.el (math-trig-rewrite)
14990         (math-hyperbolic-trig-rewrite): New functions.
14991         (calc-simplify): Simplify trig functions when asked.
14993 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14995         * diff-mode.el (diff-find-source-location): Avoid goto-line.
14997 2009-08-24  Kenichi Handa  <handa@m17n.org>
14999         * language/ind-util.el (mapthread): Delete it.
15000         (combinatorial): New function.
15001         (indian--puthash-cv): Use combinatorial instead of mapthread.
15003 2009-08-22  Kevin Ryde  <user42@zip.com.au>
15005         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15006         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15007         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15008         Clarify docstring that the value is strings not symbols.
15009         (checkdoc-list-of-strings-p): New function.
15011 2009-08-22  Glenn Morris  <rgm@gnu.org>
15013         * files.el (auto-mode-alist):
15014         * hippie-exp.el (he-concat-directory-file-name):
15015         * lpr.el (lpr-windows-system, printer-name):
15016         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15017         * ps-print.el (ps-windows-system):
15018         * startup.el (command-line):
15019         * emulation/viper-ex.el (viper-glob-function):
15020         * international/mule-cmds.el (set-language-environment-coding-systems):
15021         * net/ange-ftp.el (ange-ftp-write-region):
15022         * obsolete/fast-lock.el (fast-lock-cache-name):
15023         Remove code for defunct system-types emx, macos, mswindows, next-mach,
15024         unisoft-unix, vax-vms, win32, w32.
15026         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15027         given name if the pattern is not more specific.
15029         * calendar/lunar.el (lunar-phase-names): New option.
15030         (lunar-phase): Doc fix.
15031         (lunar-cycles-per-year): New constant.
15032         (lunar-index): New function.
15033         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15034         (lunar-phase-name): Use lunar-phase-names.
15035         (calendar-lunar-phases): Use format.
15036         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15038         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15039         Copy imenu-example--name-and-position function here for own use.
15040         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15042         * bs.el (bs--redisplay):
15043         * cus-edit.el (custom-redraw):
15044         * ibuffer.el (ibuffer-bury-buffer):
15045         * server.el (server-goto-line-column):
15046         * startup.el (command-line-1):
15047         * strokes.el (strokes-xpm-for-stroke):
15048         * term.el (term-display-buffer-line):
15049         * view.el (View-goto-line):
15050         * calc/calc.el (calc-do, calc-trail-buffer):
15051         * play/gamegrid.el (gamegrid-add-score-insecure):
15052         * progmodes/ada-mode.el (ada-compile-goto-error):
15053         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15054         (ebrowse-select-1st-to-9nth):
15055         * progmodes/cperl-mode.el (cperl-time-fontification):
15056         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15057         * progmodes/gud.el (gud-display-line):
15058         (idlwave-shell-display-line):
15059         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15060         * progmodes/make-mode.el (makefile-browser-toggle):
15061         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15062         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15063         * textmodes/picture.el (picture-draw-rectangle):
15064         * textmodes/reftex-index.el (reftex-index-goto-letter):
15065         (reftex-select-jump-to-previous):
15066         * textmodes/reftex-sel.el (reftex-find-start-point)
15067         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15068         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15069         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15070         * textmodes/tex-mode.el (tex-compilation-parse-errors):
15071         * textmodes/two-column.el (2C-associated-buffer):
15072         Use forward-line rather than goto-line.
15074         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15075         goto-line.
15077         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15078         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15079         (quick-check-list-to-regexp): Declare.
15081         * progmodes/make-mode.el (makefile-browser-insert-selection):
15082         Use goto-char rather than goto-line.
15084         * progmodes/prolog.el (compilation-error-regexp-alist)
15085         (compilation-forget-errors): Declare.
15087 2009-08-22  Juri Linkov  <juri@jurta.org>
15089         * progmodes/grep.el (lgrep, rgrep): At the beginning
15090         set `dir' to `default-directory' unless `dir' is a non-nil
15091         readable directory.  (Bug#4052)
15092         (lgrep, rgrep): Change a weird way to report an error
15093         from using `read-string' to using `error'.
15094         Instead of using interactive arguments in the function body,
15095         add new argument `confirm'.
15097 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15099         * textmodes/remember.el (remember-buffer):
15100         * progmodes/cperl-mode.el (cperl-vc-header-alist):
15101         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15102         (icalendar-extract-ical-from-buffer):
15103         * net/newst-treeview.el (newsticker-groups-filename):
15104         * net/newst-backend.el (newsticker-cache-filename):
15105         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15106         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15107         (speedbar-add-ignored-path-regexp, speedbar-line-path)
15108         (speedbar-buffers-line-path, speedbar-path-line)
15109         (speedbar-buffers-line-path):
15110         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15111         (epg-sign-keys):
15112         * epa.el (epa-display-verify-result):
15113         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15115 2009-08-21  Glenn Morris  <rgm@gnu.org>
15117         * progmodes/js.el (inferior-moz-process): Fix declaration.
15119         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15121         * obsolete/rnewspost.el (news-mail-reply):
15122         Use goto-char rather than goto-line.
15124         * term/ns-win.el (ns-open-file-select-line):
15125         Use line-beginning-position rather than goto-line.
15127         * apropos.el (apropos-command):
15128         * ehelp.el (electric-helpify):
15129         * printing.el (pr-show-setup):
15130         * strokes.el (strokes-help):
15131         * tutorial.el (tutorial--describe-nonstandard-key)
15132         (tutorial--detailed-help):
15133         * woman.el (woman-mini-help, woman-display-extended-fonts):
15134         * calc/calc-help.el (calc-describe-key):
15135         * emulation/edt.el (edt-electric-helpify):
15136         * international/mule-diag.el (mule-diag):
15137         * play/yow.el (apropos-zippy):
15138         * progmodes/python.el (python-describe-symbol):
15139         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15140         * textmodes/table.el (*table--cell-describe-mode)
15141         (*table--cell-describe-bindings):
15142         Use help-print-return-message rather than the now obsolete alias.
15144         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15145         (calendar-cursor-to-visible-date):
15146         * play/5x5.el (5x5-position-cursor):
15147         * play/decipher.el (decipher):
15148         * play/gomoku.el (gomoku-goto-xy):
15149         * play/landmark.el (lm-goto-xy):
15150         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15151         (mpuz-paint-digit):
15152         Use forward-line, not goto-line.
15154         * mail/rmail.el (rmail-obsolete): Delete custom group.
15155         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15156         (rmail-remote-password, rmail-remote-password-required):
15157         Remove unneeded :set-after and :set properties.
15159 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
15161         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15163 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
15165         * loadup.el: Remove leftover macos code.
15167         * vc-git.el (vc-git-annotate-command): Run asynchronously.
15168         Explicitly pass the date format to git blame so that user local
15169         so that the output format can be parsed.
15171 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
15173         * net/dbus.el (top): Don't check for (getenv
15174         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
15176 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
15178         * log-edit.el (log-edit-strip-single-file-name): New var.
15179         (log-edit-insert-changelog): Use it.  Bug#3571
15181 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15183         * subr.el (read-passwd): Use read-key so keypad keys work as well.
15184         Bug#3287
15186         * help.el (help-print-return-message): Rename from
15187         print-help-return-message.
15189         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15190         cvs-mode-map parent hack.
15191         (log-view-mode): Derive from special-mode.
15193         * linum.el (linum-mode): window-size-change-functions is redundant.
15194         Adapt to new window-configuration-change-hook behavior.
15195         (linum-after-size, linum-after-config): Remove.
15197         * imenu.el (imenu-example--name-and-position)
15198         (imenu-example--lisp-extract-index-name)
15199         (imenu-example--create-lisp-index, imenu-example--create-c-index):
15200         Mark as obsolete.
15202         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15203         (inferior-prolog-mode): Use it.
15204         (inferior-prolog-load-file): Reset list of errors.
15206 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
15208         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15210         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15212 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
15214         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15215         is running already.
15217 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15219         * subr.el (listify-key-sequence-1): Use normal syntax since those
15220         integers are nowadays always represented by the same (positive) number
15221         on all platforms.
15222         (read-key-empty-map): New const.
15223         (read-key-delay): New var.
15224         (read-key): New function.
15225         (force-mode-line-update): Use with-current-buffer.
15226         (locate-user-emacs-file): Don't forget to abbreviate the file name.
15227         (start-process-shell-command, start-file-process-shell-command):
15228         Discourage the use of command-args.
15230 2009-08-19  Glenn Morris  <rgm@gnu.org>
15232         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15234 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15236         * simple.el (choose-completion-string): Don't rely on
15237         minibuffer-completing-file-name and ad-hoc checks to decide whether
15238         to continue completion or not.
15240         * minibuffer.el (minibuffer-hide-completions): New function.
15241         (completion--do-completion): Use it.
15242         (completions-annotations): New face.
15243         (completion--insert-strings): Use it.
15244         (completion-pcm--delim-wild-regex): Add docstring.
15245         (completion-pcm--string->pattern): Add support for 0-width delimiters
15246         in completion-pcm--delim-wild-regex.
15248 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15250         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15251         Remove unused var `buffer-modified-p'.
15253         * minibuffer.el (completion--do-completion): Move point for the #b001
15254         case as well (bug#4176).
15255         (minibuffer-complete, minibuffer-complete-word): Don't move point.
15257 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
15259         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
15260         and :session buses.
15262 2009-08-18  Kenichi Handa  <handa@m17n.org>
15264         * international/ucs-normalize.el (ucs-normalize-version):
15265         Change to 1.1.
15266         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15267         (utf-8-hfs): Make it perform normalization on encoding too.
15269         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
15270         (sentence-end-without-space): Delete duplicated chars.
15271         (sentence-end-base): Likewise.
15273         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
15274         (html-mode): Delete duplicated chars from sentence-end-base.
15276         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
15277         (texinfo-mode): Delete duplicated chars from sentence-end-base.
15279 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
15281         * files.el (hack-one-local-variable): If the mode function is for
15282         a minor mode, pass it an argument (Bug#4148).
15284 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
15286         * net/tramp.el (tramp-register-completion-file-name-handler):
15287         Check also for (member 'partial-completion completion-styles).
15289 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15291         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15292         abbrev (Bug#3943).
15294 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
15296         * progmodes/cperl-mode.el: Merge upstream 6.2.
15297         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15298         (cperl-forward-re): Check cperl-brace-recursing.
15299         (cperl-highlight-charclass): New function.
15300         (cperl-find-pods-heres): Use it.
15301         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15302         (cperl-beautify-regexp-piece): Fix column calculation.
15303         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15304         (cperl-beautify-level): Don't process entire regexp.
15305         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15306         calling man.
15307         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15308         (cperl-init-faces): Build a list in the normal way.
15310 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15312         * calendar/parse-time.el (parse-time-string-chars): Save match
15313         data.
15315 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15317         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15318         (sql-product): Use it.
15319         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15320         (sql-set-product): Add completion.
15321         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15322         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15323         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15324         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15325         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15326         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15327         (sql-highlight-db2-keywords): Remove.
15328         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15329         (sql-highlight-product): Use derived-mode-p.
15330         (sql-set-sqli-buffer): Use with-current-buffer.
15331         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15332         Simplify.
15334         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15336         * term.el: Fix commenting convention, turn comments into docstrings.
15338 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
15340         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15342 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
15344         * calendar/parse-time.el (parse-time-string-chars): Compute using
15345         character classes, to handle non-ascii characters (Bug#3190).
15347 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15349         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15350         another heredoc if the user adds another < (Bug#3226).
15352         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15353         Don't initialize based on window-system (Bug#4124).
15355         * facemenu.el (facemenu-read-color): Use a completion function
15356         that accepts any defined color, such as RGB triplets (Bug#3677).
15358         * files.el (get-free-disk-space): Change fallback default
15359         directory to /.  Expand DIR argument before switching to fallback.
15360         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15362 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15364         * files.el (load-library): Doc fix.
15366 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
15368         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15369         (viper-if-string): Redefine C-s in the minibuffer to insert the last
15370         incremental search string.
15372         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15373         XEmacs.
15375         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15376         (ediff-merge-region-is-non-clash)
15377         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15378         Also check if the job is really a merge job.
15380         * ediff.el (ediff-current-file): New function.
15382 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15384         * progmodes/js.el: Edit docstrings throughout to follow Emacs
15385         conventions.
15386         (js-insert-and-indent): Delete function.
15387         (js-mode-map): Don't bind keys to js-insert-and-indent.
15388         (js-beginning-of-defun): Rename from js--beginning-of-defun.
15389         (js-end-of-defun): Rename from js--end-of-defun.
15390         (js-auto-indent-flag): Delete variable.
15392 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
15394         * progmodes/js.el: Remove proclaim statement.
15395         Defvar which-func-imenu-joiner-function to silence compiler.
15397         * files.el (auto-mode-alist): Use js-mode for .js files.
15399         * progmodes/js2-mode.el: Remove file.
15401         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15403         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15405         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15407 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
15408             Karl Landstrom  <karl.landstrom@brgeight.se>
15410         * progmodes/js.el: New file.
15412 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
15414         * timezone.el (timezone-parse-date): Add ability to understand ISO
15415         basic format (minimal separators) dates in addition to the
15416         already-supported extended format dates.
15418 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
15420         * international/ucs-normalize.el: Add a `coding' file variable.
15422         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15424 2009-08-14  Sam Steingold  <sds@gnu.org>
15426         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15428 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
15430         * faces.el (help-argument-name): Define it here instead of
15431         help-fns.el, because in daemon mode help-fns.el may be loaded when
15432         faces are still uninitialized (Bug#1078).
15434         * help-fns.el (help-argument-name): Move defface to faces.el.
15436 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
15438         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15439         create buffer with a pty but no process so that GDB can make the
15440         inferior the controlling process.
15442 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
15444         * international/ucs-normalize.el: New file.
15446 2009-08-13  Richard Stallman  <rms@gnu.org>
15448         * mail/rmail.el (rmail-get-attr-names):
15449         Accept an attribute header that is too short.
15451         * mail/rmail.el (rmail-forget-messages):
15452         Ignore nil elt in rmail-message-vector.  Use dotimes.
15454         * progmodes/compile.el (compilation-goto-locus):
15455         Use next-error-move-function.
15457         * simple.el (next-error-move-function): New variable.
15459 2009-08-12  Juri Linkov  <juri@jurta.org>
15461         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15462         always non-nil.  (Bug#4052)
15464         * replace.el (read-regexp): Return empty string when
15465         `default-value' is nil.
15466         (keep-lines-read-args): Don't use empty string as the
15467         default value for `read-regexp'.  (Bug#2495)
15469 2009-08-12  Juri Linkov  <juri@jurta.org>
15471         * international/mule-cmds.el (ucs-insert): Change arguments
15472         from `arg' to `character', `count', `inherit' to be the same
15473         as in `insert-char'.  Doc fix.  (Bug#4039)
15475         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15477 2009-08-12  Juri Linkov  <juri@jurta.org>
15479         * files-x.el: New file.
15481         * files.el: Move code that deals with adding/deleting
15482         file/directory-local variables to files-x.el.
15484         * Makefile.in (ELCFILES): Add files-x.elc.
15486 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
15488         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15489         to use `goto-line'.
15490         (gdb-place-breakpoints, gdb-get-location): Rewritten without
15491         `goto-line'.
15492         (gdb-invalidate-disassembly): Do not refresh upon receiving
15493         'update signal.  Instead, update all disassembly buffers only after
15494         threads list.
15495         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15496         (gdb-starting): Moved -data-list-register-names...
15497         (gdb-stopped): ...here so it's sent when first thread stops.
15498         (gdb-registers-handler-custom): Do nothing if register names are
15499         unknown yet.
15501         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15502         from `gdb-mi.el' to avoid extra tangling.
15504         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15505         change which breaks `gud-def' definitions used in `gdb'.
15506         (gdb-update-gud-running): No extra fuss for updating frame number.
15508 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15510         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15511         (describe-language-environment-map, setup-language-environment-map)
15512         (set-coding-system-map): Move initialization into declaration.
15513         (set-language-info-alist): Last arg to define-key-after can be skipped.
15515         * international/quail.el (quail-completion-1): Simplify.
15516         (quail-define-rules): Use slightly more compact code.
15517         (quail-insert-decode-map): Propertize keys, compact columns.
15519         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15520         Add goto-line.
15522 2009-08-10  Miles Bader  <miles@gnu.org>
15524         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15525         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15526         (js2-instance-member, js2-private-member, js2-private-function-call)
15527         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15528         (js2-magic-paren, js2-external-variable):
15529         Remove "-face" suffix from face names.
15530         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15531         (js2-highlight-undeclared-vars, js2-peek-token)
15532         (js2-parse-function-params, js2-mode-show-errors)
15533         (js2-mode-show-warnings, js2-make-magic-delimiter)
15534         (js2-mode-highlight-magic-parens): Update to use new face names.
15536 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15538         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15539         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15541 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15543         * subr.el: Provide hashtable-print-readable.
15545         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15546         hs-c-like-adjust-block-beginning.
15547         (hs-hide-block-at-point): Stop hiding at the beginning of
15548         hs-block-end-regexp (Bug#700).
15550 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15552         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15553         a macro.
15554         (gdb-registers-handler-custom): Do not fail when register names
15555         are unavailable.
15557 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15559         * progmodes/gdb-mi.el (gdb-control-all-threads)
15560         (gdb-control-current-thread): Interactive setters for
15561         `gdb-gud-control-all-threads' to use in menu.
15562         (gdb-show-run-p): Show «Go» when process is not active.
15563         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15564         gud/thread.xpm and gud/all.xpm.
15566 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15568         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15569         (nslookup-font-lock-keywords): Make it a variable.
15570         (net-utils-mode): New mode for viewing diagnostic network output.
15571         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15572         (net-utils-run-simple): New function.
15573         (ifconfig, iwconfig, netstat, arp, route): Use it.
15575 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15577         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15578         (gdb-memory-set-address, def-gdb-set-positive-number)
15579         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15580         after changing settings.
15581         (gdb-invalidate-disassembly): Update when first shown.
15582         (gdb-edit-locals-value): Fixed.
15583         (gdb-registers-handler-custom): Print registers in right order and
15584         allow changing register values (only for current thread yet).
15585         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15586         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15587         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15588         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15589         info in mode name.
15590         (gdb-registers-mode-map): TAB to switch to locals.
15592 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15594         * mail/rmail.el (rmail-add-mbox-headers)
15595         (rmail-set-message-counters-counter): Search for
15596         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15598 2009-08-08  Glenn Morris  <rgm@gnu.org>
15600         * Makefile.in (ELCFILES): Update.
15602 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15604         * mail/sendmail.el (mail-yank-original): Set
15605         buffer-file-coding-system from the one used by the message whose
15606         text is yanked.
15608         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15609         to "windows" when "pgnuplot" is used.
15610         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15611         call accept-process-output if "pgnuplot" is used.
15612         (calc-graph-init): Don't send -display and -geometry to
15613         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15614         running "pgnuplot -V" with shell-command-to-string.
15616         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15617         the default.
15619 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15621         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15622         org/org-latex.elc.
15624 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15626         * vc-dispatcher.el (vc-resynch-window): Update comment.
15628         * term.el (term-handle-ansi-escape): Add comments with the
15629         terminfo capabilities implemented.
15631 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
15633         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15634         (gdb-var-create-handler): Rewritten using JSON parser.
15635         (gdb-propertize-header): Moved earlier.
15636         (gdb-set-header): Removed to avoid duplication.
15637         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15638         Refresh disassembly buffers only after threads list have been
15639         update.
15640         (gdb-threads-header, gdb-registers-header): Per-buffer header line
15641         variables.
15643 2009-08-04  Juri Linkov  <juri@jurta.org>
15645         * files.el: Commands to add/delete file/directory-local variables.
15646         (read-file-local-variable, read-file-local-variable-value)
15647         (read-file-local-variable-mode, modify-file-local-variable)
15648         (modify-file-local-variable-prop-line)
15649         (modify-dir-local-variable): New functions.
15650         (add-file-local-variable, delete-file-local-variable)
15651         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15652         (add-dir-local-variable, delete-dir-local-variable)
15653         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15654         (copy-dir-locals-to-file-locals-prop-line): New commands.
15656 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
15658         * abbrev.el (insert-abbrev-table-description): Prettify output.
15659         Suggested by Karl Chen.
15661 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
15663         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15664         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15665         (gdb-overlay-arrow-position, gdb-thread-position)
15666         (gdb-disassembly-position): Declare variables.
15667         (gdb-wait-for-pending): Function now.
15668         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15669         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15670         compilation goes smoothly.
15671         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15672         (gdb-non-stop-setting): New customization setting which replaces
15673         `gdb-non-stop' so changing it doesn't break active GDB session.
15674         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15675         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15676         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15677         (gdb-show-threads-by-default): New customization options.
15678         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15679         routines.
15680         (gdb-get-buffer-create): Send buffers update signal when they are
15681         created.
15682         (gdb-invalidate-locals, gdb-invalidate-registers)
15683         (gdb-invalidate-breakpoints)
15684         (gdb-invalidate-threads, gdb-invalidate-disassembly)
15685         (gdb-invalidate-memory): Accept update signal.
15686         (gdb-current-context-command): Use --frame option.
15687         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15688         Implement `gdb-frame-number' selection logic.
15689         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15690         whether to show GUD toolbar buttons.
15691         (gdb-thread-exited): Unselect current thread when it exits.
15692         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15693         (gdb-mark-line): Routine which sets overlay arrow or inverses
15694         video on fringeless displays.
15695         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15696         to build aligned columns of data in GDB buffers and set text
15697         properties line-by-line.
15698         (gdb-invalidate-breakpoints)
15699         (gdb-breakpoints-list-handler-custom)
15700         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15701         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15702         (gdb-registers-handler-custom): Align data columns.
15703         (gdb-locals-handler-custom): Now prints data like in variable
15704         declarations.
15705         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15706         Removed confusing buttons.
15707         (gdb-invalidate-threads): Append --frame.
15708         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15709         between breakpoints/threads buffers.
15710         (gdb-set-window-buffer): Now can ignore dedicated windows.
15711         (gdb-propertize-header): Use `gdb-set-window-buffer'.
15712         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15713         (def-gdb-thread-buffer-gud-command): Replaces
15714         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15715         for fine thread control.
15716         (gdb-preempt-existing-or-display-buffer): New function used to
15717         display bound buffers without breaking window layout.
15718         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15719         (gdb-select-frame): New version of `gdb-frames-select' which now
15720         sets `gdb-frame-number' so commands may use --frame option instead
15721         of inner debugger state.
15722         (gdb-frame-handler): Do not set `gdb-frame-number'.
15723         (gdb-threads-mode-map): Select threads with mouse.
15725         * progmodes/gud.el (gdb-gud-context-call): Declare function to
15726         avoid compilation warning.
15727         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15728         `gdb-show-stop-p`.
15730         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15731         Argument `key' renamed to `buffer-type'.
15732         (gdb-current-context-buffer-name): Do not add thread info to
15733         buffer name when no thread is selected.
15734         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15735         command (bug 3794).
15736         (gdb-thread-selected): Handle `=thread-selected' notification.
15737         (gdb-wait-for-pending): New macro to deal with congestion problems.
15738         (gdb-breakpoints-list-handler-custom): Don't fail on pending
15739         breakpoints.
15740         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15741         This fixes problem similar to one described in bug 3947.
15742         (gud-menu-map): More menu items.
15743         (gdb-init-1): Reset `gdb-thread-number' to nil.
15745         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15746         non-stop settings.
15748         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15749         (gdb-current-context-command): Do not append --thread if
15750         `gdb-thread-number' is nil.
15751         (gdb-running-threads-count, gdb-stopped-threads-count): New
15752         variables.
15753         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15754         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15755         customization options.
15756         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15757         GUD commands.
15758         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15759         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15760         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15761         set `gdb-thread-number' and update `gud-running' properly.
15762         (gdb-running): Update threads list when new threads appear.
15763         (gdb-stopped): Support non-stop operation and new thread switching
15764         logic.
15765         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15766         (gdb-json-partial-output): New set of JSON routines.
15767         (def-gdb-auto-update-trigger): New `signal-list' optional
15768         argument.
15769         (gdb-thread-list-handler-custom): Update `gud-running',
15770         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15771         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15772         (gdb-continue-thread, gdb-step-thread): New commands for fine
15773         thread execution control.
15774         (gud-menu-map): New menu items to switch non-stop options.
15775         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15776         (gdb-send): Mimic RET properly (bug 3794).
15778         * progmodes/gdb-mi.el (gdb-rules-name-maker)
15779         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15780         gdb-buffer-rules.
15781         (def-gdb-auto-update-handler): New nopreserve optional argument.
15782         (gdb-stack-list-frames-custom): Print stack from top to bottom.
15784         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15785         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15786         (gdb-parent-mode): New mode to derive other GDB modes from.
15787         (gdb-display-disassembly-for-thread)
15788         (gdb-frame-disassembly-for-thread): New commands for threads
15789         buffer.
15791         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15792         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15793         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15794         (gdb-update): We now store all GDB buffers in a list so that they
15795         can be updated by traversing a list instead of calling invalidate
15796         triggers explicitly.
15797         (def-gdb-trigger-and-handler): New macro to define trigger-handler
15798         pair for GDB buffer.
15799         (gdb-stack-buffer-name): Add thread information.
15800         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15801         handle pending triggers.
15802         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15803         (def-gdb-thread-buffer-simple-command)
15804         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15805         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15806         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15807         New commands which show buffers bound to thread.
15808         (gdb-stack-list-locals-regexp): Removed unused regexp.
15810         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15811         (gdb-locals-buffer-name, gdb-registers-buffer-name)
15812         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15813         to (gud-comint-buffer) in *-buffer-name functions
15814         because (gdb-get-target-string) already does that.
15815         (gdb-locals-handler-custom, gdb-registers-handler-custom)
15816         (gdb-changed-registers-handler): Rewritten without regexps.
15818         * progmodes/gdb-mi.el: Basic thread selection support.
15819         (gdb-thread-number): New variable.
15820         (gdb-current-context-command): New macro which adds --thread
15821         option to command.
15822         (gdb-threads-mode-map): Select thread with SPC.
15823         (gdb-thread-list-handler-custom): Mark current thread with overlay
15824         arrow.  Synchronize GDB thread and Emacs thread.
15825         (gdb-select-thread): New command which selects current thread.
15826         (gdb-invalidate-frames, gdb-invalidate-locals)
15827         (gdb-invalidate-registers): Use --thread option.
15829 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
15831         * net/tramp.el (top): Make check for tramp-gvfs loading more
15832         robust.  (Bug#3977)
15833         (tramp-handle-insert-file-contents): `unwind-protect' must be
15834         inside `with-parsed-tramp-file-name'.
15836         * net/tramp-gvfs.el (top): Remove superfluous message when loading
15837         fails.
15839 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
15841         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15842         directory if CLASSPATH is not set.
15844 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
15846         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15847         New defconst.
15848         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
15850 2009-08-02  Kevin Ryde  <user42@zip.com.au>
15852         * net/newst-backend.el (newsticker--raw-url-list-defaults):
15853         Update freshmeat link.  Delete newsforge.com as it seems gone.
15855 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15857         * select.el (x-set-selection): Doc fix (Bug#4021).
15859         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15861         * help-fns.el (describe-variable): Treat list return values from
15862         dir-locals-find-file properly (Bug#4005).
15864 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
15866         * net/tramp.el (tramp-debug-message): Print also microseconds.
15868 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
15870         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15871         or END is non-nil.
15872         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15873         (tramp-get-debug-buffer): Change `outline-regexp' according to new
15874         format.
15876         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15877         (tramp-get-file-property): Use it.
15879         * autorevert.el (auto-revert-handler): Allow
15880         `auto-revert-tail-mode' for remote files.
15882 2009-08-02  Jason Rumney  <jasonr@gnu.org>
15884         * minibuffer.el (read-file-name): Treat confirm options to
15885         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
15887 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15889         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15890         (font-lock-variable-name-face, font-lock-constant-face): Darken
15891         the colors for light backgrounds.
15893 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
15895         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15896         month names.  (Bug#3987)
15898 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
15900         * simple.el (line-move-finish): Pass whole number to
15901         line-move-to-column.
15902         (line-move-visual): Perform hscroll to the recorded position.
15904 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
15906         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15908 2009-07-29  Alan Mackenzie  <acm@muc.de>
15910         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15912 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
15914         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15915         (gdb-place-breakpoints): Use full path when setting breakpoints.
15917 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
15919         * calc/calc.el (calc-mode-map): Add keybinding for
15920         `calc-transpose-lines'.
15922 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
15924         * calc/calc-misc.el (calc-transpose-lines): New function.
15926 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
15928         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15929         Simplify check for out-of-band methods.
15930         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15931         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
15933 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
15935         * vc-git.el (vc-git-checkin): Fix typo.
15937 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
15939         * progmodes/js2-mode.el: New file.
15941 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
15943         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15944         (gud-menu-map): Adjust tooltip accordingly.
15946 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
15948         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15949         (vc-bzr-log-view-mode): Adjust log-view-file-re.
15951         * add-log.el (change-log-mode-map): Add a menu.
15953 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
15955         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15956         function returns nil.
15957         (dbus-handle-event): Handle special return value :ignore.
15958         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15960 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
15962         * view.el (view-mode-enable): Don't define Helper-return-blurb if
15963         it's not needed.
15965 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
15967         Fix Bug#3888:
15969         * w32-vars.el (x-select-enable-clipboard): Doc fix.
15971         * term/pc-win.el (x-display-name, x-colors)
15972         (x-select-enable-clipboard, x-select-text): Doc fix.
15974         * term/common-win.el (x-display-name, x-colors): Doc fix.
15976         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15977         (xw-defined-colors): Doc fix.
15979         * w32-fns.el (x-select-text, x-setup-function-keys)
15980         (x-get-selection, x-set-selection): Doc fix.
15982         * term/x-win.el (x-select-text, x-setup-function-keys)
15983         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15985         * select.el (x-set-selection): Doc fix.
15987 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
15989         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15990         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
15991         "IsNSSSupportAvailable" method is not available.  Reported by
15992         Steve Youngs <steve@sxemacs.org>.
15994 2009-07-24  Kenichi Handa  <handa@m17n.org>
15996         * international/characters.el: Fix setting of category ?C, ?|, ?K,
15997         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
15998         (build-unicode-category-table): Fix range checks.
16000 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
16002         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16003         the buffer we try to sync is current when calling
16004         vc-resynch-buffer.
16006         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16007         not show up to date files.
16009 2009-07-24  Glenn Morris  <rgm@gnu.org>
16011         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16012         Add autoload cookies.  If necessary, initialize.
16013         (elint-log): Handle non-file buffers.
16014         (elint-initialize): Add optional argument to reinitialize.
16015         (elint-find-builtin-variables): Save excursion.
16017 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
16019         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16020         for Lint.
16022 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
16024         * vc.el (vc-print-log-internal): New function, split out from ...
16025         (vc-print-log): ... here.
16026         (vc-dir-move-to-goal-column): Declare.
16028         * vc-git.el (vc-git-add-signoff): New variable.
16029         (vc-git-checkin): Use it.
16030         (vc-git-toggle-signoff): New function.
16031         (vc-git-extra-menu-map): Bind it to menu.
16032         (vc-git--run-command-string): Accept a nil FILE argument.
16033         (vc-git-stash-list): New function.
16034         (vc-git-dir-extra-headers): Use it.
16036 2009-07-23  Glenn Morris  <rgm@gnu.org>
16038         * help-fns.el (describe-variable): Describe ignored and risky local
16039         variables in a similar way to that in which we describe safe ones.
16041         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16042         (byte-compile-output-file-form, byte-compile-output-docform)
16043         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16044         Give some more local variables with common names a "bytecomp-" prefix,
16045         so as not to shadow things during compilation.
16046         * emacs-lisp/cl-macs.el (load-time-value)
16047         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16048         `outbuffer' to `bytecomp-outbuffer'.
16050         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16051         since the next two variables cover them automatically now.
16052         (elint-builtin-variables, elint-autoloaded-variables): New.
16053         (elint-unknown-builtin-args): Remove all members, since they can be
16054         parsed automatically now.
16055         (elint-extra-errors): New.
16056         (elint-env-add-env, elint-env-add-macro): Use cadr.
16057         (elint-current-buffer): Use or.  Change final message.
16058         (elint-get-top-forms): Use line-end-position.
16059         (elint-init-env): Use cadr.  Handle autoload, declare-function,
16060         and defalias.
16061         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
16062         (regexp-assoc): Remove unused function.
16063         (elint-top-form): Set elint-current-pos, to record the start of the
16064         top-level form, for compilation-mode.
16065         (elint-form): Trap errors in macro expansion.  Use dolist.
16066         (elint-unbound-variable): Use elint-builtin-variables and
16067         elint-autoloaded-variables.
16068         (elint-get-args): Use cadr, or.
16069         (elint-check-cond-form): Use dolist, cadr.
16070         (elint-check-condition-case-form): Doc fix.  Use cadr.
16071         Use elint-extra-errors.
16072         (elint-log): New function.
16073         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16074         Distinguish errors and warnings.
16075         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
16076         Use a bytecomp-style format.
16077         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
16078         (elint-get-log-buffer): Use compilation mode.  Disable undo.
16079         Don't truncate lines.
16080         (elint-initialize): Set builtin and autoloaded variable lists.
16081         Only process elint-unknown-builtin-args if non-nil.
16082         (elint-find-builtin-variables, elint-find-autoloaded-variables):
16083         New functions.
16084         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
16086 2009-07-22  Kevin Ryde  <user42@zip.com.au>
16088         * net/newst-backend.el (newsticker--parse-atom-1.0)
16089         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16090         (newsticker--parse-rss-1.0):
16091         * progmodes/idlwave.el (idlwave-mode):
16092         * progmodes/idlw-shell.el (idlwave-shell-mode):
16093         * progmodes/vera-mode.el (vera-mode):
16094         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16095         * progmodes/vhdl-mode.el (vhdl-mode):
16096         * textmodes/table.el (table-generate-source)
16097         (table--warn-incompatibility):
16098         Hyperlink urls in docstrings with URL `...'.
16100 2009-07-22  Glenn Morris  <rgm@gnu.org>
16102         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16103         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16104         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16105         Remove leading * from defcustom docs.
16107         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
16109         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16110         defcustom doc.
16111         (list-load-path-shadows): Optionally, just return shadows as a string.
16113         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16115 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
16117         * mail/rmailedit.el (rmail-edit-mode): Use
16118         auto-save-include-big-deletions.
16120         * mail/rmail.el (rmail-variables): Use
16121         auto-save-include-big-deletions.
16123         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16124         changes.
16126 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
16128         * calc/calc.el (calc-undo-length): New variable.
16129         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16131 2009-07-21  Richard Stallman  <rms@gnu.org>
16133         * files.el (auto-save-mode): Handle buffer-save-size = -2
16134         for toggling mode.
16136 2009-07-21  Glenn Morris  <rgm@gnu.org>
16138         * textmodes/ispell.el (ispell-looking-back): Update declaration.
16140         * calendar/todo-mode.el (calendar-current-date): Update declaration.
16142         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16143         silence compiler.  Instead...
16144         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16145         (ps-print-ensure-fontified): Update for above function name changes.
16147         * printing.el (pr-mh-get-msg-num, pr-mh-show)
16148         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16149         silence compiler.  Instead...
16150         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16151         (mh-show-buffer): Only define for compiler.
16152         (pr-mh-current-message): Update for above function name changes.
16154         * files.el (abort-if-file-too-large): Explicitly pass `filename'
16155         as an argument.
16156         (find-file-noselect, insert-file-1): Update for above change.
16158         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16160         * mail/mailclient.el (mailclient-send-it): Fix message.
16162         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16163         (edebug-eval): Check cl-debug-env is bound.
16164         (print-level, print-circle): Don't redefine built-in variables.
16166         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16167         (custom-print-vectors): Remove old comments from doc.
16169         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16170         (emerge-version): Make the variable an obsolete alias for the
16171         emacs-version variable.  Make the function obsolete.
16172         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16173         Emerge options, rather than merging in into the main Options menu.
16174         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
16175         and auto advance modes.  Disable edit/fast items when not relevant.
16177 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
16179         * term/vt420.el (terminal-init-vt420): Fix typo.
16181 2009-07-20  Sam Steingold  <sds@gnu.org>
16183         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16184         variable (removed from compile.el on 2004-03-11).
16186 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
16188         * files.el (hack-local-variables-filter): Fix last change.
16190 2009-07-19  Juri Linkov  <juri@jurta.org>
16192         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16193         (dir-local-variables-alist): New buffer-local variable.
16194         (hack-local-variables-filter): If variable is not dir-local,
16195         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16196         because file-local overrides dir-local.
16197         (c-postprocess-file-styles) <declare-function>:
16198         Remove obsolete declaration.
16199         (hack-dir-local-variables): Add dir-local variable/value pair to
16200         `dir-local-variables-alist' and remove duplicates.  Doc fix.
16202         * help-fns.el (describe-variable): Add information about
16203         file-local and dir-local variables.
16205 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
16207         * files.el (hack-local-variables-filter): Rewrite.
16209 2009-07-19  Glenn Morris  <rgm@gnu.org>
16211         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16212         Silence compiler by only defining on XEmacs.
16214         * international/mule.el (auto-coding-regexp-alist): Only match
16215         BABYL... at the start of buffer, not of lines.  (Bug#3790)
16217         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16218         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
16219         (cal-menu-context-mouse-menu): Doc fix.
16221         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16223         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
16225 2009-07-18  Juri Linkov  <juri@jurta.org>
16227         * info.el: Virtual Info keyword finder.
16228         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16229         (Info-finder-file): New variable.
16230         (Info-finder-find-file): New function.
16231         (finder-known-keywords, finder-package-info)
16232         (find-library-name, lm-commentary): Use defvar and
16233         declare-function to silence compiler warnings.
16234         (Info-finder-find-node): New function.
16235         (info-finder): New command.
16237         * subr.el (process-kill-buffer-query-function): New function.
16238         (add-hook)<kill-buffer-query-functions>: Add hook
16239         `process-kill-buffer-query-function'.
16241 2009-07-18  Alan Mackenzie  <acm@muc.de>
16243         * progmodes/cc-mode.el (c-before-hack-hook)
16244         (c-postprocess-file-styles): Give invocation of `c-set-style'
16245         DONT-OVERRIDE parameter of t.  Already set style variables will
16246         thus not be overridden by style settings given by `c-file-syle'.
16248         * files.el (hack-local-variables-filter): Remove entries with
16249         duplicate keys from `file-local-variables-alist'.
16251 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
16253         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16254         x-set-selection if display-selections-p returns nil for the
16255         current frame.
16257 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
16259         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16261 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
16263         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16264         Accept nil in addition to a regexp.
16265         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16266         Accept nil in addition to a regexp.
16267         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16268         buffers that have an associated file.  Handle nil values of
16269         desktop-buffers-not-to-save and desktop-files-not-to-save.
16270         (Bug#3833)
16272         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16273         (x-disown-selection-internal): New functions.
16275 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
16277         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16278         warning.
16279         (gdb-breakpoints-header): Move forward to avoid compiler warning.
16280         (gdb-make-header-line-mouse-map): Remove duplicate definition.
16282 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
16284         * simple.el (set-mark): Revert last change.
16286 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
16288         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16289         rendering of pngs is not possible instead of messaging a long
16290         description.
16292 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
16294         * w32-fns.el (x-selection-owner-p): New function.
16296         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16297         (mouse-yank-at-click, mouse-yank-primary): If
16298         select-active-regions is non-nil, deactivate the mark before
16299         insertion.
16301         * simple.el (deactivate-mark, set-mark): Only save selection if we
16302         own it.
16304 2009-07-17  Kenichi Handa  <handa@m17n.org>
16306         * case-table.el (describe-buffer-case-table): Fix for the case
16307         that KEY is a cons.
16309 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
16311         * vc-rcs.el (vc-rcs-find-file-hook):
16312         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16314 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
16316         * net/tramp.el (tramp-wait-for-output): Handle the case when
16317         commands do not return a newline but a null byte before the shell
16318         prompt.  (Bug#3858)
16320 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16322         * term/ns-win.el (ns-set-alpha): Don't declare.
16323         (ns-set-background-alpha): Remove function.
16325 2009-07-16  Kevin Ryde  <user42@zip.com.au>
16327         * emacs-lisp/copyright.el (copyright-update): Save match-data across
16328         y-or-n-p, for safety.
16330 2009-07-16  Richard Stallman  <rms@gnu.org>
16332         * files.el (auto-save-mode): If buffer-saved-size is -2,
16333         don't clobber it.
16335         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16336         (rmail-retry-ignored-headers): Add more uninteresting fields.
16338 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
16340         * net/rcirc.el (rcirc): Use history variables.
16341         (rcirc-server-name-history, rcirc-nick-name-history)
16342         (rcirc-server-port-history): New variables.
16344 2009-07-15  Kenichi Handa  <handa@m17n.org>
16346         * international/mule-cmds.el (set-language-environment-charset):
16347         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16348         ignore them.
16350         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16351         Delete unibyte-display.
16353 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16355         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16357 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16359         * simple.el (deactivate-mark): Optional argument FORCE.
16360         (set-mark): Use deactivate-mark.
16362         * info.el (Info-search): No need to check transient-mark-mode
16363         before calling deactivate-mark.
16365         * select.el (x-set-selection): Doc fix.
16366         (x-valid-simple-selection-p): Allow buffer values.
16367         (xselect--selection-bounds): Handle buffer values.  Suggested by
16368         David De La Harpe Golden.
16370         * mouse.el (mouse-set-region, mouse-drag-track): Call
16371         copy-region-as-kill before setting the mark, to let
16372         select-active-regions work.
16374 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
16376         * simple.el (deactivate-mark): If select-active-regions is
16377         non-nil, copy the selection data into a string.
16378         (activate-mark): If select-active-regions is non-nil, set the
16379         selection to the current buffer.
16380         (set-mark): Update selection if select-active-regions is non-nil.
16382         * select.el (x-valid-simple-selection-p): Allow buffer values.
16384 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16386         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16387         and more featureful message-mode.
16389 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
16391         * select.el (x-set-selection): Doc fix.
16392         (x-valid-simple-selection-p): Disallow selection data consisting
16393         of a list or cons of integers, since that is not used.
16394         (xselect--selection-bounds, xselect--int-to-cons): New functions.
16395         (xselect-convert-to-string, xselect-convert-to-length)
16396         (xselect-convert-to-filename, xselect-convert-to-charpos)
16397         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16399 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
16401         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16402         output in -break-info command (Emacs bug #3794).
16404 2009-07-14  Glenn Morris  <rgm@gnu.org>
16406         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16407         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16408         (edebug-print-length, edebug-print-level, edebug-print-circle)
16409         (edebug-sit-for-seconds, edebug-view-outside)
16410         (edebug-bounce-point, edebug-set-global-break-condition)
16411         (edebug-Go-nonstop-mode, edebug-trace-mode)
16412         (edebug-Trace-fast-mode, edebug-continue-mode)
16413         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16414         (edebug-visit-eval-list): Doc fixes.
16416         * subr.el (def-edebug-spec): Doc fix.
16418 2009-07-14  Kenichi Handa  <handa@m17n.org>
16420         * international/characters.el: Fix setting of category ?C.
16422 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
16424         * term/ns-win.el (x-select-font): defalias x-select-font to
16425         ns-popup-font-panel instead of generate-fontset-menu.
16427 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
16429         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
16431 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
16433         * arc-mode.el (archive-find-type): Allow for a PK00 string before
16434         the PK\003\004 header (Bug#3770).
16436 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
16438         * pcomplete.el (pcomplete-comint-setup): Check for
16439         shell-dynamic-complete-filename too.
16441 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
16443         * simple.el (temporary-goal-column): Change the value for
16444         line-move-visual to a cons cell.
16445         (line-move-visual): Record or set the window hscroll, if
16446         necessary (Bug#3494).
16447         (line-move-1): Handle cons value of temporary-goal-column.
16449 2009-07-11  Kenichi Handa  <handa@m17n.org>
16451         * international/mule-diag.el (describe-character-set): Don't show
16452         width.
16454 2009-07-10  Sam Steingold  <sds@gnu.org>
16456         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16457         Omake sometimes indents the errors it prints, so allow all
16458         regexps to start with spaces.
16460 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
16462         * cus-edit.el (customize-changed-options-previous-release):
16463         Bump value to 22.1.  (Bug#3804)
16465 2009-07-08  Sam Steingold  <sds@gnu.org>
16467         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16468         to be a cons cell (test . ignored-directory) to selectively ignore
16469         some directories depending on the location of the search.
16471 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
16473         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16474         remote user is root, on the local host.
16475         (tramp-local-host-p): Either the local user or the remote user
16476         must be root.  (Bug#3771)
16478 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16480         * progmodes/gdb-mi.el (gdb): Remove description of
16481         gdb-use-separate-io-buffer.
16482         (menu): Don't allow toggling of or enable
16483         gdb-use-separate-io-buffer from menubar.
16485 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16487         * mail/unrmail.el (unrmail): Make sure the message ends with two
16488         newlines (Bug#3769).
16490 2009-07-08  Glenn Morris  <rgm@gnu.org>
16492         * calendar/calendar.el (calendar-current-date): Rework previous change.
16494 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16496         * calendar/calendar.el (calendar-current-date):
16497         Add an optional argument giving an offset from today.
16499 2009-07-08  Glenn Morris  <rgm@gnu.org>
16501         * tutorial.el (tutorial--describe-nonstandard-key):
16502         Adjust the message for when a key has been unbound.
16503         (help-with-tutorial): Hide the arch-tag.
16505 2009-07-08  Kenichi Handa  <handa@m17n.org>
16507         * international/fontset.el (setup-default-fontset): For each
16508         script, append (not set) font-specs.
16510         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16511         docstring.
16513 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16515         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16516         -data-list-register-names to ...
16517         (gdb-starting): ... here because GDB 7.0 requires execution to
16518         have started when using this MI command.
16519         (gdb-set-header): New function to distinguish select and
16520         unselected tabs in gdb buffers.
16521         (gdb-propertize-header): New macro that uses gdb-set-header.
16522         (gdb-breakpoints-header, gdb-locals-header): Use it.
16523         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16525 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16527         * Makefile.in (ELCFILES): Remove fadr.elc.
16529 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16531         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16532         may contain frame information, so `string-match' should be used.
16533         (gdb-update): Disassembly is invalidated through
16534         `gdb-get-selected-frame'.
16535         (gdb-pad-string): New function to pad string with spaces.
16536         (gdb-invalidate-disassembly): Invalidate only if the buffer
16537         exists.
16538         (gdb-disassembly-handler-custom): Column alignment.
16539         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16540         placing new ones.
16541         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16542         end of line, too.
16543         (gdb-frame-handler): Match convention to for disassembly buffer
16544         mode name.
16545         (gdb-stack-list-frames-handler): Rewritten without regexps.
16546         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16547         not highlight breakpoints without line information.
16548         (gdb-input): Add trailing newline to command.
16550         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16551         buffer properly.
16552         (gdb-breakpoints-list-handler-custom): Replacement for
16553         `gdb-break-list-handler'.  Using real parser instead of regexps
16554         now.
16555         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16556         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16557         to place breakpoints.
16558         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16559         functions.
16560         (gdb-disassembly-handler-custom): Show overlay arrow.
16561         (gdb-disassembly-place-breakpoints): Show breakpoints in
16562         disassembly buffer.
16563         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16564         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16565         instead of parsing breakpoints buffer.  Fixed old menu references
16566         in `gud-menu-map'.
16568         * fadr.el: Remove.
16570         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16571         (gdb-memory-address): New variable which holds top address of
16572         memory page shown in memory buffer.
16573         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16574         customization variables.
16575         New functions:
16576         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16577         display the memory buffer.
16578         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16579         buffer display parameters.
16580         (def-gdb-memory-format, gdb-memory-format-binary)
16581         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16582         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16583         Functions for setting memory buffer format.
16584         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16585         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16586         unit size used in memory buffer.
16587         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16588         to next/previous page of memory buffer.
16589         Now using (bindat-get-field) instead of fadr functions.
16591 2009-07-07  Sam Steingold  <sds@gnu.org>
16593         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16594         non-top-level files.
16596 2009-07-07  Kenichi Handa  <handa@m17n.org>
16598         * international/mule-cmds.el (reset-language-environment): Put
16599         the highset priority to the charset iso-8859-1.
16601 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16603         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16604         to the end of the line when locating the block (Bug#700).
16606 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16608         * net/tramp.el (tramp-handle-write-region): Flush file properties
16609         in case of short track.
16611 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16613         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16614         Coded custom representation of verilog error regular expressions
16615         to work with Emacs-22's new format.
16616         (verilog-error-regexp-xemacs-alist): Coded custom representation
16617         of verilog error regular expressions to work with XEmacs format.
16618         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16619         error recognition into XEmacs.
16620         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16621         error recognition into Emacs-22.
16623 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16625         * woman.el: Remove stand-alone closing parentheses.
16626         (woman-file-name, woman2-format-paragraphs)
16627         (woman-leave-blank-lines): Code cleanup.
16628         (woman-use-own-frame): Change default to nil.
16629         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16630         defaults to inherit from default faces.
16631         (woman2-process-escapes): Consume the newline after a stand-alone
16632         filler character (Bug#3651).
16634 2009-07-06  Glenn Morris  <rgm@gnu.org>
16636         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16637         (top-level): Move provide to the end.
16638         (ffap): Remove defunct URL from custom group.
16640         * subr.el (eval-after-load): Doc fix.
16642 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
16644         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16645         `calc-embedded-word' is called twice.
16647 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16649         * files.el (find-alternate-file-other-window, find-alternate-file):
16650         Obey confirm-nonexistent-file-or-buffer.
16652 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
16654         * dired-aux.el (dired-show-file-type): Handle remote files.
16656 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
16658         * desktop.el (desktop-globals-to-save):
16659         Add file-name-history (Bug#2750).
16661 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
16663         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16665 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
16667         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16668         property on entire argument since this is what eshell-lisp-command
16669         expects.
16671 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
16673         * net/tramp-gvfs.el (tramp-gvfs-methods)
16674         (tramp-gvfs-zeroconf-domain)
16675         (tramp-bluez-discover-devices-timeout): Add version flag.
16676         (tramp-gvfs-handler-mounted-unmounted)
16677         (tramp-gvfs-connection-mounted-p): Polish handling of
16678         incompatibilities between GVFS 0.2 and 1.0.
16680 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
16682         * cus-start.el (all): Add make-pointer-invisible.
16684 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
16686         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16687         formatted correctly.
16689 2009-07-02  Juri Linkov  <juri@jurta.org>
16691         * info.el: Virtual Info files and nodes.
16692         (Info-virtual-files, Info-virtual-nodes): New variables.
16693         (Info-current-node-virtual): New variable.
16694         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16695         New functions.
16696         (Info-file-supports-index-cookies): Use Info-virtual-file-p
16697         to check for a virtual file instead of checking a fixed list
16698         of node names.
16699         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16700         instead of ad-hoc processing of "dir" and (apropos history toc).
16701         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16702         instead of ad-hoc processing of "dir" and (apropos history toc).
16703         Reread a file when moving from a virtual node.
16704         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16705         (Info-directory-toc-nodes, Info-directory-find-file)
16706         (Info-directory-find-node): New functions.
16707         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16708         (Info-history): Move part of code to
16709         `Info-history-find-node'.
16710         (Info-history-toc-nodes, Info-history-find-file)
16711         (Info-history-find-node): New functions.
16712         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16713         (Info-toc): Move part of code to `Info-toc-find-node'.
16714         (Info-toc-find-node): New function.
16715         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
16716         the current Info file name to references because now the node
16717         "*TOC*" belongs to the same Info manual.
16718         (Info-toc-build): Rename from `Info-build-toc'.
16719         (Info-toc-nodes): Rename input argument `file' to `filename'.
16720         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16721         instead of ad-hoc processing of ("dir" apropos history toc).
16722         (Info-index-nodes): Use Info-virtual-file-p
16723         to check for a virtual file instead of checking a fixed list
16724         of node names.
16725         (Info-index-node): Add check for `Info-current-node-virtual'.
16726         Raise `save-match-data' higher up the tree to contain
16727         `search-forward' too (bug fix).
16728         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16729         (Info-virtual-index-nodes): New variable.
16730         (Info-virtual-index-find-node, Info-virtual-index): New functions.
16731         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16732         (Info-apropos-file, Info-apropos-nodes): New variables.
16733         (Info-apropos-toc-nodes, Info-apropos-find-file)
16734         (Info-apropos-find-node, Info-apropos-matches): New functions.
16735         (info-apropos): Move part of code to `Info-apropos-find-node' and
16736         `Info-apropos-matches'.
16737         (Info-mode-map): Bind "I" to `Info-virtual-index'.
16738         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16739         for a virtual file instead of checking a fixed list of node names.
16741         * simple.el (async-shell-command): New command.
16743         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16745         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16746         instead of `mount-info'.
16748 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
16750         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16751         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16753 2009-07-02  Kenichi Handa  <handa@m17n.org>
16755         * international/mule.el (set-keyboard-coding-system): Force *-unix
16756         coding-system to avoid eol conversion.
16758 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
16760         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16761         Add handler for `process-file', `shell-command' and
16762         `start-file-process'.
16763         (tramp-gvfs-handle-shell-command)
16764         (tramp-gvfs-handle-start-file-process)
16765         (tramp-gvfs-handle-process-file): New defuns.
16766         (tramp-synce-list-devices): Simplify check for existence of property.
16768 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
16770         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16772 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
16774         * language/korean.el (set-language-info-alist): Add korean-cp949,
16775         cp949 to spec.
16777 2009-07-01  Kenichi Handa  <handa@m17n.org>
16779         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16781         * international/encoded-kb.el: Deleted.
16783         * international/mule.el (set-keyboard-coding-system): Perform the
16784         necessary setup here instead of calling encoded-kbd-setup-display.
16786 2009-07-01  Glenn Morris  <rgm@gnu.org>
16788         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16790 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
16792         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
16794 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
16796         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16797         Handle also the 'rename case, when setting file modes.  (Bug#3712)
16798         (tramp-default-file-modes): Remove execute permissions.
16800         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16801         (top): Add a default for "synce" in `tramp-default-user-alist'.
16802         Add completion function for "synce" method.
16803         (tramp-hal-service, tramp-hal-path-manager)
16804         (tramp-hal-interface-manager, tramp-hal-interface-device):
16805         New defconst.
16806         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16807         (tramp-synce-list-devices, tramp-synce-parse-device-names):
16808         New defuns.
16810         * net/trampver.el: Update release number.
16812 2009-06-30  Kenichi Handa  <handa@m17n.org>
16814         * international/fontset.el (setup-default-fontset): Add CJK fonts
16815         for symbols and the other miscellaneous characters.
16817         * language/korea-util.el (setup-korean-environment-internal):
16818         Make char-width-table suitable for Korean environments.
16819         (exit-korean-environment): Cancel above.
16821         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16822         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16823         setup-function to make char-width-table suitable for respective
16824         environments, and an exit-function to cancel that.
16826         * language/japan-util.el (setup-japanese-environment-internal):
16827         Call use-cjk-char-width-table with arg `ja_JP'.
16829         * international/characters.el (cjk-char-width-table): Delete it.
16830         (cjk-char-width-table-list): New variable.
16831         (use-cjk-char-width-table): New arg local-name.
16832         (use-default-char-width-table): Fix for the case that Emacs is
16833         already using the default char-width-table.
16835 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
16837         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16838         modes mandatory.  (Bug#3712)
16840 2009-06-29  Alan Mackenzie  <acm@muc.de>
16842         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16843         correction between the visible width of TABs and their number of bytes.
16845 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
16847         * server.el (server-buffer-done): Prevent kill-buffer from
16848         prompting by clearing the buffer modification flag (Bug#3696).
16850 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
16852         * progmodes/verilog-mode.el (verilog-beg-of-statement)
16853         (verilog-endcomment-reason-re): Support unique case and priority case.
16854         (verilog-basic-complete-re): Support localparam lineup.
16855         (verilog-beg-of-statement-1): Fix for robustness, unique case.
16856         (verilog-set-auto-endcomments): Fix for unique case, always_comb
16857         commenting.
16858         (verilog-leap-to-case-head): Now support *nested* unique &
16859         priority case statements.
16860         (verilog-auto-lineup): Make just declarations the default (as it
16861         had been).
16862         (verilog-leap-to-case-head): Support priority/unique case statements.
16863         (verilog-auto-lineup): Rework to give users radio buttons to
16864         select the various styles of automatic lineup.
16865         (verilog-error-regexp-alist): Rework to support the XEmacs style
16866         of error regular expressions from compilers, lint tools &
16867         simulators.  Note that GNU Emacs has made it impossible for a mode
16868         to load such things.
16869         (electric-verilog-terminate-line, verilog-indent-declaration)
16870         (verilog-auto-wiure): Rework for radio button selection of
16871         auto-lineup selection of specification of auto lineup.
16872         (verilog-beg-of-statement-1): Redesign to support proper operation
16873         in additional code, based on testing with auto-lineup.
16874         (verilog-calculate-indent, assignments & declarations)
16875         (verilog-backward-token): Enhance to support auto-lineup of
16876         assignments & declarations.
16877         (verilog-in-directive-p, verilog-at-struct-p): New function for
16878         easy test of whether we are.
16879         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16880         to support safe execution at almost anyline.
16881         (verilog-calc-1): Properly support indenting deep inside generate
16882         blocks.
16883         (verilog-init-font): Remove definition & use of verilog-init-font,
16884         as it is redundant with font-lock-defaults.
16885         (verilog-mode): Alter the definition of verilog-font-lock-defaults
16886         to avoid circular calls if syntax-ppss is a function (as is the
16887         case now in 22.x GNU Emacs) as that function would sometimes call
16888         itself, leading to (nearly) infinite recursion.
16889         (verilog-ovm-begin-re, verilog-ovm-end-re)
16890         (verilog-ovm-statement-re, verilog-leap-to-head)
16891         (verilog-backward-token): Add support for OVM macros.  Some are
16892         complete statements, and others open and close scopes like begin
16893         and end.
16894         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16895         (verilog-defun-level-generate-only-re): Really fix the defun-list
16896         compilation issue.
16897         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16898         coverpoint, constraint and cross statements.
16899         (verilog-defun-level-list, verilog-generate-defun-level-list)
16900         (verilog-all-defun-level-list): Redo these specifications - it is
16901         too hard to support eval-when compile aggregation of lists also
16902         built at when-compile time.
16903         (verilog-defun-level-list): Place defconsts of variables used in
16904         building regular expressions which are built in eval-when-compile
16905         bodies in the same eval-when-compile body to facilitate compile
16906         without load.
16907         (verilog-beg-block-re-ordered): Support indenting
16908         virtual/protected tasks and functions.
16909         (verilog-defun-level-list, verilog-in-generate-region-p)
16910         (verilog-backward-ws&directives, verilog-calc-1): Speed up
16911         indentation of some module items (generate items).
16912         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16913         across virtual/protected tasks and functions.
16915 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
16917         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16918         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
16919         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16920         in concatenations.  Reported by Yishay Belkind.
16921         (verilog-auto-ascii-enum): Support one-hot state machines in
16922         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
16923         (verilog-auto-inst, verilog-auto-inst-port): Include interface
16924         modport in AUTOINST and add vl-modport for users.  Reported by
16925         David Rogoff.
16926         (verilog-auto-inout-module, verilog-auto-inst)
16927         (verilog-decls-get-interfaces, verilog-insert-definition)
16928         (verilog-insert-one-definition, verilog-read-decls)
16929         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16930         (verilog-sig-modport, verilog-signals-combine-bus)
16931         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16932         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16933         Suggested by David Rogoff.
16934         (verilog-repair-open-comma): Fix non-insertion of comma when
16935         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
16936         (verilog-make-width-expression): Simplify [A-1:0] expression
16937         widths to just {A{1'b0}}.
16938         (verilog-mode): Cleanup checkdoc warnings.
16939         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16940         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16941         inputs/outputs or data type.  Suggested by Vasu Kandadi.
16942         (next-error-last-buffer): Fix byte-compiler warning.
16943         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16944         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16945         or shell command text during AUTO expansion.  Suggested by Tad Truex.
16946         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16947         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16948         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16949         in AUTOINOUT.  Reported by Matthew Lovell.
16950         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16951         causing use of <= assignments.  Reported by Alex Reed.
16952         (verilog-read-decls): Fix triand, trior, wand, wor to be
16953         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
16954         (verilog-extended-complete-re): Support import "DPI-C" functions.
16955         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16956         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
16957         (verilog-insert-date, verilog-insert-year)
16958         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16959         Windows systems.  Reported by Michael Potts.
16960         (verilog-read-module-name): Fix AUTOINST when the child module
16961         declaration's name is a tick define.  Reported by Elliot Mednick.
16962         (verilog-read-decls): Fix V2K parameter bit subscripts getting
16963         passed to next parameter's definition.  Reported by Bruce T.
16964         (verilog-read-decls): Fix detecting "parameter int" when using
16965         AUTOINSTPARAM.  Reported by Bruce T.
16966         (verilog-goto-defun): Fix goto not finding modules unless first
16967         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
16968         (verilog-mode): Expand -f flag arguments on entry to mode so
16969         verilog-goto-defun will work.  Reported by Lawrence Butcher.
16970         (verilog-getopt): Expand environment variables in -f file
16971         arguments.  Suggested by Lawrence Butcher.
16972         (verilog-set-define): Fix "Symbol's value as variable is void"
16973         when reading enumerations.
16974         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16975         Suggested by Stephen Peltan.
16976         (verilog-read-defines): Fix reading of enumerations in include
16977         files.  Reported by Steve Peltan.
16979 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16981         * files.el (trash-directory): Fix defcustom type.
16983 2009-06-28  Juri Linkov  <juri@jurta.org>
16985         * help-fns.el (describe-function-1): Correctly locate adviced
16986         functions in hyperlink (Bug#2438).
16988 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
16990         * files.el (trash-directory): Change default to nil.
16991         (move-file-to-trash): If trash-directory is nil and
16992         system-move-file-to-trash is unbound, perform freedesktop-style
16993         trashing.
16995 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16997         * files.el (move-file-to-trash): Add freedesktop trash
16998         support (Bug#973).
17000 2009-06-28  Glenn Morris  <rgm@gnu.org>
17002         * autorevert.el (global-auto-revert-non-file-buffers)
17003         (global-auto-revert-mode): Doc fixes.
17005 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
17007         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17009 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
17011         * faces.el (x-handle-named-frame-geometry): Ensure that we have
17012         opened an X connection before calling x-get-resource (Bug#3194).
17014         * play/doctor.el: Remove reference to obsolete website.
17015         (make-doctor-variables): Correct grammar mistake (Bug#2633).
17017 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
17019         Remove find-file-not-found-hook VC method.  (Bug#2757)
17020         * vc-hooks.el (vc-file-not-found-hook)
17021         (vc-default-find-file-not-found-hook): Remove functions.
17022         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17023         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17024         * vc.el:
17025         * vc-hg.el:
17026         * vc-git.el: Do not mention find-file-not-found-hook VC method.
17028 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
17030         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17031         compatibility function for `looking-back'.
17033         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17034         Use `ispell-looking-back'.
17036 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
17038         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17039         rather than `filename'.
17041 2009-06-23  Miles Bader  <miles@gnu.org>
17043         * face-remap.el (text-scale-set): New function.
17045 2009-06-23  Glenn Morris  <rgm@gnu.org>
17047         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17049         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17051         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17053         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17055         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17056         Simplify Persian conditionals.
17058         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17059         variable `filename'.
17061         * comint.el (comint-insert-input): Doc fix.
17063         * Makefile.in (ELCFILES): Fix typo in previous change.
17065 2009-06-23  Miles Bader  <miles@gnu.org>
17067         * cus-start.el: Add entry for `recenter-redisplay'.
17069 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
17071         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17072         Add an optional argument for the backend, use it instead of
17073         calling vc-backend.
17074         (vc-mode-line): Add an optional argument for the backend.
17075         Pass the backend to vc-state and vc-working-revision.  Move code for
17076         special handling for vc-state being a buffer to ...
17078         * vc-rcs.el (vc-rcs-find-file-hook):
17079         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
17081         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17082         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17083         vc-stay-local-p and vc-mode-line calls.
17085         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17086         (vc-cvs-diff, vc-cvs-annotate-command)
17087         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17088         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17089         vc-mode-line calls.
17091         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17092         direct comparison.
17093         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17094         backend when calling vc-mode-line.
17095         (vc-register): Do not create a closure for calling the vc register
17096         function, call it directly.
17098 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
17100         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17101         to make it obvious item can be clicked.
17103         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17105 2009-06-23  Kenichi Handa  <handa@m17n.org>
17107         * language/korea-util.el (korean-key-bindings): Change the binding
17108         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
17109         same command.
17111 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
17113         Sync with Tramp 2.1.16.
17115         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17117         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
17118         when a loading of a package fails.  Completion function for rsync
17119         is `tramp-completion-function-alist-ssh'.
17120         (all): Replace all calls of `split-string' and
17121         `tramp-split-string' by `tramp-compat-split-string'.
17122         (tramp-default-method): Use `tramp-compat-process-running-p'.
17123         (tramp-default-proxies-alist): Allow also Lisp forms.
17124         (tramp-remote-path): Add choice "Private Directories".
17125         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17126         (tramp-domain-regexp): Allow also "-", "_" and ".".
17127         (tramp-end-of-output): Remove newlines, and add "$" at the end.
17128         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17129         (tramp-debug-message): Insert header line in debug buffer.
17130         (tramp-handle-directory-files-and-attributes-with-stat):
17131         Care about filenames with spaces, or starting with "-".
17132         (tramp-handle-dired-uncache): New defun.
17133         (tramp-handle-insert-directory): Don't flush the directory from
17134         cache, this is handled by `dired-uncache' now.
17135         (tramp-handle-insert-file-contents): Improve error handling.
17136         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17137         Quote `tramp-end-of-output'.
17138         (tramp-action-password): Improve trace message.
17139         (tramp-check-for-regexp): Both echoes must be present, before removing.
17140         (tramp-open-connection-setup-interactive-shell): Trace coding system.
17141         (tramp-compute-multi-hops): Eval cons cells of
17142         `tramp-default-proxies-alist'.
17143         (tramp-maybe-open-connection): Use the same command pattern for
17144         first hop and further hops.
17145         (tramp-wait-for-output): Remove handling of newlines.
17146         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17147         (tramp-split-string): Remove function.  It is handled in
17148         tramp-compat now.
17150         * net/tramp-cmds.el (tramp-bug):
17151         Recommend `tramp-cleanup-all-connections' in the bug mail.
17153         * net/tramp-compat.el (tramp-compat-split-string)
17154         (tramp-compat-process-running-p): New defuns.
17156         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17157         for `dired-uncache'.
17159         * net/tramp-gvfs.el: New package.
17161         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17162         Add handler for `dired-uncache'.
17163         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17165         * net/trampver.el: Update release number.  Make version check fit
17166         for SXEmacs 22.
17168 2009-06-22  Jim Meyering  <meyering@redhat.com>
17170         Automatically handle .xz suffix (XZ-compressed files), too.
17171         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17172         XZ is the successor to LZMA: <http://tukaani.org/xz/>
17174 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
17175             Nick Roberts  <nickrob@snap.net.nz>
17177         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17178         repository (http://sphinx.net.ru/hg/gdb-mi/).
17180 2009-06-22  Glenn Morris  <rgm@gnu.org>
17182         * files.el (dir-locals-collect-mode-variables): Allow for any number of
17183         `mode' and `eval' entries.  (Bug#3430)
17185         * Makefile.in (ELCFILES): Add fadr.elc.
17187         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17188         differing behavior of \n and ^ in strings.  (Bug#3385)
17190         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17192         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17193         property.
17194         (lisp-indent-function): Make it a defcustom.
17196 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
17198         * progmodes/gdb-ui.el: Replace with ...
17199         * progmodes/gdb-mi.el: ... this file.
17200         * progmodes/gud.el: Modify for gdb-mi.el.
17202 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
17204         * fadr.el: New file.
17206 See ChangeLog.14 for earlier changes.
17208 ;; Local Variables:
17209 ;; coding: utf-8
17210 ;; End:
17212   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
17214   This file is part of GNU Emacs.
17216   GNU Emacs is free software: you can redistribute it and/or modify
17217   it under the terms of the GNU General Public License as published by
17218   the Free Software Foundation, either version 3 of the License, or
17219   (at your option) any later version.
17221   GNU Emacs is distributed in the hope that it will be useful,
17222   but WITHOUT ANY WARRANTY; without even the implied warranty of
17223   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17224   GNU General Public License for more details.
17226   You should have received a copy of the GNU General Public License
17227   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.