* lisp/emacs-lisp/assoc.el: Remove misleading `sort'.
[emacs.git] / lisp / ChangeLog
blob8d4ccfbf65284e883c71997d60a0127822d9e3f2
1 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
4         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
5         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
7 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
9         * password-cache.el (password-in-cache-p): Convenience function to
10         check if a key is in the cache, even if the value is nil.
12 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
14         * emacs-lisp/package-x.el (package--archive-contents-from-url)
15         (package--archive-contents-from-file): New functions.
16         (package-update-news-on-upload): New var.
17         (package-upload-buffer-internal): Extract archive-contents from
18         package-archive-upload-base if it is not found at archive-url.
19         Obey package-update-news-on-upload.
20         (package-upload-buffer, package-upload-file): Doc fix.
22 2011-02-24  Glenn Morris  <rgm@gnu.org>
24         * files-x.el (modify-dir-local-variable): Handle dir-locals from
25         the cache, and from non-file sources.
27         * help-fns.el (describe-variable): Return consistent results when a
28         dir-local from a file came from the cache or did not.  (Bug#8095)
29         If a dir-local has no associated file, say it came from a "directory".
31         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
32         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
34         * files.el (dir-locals-find-file): Doc fix.
35         Fix the check for cache elements that have no associated file,
36         and the mtime check for those that do.  (Bug#8095)
38         * dired-x.el (dired-hack-local-variables):
39         Handle interrupts during hacking local variables.  (Bug#5216)
41         * emacs-lisp/autoload.el (autoload-save-buffers)
42         (autoload-find-destination, update-directory-autoloads):
43         Avoid prompts when updating autoloads.
45 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
47         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
49 2011-02-23  Kenichi Handa  <handa@m17n.org>
51         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
52         error when a multipart boundary in the nested multipart is found.
54         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
55         header components.
57 2011-02-23  Glenn Morris  <rgm@gnu.org>
59         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
60         * dired-x.el (dired-omit-mode): Safe if boolean.
61         (dired-enable-local-variables): Fix doc and custom type.
62         (dired-enable-local-variables, dired-local-variables-file)
63         (dired-hack-local-variables): Make obsolete.
64         (dired-omit-here-always): Use dir-locals.el instead.
66         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
68 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
70         * help-fns.el (describe-function-1): Don't signal an error just because
71         the DOC file disappeared.
73 2011-02-22  Seppo Sade <sepposade1@gmail.com>  (tiny change)
75         * eshell/esh-ext.el (eshell-external-command): Do not restrict
76         remote check to "ftp".  (Bug#8089)
78 2011-02-21  Alan Mackenzie  <acm@muc.de>
80         Fix bug #7930.
81         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
82         in macros finding their way into c-state-nonlit-pos-cache.
83         Strengthen the comments.
84         (c-state-dump): New commented out diagnostic routine.
86 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
88         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
89         `field' property of `rfn-eshadow-overlay'.
91 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
93         * net/netrc.el (netrc-parse): Comment fix.
95 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
97         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
98         Autoload.  Add optional arg FRAME, and pass it to color-values.
99         (color-complement): Caller changed.  Doc fix.
100         (color-gradient): Rewrite for better clarity and efficiency.
102         * faces.el (color-values): Use cond for clarity.  Doc fix.
104         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
105         color.el instead.
106         (list-colors-sort-key, list-colors-print):
107         Use color-normalized-values.
109 2011-02-20  Drew Adams  <drew.adams@oracle.com>
111         * color.el: First part of merge from hexrgb.el.
112         (color-rgb-to-hex): Rename from color-rgb->hex.
113         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
114         saturation to zero if the value is too small.
115         (color-rgb-to-hsl): Rename from color-rgb->hsl.
116         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
117         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
118         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
119         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
120         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
121         (color-cie-de2000): Doc fix.
123 2011-02-20  Alan Mackenzie  <acm@muc.de>
125         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
126         locating the beginning of a macro.  (Bug#7595)
128 2011-02-20  Glenn Morris  <rgm@gnu.org>
130         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
131         Don't autoload it.
133         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
134         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
136 2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
137             Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)
139         * progmodes/hideshow.el (hs-find-block-beginning)
140         (hs-hide-level-recursive): Ignore comments when parsing braces
141         (Bug#8036).
143 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
145         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
146         (vc-bzr-pull): Use it.
148 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
150         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
151         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
152         but returning an alist.  Ignore comments in bzr conffile.
153         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
154         (vc-bzr-error-regex-alist): New var.
155         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
157         * vc/vc-dispatcher.el (vc-do-async-command):
158         Bind inhibit-read-only to t.
160         * progmodes/compile.el (compilation--flush-directory-cache):
161         Handle the case where cdr of compilation--flush-directory-cache
162         points to no buffer, which can occur if we previously switched to
163         compilation-mode in a pregenerated buffer.
165 2011-02-19  Kenichi Handa  <handa@m17n.org>
167         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
168         get the header copy into the temporary buffer.
169         (rmail-mime-insert-decoded-text): Ignore us-ascii.
170         (rmail-show-mime): When rmail-mime-coding-system is nil, set
171         buffer-file-coding-system to undecided.
173 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
175         * international/mule-cmds.el (read-char-by-name, ucs-insert):
176         Document completion with asterisk and a substring.
178 2011-02-19  Glenn Morris  <rgm@gnu.org>
180         * files.el (find-file-literally): Doc fix.
182         * simple.el (rfc822-goto-eoh): Give it a doc-string.
184         * log-edit.el (log-edit-insert-changelog):
185         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
187 2011-02-19  Glenn Morris  <rgm@gnu.org>
189         * dired-x.el: Don't require dired-aux.
190         (dired-do-create-files, dired-mark-read-regexp)
191         (dired-do-create-files-regexp): Autoload from dired-aux.
193         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
194         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
196         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
197         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
199         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
200         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
201         (dired-clean-up-buffers-too): Declare.
203         * dired-x.el (dired-initial-position): Merge into dired.el's version.
204         * dired.el (dired-initial-position): Merge dired-x's version here.
205         (dired-find-subdir): Declare.
207         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
208         * dired-aux.el (dired-add-entry): Give it a doc-string.
209         Merge dired-x's dired-omit handling here.
210         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
212         * international/mule-diag.el (list-input-methods-1):
213         Indent all lines of multi-line doc-strings.  (Bug#8066)
215 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
217         Fix 2011-02-02 changes.
219         * apropos.el (apropos-print): Call apropos-mode before setting up
220         buffer variables.  Use inhibit-read-only.
222         * emacs-lisp/package.el (package--list-packages):
223         Call package-menu-mode before setting up buffer variables.
225         * play/solitaire.el (solitaire): Call solitaire-mode before
226         setting up buffer variables.  Use inhibit-read-only.
228 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
230         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
231         Bind case-fold-search to nil when looking for end of here-doc.
233 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
235         * image-mode.el (image-toggle-display-image):
236         Set find-file-literally non-nil in buffers visiting binary image
237         files.  (Bug#8047)
239 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
241         * files.el (cd): Make completion obey cd-path (bug#7924).
243 2011-02-18  Glenn Morris  <rgm@gnu.org>
245         * progmodes/prolog.el: Don't require compile when compiling.
246         (compilation-shell-minor-mode, compilation-error-regexp-alist)
247         (compilation-forget-errors, compilation-fake-loc)
248         (compilation-parse-errors-function, compilation-error-list): Declare.
249         (prolog-inferior-mode): Require 'compile.
251         * emulation/cua-base.el (pc-selection-mode): Declare.
253         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
254         (customize-object): Add autoload cookie.
255         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
256         (eieio-browse, describe-class, eieio-describe-class)
257         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
258         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
259         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
260         * Makefile.in (autoloads): Make eieio.el writable.
262         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
263         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
264         (dired-hack-local-variables): Use inhibit-read-only.
265         (dired-guess-default): Simplify.
266         (dired-make-relative-symlink): Use dotimes.
267         (dired-simultaneous-find-file): Use dolist.
268         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
269         (dired-x-hands-off-my-keys): Doc fix.
270         (dired-x-bind-find-file): Doc fix.  Use remapping.
271         (after-init-hook): No need to add dired-x-bind-find-file.
272         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
273         No need to call expand-file-name.
274         (dired-filename-at-point): Remove unused locals `end', `filename'.
276 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
278         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
280 2011-02-18  Christian Ohler  <ohler@gnu.org>
282         * emacs-lisp/ert.el (ert--setup-results-buffer)
283         (ert-results-pop-to-backtrace-for-test-at-point)
284         (ert-results-pop-to-messages-for-test-at-point)
285         (ert-results-pop-to-should-forms-for-test-at-point)
286         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
287         were incorrect and unnecessary.  This should make `make check'
288         pass again.
290 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
292         * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
293         (allout-widgets-icons-dark-subdir): Track relocations of icons
294         * lisp/allout.el: Remove commentary about remove encryption
295         passphrase mnemonic support and verification.
296         (allout-encrypt-string): (allout-encrypt-string): Recognize epg
297         failure to decrypt gpg2 armored text using gpg1, and indicate that
298         the gpg version *might* be the problem in the error message.
300 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
302         * net/rcirc.el (rcirc-float-time): New function.
303         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
304         (rcirc-ctcp-sender-PING): Use it.
306 2011-02-17  Glenn Morris  <rgm@gnu.org>
308         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
309         (speedbar-update-flag, speedbar-fetch-etags-command)
310         (speedbar-fetch-etags-arguments):
311         * term.el (term-buffer-maximum-size, term-input-chunk-size)
312         (term-completion-autolist, term-completion-addsuffix)
313         (term-completion-recexact, term-completion-fignore):
314         * term/sup-mouse.el (sup-mouse-fast-select-window):
315         * term/x-win.el (x-select-request-type):
316         Convert some defvars with "*" to defcustoms.
318         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
320         * vc/vc.el (vc-default-previous-version):
321         Remove alias that points nowhere.  (Bug#4496)
323         * dired-x.el (dired-clean-up-after-deletion):
324         kill-buffer does not need save-excursion.
325         (dired-do-run-mail): Doc fix.
326         (dired-filename-at-point): Doc fix.
327         Use looking-at, and skip-chars rather than re search.
329         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
331 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
333         * allout-widgets.el: New allout extension that shows allout
334         outline structure with graphical widgets.  'allout-widgets'
335         customize group is an 'allout' subgroup, for easy discovery.
337         * allout.el: Include PGP and GnuPG in Keywords, and other
338         commentary refinements.
339         (allout-abbreviate-flattened-numbering): Rename to
340         allout-flattened-numbering-abbreviation, and
341         define-obsolete-variable-alias the old name.
342         (allout-flattened-numbering-abbreviation): Rename from
343         allout-abbreviate-flattened-numbering.
344         (allout-mode-p): Include among autoloads, for use by other modes
345         with impunity.
346         (allout-listify-exposed):
347         Use allout-flattened-numbering-abbreviation.
348         (allout-encrypt-string): Use set-buffer-multibyte directly.
349         (allout-set-buffer-multibyte): Remove.
351 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
353         * simple.el (just-one-space): Remove useless `or' call.
355 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
357         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
358         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
359         (soap-decoded-multi-refs, soap-current-wsdl)
360         (soap-encoded-namespaces): Rename CL-style *...* variables.
362 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
364         * net/soap-client.el: Add "comm" and "hypermedia" to the
365         keywords.  Reflow too long lines.
367         * net/soap-inspect.el: Ditto.  Require 'cl.
369 2011-02-16  Bastien Guerry  <bzg@altern.org>
371         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
372         in a `doctor-type' argument.
374 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
376         * net/soap-client.el:
377         * net/soap-inspect.el: New files.
379 2011-02-16  Leo  <sdl.web@gmail.com>
381         * dired-x.el (dired-mode-map, dired-extra-startup):
382         Remove dired-copy-filename-as-kill since it's already in dired.el.
384 2011-02-16  Glenn Morris  <rgm@gnu.org>
386         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
387         Doc fixes.  Add :set property, replacing top-level calls.
388         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
389         (dired-guess-shell-gnutar): Test tar version rather than system-type.
390         (dired-extra-startup, dired-man, dired-info): Doc fixes.
391         (dired-clean-up-after-deletion): Use when and dolist.
392         (dired-jump): Use unless and when.
393         (dired-virtual): Use line-end-position.
394         (dired-default-directory-alist): Rename from default-directory-alist.
395         (dired-default-directory): Update for above name change.
396         (dired-vm): Drop VM < 5 and simplify.
397         (dired-buffer-more-recently-used-p): Rewrite.
398         (dired-filename-at-point): Use when and or.
399         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
400         Update callers.
402 2011-02-15  Glenn Morris  <rgm@gnu.org>
404         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
406 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
408         * vc/vc-git.el (vc-git-root-log-format): New option for
409         customizing log format.
410         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
411         (vc-git-log-view-mode): Use it.
412         (vc-git-expanded-log-entry): New function.
413         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
415         * vc/vc-hg.el (vc-hg-root-log-template): New option for
416         customizing log format.
417         (vc-hg-print-log): Use it.
418         (vc-hg-expanded-log-entry): New function.
419         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
420         vc-hg-expanded-log-entry.  Truncate lines in root log.
422         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
424         * vc/log-view.el (log-view-mode-menu):
425         Add log-view-toggle-entry-display.
427 2011-02-14  Glenn Morris  <rgm@gnu.org>
429         * dired-x.el: Don't require man when compiling.
430         (dired-omit-extensions, dired-local-variables-file)
431         (dired-x-hands-off-my-keys): Make them defcustoms.
432         (Man-support-local-filenames, Man-getpage-in-background): Declare.
433         (vm-visit-folder): Declare rather than defining.
434         (dired-x-help-address, dired-x-variable-list): Remove.
435         (dired-x-submit-report): Make it an obsolete alias.
437 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
439         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
441 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
443         * net/imap.el: Bring it back.
445 2011-02-13  Alan Mackenzie  <acm@muc.de>
447         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
448         narrow-to-region call that cuts context off the end (Bug#7722).
450         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
451         Refactor nested if-forms with a simple cond.
452         (c-forward-<>-arglist): Revert 2011-01-31 change.
454 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
456         * vc/log-view.el: New command log-view-toggle-entry-display for
457         toggling log entries between concise and detailed forms.
458         (log-view-toggle-entry-display): New command.
459         (log-view-mode-map): Bind RET to it.
460         (log-view-expanded-log-entry-function): New variable.
461         (log-view-current-entry, log-view-inside-comment-p)
462         (log-view-current-tag): New functions.
463         (log-view-toggle-mark-entry): Use log-view-current-entry and
464         log-view-end-of-defun instead of searching directly with
465         log-view-message-re.
466         (log-view-end-of-defun): Likewise.  Add optional ARG for
467         compatibility with end-of-defun.
468         (log-view-end-of-defun): Ignore comments and VC buttons.
470         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
471         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
473 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
475         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
477         * net/imap-hash.el: Remove file.
479 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
481         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
483         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
484         call.
486         * net/tramp-imap.el: Remove file.
488 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
490         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
491         widget library for buttons, just use button.el.
493         * vc/log-view.el (log-view-mode-map): Don't inherit from
494         widget-keymap.
496 2011-02-12  Glenn Morris  <rgm@gnu.org>
498         * emacs-lisp/cl-seq.el (union, nunion, intersection)
499         (nintersection, set-difference, nset-difference)
500         (set-exclusive-or, nset-exclusive-or): Doc fix.
502         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
504         * faces.el (face-attr-match-p): Handle the obsolete :bold and
505         :italic props, so that frame-set-background-mode works.  (Bug#7966)
507         * simple.el (next-error): Doc fix.
509 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
511         * dired-aux.el (dired-create-files): Adapt destination name to
512         match the new behavior of copy-directory.
514 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
516         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
517         from rmail-dont-reply-to-names.  Callers changed.
518         (mail-dont-reply-to): Rename from mail-dont-reply-to.
519         (rmail-dont-reply-to): Make it an obsolete alias.
521         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
522         nil, and make obsolete (Bug#7888).
523         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
525         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
527         * mail/rmailsort.el (rmail-sort-by-correspondent)
528         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
530         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
532 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
534         * files.el (copy-directory): New argument COPY-CONTENTS for
535         copying directory contents into another existing directory.
537 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
539         * minibuffer.el (completion-table-case-fold): New function for
540         creating a case-insensitive completion table.
542 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
544         * net/tramp.el (tramp-default-method): Also check if
545         `auth-source-search' is bound.
546         (tramp-read-passwd): Use `auth-source-search' instead of
547         `auto-source-user-or-password'.
549         * net/tramp-imap.el: Autoload `auto-source-search' instead of
550         `auto-source-user-or-password.
551         (tramp-imap-passphrase-callback-function): Use it.
553         * net/imap-hash.el: Autoload `auto-source-search' instead of
554         `auto-source-user-or-password.
555         (imap-hash-open-connection): Use it.
557         * mail/smtpmail.el: Autoload `auto-source-search' instead of
558         `auto-source-user-or-password.
559         (smtpmail-try-auth-methods): Use it.
561 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
563         * emacs-lisp/package.el: Allow packages to be reinstalled.
564         (package--write-file-no-coding): Remove EXCL arg.
565         (package-unpack-single): Don't use it.
567 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
569         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
570         in each sub directory.
571         (vc-svn-registered): Use vc-svn-root.
572         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
573         (vc-svn-repository-hostname): Use "svn info".
575 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
577         * simple.el (delete-trailing-whitespace): New optional buffer
578         bound parameters.
580 2011-02-11  Bastien Guerry  <bzg@altern.org>
582         * files.el (basic-save-buffer): save unmodified buffers when
583         the file pointed by buffer-file-name doesn't exist.
585 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
587         * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
589 2011-02-11  Glenn Morris  <rgm@gnu.org>
591         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
593 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
595         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
597 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
599         * server.el (server-process-filter): Use pcase.
601         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
602         conflicting ways.
603         (smie-indent--parent): Extend to "parent of arg".
604         (smie-indent-inside-string): New function.
605         (smie-indent-functions): Use it.
607         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
608         bzr locking race condition.
610         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
611         still valid before using it.
613         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
614         `message' -> `compilation-message' rename (bug#8004).
616         Move keymap initialization into declaration.
617         * textmodes/enriched.el (enriched-mode-map):
618         * textmodes/bib-mode.el (bib-mode-map):
619         * term/lk201.el (lk201-function-map):
620         * tar-mode.el (tar-mode-map):
621         * replace.el (occur-mode-map):
622         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
623         * progmodes/idlw-help.el (idlwave-help-mode-map):
624         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
625         * play/solitaire.el (solitaire-mode-map):
626         * play/snake.el (snake-mode-map, snake-null-map):
627         * play/pong.el (pong-mode-map):
628         * play/handwrite.el (menu-bar-handwrite-map):
629         * play/gametree.el (gametree-mode-map):
630         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
631         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
632         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
633         (newsticker--url-keymap):
634         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
635         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
636         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
637         (menu-bar-edit-menu, menu-bar-custom-menu)
638         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
639         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
640         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
641         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
642         (menu-bar-tools-menu, menu-bar-describe-menu)
643         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
644         (menu-bar-help-menu):
645         * mail/rmailsum.el (rmail-summary-mode-map):
646         * kmacro.el (kmacro-step-edit-map):
647         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
648         (ibuffer-mode-operate-map):
649         * hi-lock.el (hi-lock-menu, hi-lock-map):
650         * emulation/vip.el (vip-mode-map):
651         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
652         * bookmark.el (bookmark-bmenu-mode-map):
653         * help-mode.el (help-mode-map): Move initialization into declaration.
655 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
657         * net/rcirc.el: Add PRIVMSG and CTCP functions.
658         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
659         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
660         (rcirc-cmd-me, rcirc-authenticate): Use them.
662 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
664         * allout.el: Synopsis: Change allout user configuration so
665         auto-activation is controlled solely by customization
666         `allout-auto-activation'.
668         (allout-auto-activation-helper) (allout-setup): New autoloads
669         implement new custom set procedure for allout-auto-activation.
670         Also, explicitly invoke
671         (allout-setup) after allout-auto-activation is custom-defined, to
672         effect the settings in emacs sessions besides the few where
673         allout-auto-activation customization is donea.
674         (allout-auto-activation): Use allout-auto-activation-helper to
675         :set.  Revise the docstring.
676         (allout-init): Reduce functionality to just customizing
677         allout-auto-activation, and mark obsolete.
678         (allout-mode): Respect string values for allout-auto-activation.
679         Run allout-after-copy-or-kill-hook without any args.
680         (allout-mode) (allout-layout) (allout-default-layout)
681         (outlineify-sticky): Adjust docstring for new scheme.
682         (allout-after-copy-or-kill-hook): No arguments - hook implementers
683         should concentrate on the kill ring.
685 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
687         * password-cache.el (password-cache-remove): Accept secrets that are
688         not strings.
690 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
692         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
693         of here-doc that immediately follows a comment.
695 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
697         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
699         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
700         available.
701         (rcirc-ctcp-sender-PING): New function.
703 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
705         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
706         Remove the mark/nomark handling, and activate shift-select-mode instead.
708         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
710 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
712         * calc/calc-units.el (math-logunits-quant): Add support for
713         non-logarithmic units.
715 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
717         * allout.el (allout-after-copy-or-kill-hook): New hook for
718         extension-specific processing of killed text.
719         (allout-mode): Include new allout-after-copy-or-kill-hook among
720         mentioned hooks.
721         (allout-kill-line) (allout-kill-topic): Ensure that processing
722         after kill happens even if barf-if-buffer-read-only is raised.
723         Include new allout-after-copy-or-kill-hook among that subsequent
724         processing.
725         (allout-deannotate-hidden): Actually remove the annotation text
726         properties.
728         * allout.el (allout-listify-exposed): Copy text sans text properties.
730 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
732         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
734 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
736         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
738 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
740         * calc/calc.el (calc-logunits-field-reference): Rename from
741         `calc-default-field-reference-level'.
742         (calc-logunits-power-reference): Rename from
743         `calc-default-power-reference-level'
745         * calc/calc-units.el (math-logunits-quant): Rename from
746         `math-logunits-level'
747         (math-logunits-plus): Rename from math-logcombine.
748         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
749         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
750         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
751         New functions.
752         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
753         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
754         (calc-logunits-quantity): Rename from `calc-level'.
755         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
756         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
757         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
758         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
759         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
760         New functions.
762         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
763         (calc-ul-prefix-help): Remove.
764         (calc-l-prefix-help): New function.
765         (calc-full-help): Add reference to `calc-l-prefix-help'.
767         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
769         * calc/README: Mention logarithmic units.
771 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
773         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
774         non-ASCII characters (Bug#7925).
776 2011-02-05  Glenn Morris  <rgm@gnu.org>
778         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
780         * calendar/diary-lib.el (diary-font-lock-keywords):
781         Tweak diary-time-regexp match.  (Bug#7891)
783         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
784         (f90-mode): Use it for mode's `find-tag-default-function' property.
786         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
788         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
790 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
792         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
793         (Bug#6386).
795 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
797         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
798         font-lock-syntax-table remappings.
799         (sh-here-doc-markers, sh-here-doc-re): Remove.
800         (sh-font-lock-close-heredoc): Remove.
801         (sh-syntax-propertize-here-doc): New function.
802         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
803         instead of the sh-here-doc-re.
804         (sh-font-lock-paren): Don't do anything in comments or strings.
805         Handle line continuations.  Accept a few more chars.
806         Don't rely on the font-lock-syntax-table remappings.
807         `esac' is not a valid pattern.
808         (sh-syntax-propertize-function): Handle here-docs differently, so we
809         don't bother syntax-propertizing the insides.
811         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
812         Handle new bashisms ";&" and ";;&" (bug#7947).
814 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
816         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
817         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
819 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
821         * net/tramp.el (tramp-postfix-method-format)
822         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
823         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
824         (tramp-postfix-user-regexp, tramp-prefix-port-format)
825         (tramp-prefix-port-regexp, tramp-postfix-host-format)
826         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
827         Doc fix.
829 2011-02-04  Sam Steingold  <sds@gnu.org>
831         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
833 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
835         * international/mule-util.el (with-coding-priority): Doc fix.
837 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
839         * arc-mode.el (archive-mode-map): Fix a typo in last change.
841 2011-02-03  Sam Steingold  <sds@gnu.org>
843         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
844         Do not error out when `func' is nil.
846 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
848         * net/tramp-sh.el (tramp-remote-path): Add default settings for
849         `tramp-default-remote-path' to the docstring.
850         (tramp-get-remote-path): Suppress error message when `getconf
851         PATH' fails.
853         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
855 2011-02-03  Glenn Morris  <rgm@gnu.org>
857         * vc/vc-hg.el (vc-hg-command): Doc fix.
859         * term/w32-win.el (libpng-version): Declare for compiler.
861         * msb.el: No need to load dired while compiling.
863         * emacs-lisp/elint.el (elint-standard-variables):
864         Remove a couple of built-ins that now have doc-strings.
866         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
867         `require' is automatically `eval-and-compile'd.
869         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
870         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
872         * strokes.el (strokes-fill-current-buffer-with-whitespace):
873         Move definition before use.
874         (strokes-report-bug): Make it obsolete.
876 2011-02-02  Sam Steingold  <sds@gnu.org>
878         * apropos.el (apropos-print): Now that `apropos-mode' inherits
879         from `special-mode', entering it makes the buffer read-only, so
880         call it only when everything has been already inserted.
881         * emacs-lisp/ert.el (ert--setup-results-buffer)
882         (ert-results-pop-to-backtrace-for-test-at-point)
883         (ert-results-pop-to-messages-for-test-at-point)
884         (ert-results-pop-to-timings): Ditto.
885         * emacs-lisp/package.el (package--list-packages): Ditto.
886         * play/solitaire.el (solitaire): Ditto.
888 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
890         * progmodes/compile.el: Make all faces inherit.
891         (compilation-warning): Inherit from font-lock-variable-name-face.
892         (compilation-info): Inherit from font-lock-type-face.
893         (compilation-line-number): Reassign to font-lock-keyword-face.
894         (compilation-column-number): Reassign to font-lock-doc-face.
895         (compilation-leave-directory-face): Reassign to
896         font-lock-builtin-face.
898 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
900         * dired.el (dired-insert-directory): Don't invoke `ls' when
901         ls-lisp.el is used to emulate it.
903 2011-02-01  Julien Danjou  <julien@danjou.info>
905         * color.el (color-gradient): Add a color-gradient function.
907 2011-02-01  Sam Steingold  <sds@gnu.org>
909         * simple.el (special-mode-map): Bind "h" to `describe-mode';
910         bind "z" to `kill-this-buffer'.
911         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
912         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
913         (apropos-mode): Inherit from `special-mode'.
914         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
915         * bookmark.el (bookmark-bmenu-mode): Define using
916         `define-derived-mode' inheriting from `special-mode'.
917         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
918         * image-mode.el (image-mode-map): Ditto.
919         * replace.el (occur-mode): Define using
920         `define-derived-mode' inheriting from `special-mode'.
921         * tar-mode.el (tar-mode): Inherit from `special-mode'.
922         * calendar/diary-lib.el (diary-fancy-display-mode):
923         Inherit from `special-mode-map'.
924         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
925         Inherit from `special-mode'.
926         * emacs-lisp/package.el (package-menu-mode-map): Copy from
927         `special-mode-map'.
928         (package-menu-mode): Define using `define-derived-mode'
929         inheriting from `special-mode'.
930         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
931         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
932         (xesam-mode-map): Define separately.
933         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
934         * progmodes/compile.el (compilation-minor-mode-map)
935         (compilation-mode-map): Inherit from `special-mode-map'.
936         * vc/diff-mode.el (diff-mode-shared-map):
937         Inherit from `special-mode-map'.
938         * vc/log-view.el (log-view-mode-map): Add a comment.
940 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
942         * custom.el (load-theme): Define return value.  Drop use of
943         unsafep; call custom-theme-load-confirm for non-known-safe themes.
944         (custom-theme-load-confirm): Scroll in the correct window.
945         (custom-enabled-themes): Add custom-safe-themes to :set-after.
947         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
948         checkbox if load-theme fails.
950 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
952         * progmodes/compile.el (compilation-next-error): Check there's
953         a message before using it (bug#7941).
955 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
957         * calc/calc-mtx.el (math-lud-pivot-check): New function.
958         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
959         of potential pivots.
961 2011-01-31  Alan Mackenzie  <acm@muc.de>
963         * progmodes/cc-cmds.el (c-forward-over-illiterals):
964         Continue parsing if we encounter a naked # (Bug#7595).
965         (c-beginning-of-statement): Avoid loop in locating the beginning
966         of a macro.  (Not actually committed until 2011-02-20, see above).
968 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
970         * files.el (copy-directory): Fix arguments to recursive call.
972 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
974         * files.el (copy-directory): If destination is an existing
975         directory, copy into a subdirectory there.
977 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
979         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
980         files.
982 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
984         * image-dired.el (image-dired-mouse-display-image): No-op if no
985         file is found (Bug#7817).
987         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
989 2011-01-31  Kenichi Handa  <handa@m17n.org>
991         * international/quail.el (quail-keyboard-layout-alist):
992         Remove superfluous SPC for "pc105-uk" (bug#7927).
994 2011-01-31  Glenn Morris  <rgm@gnu.org>
996         * msb.el (msb-menu-bar-update-buffers): Update for changed
997         argument handling of menu-bar-select-frame.  (Bug#7902)
999 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1001         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1002         to the recursion depth (Bug#7722).
1004 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1006         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1007         command-line-default-directory (Bug#7872).
1009 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1011         * progmodes/compile.el (compilation--flush-directory-cache):
1012         New function, extracted from compilation--remove-properties.
1013         (compilation--remove-properties, compilation--parse-region): Use it.
1014         (compilation--previous-directory): Handle one more case.
1015         (compilation-enable-debug-messages): Remove.
1016         (compilation-parse-errors, compilation--flush-parse): Just remove the
1017         left over debug messages.
1019 2011-01-31  Sam Steingold  <sds@gnu.org>
1021         * progmodes/compile.el (compilation-enable-debug-messages):
1022         Add a variable to make the parsing messages introduced in
1023         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1024         (compilation-parse-errors, compilation--flush-parse): Use it.
1026 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1028         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1029         (rcirc-nick-completion-format): New defcustom.
1030         (rcirc-complete): Use it.
1032 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1034         * net/rcirc.el: Clean log filenames (Bug#7933).
1035         (rcirc-log-write): Use convert-standard-filename.
1036         (rcirc-log-filename-function): Documentation updates.
1038 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1040         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1041         Check report-emacs-bug-can-use-osx-open and use that if t.
1042         (report-emacs-bug-can-use-osx-open): New function.
1043         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1044         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1046 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1048         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1049         updating Dired or VC-dir buffers after async command completes.
1051         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1052         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1054         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1055         completions if it exists.  Use vc-set-async-update.
1056         (vc-git-pull): Use vc-set-async-update.
1058         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1059         read-shell-command.  Use vc-set-async-update.
1060         (vc-hg-merge-branch): Use vc-set-async-update.
1062 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1064         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1065         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1066         (Bug#7931).
1068 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1070         * progmodes/compile.el: Avoid an N² behavior in grep.
1071         (compilation--previous-directory): New fun.
1072         (compilation--previous-directory-cache): New var.
1073         (compilation--remove-properties): Flush it.
1074         (compilation-directory-properties, compilation-error-properties):
1075         Use the new fun to speed up looking for the current directory.
1077 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1079         * vc/vc-hg.el (vc-hg-history): New var.
1080         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1081         (vc-hg-merge-branch): New function.
1083         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1084         the other way around.
1086         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1087         (vc-git-merge-branch): New functions.
1088         (vc-git-history): New var.
1090 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1092         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1094         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1095         vc-do-async-command.
1097         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1098         Callers changed.
1100 2011-01-28  Leo  <sdl.web@gmail.com>
1102         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1103         highlighting to the "this function is advised" message.
1105         * help-mode.el (help-mode-finish): Apply highlighting here, to
1106         avoid clobbering by substitute-command-keys (Bug#6304).
1108 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1110         * woman.el (woman0-roff-buffer): Process roff escape sequences
1111         occurring prior to the first request (Bug#7843).
1113 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1115         * progmodes/compile.el: Don't use font-lock any more.
1116         (compilation-error-regexp-alist-alist): Change handling of makepp
1117         so it preserves the warning/error distinction on subsequent files.
1118         Simplify various rules.
1119         (compilation-directory-properties): Use font-lock-face.
1120         Add a compilation-message property.
1121         (compilation-internal-error-properties): Use font-lock-face.
1122         Don't set the compilation-debug property here.
1123         (compilation--put-prop, compilation--remove-properties)
1124         (compilation--parse-region, compilation--ensure-parse)
1125         (compilation--ensure-parse): New functions.
1126         (compilation-parse-errors): New function, largely inspired of
1127         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1128         (compilation--parsed): New var.
1129         (compilation--flush-parse): Use compilation--ensure-parse.
1130         (compilation-start): Don't call font-lock.
1131         (compilation-turn-on-font-lock): Remove.
1132         (compilation-setup): Don't set font-lock-extra-managed-props not change
1133         other font-lock settings, other than keywords.
1134         Don't activate font-lock-mode.
1135         Set change-major-mode-hook and before-change-functions.
1136         (compilation--unsetup): Remove properties and hooks.
1137         (compilation-next-single-property-change): New function.
1138         (compilation-next-error): Use it to parse when needed.
1139         (compile-goto-error): Parse buffer as needed.
1140         (compilation--compat-error-properties): Don't need a dummy `face'
1141         property any more.
1143 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1145         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1146         (compilation-process-setup-function): Fix docstring's false promises.
1147         (compilation-error-regexp-alist-alist): Catch omake's continuous
1148         recompilation message and avoid reuse of old markers.
1149         (compilation-parse-errors-function): Declare obsolete.
1150         (compilation-buffer-modtime): Remove.
1151         (compilation--make-cdrloc, compilation--loc->col)
1152         (compilation--loc->line, compilation--loc->file-struct)
1153         (compilation--loc->marker, compilation--loc->visited)
1154         (compilation--make-file-struct, compilation--file-struct->file-spec)
1155         (compilation--file-struct->formats)
1156         (compilation--file-struct->loc-tree): New macros.  Use them.
1157         (compilation--message): New defstruct.  Use them.
1158         (compilation-next-error-function): Don't mess with timestamps to try
1159         and guess when to reparse.
1161 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1163         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1164         (tex-old-error-file-name): New function,
1165         extracted from tex-compilation-parse-errors.
1166         (tex-compilation-parse-errors): Remove.
1167         (tex-error-regexp-alist): New var.
1168         (tex-shell): Use it to avoid compilation-parse-errors-function.
1170         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1171         (grep-mode-font-lock-keywords): Remove regexp that seems like
1172         a left-over from before we used compile.el.
1173         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1174         modifying the buffer within with-silent-modifications.
1176         * progmodes/compile.el: Cleanup text-properties namespace by using
1177         `compilation-message' instead of `message', `compilation-directory'
1178         instead of `directory', and `compilation-debug' instead of `debug'.
1179         (compilation-last-buffer, compilation-parsing-end)
1180         (compilation-error-list, compilation-old-error-list): Move to the
1181         compatibility part of the code.
1182         (compilation-error-properties): If `file' is a function, let it return
1183         a file name.
1184         (compilation-mode-font-lock-keywords): Be more conservative with the
1185         omake "^ *" pattern prefix, to try and minimize the risk of
1186         pathologically slow regexp matching.
1187         (compilation-start): Use inhibit-read-only.
1188         (compilation--unsetup): New function.
1189         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1190         (compilation-filter): Minor tweaks.
1191         (compilation-next-error-function): Try and avoid abusing variables.
1192         (compilation--flush-file-structure): New fun.
1193         (compilation-fake-loc): Use it to improve behavior when file is reused.
1194         (debug-ignored-errors): Add "Moved past last ...".
1195         (compilation--compat-error-properties)
1196         (compilation--compat-parse-errors): Rename by doubling the "-".
1198         Port features from the previous prolog.el to the new one.
1199         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1200         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1201         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1202         variable and use a function to compute the value dynamically.
1203         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1204         (prolog-continued-prompt-regexp): Remove, unused.
1205         (prolog-find-value-by-system): Try and use the value of prolog-system
1206         in the *prolog* buffer if it helps.
1207         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1208         (prolog-zip-on): ..and check prolog-system and version here instead.
1209         (prolog-inferior-self-insert-command): New command.
1210         (prolog-inferior-mode-map): Use it.
1211         (prolog-inferior-error-regexp-alist): New var.
1212         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1213         (prolog-input-filter): Use derived-mode-p.
1214         (prolog-inferior-guess-flavor): New function.
1215         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1216         make-comint to avoid running comint-mode twice.
1217         (prolog-inferior-buffer): New fun.
1218         (prolog-old-process-region, prolog-old-process-file):
1219         Don't call prolog-bsts here...
1220         (prolog-build-prolog-command): ...do it here instead.
1221         (prolog-old-process-region, prolog-old-process-file):
1222         Use compilation-fake-loc and compilation-forget-errors.
1223         (prolog-consult-compile-region): Use bolp.
1225 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1227         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1229 2011-01-27  Sam Steingold  <sds@gnu.org>
1231         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1232         Remove "*server*" which is never created by emacs server.
1234 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1236         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1237         there are some diff switches.
1239 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1241         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1242         Copy change made to ruby-font-lock-syntactic-keywords.
1244         * htmlfontify.el: Make it obey the font-lock-face text property.
1245         Miscellaneous cleanup such as:
1246         - Don't hide expressions after a closing paren.
1247         - Move initial setq into let.
1248         - Hoist common parts out of ifs.
1249         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1250         (hfy-face-at): Use get-text-property instead.
1251         (hfy-prop-invisible-p): Use invisible-p if available.
1252         (htmlfontify-manual): Use \\[...].
1253         (hfy-html-quote-regex): Use [...].
1254         (hfy-combined-face-spec): Simplify.
1255         (hfy-compile-face-map): Don't presume point-min==1.
1256         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1257         match end of string.
1258         (hfy-text-p): η-reduce.
1259         (hfy-tags-for-file): Receive cache-hash directly.
1260         (hfy-mark-tag-names): Adjust call.
1262 2011-01-27  Glenn Morris  <rgm@gnu.org>
1264         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1265         (msb-after-load-hook): Remove eval-after-load wackiness.
1267 2011-01-25  Sam Steingold  <sds@gnu.org>
1269         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1270         literal "diff" (important for windows-nt).
1272 2011-01-25  Glenn Morris  <rgm@gnu.org>
1274         * emacs-lisp/copyright.el (copyright-at-end-flag)
1275         (copyright-names-regexp): Add safety properties.
1276         (copyright-year-ranges): New option.
1277         (copyright-find-end): New function, split from copyright-update-year.
1278         (copyright-update-year): Use copyright-find-end.
1279         (copyright-fix-years): Optionally, convert years to ranges.
1280         Handle years continued over comment lines.
1281         Do not mess with the fill-prefix.
1282         Do not call copyright-update.
1283         (copyright-update-directory): Optionally, fix years rather than update.
1284         Skip directories.  Find files with only safe local vars.
1286 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1288         * files.el (file-name-non-special): Only change buffer-file-name after
1289         insert-file-contents if it's `visit'ing the file (bug#7854).
1291 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1293         * dired.el (dired-revert): Doc fix (Bug#7758).
1295         * simple.el (line-move-visual): Doc fix (Bug#7594).
1297 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1299         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1300         here-doc which ends with an underscore.
1301         (ruby-mode-set-encoding): Skip shebang line always.
1302         (ruby-mode-map): Bind C-c C-c to comment-region.
1303         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1304         (ruby-forward-sexp): Stop after literal hash key labels.
1305         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1306         bracket.
1308 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1310         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1311         the correct buffer (Bug#7650).
1313 2011-01-25  Glenn Morris  <rgm@gnu.org>
1315         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1317         * simple.el (do-auto-fill): Give it a doc string.
1319         * button.el (make-text-button): Doc fix.  (See bug#7881)
1321 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1323         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1324         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1326         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1327         Handle ?" and friends differently (e.g. don't use backrefs).
1329 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1331         * calc/calc.el (calc-default-power-reference-level)
1332         (calc-default-field-reference-level): New variables.
1333         * calc/calc-units.el (math-standard-units): Add dB and Np.
1334         (math-logunits): New variable.
1335         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1336         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1337         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1338         New functions.
1339         (math-find-base-units-rec): Add entry for ln(10).
1340         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1341         (calc-ul-prefix-help): New function.
1342         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1343         functions.  Add keybindings for new units functions.
1345 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1347         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1348         rcirc buffers.  (Bug#4940)
1350 2011-01-22  Glenn Morris  <rgm@gnu.org>
1352         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1353         split out from copyright-update-year.
1354         (copyright-update): Don't mess with the GPL version if we don't own the
1355         copyright.  Update license regexp, and remove no longer needed
1356         Esperanto stuff.
1357         (copyright-fix-years): Use copyright-find-copyright.
1359 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1361         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1363 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1365         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1366         (lm): Rename to landmark.
1367         (lm-test-run): Rename to landmark-test-run.
1369 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1371         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1372         "Case sensitive" menu item.
1374 2011-01-22  Roland McGrath  <roland@frob.com>
1376         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1377         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1379 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1383 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1385         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1386         Assume foo(bar) is a manpage reference rather than some unquoted
1387         symbol (bug#7705).
1389 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1391         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1392         Suggested by Flo <sensorflo@gmail.com>.
1394 2011-01-22  Glenn Morris  <rgm@gnu.org>
1396         * progmodes/compile.el (compilation-error-regexp-alist):
1397         Fix custom type.  (Bug#7812)
1399 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1401         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1402         allout-number-siblings, in keeping with what obtained due to
1403         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1404         (prefixed) ?i.
1405         (allout-before-change-handler): Better expose spots affected by
1406         undo.
1408 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1410         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1412 2011-01-22  Phil Hagelberg  <phil@evri.com>
1414         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1415         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1416         (pcmpl-ssh-config-hosts): New function.
1417         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1418         pcmpl-ssh-known-hosts.
1420 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1422         * calc/calc-undo.el (calc-undo): Autoload it.
1423         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1424         and autoload for `calc-undo'.
1425         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1426         * calc/calc-prog.el:
1427         * calc/calc-graph.el:
1428         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1430 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1432         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1433         keybindings to `calc-undo'.
1435 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1437         Don't mess with *temp*.
1438         * obsolete/spell.el: Move from textmodes/spell.el.
1439         (spell-string):
1440         * term.el (term-read-input-ring):
1441         * startup.el (display-startup-echo-area-message):
1442         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1443         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1444         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1445         point-min==1.
1447 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1449         * allout.el (allout-institute-keymap): Use fset instead of
1450         reapplying defalias.
1452         (allout-hotspot-key-handler): Check for non-control-modified
1453         bindings for hotspot characters if there are no control-modified
1454         versions.
1456         * allout.el: Summary - migrate to defining allout mode using
1457         define-minor-mode instead of defun.  Significantly clean-up
1458         internal keymap provisions, refactoring and, in the process,
1459         removing a lot of accumulated cruft.
1461         allout-mode-map is now a keymap by virtue of being a defalias to
1462         allout-mode-map-value, which contains the actual keymap structure.
1464         (allout-mode): Use define-minor-mode rather than defun.
1465         Remove now-unnecessary minor-mode setup activities from the body.
1466         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1467         entry will be '(allout-mode . allout-mode-map) - see
1468         allout-mode-map-value, below.  Adjust docstring to track changes.
1469         (allout-minor-mode): Remove this defalias, now that we're using
1470         define-minor-mode.
1471         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1472         keymap is allout-mode-map-value, via defalias.
1473         (allout-mode-map-value): The variable holding the actual mode
1474         keymap structure, by virtue of defalias from allout-mode-map.
1475         (allout-compose-and-institute-keymap): Rename from
1476         allout-bind-keys, and including the binding-composition
1477         functionality of the former produce-allout-mode-map and
1478         allout-setup-mode-map.
1479         (allout-institute-keymap): Take over the "setup" part of the former
1480         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1481         update the defalias.
1482         (allout-command-prefix) (allout-prefixed-keybindings)
1483         (allout-unprefixed-keybindings):
1484         Use allout-compose-and-institute-keymap to process the bindings.
1485         (allout-unprefixed-keybindings): Remove extraneous '?' question
1486         marks.
1487         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1488         user can customize if they want to use that binding.
1489         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1490         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1491         elided that, previously, instead of the one for \C-h.)
1492         (allout-hotspot-key-handler): Remove attempt to resolve the key
1493         through the literal key-string lookup on allout-keybindings-list.
1494         That probably hasn't worked for a Long Time, and removal of
1495         allout-keybindings-list further simplifies the keybindings
1496         situation.
1497         (allout-pre-command-business): Use allout-mode-map-value instead
1498         of allout-mode-map.
1499         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1500         the bindings if they want to use a keybinding having a trailing
1501         \C-h.  No deprecation needed since this feature was never in a
1502         release.
1503         (allout-keybindings-list): Remove.  It's not been useful for a
1504         while.  (See allout-hotspot-key-handler changes, above.)
1505         (produce-allout-mode-map): Remove.  Consolidate into
1506         allout-compose-and-institute-keymap.
1507         (allout-mode-map-adjustments): Remove.  No longer necessary with
1508         removal of allout-preempt-trailing-ctrl-h.
1509         (allout-setup-mode-map): Remove.  Consolidate into
1510         allout-compose-and-institute-keymap and allout-institute-keymap.
1512 2011-01-20  Glenn Morris  <rgm@gnu.org>
1514         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1516         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1518 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1520         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1522         * files.el (find-alternate-file, basic-save-buffer)
1523         (basic-save-buffer-2, revert-buffer, recover-file)
1524         (kill-buffer-ask, abort-if-file-too-large)
1525         (set-visited-file-name, write-file, backup-buffer)
1526         (basic-save-buffer, save-some-buffers):
1527         * dired-aux.el (dired-compress-file): Callers changed.
1529 2011-01-19  Glenn Morris  <rgm@gnu.org>
1531         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1532         Also check the property status.  (Bug#7861)
1534 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1536         * net/tramp.el (tramp-debug-message): Extend function exclude
1537         list.  Use `regexp-opt'.
1539 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1541         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1542         highlighting doesn't spill over subsequent lines.
1544         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1545         keymap expression.  Improve docstring.
1547         * electric.el (electric-indent-post-self-insert-function):
1548         Don't auto-indent for indent-to-left-margin, it's too often
1549         counter-productive.
1551 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1553         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1554         spaces if the frame was resized, so that the full visible buffer
1555         serves as canvas for strokes.
1557 2011-01-16  Glenn Morris  <rgm@gnu.org>
1559         * info-xref.el (info-xref-docstrings): Replace cl function.
1560         Also skip directories.
1562 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1564         * info-xref.el: Version 3.
1565         (info-xref-check, info-xref-check-all): Move commentary details
1566         into docstrings for better visibility.
1567         Use compilation-mode for the results buffer.
1568         (info-xref-output, info-xref-output-error, info-xref-with-output)
1569         (info-xref-filename, info-xref-in-progress):
1570         New internals for this.
1571         (info-xref-check-list, info-xref-check-buffer)
1572         (info-xref-check-all-custom): Use those.
1573         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1574         (info-xref-output-heading): Rename from info-xref-filename-heading.
1575         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1576         (info-xref-filename-heading): Move to output managing section.
1577         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1578         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1579         (info-xref-subfile-p): Move to generic section with those two.
1580         (info-xref-check-node): New function split from
1581         info-xref-check-buffer, shared by info-xref-docstrings.
1582         (info-xref-goto-node-p): Move to a checking section with that func.
1583         (info-xref-unavail): New counter.
1584         (info-xref-check-node): Use it.
1585         (info-xref-with-output): Show count of unavailables at end of output.
1586         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1587         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1588         (info-xref-check-all-custom): Fix quietening viper-mode and
1589         gnus-registry-install -- use setq not let so as not to unbind
1590         after load.
1592 2011-01-16  Juri Linkov  <juri@jurta.org>
1594         * isearch.el (isearch-abort): Don't quit if search has
1595         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1597 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1599         * files.el (backup-buffer): Make last-resort backup file in
1600         .emacs.d (Bug#6953).
1602         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1603         make it with permission 700.
1605 2011-01-15  Kenichi Handa  <handa@m17n.org>
1607         * mail/rmailmm.el (rmail-mime-insert-header):
1608         Set rmail-mime-coding-system to a cons whose car is the last coding
1609         system used to decode the header.
1610         (rmail-mime-find-header-encoding): New function.
1611         (rmail-mime-insert-decoded-text):
1612         Override rmail-mime-coding-system if it is a cons.
1613         (rmail-show-mime): If only a header part was decoded, find the
1614         coding system while ignoring mm-charset-override-alist.
1616 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1618         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1620 2011-01-15  Kenichi Handa  <handa@m17n.org>
1622         * mail/rmailmm.el (rmail-mime-next-item)
1623         (rmail-mime-previous-item): Delete them.
1624         (rmail-mime-shown-mode): Recursively call for children.
1625         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1626         Callers changed.
1627         (rmail-mime-raw-mode): Recursively call for children.
1628         (rmail-mode-map): Change mapping of tab and backtab to
1629         forward-button and backward-button respectively.
1630         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1631         button.
1632         (rmail-mime-update-tagline): New function.
1633         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1634         body display is changed.
1635         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1636         (rmail-mime-image): Delete this button type.
1637         (rmail-mime-toggle): New button type.
1638         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1639         body display is changed.  Change the save button label to "Save".
1640         Don't process show/hide button here.
1641         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1642         the body display is changed.  Unconditionally call
1643         rmail-mime-insert for children.
1644         (rmail-mime-handle): Update `display' vector of the just inserted
1645         entity.
1646         (rmail-mime-process): If mail-header-parse-content-type returns
1647         nil, use "text/plain" as the fallback type.
1648         (rmail-mime-insert): For raw-mode, recursively call
1649         rmail-mim-insert for children.
1650         (rmail-mime): Handle the case that the current buffer is not rmail
1651         buffer (e.g. in summary buffer).
1653 2011-01-15  Kenichi Handa  <handa@m17n.org>
1655         * mail/rmailmm.el (rmail-mime-next-item)
1656         (rmail-mime-previous-item): Skip the body of a non-multipart
1657         entity if a tagline is shown.
1659 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1661         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1662         (tmm-prompt): Simplify.
1663         (tmm-add-prompt): Remove unused var `win'.
1665         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1666         to minor mode which used nil accidentally to mean "turn off".
1668 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1670         * net/tramp-sh.el (tramp-find-inline-compress)
1671         (tramp-get-inline-coding): Quote command after pipe symbol for
1672         local calls under W32.  (Bug#6784)
1674 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1676         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1677         only when running under W32.
1679 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1681         * progmodes/grep.el (grep-compute-defaults): Quote the program
1682         file name after the pipe symbol in Grep templates.  (Bug#6784)
1683         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1685 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1687         * buff-menu.el (Buffer-menu-buffer-list): New var.
1688         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1689         restricted buffer list is not lost on revert (Bug#7749).
1691 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1693         * net/ldap.el (ldap-search-internal): Discard stderr output.
1695 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1697         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1699 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1701         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1703 2011-01-15  Kenichi Handa  <handa@m17n.org>
1705         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1706         part as a plain text.
1707         (rmail-mime-process-multipart): Set the default content-type to
1708         nil for unknown multipart subtypes (bug#7651).
1710 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * hexl.el (hexl-mode-old-*): Remove.
1713         (hexl-mode--old-var-vals): New var to replace them.
1714         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1715         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1716         Use them to set local vars (bug#7846).
1717         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1718         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1719         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1721         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1722         (smerge-resolve--normalize-re): New var.
1723         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1724         (smerge-resolve): Use them.
1725         * newcomment.el (comment-only-p): New function.
1726         (comment-or-uncomment-region): Use it.
1728 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1730         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1731         table, get the value before switching to the output buffer.  (Bug#7733)
1733 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1735         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1737 2011-01-14  Kim F. Storm  <storm@cua.dk>
1739         * emulation/cua-base.el (cua--init-keymaps):
1740         Remap exchange-point-and-mark in cua-global-keymap.
1742 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1744         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1745         loop keyword.
1747 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1749         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1750         Require CL.
1751         (easy-menu-create-menu, easy-menu-convert-item-1):
1752         Use :label rather than nil for labels.  Use `case'.
1753         Add :enable as alias for :active.
1754         (easy-menu-binding): Obey :label.
1756 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         Use run-mode-hooks for major mode hooks (bug#513).
1759         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1760         Rename from reftex-toc-map.
1761         (reftex-toc-mode): Use define-derived-mode.
1762         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1763         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1764         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1765         (reftex-select-label-mode, reftex-select-bib-mode):
1766         Use define-derived-mode.
1767         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1768         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1769         Move init into delcaration.
1770         (reftex-index-mode, reftex-index-phrases-mode):
1771         Use define-derived-mode.
1772         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1773         speedbar-syntax-table.  Move init into declaration.
1774         (speedbar-mode-map): Rename from speedbar-key-map.
1775         Move init into declaration.
1776         (speedbar-file-key-map): Move init into declaration.
1777         (speedbar-mode): Use define-derived-mode.
1778         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1779         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1780         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1781         (chart-face-list): Move initialization into declaration.
1782         (chart-mode): Use define-derived-mode.
1783         * calculator.el (calculator-mode-map): Move init into declaration.
1784         (calculator-mode): Use define-derived-mode.
1786         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1787         work for nested comments.
1789         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1790         (prolog-use-prolog-tokenizer-flag): Change default when
1791         syntax-propertize can be used.
1792         (prolog-syntax-propertize-function): New var.
1793         (prolog-mode-variables): Move make-local-variable into `set'.
1794         Don't make comment-column local since we don't set it.
1795         Set comment-add (as it was in previous prolog.el).  Use dolist.
1796         Set syntax-propertize-function.
1797         (prolog-mode, prolog-inferior-mode):
1798         Call prolog(-inferior)-menu directly, not through the mode-hook.
1799         (prolog-buffer-module, prolog-indent-level)
1800         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1801         (prolog-comment-limits, prolog-goto-comment-column):
1802         Use line-(end|beginning)-position.
1803         (prolog-build-prolog-command): Tighten up regexp.
1804         (prolog-consult-compile): Move make-local-variable into `set'.
1805         (prolog-consult-compile-filter, prolog-goto-next-paren)
1806         (prolog-help-on-predicate, prolog-clause-info)
1807         (prolog-mark-predicate): Don't let+setq.
1808         (prolog-indent-line): Use indent-line-to.
1809         Only call prolog-goto-comment-column if necessary.
1810         (prolog-indent-level): Use bobp.
1811         (prolog-first-pos-on-line): Remove, not used any more.
1812         (prolog-in-string-or-comment): Use syntax-ppss if available.
1813         (prolog-help-on-predicate): Use read-string.
1814         (prolog-goto-predicate-info): Simplify.
1815         (prolog-read-predicate): Use `default' rather than `initial'.
1816         (prolog-temporary-file): Use make-temp-file to close a security hole.
1817         (prolog-toggle-sicstus-sd): New command.
1818         (prolog-electric-underscore, prolog-variables-to-anonymous):
1819         Use dynamic-scoping as it was meant.
1820         (prolog-menu): Move menu definitions to top-level.
1821         Use a toggle-button for Sicstus's source debugger.
1822         Change "Code" to the more usual "Prolog", and hence change "Prolog"
1823         to "System".
1824         (prolog-inferior-menu): Reuse prolog-menu's help menu.
1825         Move other menu definition to top-level.
1827 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1829         * doc-view.el (doc-view-open-text): Use meaningful text buffer
1830         name.  Keep original document's directory as default-directory
1831         (bug#6446).
1832         (doc-view-initiate-display): Fall back to normal mode when
1833         doc-view-mode cannot be enabled, also when extracting the document
1834         text into a separate buffer (bug#6446).
1836         * simple.el (shell-command): Don't error out if shell command
1837         buffer contains text with non-nil read-only property when erasing
1838         the buffer.
1840 2011-01-13  Kim F. Storm  <storm@cua.dk>
1842         * ido.el (ido-may-cache-directory): Move "too-big" check later.
1843         (ido-next-match, ido-prev-match): Fix stray reordering of matching
1844         items when cycling through the matches.
1846 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1848         * dired-x.el (dired-omit-verbose): New defcustom that allows
1849         disabling the omit messages.
1850         (dired-omit-expunge): Use it.
1852 2011-01-13  Christian Ohler  <ohler@gnu.org>
1854         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1856 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1858         * font-lock.el (font-lock-verbose): Default to nil.
1860 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1862         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1863         (compose-mail): New arg RETURN-ACTION.
1864         (compose-mail-other-window, compose-mail-other-frame): Likewise.
1866         * mail/sendmail.el (mail-return-action): New var.
1867         (mail-mode): Make it buffer-local.
1868         (mail-bury): Obey it.  Move special Rmail window handling to
1869         rmail-mail-return.
1870         (mail, mail-setup): New arg RETURN-ACTION.
1871         (sendmail-user-agent-compose): Move from simple.el.
1873         * mail/rmail.el (rmail-mail-return): New function.
1874         (rmail-start-mail): Pass it to compose-mail.
1876 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
1878         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1879         menus.  Add menu item for customize-themes.
1881         * cus-theme.el (customize-themes):
1882         * emacs-lisp/package.el (package--list-packages):
1883         Use switch-to-buffer.
1885 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
1887         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1889 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1891         * progmodes/prolog.el: Fix up coding convention and such.
1892         (prolog-indent-width): Use the same default as in
1893         previous prolog.el rather than tab-width which depends on which buffer
1894         is current when the file is loaded.
1895         (prolog-electric-newline-flag): Only enable if electric-indent-mode
1896         is not available.
1897         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
1898         (prolog-known-systems): Remove.
1899         (prolog-mode-syntax-table, prolog-inferior-mode-map):
1900         Move initialization into declaration.
1901         (prolog-mode-map): Move initialization into declaration.
1902         Remove system-specific mode-map vars, since they referred to the same
1903         keymap anyway.
1904         (prolog-mode-variables): Obey the user's preference w.r.t
1905         adaptive-fill-mode.  Prefer symbol-value to `eval'.
1906         (prolog-mode-keybindings-edit): Add compatibility bindings.
1907         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
1908         (mercury-mode-map): New var.
1909         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1910         (prolog-ensure-process, prolog-process-insert-string)
1911         (prolog-consult-compile): Use with-current-buffer.
1912         (prolog-guess-fill-prefix): Simplify data flow.
1913         (prolog-replace-in-string): New function to use instead of
1914         replace-in-string.
1915         (prolog-enable-sicstus-sd): Don't abuse `eval'.
1916         (prolog-uncomment-region): Use `uncomment-region' when available.
1917         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1918         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1919         of int-to-char and char-to-int.
1920         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1922 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
1924         * progmodes/prolog.el: Replace by a whole new file.
1926 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1928         * subr.el (eval-after-load): Fix timing for features (bug#7769).
1929         (declare-function, undefined, insert-for-yank)
1930         (replace-regexp-in-string): Follow checkdoc's recommendations.
1932 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1934         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1935         refreshing the diary buffer.
1937 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
1939         * allout.el: Add 2011 to the file copyright.
1940         (allout-encrypt-string): Prevent encryption from adding an extra
1941         newline at the end of the topic body.
1942         (allout-version): Increment to 2.3.
1944 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
1946         * net/dbus.el (dbus-unregister-service): Complete doc.
1947         Fix call of dbus-error signal.
1948         (dbus-register-property): Use `dont-register' keyword.
1950 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1952         * net/dbus.el (dbus-unregister-service): Translate returned
1953         integer into a symbol.
1954         (dbus-register-property): Use `dbus-register-service' to do the
1955         name registration.
1957 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1959         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1960         Suggested by Joakim Verona.
1962         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1964         * wid-edit.el (visibility): Replace :on-image and :off-image
1965         widget properties with :on-glyph and :off-glyph, for consistency
1966         with the `visibility' widget.
1967         (widget-toggle-value-create, widget-visibility-value-create):
1968         Merge into a single function `widget-toggle-value-create'.
1970         * cus-edit.el (custom-variable-value-create, custom-visibility)
1971         (custom-face-edit-value-create, custom-face-value-create):
1972         Replace :on-image and :off-image widget properties with :on-glyph and
1973         :off-glyph, for consistency with the `visibility' widget.
1975 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1977         * net/ldap.el (ldap-search-internal): Don't use eval.
1979 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1981         * subr.el (read-char-choice): Use read-key.
1983         * custom.el (custom-safe-themes): Rename from
1984         custom-safe-theme-files.  Add :risky tag.
1985         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1986         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1988 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1990         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1991         from Search and add a label to Undo.
1993         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1994         inappropriate buttons and adding :vert-only tags.
1996         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1997         removal of Help tool-bar button.  Remove Undo button for space.
1999         * info.el (info-tool-bar-map): Add :vert-only tags.
2001 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2003         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2004         image backend support.  Either of them is fine.
2006 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2008         * subr.el (y-or-n-p): Doc fix.
2010         * custom.el (custom-safe-theme-files): New defcustom.
2011         (custom-theme-load-confirm): New function.
2012         (load-theme): Load theme using `load', confirming with
2013         custom-theme-load-confirm if necessary.
2015         * subr.el (read-char-choice): New function, factored out from
2016         dired-query and hack-local-variables-confirm.
2018         * dired-aux.el (dired-query):
2019         * files.el (hack-local-variables-confirm): Use it.
2021         * dired-aux.el (dired-compress-file):
2022         * files.el (abort-if-file-too-large, find-alternate-file)
2023         (set-visited-file-name, write-file, backup-buffer)
2024         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2025         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2026         Use new format string args for y-or-n-p and yes-or-no-p.
2028 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2030         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2031         [gcc-include]: Tighten file name match, add match for column
2032         number.  (Bug#7806)
2033         [gnu]: Remove unused group.
2035 2011-01-08  Glenn Morris  <rgm@gnu.org>
2037         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2039         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2041 2011-01-07  Sam Steingold  <sds@gnu.org>
2043         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2044         the `explicit-shell-file-name' because that is the
2045         non-interactive shell.
2047 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2049         * subr.el (y-or-n-p): Accept format string args.
2051 2011-01-07  Glenn Morris  <rgm@gnu.org>
2053         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2055 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2057         * allout.el (allout-back-to-current-heading): Ensure return to
2058         the visible containing topic, rather than a collapsed one.
2059         (allout-view-change-hook): Remove hook that was deprecated long ago.
2060         (allout-exposure-change-hook): Remove documentation remarks
2061         concerning removed allout-view-change-hook.
2062         (allout-flag-region): Remove invocation of and documentation
2063         remarks concerning allout-view-change-hook.
2065 2011-01-06  Glenn Morris  <rgm@gnu.org>
2067         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2068         (vc-bzr-annotate-extract-revision-at-line):
2069         Handle authors with embedded spaces.  (Bug#7792)
2071 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2073         * doc-view.el (doc-view-image-width): New variable.
2074         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2075         backend for PNG images, and do dynamic rescaling instead of
2076         reconverting the whole doc.
2078 2011-01-05  Glenn Morris  <rgm@gnu.org>
2080         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2082 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2084         * allout.el: Reconcile with changes in line movement behavior for
2085         long text lines that cross more than a single physical window
2086         line, ie when truncate-lines is nil.
2087         (allout-next-visible-heading): Provide for change in line-move
2088         behavior on long lines when truncate-lines is nil.  In that case,
2089         line-move can wind up on the same textual line when it moves to
2090         the next window line, and moving to the bullet position after the
2091         move yields zero advancement.  Add logic to detect and compensate
2092         for the lack of progress.
2093         (allout-current-topic-collapsed-p): move-end-of-line respect for
2094         field boundaries is different when operating with body lines
2095         shorter than window width versus ones greater than window width,
2096         which can yield false negatives in this function.  Avoid
2097         difference by applying move-end-of-line while field-text-motion is
2098         inhibited.
2100 2011-01-04  Glenn Morris  <rgm@gnu.org>
2102         * textmodes/rst.el (rst-compile-toolsets):
2103         Add pdf and s5 to option alist.
2105 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2107         * net/dbus.el (dbus-register-property): Add optional parameter
2108         dont-register-service.  Updated docstring accordingly.
2110 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2112         * textmodes/rst.el (rst-compile-pdf-preview)
2113         (rst-compile-slides-preview): Remove extra line.
2115 2011-01-04  Glenn Morris  <rgm@gnu.org>
2117         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2118         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2119         default to `prog' without a .py extension.
2120         (rst-compile-pdf-preview, rst-compile-slides-preview):
2121         Use program names from rst-compile-toolsets, rather than hard-coding.
2122         (rst-portable-mark-active-p): Fix presumed typo.
2124 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2126         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2127         libpng versions both before and after 1.4.0.  (Bug#7716)
2129 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2131         * time.el (display-time-mode): Mention display-time-interval in
2132         the doc string.  (Bug#7713)
2134 2011-01-02  Kenichi Handa  <handa@m17n.org>
2136         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2137         condition-case and return an error message string if something
2138         goes wrong.
2139         (rmail-show-mime): Adjust for the above change.  Insert the
2140         header by rmail-mime-insert-header.
2142 2011-01-02  Kenichi Handa  <handa@m17n.org>
2144         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2145         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2146         (rmail-mime-mbox-buffer)
2147         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2148         (rmail-mime-entity): Argument changed.  All codes handling an
2149         entity object are changed.
2150         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2151         the above change.
2152         (rmail-mime-entity-children, rmail-mime-entity-handler)
2153         (rmail-mime-entity-tagline): New functions.
2154         (rmail-mime-message-p): New function.
2155         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2156         (rmail-mime-entity-segment, rmail-mime-next-item)
2157         (rmail-mime-previous-item, rmail-mime-shown-mode)
2158         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2159         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2160         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2161         New functions.
2162         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2163         (rmail-mime-insert-decoded-text): New function.
2164         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2165         (rmail-mime-insert-image): Argument changed.  Caller changed.
2166         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2167         (rmail-mime-set-bulk-data): New function.
2168         (rmail-mime-insert-bulk): Argument changed.
2169         (rmail-mime-multipart-handler): Return t.
2170         (rmail-mime-process-multipart): Argument changed.
2171         Handle "multipart/alternative" here.
2172         (rmail-mime-process): Argument changed.
2173         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2174         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2175         (rmail-mime): Argument changed.  Handle toggling of raw display
2176         mode.
2177         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2178         rmail-mime-view-buffer.
2179         (rmail-insert-mime-forwarded-message): Likewise.
2180         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2182         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2183         non-nil, handle the header in rmail-show-mime-function.
2185 2011-01-02  Leo  <sdl.web@gmail.com>
2187         * help-fns.el (describe-variable): Fix previous change.
2189 2011-01-02  Juri Linkov  <juri@jurta.org>
2191         * isearch.el (isearch-lazy-highlight-error): New variable.
2192         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2193         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2194         to the current value of `isearch-error' (Bug#7468).
2196 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2198         * help-fns.el (describe-variable): Don't emit trailing whitespace
2199         (Bug#7511).
2201 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2203         * textmodes/rst.el (rst-compile-pdf-preview)
2204         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2206 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2208         * emulation/edt-mapper.el: Override mapping of function keys so
2209         that the later call to read-key-sequence works.
2211 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2213         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2214         Unix EOLs.  (Bug#7589)
2216 2011-01-02  Leo  <sdl.web@gmail.com>
2218         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2219         if point is not behind eshell-last-output-end (Bug#7585).
2221 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2223         * files.el (file-local-variables-alist):
2224         Make permanent-local (bug#7767).
2226 2011-01-02  Glenn Morris  <rgm@gnu.org>
2228         * version.el (emacs-copyright): Set short copyright year to 2011.
2230 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2232         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2233         an existing temp buffer.  (Bug#7746)
2235 2011-01-02  Glenn Morris  <rgm@gnu.org>
2237         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2238         multiple addresses.  (Bug#7760)
2240 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2242         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2243         do-auto-fill if everything points back to allout-auto-fill.
2244         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2245         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2247 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2249         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2250         and "scpx".
2252 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2254         * doc-view.el (doc-view-set-doc-type): New function refactored
2255         from doc-view-mode.
2256         (doc-view-fallback-mode): New function.
2257         (doc-view-mode): Use it.
2258         (doc-view-mode-maybe): New function that checks if doc-view-mode
2259         can be used and falls back to the next best mode otherwise.
2261         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2262         DVI, OpenDocument, and MS Office files.
2264 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2266         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2268 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2270         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2271         on a copy of auto-mode-alist, because that deletes with side
2272         effects.
2274 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2276         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2277         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2278         fallback instead of hard coding fundamental mode.
2280 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2282         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2283         Office) files also for searching.
2285 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2287         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2288         Office) files.  Not yet enabled via auto-mode-list.
2289         (doc-view-unoconv-program): New custom variable.
2290         (doc-view-mode-p): Handle new odf document type.
2291         (doc-view-odf->pdf): New conversion function.
2292         (doc-view-convert-current-doc): Call it for odf files.
2293         (doc-view-mode): Recognize newly supported file extensions.
2295 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2297         * net/tramp.el (tramp-default-method-alist)
2298         (tramp-default-user-alist)
2299         (tramp-local-host-regexp, tramp-prefix-domain-format)
2300         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2302         * net/tramp-ftp.el:
2303         * net/tramp-gvfs.el:
2304         * net/tramp-gw.el:
2305         * net/tramp-imap.el:
2306         * net/tramp-sh.el:
2307         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2308         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2310 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2312         * saveplace.el (save-place-alist-to-file): Save list sorted and
2313         pretty-printed, so that it is mergeable by line-based text merging,
2314         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2316 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2318         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2319         (allout-mode): Argument "toggle" => "force".
2320         Refine the docstring.
2321         Remove special provisions for reactivation, besides the 'force'
2322         argument.
2323         Consolidate layout provisions coce directly into the activation
2324         condition branch, now that we've removed those provisions.
2325         (allout-unload-function): Explicitly activate the mode before
2326         deactivating, if it's initially deactivated.
2327         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2328         warnings for version of function used only where
2329         set-buffer-multibyte is unavailable.
2331 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2333         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2334         are handled by the menu-bar entries.  As before, don't use
2335         :visibile to avoid changing the tool-bar.
2337 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2339         * net/secrets.el (secrets-delete-alias): New defun.
2341 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2343         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2344         methods, otherwise ~/.ssh/config would be ignored.
2346 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2348         * emacs-lisp/rx.el: Make it a superset of sregex.
2349         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2350         of args, add `regex' alias.
2351         (rx-info): Add arg to distinguish head and standalone forms.
2352         (rx-check, rx-form): Pass the corresponding arg.
2353         (rx-**): Simplify.
2354         (rx-repeat): Make it work for any number of args.
2355         (rx-syntax): Make it accept syntax chars as is.
2356         * obsolete/sregex.el: Move from emacs-lisp/.
2357         * emacs-lisp/re-builder.el: Remove sregex support.
2358         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2360 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2362         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2363         PRIMARY first, then the clipboard.  (Bug#7699)
2365 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2367         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2368         print-number-table.
2370 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2372         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2373         .emacs.elc (Bug#7530).
2375         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2376         image spec (Bug#7480).
2378 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2380         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2381         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2382         Move from lisp/.
2384 2010-12-20  Leo  <sdl.web@gmail.com>
2386         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2387         always be performed (Bug#7680).
2389 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2391         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2392         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2393         mouse-region-match.
2395         * color.el: Move from gnus/.
2397         * vc/diff.el (diff-better-file-name): Function deleted.
2398         abbreviating file names causes problems with shell-quote-argument.
2399         (diff-no-select): Just use expand-file-name.
2401         * tool-bar.el (tool-bar--image-expression): New function.
2402         (tool-bar-local-item, tool-bar--image-exp): Use it.
2403         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2404         Use :enable instead of :visible to avoid changing the tool-bar
2405         configuration unnecessarily.
2407         * info.el (info-tool-bar-map): Add separators.
2409 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2411         * loadup.el: Use version numbers in Cygwin build.
2413 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2415         * ido.el (ido-file-internal): Ask for confirmation before
2416         overwriting an existing file (Bug#1238).
2418 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2420         * tool-bar.el (tool-bar-setup): Add separators.
2422         * menu-bar.el (featurep): Use menu-bar-separator.
2424 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2426         Migrate allout encryption provisions from pgg to epg.
2428         * allout.el (allout-toggle-current-subtree-encryption)
2429         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2430         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2431         for simpler universal argument interpretation.
2432         (allout-toggle-subtree-encryption): Adjust docstring to describe
2433         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2434         simpler universal argument interpretation.  Remove provisions for
2435         handling key type and identity - they'll all be within
2436         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2437         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2438         for keypair recipients (universal argument > 1) and, in addition,
2439         associating the specified recipients with the outline (universal
2440         argument > 4) using a file local variable setting for
2441         'epa-file-encrypt-to'.
2442         Require epa, for recipients handling.
2443         Change how regexp filtering elements are named.
2444         Describe the problem with caching of incorrect symmetric-decryption
2445         keys.
2446         Use the epa-passphrase-callback-function, in case the user is using
2447         GnuPG v1.
2448         Support saving of the selected keypair recipients when invoked with a
2449         keymode-cue > 4.
2450         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2451         Require 'epa.
2452         Establish epg-context with armoring and default epg-protocol.
2453         Remove all passphrase cache, verification, and hinting code.
2454         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2455         No longer used, delete.
2456         (allout-mode): Adjust docstring to describe changed encryption
2457         provisions.  Describe the problem with caching of incorrect
2458         symmetric-decryption keys.
2459         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2460         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2461         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2462         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2463         Obsolete, remove.
2465 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2467         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2468         key selection prompt; make 'silent as default (Bug#7487).
2470 2010-12-16  Leo  <sdl.web@gmail.com>
2472         * eshell/eshell.el (eshell-directory-name):
2473         Use locate-user-emacs-file (Bug#7578).
2475 2010-12-15  Glenn Morris  <rgm@gnu.org>
2477         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2479 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2480             Scott Evans <gse@antisleep.com>
2482         * rect.el (rectange--default-line-number-format)
2483         (rectangle-number-line-callback): New functions.
2484         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2486 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2488         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2489         Delete unused variables.
2490         (move-to-column-force): Remove function obsolete since 21.2.
2492 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2494         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2495         (tramp-handle-insert-file-contents): Do not set permanent-local
2496         property.
2498         * net/tramp-cache.el (tramp-persistency-file-name):
2499         Use `locate-user-emacs-file' if fboundp.
2501         * net/tramp-sh.el (tramp-methods): Add "ksu".
2502         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2503         method list.
2505 2010-12-14  Glenn Morris  <rgm@gnu.org>
2507         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2508         (find-tag-marker-ring): Declare.
2509         (js-find-symbol): Require etags.
2511         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2512         Require mail-utils.
2513         (mail-alias-file): Don't autoload.  Doc fix.
2514         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2515         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2516         Mark as obsolete, and risky.
2517         (mail-setup): Simplify.
2519         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2520         * mail/sendmail.el (build-mail-aliases): Update autoload.
2522         * dired.el (dired-trivial-filenames, dired-chown-program)
2523         (dired-auto-revert-buffer): Remove autoload cookies.
2524         * mail/sendmail.el (mail-recover-1): Require 'dired.
2526         * dired.el (dired-subdir-switches, dired-chown-program)
2527         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2528         Make into defcustoms.
2529         (dired-chown-program): Simplify initialization.
2531         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2533 2010-12-13  Romain Francoise  <romain@orebokech.com>
2535         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2537 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2539         * net/netrc.el (netrc-point-at-eol): Remove the unused
2540         netrc-point-at-old and netrc-bound-and-true-p bindings.
2541         (netrc-parse): Cache the netrc contents.
2543 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2545         * subr.el (posn-col-row): Evaluate header-line-format in the
2546         context of the POSITION window's buffer.
2548 2010-12-13  Glenn Morris  <rgm@gnu.org>
2550         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2551         (with-silent-modifications): Doc fixes.
2553 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2555         * net/tramp.el (tramp-action-password, tramp-process-actions):
2556         Revert previous from.  Use `save-restriction'.
2558 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2560         * calendar/diary-lib.el (diary-list-sexp-entries):
2561         Handle case of no newline at end of file.  (Bug#7536)
2563 2010-12-13  Glenn Morris  <rgm@gnu.org>
2565         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2567 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2569         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2570         (tramp-process-actions): Do not widen.
2572         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2573         Protect buffer-modified value.  (Bug#7557)
2575 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2577         * log-edit.el (log-edit-changelog-entries):
2578         Regexp quote filename.  (Bug#7505)
2580 2010-12-13  Tom Breton  <tehom@panix.com>
2582         * cus-edit.el (custom-save-all):
2583         Bind print-length and print-level to nil.  (Bug#7581)
2585 2010-12-13  Glenn Morris  <rgm@gnu.org>
2587         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2588         Run hooks to update menu contents.  (Bug#7586)
2590         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2591         file names, for the sake of MS Windows.  (Bug#7588)
2593 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2595         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2596         empty lines without a leading space.
2598 2010-12-13  Leo  <sdl.web@gmail.com>
2600         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2601         while mapping over marks (Bug#6810).
2603 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2605         * image-dired.el (image-dired-db-file)
2606         (image-dired-temp-image-file, image-dired-gallery-dir)
2607         (image-dired-temp-rotate-image-file): Set default values relative
2608         to image-dired-dir (Bug#7518).
2610 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2612         * format.el (format-decode-run-method): Pass args FROM and TO, not
2613         point-min and point-max, to shell-command-on-region (Bug#7488).
2615 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2617         * frame.el (blink-cursor-mode): Make default t for ns.
2619 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2621         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2623 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2625         * comint.el (comint-dynamic-list-input-ring)
2626         (comint-dynamic-complete-filename)
2627         (comint-replace-by-expanded-filename)
2628         (comint-dynamic-simple-complete)
2629         (comint-dynamic-list-filename-completions)
2630         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2632         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2633         Doc fix (Bug#7471).
2635 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2637         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2638         (Bug#7533).
2640 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2642         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2643         (Bug#7491).
2645 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2647         * files.el (file-relative-name): Handle UNC file names on
2648         DOS/Windows.  (Bug#4674)
2650 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2652         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2653         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2654         (epg-context-set-passphrase-callback): Mention that the callback
2655         is not called when used with GnuPG 2.x.
2657 2010-12-13  Glenn Morris  <rgm@gnu.org>
2659         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2660         Ensure ps-footer-font-size-internal is initialized.
2661         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2663 2010-12-13  Kenichi Handa  <handa@m17n.org>
2665         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2666         within condition-case.
2667         (rmail-show-mime): Don't use condition-case.
2668         (rmail-search-mime-message): New function.
2669         (rmail-search-mime-message-function): Set to
2670         rmail-search-mime-message.
2672 2010-12-13  Leo  <sdl.web@gmail.com>
2674         * ido.el (ido-common-initialization): New function.  (bug#3274)
2675         (ido-mode): Use it.
2676         (ido-completing-read): Call it.
2678 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2680         * bookmark.el (bookmark-name-from-full-record): Rename back to
2681         this original name from `bookmark-name-from-record' reverting part
2682         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2683         As Drew Adams pointed out, there was no reason to cause churn for
2684         third-party callers.
2686 2010-12-12  Alan Mackenzie  <acm@muc.de>
2688         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2689         template arglist, check that the current language supports this.
2691 2010-12-11  Glenn Morris  <rgm@gnu.org>
2693         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2694         state of the file matches.  (Bug#7544)
2695         (vc-bzr-register, vc-bzr-checkin)
2696         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2697         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2699         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2701 2010-12-11  Karel Klíč  <kklic@redhat.com>
2703         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2705 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2707         Derive from prog-mode, use derived-mode-p, and fix up various
2708         minor style issues in lisp/progmodes.
2710         * progmodes/vhdl-mode.el (vhdl-mode):
2711         * progmodes/verilog-mode.el (verilog-mode):
2712         * progmodes/vera-mode.el (vera-mode):
2713         * progmodes/sql.el (sql-mode):
2714         * progmodes/scheme.el (scheme-mode):
2715         * progmodes/perl-mode.el (perl-mode):
2716         * progmodes/octave-inf.el (inferior-octave-mode):
2717         * progmodes/autoconf.el (autoconf-mode):
2718         * progmodes/m4-mode.el (m4-mode):
2719         * progmodes/inf-lisp.el (inferior-lisp-mode):
2720         * progmodes/idlwave.el (idlwave-mode):
2721         * progmodes/icon.el (icon-mode):
2722         * progmodes/idlw-help.el (idlwave-help-mode):
2723         * progmodes/dcl-mode.el (dcl-mode):
2724         * progmodes/idlw-shell.el (idlwave-shell-mode):
2725         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2726         (ebrowse-member-mode, ebrowse-electric-position-mode):
2727         Use define-derived-mode.
2729         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2730         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2731         (xscheme-debugger-mode-p, xscheme-send-string-1):
2732         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2733         (tcl-load-file, tcl-restart-with-file):
2734         * progmodes/ps-mode.el (ps-run-running):
2735         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2736         * progmodes/js.el (js--get-all-known-symbols):
2737         * progmodes/inf-lisp.el (inferior-lisp-proc):
2738         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2739         (idlwave-template, idlwave-update-buffer-routine-info)
2740         (idlwave-update-current-buffer-info)
2741         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2742         (idlwave-scan-class-info, idlwave-fix-keywords)
2743         (idlwave-list-buffer-load-path-shadows):
2744         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2745         (idlwave-toolbar-remove):
2746         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2747         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2748         (idlwave-shell-menu-def):
2749         * progmodes/idlw-complete-structtag.el
2750         (idlwave-prepare-structure-tag-completion):
2751         * progmodes/gud.el (gud-set-buffer):
2752         * progmodes/f90.el (f90-backslash-not-special):
2753         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2755         * progmodes/xscheme.el (xscheme-start)
2756         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2757         * progmodes/which-func.el (which-function):
2758         * progmodes/vhdl-mode.el (vhdl-set-style):
2759         * progmodes/verilog-mode.el (verilog-set-compile-command)
2760         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2761         (verilog-set-define, verilog-auto-reeval-locals):
2762         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2763         * progmodes/simula.el (simula-mode):
2764         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2765         * progmodes/python.el (python-check, python-mode):
2766         * progmodes/prolog.el (prolog-mode-variables):
2767         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2768         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2769         * progmodes/delphi.el (delphi-mode):
2770         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2771         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2772         (c-font-lock-init): Move make-local-variable to their setq.
2774         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2775         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2776         make-local-hook.
2777         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2778         (sh-set-shell): Don't set require-final-newline since it's already done
2779         by prog-mode.
2780         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2781         since we never set it.
2782         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2783         Use read-string and standard prompt.
2784         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2785         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2786         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2787         (meta-common-mode-map): Rename from meta-mode-map.
2788         Remove C-m binding, which is a user preference, not mode specific.
2789         (meta-common-mode): New major mode; replace meta-common-initialization.
2790         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2791         around with font-lock.
2792         * progmodes/etags.el (select-tags-table-mode):
2793         Derive from special-mode.
2794         * progmodes/octave-mod.el (octave-mode):
2795         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2796         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2797         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2798         Let define-derived-mode do its job.
2799         * progmodes/cpp.el (cpp-edit-mode-map):
2800         Move initialization into declaration.
2801         (cpp-edit-mode): Use define-derived-mode.
2802         (cpp-edit-load): Use derived-mode-p.
2803         * progmodes/mixal-mode.el (mixal-mode):
2804         * progmodes/f90.el (f90-mode):
2805         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2806         require-final-newline since prog-mode does it already.
2807         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2808         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2809         * progmodes/antlr-mode.el: Require cc-mode upfront.
2810         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2811         the declaration.
2812         (antlr-directory-dependencies, antlr-show-makefile-rules):
2813         Use derived-mode-p.
2814         (antlr-language-option): Don't assume point-min==1.
2815         (antlr-mode): Use define-derived-mode.
2816         * progmodes/ada-mode.el: Use derived-mode-p.
2817         (ada-mode): Use define-derived-mode.
2818         Use hack-local-variables-hook.
2820 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2822         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2823         (texinfo-mode): Don't disable adaptive-fill-mode.
2824         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2825         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2826         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2827         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2828         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2829         (texinfo-insert-@quotation, texinfo-insert-@samp)
2830         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2831         (texinfo-insert-@uref): Use define-skeleton.
2832         (texinfo-insert-@-with-arg): Delete.
2834 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
2836         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2837         nil, do quote archive member names.  (Bug#6144)
2839 2010-12-10  Glenn Morris  <rgm@gnu.org>
2841         * files.el (diff-no-select): Declare.
2843         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2844         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2846         * comint.el (comint-input-ring-file-name): Doc fix.
2848 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
2850         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2851         New functions.
2852         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2853         Use them instead of `nil' and `>', respectively.
2854         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2855         instead of `nil'.
2856         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2857         and menu-bar-positive-p instead of `nil' and `>', respectively.
2858         (Bug#1077)
2860 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2862         * whitespace.el (whitespace-newline-mode): Code fix.
2864 2010-12-09  Glenn Morris  <rgm@gnu.org>
2866         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2867         Rename functions without commas, update callers.
2869 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
2871         * whitespace.el (whitespace-cleanup-region):
2872         Clean up spaces before tabs.  (Bug#7582)
2874 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
2876         * bookmark.el: Adjust parameter names and doc strings to resolve
2877         confusion over whether "bookmark" meant a bookmark name or a
2878         bookmark record.  Along the way, shorten one function's name for
2879         similar reasons.  (Issue #7548)
2880         (bookmark-name-from-record): New name for
2881         `bookmark-name-from-full-record'.  All callers changed.
2882         (bookmark-get-bookmark, bookmark-get-bookmark-record)
2883         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2884         (bookmark-get-annotation, bookmark-set-annotation)
2885         (bookmark-get-filename, bookmark-set-filename)
2886         (bookmark-get-position, bookmark-set-position)
2887         (bookmark-get-front-context-string, bookmark-set-front-context-string)
2888         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2889         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2890         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2891         Rename `bookmark' parameter to `bookmark-name-or-record', to
2892         clearly show its role, and shorten or adjust doc strings accordingly.
2893         (bookmark-set-name): Same, and pass the parameter directly to
2894         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2895         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2896         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2897         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2898         and in some cases shorten doc string accordingly.
2899         (bookmark-rename): Change `old' and `new' parameters to `old-name'
2900         and `new-name', and adjust an internal variable to avoid confusion.
2901         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2902         parameter in doc string.
2904 2010-12-08  Glenn Morris  <rgm@gnu.org>
2906         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2907         from gdb's history file.  (Bug#7575)
2909         * mail/emacsbug.el (report-emacs-bug):
2910         Try to handle some other mail clients.
2912 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2914         * files.el (dir-locals-collect-variables): Don't let errors stop us.
2915         Use string-prefix-p.
2916         (file-name-version-regexp): New var.
2917         (file-name-sans-versions):
2918         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2919         (jka-compr-get-compression-info): Use dolist.
2920         (jka-compr-compression-info-list): Don't bother specifying
2921         version/backup regexps.
2923 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
2925         * simple.el (just-one-space): Make argument n default to 1 if
2926         omitted.
2928 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * electric.el (electric-indent-post-self-insert-function):
2931         Delete trailing newlines even if we don't reindent.
2933 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2935         * minibuffer.el (completion-at-point): Remove the `arg'.
2936         * bindings.el (complete-symbol): Move back from minibuffer.el.
2938 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2940         * simple.el (just-one-space): Delete newlines for negative arg.
2942 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2944         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2945         (ansi-color-filter-apply): Simplify.
2946         (ansi-color-apply): Use `font-lock-face' rather than `face'.
2948 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2950         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2952 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2954         * dired.el (dired-use-ls-dired): Set default to a special
2955         "unspecified" value.
2956         (dired-insert-directory): When called the first time, check
2957         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2959 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2961         * replace.el: Add "collect" feature to occur.
2962         (occur-collect-regexp-history): New var.
2963         (occur-read-primary-args): Return a replace string for nlines,
2964         if needed.
2965         (occur): Extend the meaning of nlines.
2967 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2969         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2970         (which-func-update-1): Distinguish symbols from strings.
2971         (which-function): Stay within 80 columns.
2973 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2975         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2977         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2978         Improve docstring.
2979         (comment-style): Use comment-styles's docs to describe values.
2981 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2983         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2984         and ns-show-prefs (Bug#7535).
2986         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2987         bindings (Bug#7535).
2989 2010-12-03  Glenn Morris  <rgm@gnu.org>
2991         * nxml/nxml-mode.el: Require rng-nxml.
2992         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2993         Remove declarations.
2995         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2996         * nxml/rng-nxml.el, nxml/rng-valid.el:
2997         Remove leading `*' from defcustom docs.
2999         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3000         (normal-top-level-add-to-load-path, tty-handle-args):
3001         Convert comments to basic doc-strings.
3003         * net/browse-url.el (browse-url-url-at-point)
3004         (browse-url-default-browser): Remove autoload cookies.
3006         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3007         Remove more undefined cl functions.
3009         * vc/diff.el (diff-sentinel): Make new arguments optional.
3010         * ibuf-ext.el (diff-sentinel): Update declaration.
3012 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3014         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3015         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3016         (epg-context-set-passphrase-callback): Mention that the callback
3017         is not called when used with GnuPG 2.x.
3019 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3021         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3022         (tramp-file-name-port): Check also for `tramp-default-port'.
3023         (tramp-get-connection-name): New defun.
3024         (tramp-get-connection-process): Use it.
3025         (tramp-debug-message): Extend function exclude list.
3026         (tramp-drop-volume-letter): Fix doc string.
3028         * net/tramp-cmds.el: Remove solved todo item.
3030         * net/tramp-efs.el:
3031         * net/tramp-ftp.el:
3032         * net/tramp-gvfs.el:
3033         * net/tramp-gw.el:
3034         * net/tramp-imap.el:
3035         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3036         and `tramp-default-user-alist', respectively.
3038         * net/tramp-gw.el (tramp-gw-open-connection):
3039         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3041         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3042         `tramp-file-name-port'.
3044         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3045         and "psftp".  Exchange "%k" marker with options.
3046         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3047         Compute size of link target.
3048         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3049         `tramp-current-*' up due to gateway methods.  Optimize computing of
3050         copy arguments.  Use `tramp-get-connection-name' and
3051         `tramp-get-connection-buffer'.  Improve debug messages.
3052         (tramp-compute-multi-hops): Remove port determination.
3053         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3055         * net/trampver.el: Update release number.
3057 2010-12-02  Glenn Morris  <rgm@gnu.org>
3059         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3060         Avoid infinite loop over windows.  (Bug#7492)
3062         * progmodes/flymake.el (flymake-check-file-limit):
3063         Allow nil to mean "no limit".
3064         (flymake-check-patch-master-file-buffer): Update for above change.
3065         Allow a .tex file-name extension to be optional.
3066         (flymake-master-tex-init): Also match \include statements.
3068 2010-11-30  Sam Steingold  <sds@gnu.org>
3070         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3071         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3072         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3073         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3074         define-derived-mode').
3075         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3076         users who want to call `nxml-parent-document-set'.
3078 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3080         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3081         stand-alone lines, since that is handled by log-edit-match-to-eoh
3082         (Bug#6465).
3084 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3086         * dired.el (dired-get-filename): Replace backslashes with slashes
3087         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3088         * locate.el (locate-default-make-command-line): Don't consider
3089         drive letter and root directory part of
3090         `directory-listing-before-filename-regexp'.  (Bug#7308)
3091         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3093 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3095         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3096         of :smie-open/close-alist.
3097         (smie-next-sexp): Make it accept a "start token" as argument.
3098         (smie-indent-keyword): Be careful not to misidentify tokens that span
3099         more than one line, as empty lines.  Add argument `token'.
3101 2010-11-27  Kenichi Handa  <handa@m17n.org>
3103         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3104         multipart subtypes, insert all as usual.
3106         * mail/rmail.el: Require rfc2047.
3108 2010-11-27  Kenichi Handa  <handa@m17n.org>
3110         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3111         (rmail-mime-entity-disposition)
3112         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3113         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3114         (rmail-mime-save): Handle the case that the button's `data' is a
3115         MIME entity.
3116         (rmail-mime-insert-text): New function.
3117         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3118         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3119         (rmail-mime-insert-bulk): New function mostly copied from the old
3120         rmail-mime-bulk-handler.
3121         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3122         (rmail-mime-process-multipart): New function mostly copied from
3123         the old rmail-mime-multipart-handler.
3124         (rmail-mime-show): Just call rmail-mime-process.
3125         (rmail-mime-process): New function mostly copied from the old
3126         rmail-mime-show.
3127         (rmail-mime-insert-multipart, rmail-mime-parse)
3128         (rmail-mime-insert, rmail-show-mime)
3129         (rmail-insert-mime-forwarded-message)
3130         (rmail-insert-mime-resent-message): New functions.
3131         (rmail-insert-mime-forwarded-message-function): Set to
3132         rmail-insert-mime-forwarded-message.
3133         (rmail-insert-mime-resent-message-function): Set to
3134         rmail-insert-mime-resent-message.
3136         * mail/rmailsum.el: Require rfc2047.
3137         (rmail-header-summary): Handle multiline Subject: field.
3138         (rmail-summary-line-decoder): Change the default to
3139         rfc2047-decode-string.
3141         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3142         (rmail-mime-feature): Change the default to `rmailmm'.
3143         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3144         (rmail-display-labels): Likewise.
3145         (rmail-show-message-1): Check rmail-enable-mime, and use
3146         rmail-show-mime-function for a MIME message.  Decode the headers
3147         according to RFC2047.
3149 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3151         * progmodes/which-func.el (which-func-imenu-joiner-function):
3152         Return a string, as expected.
3153         (which-function-mode): Make sure we stop any previous timer before
3154         starting a new one.
3156 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3158         * net/tramp.el (tramp-default-method-alist)
3159         (tramp-default-user-alist, tramp-default-proxies-alist):
3160         Adapt custom options type.  (Bug#7445)
3162 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3164         * progmodes/python.el: Add Ipython support (Bug#5390).
3165         (python-shell-prompt-alist)
3166         (python-shell-continuation-prompt-alist): New options.
3167         (python--set-prompt-regexp): New function.
3168         (inferior-python-mode, run-python, python-shell):
3169         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3170         prompt based on the Python interpreter.
3171         (python--prompt-regexp): New var.
3172         (python-check-comint-prompt)
3173         (python-comint-output-filter-function): Use it.
3174         (run-python): Use a pipe (Bug#5694).
3176 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3178         * progmodes/python.el (run-python): Doc fix.
3179         (python-keep-current-directory-in-path): New var (Bug#7454).
3181 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3183         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3184         Prompt user before actually printing.
3186 2010-11-27  Glenn Morris  <rgm@gnu.org>
3188         * startup.el (package-enable-at-startup, package-initialize):
3189         Remove unnecessary declarations.
3191 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3193         * international/characters.el (glyphless-char-display-control):
3194         Exclude newline and TAB from the c0-control group.
3196 2010-11-27  Glenn Morris  <rgm@gnu.org>
3198         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3199         (expand-mail-aliases): Remove unnecessary autoload.
3201         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3203         * shell.el (shell-dir-cookie-re): Move definition before use.
3205         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3206         Replace undefined CL functions.
3208 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3210         * simple.el (prog-mode): Set bidi-paragraph-direction to
3211         left-to-right.
3213         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3215 2010-11-26  Glenn Morris  <rgm@gnu.org>
3217         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3218         diary-outlook-formats can be sensitive to calendar-date-style.
3219         (diary-outlook-formats): Simplify the default setting.
3220         (diary-from-outlook-internal): Pass subject and body as arguments.
3221         Use dolist rather than dotimes.  Don't save the diary buffer.
3222         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3223         Pass subject and body as explicit arguments to the -internal function.
3225 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3227         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3228         parsing them.  This makes mailto:...?subject=foo\nbar work.
3230 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3232         * vc/diff.el (diff): Fix last change.
3234 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3236         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3237         (pcase--dontcare-upats): New var.
3238         (pcase-let, pcase-let*): Generate better code.
3239         Accept the same bodies as `let'.
3240         (pcase-dolist): New macro.
3241         (pcase--trivial-upat-p): New helper function.
3242         (pcase--expand): Strip leading "(let nil" if any.
3244 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3246         * mail/mailclient.el (browse-url): Require.
3247         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3248         use the external browser function to send the mail (bug#7469).
3250         * net/browse-url.el (browse-url-browser-function): Revert the
3251         default back to the previous value, since the new value broke
3252         mailclient.el.
3253         (browse-url-mailto-function): New variable for mailto: URLs.
3254         (browse-url): Use the new variable for mailto: URLs.
3256 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3258         * eshell/esh-cmd.el (eshell-parse-command):
3259         * eshell/esh-arg.el (eshell-parse-arguments):
3260         * eshell/em-script.el (eshell-source-file):
3261         Use with-silent-modifications.
3263 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3265         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3266         for a merge location.
3268         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3269         (vc-bzr-merge-branch): Always prompt.
3270         (vc-bzr-async-command): Use the full branch filename.
3272 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3274         * shell.el (shell): Use current-buffer by default if it's already
3275         a shell mode buffer and its process is dead.
3276         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3278 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3280         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3281         Mention that the keywords should be comma separated.
3283 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3285         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3286         Accept optional prefix arg meaning to prompt for a command.
3287         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3288         prefix arg meaning to prompt for a command.
3289         (vc-pull): Alias for vc-update.
3291         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3292         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3293         (vc-bzr-merge-branch): New functions, implementing merge-branch
3294         and pull operations.
3296 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3298         * Makefile.in: Fix up last merge.
3300         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3301         (diff-sentinel): Get them as arguments instead.
3302         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3303         (diff-file-local-copy, diff-better-file-name): New funs.
3304         (diff-no-select): Rename from diff-into-buffer.
3305         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3306         Prefer closures to buffer-local variables.
3307         (diff): Adjust accordingly.
3308         (diff-buffer-with-file): Move from files.el.
3309         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3310         (diff-buffer-internal): Remove.
3311         (diff-buffer-buffer): Remove.
3312         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3313         the buffer name used, and so as not to mess up windows and frames.
3315 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3317         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3318         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3319         (diff-buffer-with-file): Use it.
3320         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3321         (diff): Use it.
3323 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3325         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3326         \ref's or \pageref's value as default instead of initial input.
3328 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3330         * files.el (backup-by-copying-when-mismatch): The default value is
3331         now t.
3333         * startup.el (normal-top-level):
3334         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3335         `backup-by-copying-when-mismatch'.
3337 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3339         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3341 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3343         * progmodes/python.el (python-font-lock-keywords):
3344         Highlight top-level augmented assignments (Bug#6445).
3346 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3348         * term/ns-win.el (ns-right-control-modifier)
3349         (ns-right-command-modifier): Defvar them.
3351         * cus-start.el (all): Add ns-right-control-modifier and
3352         ns-right-command-modifier (Bug#7458).
3354 2010-11-20  Glenn Morris  <rgm@gnu.org>
3356         * emacs-lisp/authors.el (authors-ignored-files)
3357         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3359 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3361         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3362         (report-emacs-bug-parse-query-results)
3363         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3364         keywords used for querying the bug database to show them in the
3365         existing bugs buffer.
3367 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3369         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3371         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3373 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3375         * international/characters.el (glyphless-char-display-control):
3376         Make it a defcustom, with update-glyphless-char-display as its
3377         :set attribute.
3378         (top level): Don't call update-glyphless-char-display.
3380 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3382         Sync with Tramp 2.2.0.
3384         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3385         `file-remote-p' (due to compatibility).
3387         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3388         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3390         * net/trampver.el: Update release number.
3392 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3394         * faces.el (glyphless-char): Define value for `pc'.
3396 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3398         Implemented a bug querying mechanism.
3399         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3400         (report-emacs-bug-create-existing-bugs-buffer)
3401         (report-emacs-bug-parse-query-results)
3402         (report-emacs-bug-query-existing-bugs): New functions.
3404 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3406         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3407         a \ref{} or \pageref{} macro, then use its value as initial input.
3409 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3411         * calc/calc-units.el (math-build-units-table-buffer):
3412         calc/README: Mention that the TeX specific units won't use the
3413         `tex' prefix in TeX mode.
3414         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3415         prefix for units in TeX mode.
3417 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3419         * simple.el (kill-new, kill-append, kill-region):
3420         * comint.el (comint-kill-region): Make the yank-handler argument
3421         obsolete.
3423 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3425         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3426         that are both openers (resp. closers) and something else.
3427         (smie-grammar): Loosen definition of valid values.
3428         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3429         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3430         (smie-indent-after-keyword): Adjust users.
3431         (smie-indent-keyword): Don't indent empty lines.
3433         * vc-hg.el (vc-hg-program): New var.
3434         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3435         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3437 2010-11-18  Glenn Morris  <rgm@gnu.org>
3439         * emacs-lisp/autoload.el (autoload-find-destination): The function
3440         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3442 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3444         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3446 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3448         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3450 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3452         * textmodes/picture.el (picture-mouse-set-point): Don't use
3453         posn-col-row; explicitly compute the motion based on the posn at
3454         the window-start (Bug#7390).
3456 2010-11-18  Glenn Morris  <rgm@gnu.org>
3458         * novice.el (disabled-command-function):
3459         Fix 2009-11-15 change.  (Bug#7384)
3461 2010-11-18  Glenn Morris  <rgm@gnu.org>
3463         * calendar/calendar.el (diary-iso-date-forms): Make elements
3464         mutually exclusive.  (Bug#7377)
3466 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3468         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3469         when filling the remaining "unconstrained" values.
3471 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3474         safety predicate.
3476         * files.el (safe-local-variable-p): Gracefully handle errors.
3478         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3479         Use smie-indent-virtual when indenting relative to an opener.
3480         (smie-rule-separator): Use smie-rule-parent.
3481         (smie-indent-keyword): Consult rules, even for openers at bol.
3482         (smie-indent-comment-close): Try to align closer's content.
3484 2010-11-18  Glenn Morris  <rgm@gnu.org>
3486         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3488 2010-11-18  Glenn Morris  <rgm@gnu.org>
3490         * printing.el (pr-menu-bind): Doc fix.
3492         * speedbar.el (speedbar-toggle-images): Doc fix.
3494         * progmodes/python.el (python-shell): Doc fix.
3496         * wid-edit.el (widget-field-use-before-change)
3497         (widget-use-overlay-change): Doc fixes.
3499 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         Minor cleanup to improve style.
3502         * textmodes/rst.el (rst-update-section): Use point-marker.
3503         (rst-get-decoration): Eliminate unneeded assignment.
3504         (rst-promote-region, rst-straighten-decorations)
3505         (rst-section-tree, rst-adjust): Use point-marker.
3506         (rst-toc-mode-mouse-goto): Avoid setq.
3507         (rst-shift-region-guts, rst-shift-region-left)
3508         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3509         (rst-convert-bullets-to-enumeration): Use copy-marker.
3511         * minibuffer.el (completion-fail-discreetly): New var.
3512         (completion--do-completion): Use it.
3514         * electric.el (electric-pair-pairs): New var.
3515         (electric-pair-post-self-insert-function): Use it.
3516         (electric-layout-post-self-insert-function): Don't insert a before
3517         newline unless it's actually needed.
3519 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         * progmodes/python.el (run-python): Explain why we remove the current
3522         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3524         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3526 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3529         (octave-mode-map): Don't bind ;, SPC, and LF.
3530         (octave-auto-indent, octave-auto-newline): Remove.
3531         (electric-layout-rules): Declare.
3532         (octave-mode): Set electric-layout-rules.
3533         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3534         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3535         (octave-electric-space): Remove.
3537         * electric.el (electric-layout-mode): New minor mode.
3538         (electric--after-char-pos): New function.
3539         (electric-indent-post-self-insert-function): Use it.
3540         (electric-layout-rules): New var.
3541         (electric-layout-post-self-insert-function): New function.
3542         (electric-indent-mode): Make them interact better.
3544 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3546         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3547         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3548         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3550 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3552         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3553         Make sure to check inside the word (Bug#6761).
3555 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3557         * startup.el (command-line): If the cursorColor resource is set,
3558         change the cursor face-spec (Bug#7392).
3560 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3562         The main features of the following allout.el changes are:
3563         - implement user customization for the allout key bindings
3564         - add a customization control by which the user can inhibit use of
3565           a trailing Ctrl-H, so by default it's reserved for use with
3566           describe-prefix-bindings
3567         - adapt to new version of called-interactively-p, while
3568           maintaining backwards compatibility with old version
3569         - fix hotspot navigation so i works properly with meta-modified keys
3571         * allout.el (allout-keybindings, allout-bind-keys)
3572         (allout-keybindings-binding, allout-prefixed-keybindings)
3573         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3574         (allout-keybindings-list, allout-mode-map-adjustments)
3575         (allout-setup-mode-map): Establish allout-mode keymaps as user
3576         customizable settings, and also establish a customizable setting which
3577         regulates whether or not a trailing control-h is reserved for use with
3578         describe-prefix-bindings - and inhibit it by default, so that control-h
3579         *is* reserved for describe-prefix-bindings unless the user changes it.
3581         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3582         and accurately between modified and unmodified events, and handle
3583         modified events more comprehensively.
3585         * allout.el (allout-substring-no-properties):
3586         Alias to use or provide version of `substring-no-properties'.
3587         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3589         * allout.el (allout-next-single-char-property-change):
3590         Alias to use or provide version of `next-single-char-property-change'.
3591         (allout-annotate-hidden, allout-hide-by-annotation):
3592         Use `allout-next-single-char-property-change'.
3594         * allout.el (allout-select-safe-coding-system):
3595         Alias to use or provide version of `select-safe-coding-system'.
3596         (allout-toggle-subtree-encryption):
3597         Use `allout-select-safe-coding-system'.
3599         * allout.el (allout-set-buffer-multibyte):
3600         Alias to use or provide version of `set-buffer-multibyte'.
3601         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3603         * allout.el (allout-called-interactively-p): Macro for using the
3604         different versions of called-interactively-p identically, depending on
3605         the subroutine's argument signature.
3606         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3607         Use `(interactive "p")' instead of `(called-interactively-p)'.
3609         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3610         (allout-previous-visible-heading, allout-forward-current-level)
3611         (allout-backward-current-level, allout-show-children):
3612         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3614         * allout.el (allout-before-change-handler):
3615         Exempt edits to the (overlaid) character after the allout outline
3616         bullet from edit confirmation prompt.
3618         * allout.el (allout-add-resumptions):
3619         Ensure that it respects correct buffer for keybindings.
3621         * allout.el (allout-beginning-of-line):
3622         Use `allout-previous-single-char-property-change' alias for the sake of
3623         diverse compatibility.
3625         * allout.el (allout-end-of-line):
3626         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3628 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3630         * frame.el (frame-notice-user-settings): Don't clobber other
3631         user-set parameters when calling face-set-after-frame-default in
3632         response to background-color parameter (Bug#7373).
3634 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3636         * international/characters.el (glyphless-char-display-control):
3637         Rename from glyphless-char-control; all users changed.  Doc fix.
3638         Signal an error if display method is not one of the recognized
3639         symbols.
3641 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3643         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3644         (tramp-compat-line-end-position): Remove them.
3646         * net/tramp.el (tramp-parse-rhosts-group)
3647         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3648         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3649         (tramp-parse-netrc-group, tramp-parse-putty-group)
3650         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3651         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3652         (tramp-sh-handle-file-selinux-context)
3653         (tramp-sh-handle-file-name-all-completions)
3654         (tramp-sh-handle-insert-directory)
3655         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3656         (tramp-wait-for-output, tramp-send-command-and-read)
3657         * net/tramp-smb.el (tramp-smb-read-file-entry)
3658         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3660         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3661         `point-at-bol'.
3662         (tramp-remote-coding-commands): Add an alternative using "base64
3663         -d -i".  This is needed for older base64 versions from GNU
3664         coreutils.  Reported by Klaus Reichl
3665         <Klaus.Reichl@thalesgroup.com>.
3667 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3669         * simple.el (count-words-region): New function.
3671 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3673         * shell.el (shell-dir-cookie-re): New custom variable.
3674         (shell-dir-cookie-watcher): New function.
3676         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3677         and compilation-mode (bug#7350).
3679         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3680         highlight when one of them is empty.
3682         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3683         trailing space.
3684         (skeleton-newline): New function.
3685         (skeleton-internal-1): Use it.
3687         * simple.el (open-line): `newline' may strip trailing space.
3689 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3691         * international/mule-cmds.el (princ-list): Use mapc.
3693 2010-11-12  Glenn Morris  <rgm@gnu.org>
3695         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3696         Use it to replace all instances of "*Compile-Log*"
3698 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3700         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3701         indentation specs.
3703 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3705         * progmodes/modula2.el: Use SMIE and skeleton.
3706         (m2-mode-syntax-table): (*..*) can be nested.
3707         Add //...\n.  Fix paren syntax.
3708         (m2-mode-map): Remove LF and TAB bindings.
3709         (m2-indent): Add safety property.
3710         (m2-smie-grammar): New var.
3711         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3712         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3713         (m2-mode): Use define-derived-mode.
3714         (m2-newline, m2-tab): Remove.
3715         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3716         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3717         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3718         (m2-import): Use define-skeleton.
3720 2010-11-11  Glenn Morris  <rgm@gnu.org>
3722         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3724         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3725         (ls-lisp-verbosity): Add custom :set-after property.
3726         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3727         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3728         (ls-lisp-insert-directory): Update caller.
3729         (ls-lisp-set-options): New function.
3730         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3731         Doc fix.
3733         * play/landmark.el (lm-prompt-for-move):
3734         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3736         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3738         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3739         (idlwave-study-twins): Prefix dynamic local variable `name'.
3740         (idlwave-routine-twin-compare): Update for above change.
3742         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3743         Prefix dynamic local variables `name', `kwd', and `link'.
3744         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3745         * progmodes/idlw-complete-structtag.el
3746         (idlwave-complete-structure-tag-help):
3747         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3748         (idlwave-complete-sysvar-tag-help)
3749         (idlwave-complete-class-structure-tag-help):
3750         Update for above name changes.
3752 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3754         * net/browse-url.el (browse-url-browser-function): Change the
3755         default to use `browse-url-mail' on mailto: URLs.
3757 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3759         * emacs-lisp/package.el (package-read-all-archive-contents):
3760         Reset package-archive-contents to nil before re-reading.
3762 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3764         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3765         already found as misspellings by (flyspell-large-region), just
3766         do highlighting (bug#7322).
3768 2010-11-10  Glenn Morris  <rgm@gnu.org>
3770         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3772         * emulation/edt.el (edt-with-position): New macro.
3773         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3774         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3775         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3777         * emulation/tpu-extras.el (tpu-with-position): New macro.
3778         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3780         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3782         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3783         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3784         (texinfo-master-menu, texinfo-insert-node-lines)
3785         (texinfo-multiple-files-update):
3786         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3787         Use line-beginning-position.
3789         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3790         No recent Emacs supports system-type `emx'.
3792         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3793         (ada-command-separator, ada-default-prj-properties)
3794         (ada-find-any-references): Update for above name change.
3796         * dirtrack.el (dirtrack-directory-function)
3797         (dirtrack-canonicalize-function):
3798         * filecache.el (file-cache-completion-ignore-case)
3799         (file-cache-case-fold-search, file-cache-ignore-case):
3800         * term.el (serial-port-is-file-p): Cosmetic change.
3802         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3803         Remove non-existent `windows-95' system-type.
3804         * dired.el (dired-chown-program): Remove non-existent `linux'
3805         system-type.
3807         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3808         (ping-program-options): Remove non-existent `linux' system-type.
3810         * startup.el (package-initialize): Update declaration.
3812         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3813         (ls-lisp-handle-switches): Use time-less-p.
3814         (ls-lisp-format-time): Use float-time.
3816         * textmodes/remember.el (remember-time-to-seconds): Remove.
3817         (remember-store-in-mailbox): Use float-time.
3819         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3821         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3822         never a real function.
3823         (with-no-warnings): Remove compat stub, now unused.
3824         (time-less-p): Doc fix.
3825         (time-to-number-of-days): Simplify.
3827         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3828         Remove.
3829         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3830         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3831         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3832         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3833         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3835         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3836         (eshell-shuffle-files, eshell-shorthand-tar-command)
3837         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3838         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3839         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3840         Prefix dynamic local variable `matches'.
3842         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3843         Prefix dynamic local variable `skeleton'.
3845 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
3847         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3848         in mail buffer; make yank-action always a command that yanks original
3849         buffer.
3851 2010-11-09  Glenn Morris  <rgm@gnu.org>
3853         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3855 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * minibuffer.el (minibuffer-completion-help): Specify the end of the
3858         completion field (bug#7211).
3860         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3861         Fix handling of backslash escapes.
3862         (python-quote-syntax): Adjust accordingly.
3864 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
3866         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3867         (vc-mtn-workfile-branch): Adjust to new output format.
3869 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3871         * international/mule-cmds.el (princ-list): Mark as obsolete.
3873 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3875         * emacs-lisp/smie.el: New package.
3877 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
3879         * files.el (backup-by-copying-when-mismatch):
3880         Set `permanent-local' property.
3882         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3883         `permanent-local' property for `backup-by-copying-when-mismatch'.
3885 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
3887         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
3889 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
3891         * progmodes/verilog-mode.el (verilog-insert-one-definition)
3892         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3893         AUTOINOUT for SV style multidimensional arrays, bug294.
3894         Reported by Eric Mastromarchi.
3895         (verilog-preprocess): Use with-current-buffer and
3896         font-lock-fontify-buffer to cleanup style issues.
3898 2010-11-09  Glenn Morris  <rgm@gnu.org>
3900         * locate.el (locate, locate-mode): Doc fixes.
3902 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
3904         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3905         user for confirmation.
3906         (server-force-stop): Use it.
3907         (server-start): Use server-force-stop for kill-emacs-hook, to
3908         avoid user interaction while killing Emacs.
3910 2010-11-09  Glenn Morris  <rgm@gnu.org>
3912         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3913         (meta-indent-line): Simplify.
3915         * vc/emerge.el (emerge-line-number-in-buf):
3916         * textmodes/ispell.el (ispell-region):
3917         * textmodes/fill.el (current-fill-column):
3918         * progmodes/xscheme.el (xscheme-send-current-line):
3919         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3920         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3921         * progmodes/sh-script.el (sh-handle-prev-do):
3922         * progmodes/meta-mode.el (meta-indent-line):
3923         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3924         (idlwave-in-quote):
3925         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3926         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3927         * progmodes/fortran.el (fortran-looking-at-if-then):
3928         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3929         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3930         (cperl-find-pods-heres):
3931         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3932         * net/quickurl.el (quickurl-list-insert):
3933         * net/ldap.el (ldap-search-internal):
3934         * net/eudc.el (eudc-expand-inline):
3935         * mail/sendmail.el (sendmail-send-it):
3936         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3937         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3938         (viper-brac-function):
3939         * calc/calc-yank.el (calc-do-grab-region):
3940         * calc/calc-keypd.el (calc-keypad-press):
3941         * term.el (term-move-columns, term-insert-spaces):
3942         * speedbar.el (speedbar-highlight-one-tag-line):
3943         * simple.el (current-word):
3944         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3945         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3946         (Info-scroll-down):
3947         * hippie-exp.el (he-line-beg):
3948         * epa.el (epa--marked-keys):
3949         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3950         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3951         (dired-relist-entry):
3952         * buff-menu.el (Buffer-menu-buffer):
3953         * array.el (current-line):
3954         * allout.el (allout-resolve-xref)
3955         (allout-latex-verbatim-quote-curr-line):
3956         Replace yet more uses of end-of-line etc with line-end-position, etc.
3958 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3960         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3961         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3962         (checkdoc-syntax-table): Initialize in the declaration.
3963         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3964         the mode on unconditionally.
3966         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3967         (extent-end-position, extent-start-position): Remove setf method for
3968         non-existing functions (bug#7319).
3970 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3972         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3973         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3974         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3975         (smie-prec2->grammar): Rename from smie-prec2-levels.
3976         (smie-grammar): Rename from smie-op-levels.
3977         (smie-indent--hanging-p): Rename from smie-hanging-p.
3978         (smie-rule-hanging-p): New alias.
3979         (smie-indent--bolp): Rename from smie-bolp.
3980         (smie-indent--hanging-p): New alias.
3981         (smie--token): New dynamically bound variable.
3982         (smie-indent--parent): New function.
3983         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3984         (smie-rule-next-p): Rename from smie-next-p.
3985         (smie-rule-prev-p): Rename from smie-prev-p.
3986         (smie-rule-sibling-p, smie-rule-parent)
3987         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3988         (smie-rule-separator-outdent): New var.
3989         (smie-indent--rule): Merge with smie-indent--column.
3990         (smie-indent-forward-token, smie-indent-backward-token):
3991         Also recognize close parens.
3992         (smie-indent-keyword): Don't use smie-indent--column any more.
3993         (smie-indent-after-keyword): Ignore closers by default.
3994         (smie-indent-line): Use with-demoted-errors.
3995         * progmodes/octave-mod.el (octave-smie-grammar):
3996         Rename from octave-smie-op-levels.
3997         (octave-smie-rules): Adjust to new behavior.
3998         * progmodes/prolog.el (prolog-smie-grammar):
3999         Rename from prolog-smie-op-levels.
4001 2010-11-07  Glenn Morris  <rgm@gnu.org>
4003         * eshell/esh-util.el (subst-char-in-string)
4004         (directory-files-and-attributes): These compatibility definitions are
4005         not needed on any version of Emacs since at least 21.4.
4007         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4008         (verilog-get-end-of-line): Remove.
4009         (verilog-within-string, verilog-re-search-forward-substr)
4010         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4011         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4012         Use point-at-bol, point-at-eol.
4013         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4014         Remove.
4015         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4016         (electric-pascal-terminate-line, pascal-set-auto-comments)
4017         (pascal-indent-paramlist, pascal-indent-declaration)
4018         (pascal-get-lineup-indent, pascal-func-completion)
4019         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4020         Use point-at-bol, point-at-eol.
4021         * progmodes/flymake.el (flymake-line-beginning-position)
4022         (flymake-line-end-position): Remove.
4023         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4024         * eshell/esh-util.el (line-end-position, line-beginning-position):
4025         Remove compat definitions.
4027         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4028         Use end-of-line N.
4029         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4030         Use line-end-position.
4032         * emacs-lisp/chart.el (chart-zap-chars):
4033         * play/decipher.el (decipher-set-map):
4034         * progmodes/ada-mode.el (ada-get-current-indent)
4035         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4036         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4037         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4038         (ada-get-all-references):
4039         * progmodes/cperl-mode.el (cperl-electric-paren)
4040         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4041         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4042         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4043         (cperl-word-at-point-hard):
4044         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4045         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4046         (idlwave-shell-display-line):
4047         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4048         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4049         * progmodes/js.el (js--re-search-forward-inner)
4050         (js--re-search-backward-inner):
4051         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4052         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4053         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4054         * textmodes/flyspell.el (flyspell-process-localwords):
4055         * textmodes/ispell.el (ispell-buffer-local-parsing)
4056         (ispell-buffer-local-dict, ispell-buffer-local-words):
4057         Use point-at-bol and point-at-eol.
4059         * speedbar.el (speedbar-generic-item-info)
4060         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4061         (speedbar-add-indicator, speedbar-check-vc-this-line)
4062         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4063         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4064         Replace more uses of end-of-line etc with line-end-position.
4066 2010-11-06  Glenn Morris  <rgm@gnu.org>
4068         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4069         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4070         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4071         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4072         (texinfo-multiple-files-update):
4073         * textmodes/table.el (table--probe-cell-left-up)
4074         (table--probe-cell-right-bottom):
4075         * textmodes/picture.el (picture-tab-search):
4076         * textmodes/page-ext.el (pages-copy-header-and-position)
4077         (pages-directory-for-addresses):
4078         * progmodes/vera-mode.el (vera-get-offset):
4079         * progmodes/simula.el (simula-calculate-indent):
4080         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4081         * progmodes/prolog.el (end-of-prolog-clause):
4082         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4083         * progmodes/icon.el (indent-icon-exp):
4084         * progmodes/etags.el (tag-re-match-p):
4085         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4086         * progmodes/ebnf2ps.el (ebnf-begin-file):
4087         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4088         (dcl-save-local-variable):
4089         * play/life.el (life-setup):
4090         * play/gametree.el (gametree-looking-at-ply):
4091         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4092         * mail/sendmail.el (mail-mode-auto-fill):
4093         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4094         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4095         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4096         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4097         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4098         * type-break.el (type-break-file-keystroke-count):
4099         * term.el (term-replace-by-expanded-history-before-point)
4100         (term-skip-prompt, term-extract-string):
4101         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4102         (speedbar-contract-line, speedbar-toggle-line-expansion)
4103         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4104         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4105         * sort.el (sort-skip-fields):
4106         * skeleton.el (skeleton-internal-list):
4107         * simple.el (line-move-finish, line-move-to-column):
4108         * shell.el (shell-forward-command):
4109         * misc.el (copy-from-above-command):
4110         * makesum.el (double-column):
4111         * ebuff-menu.el (electric-buffer-update-highlight):
4112         * dired.el (dired-move-to-end-of-filename):
4113         * dframe.el (dframe-popup-kludge):
4114         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4115         * arc-mode.el (archive-get-lineno):
4116         Use line-end-position and line-beginning-position.
4118         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4119         (idlwave-study-twins): Prefix dynamic local `class'.
4120         (idlwave-routine-twin-compare): Update for above name change.
4122         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4123         Use boundp tests to silence compiler.  Update for changed name of
4124         bytecomp-filename variable.
4126         * emulation/viper-cmd.el (viper-read-string-with-history):
4127         Prefix dynamic local `initial'.
4128         (viper-minibuffer-standard-hook): Update for above name change.
4130         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4131         (elint-init-form): Update for above name change.
4133         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4134         local variables `cbeg' and `cend' a prefix.
4135         (mail-extr-voodoo): Update for above name change.
4137         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4138         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4139         (reftex-toc-promote-action): Doc fix.
4141         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4142         `prompt', `data' a prefix.
4143         (reftex-select-post-command-hook, reftex-select-callback)
4144         (reftex-select-mouse-accept, reftex-select-read-cite):
4145         Update for above name changes.
4147         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4148         `refstyle' to reftex-refstyle.
4149         (reftex-offer-label-menu): Update for above name change.
4150         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4151         `refstyle' name change.
4153         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4154         with with-current-buffer.
4155         (diff, template): Give dynamic local variables a prefix.
4156         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4157         (emerge-line-number-in-buf): Update for above name change.
4158         (emerge-combine-versions-internal): Rename local `template' to
4159         emerge-combine-template.
4160         (emerge-combine-versions-edit): Update for above name change.
4162 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4164         * textmodes/reftex-cite.el
4165         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4166         entries with whitespace after \bibitem.
4167         (reftex-create-bibtex-file): Match entries containing numbers and
4168         symbol constituents.  Make sure that entries with whitespace at
4169         various places are found.
4171 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4173         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4175 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4177         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4179 2010-11-05  Glenn Morris  <rgm@gnu.org>
4181         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4182         (woman2-roff-buffer): Give local variable `request' a prefix.
4183         (woman0-macro): Rename argument `request' in the same way.
4184         (woman-request): New name for `request' dynamic variable.
4185         (woman-unquote, woman-forward-arg): Update for above name change.
4186         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4187         (woman1-unquote): New name for `unquote' dynamic variable.
4188         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4189         (woman-translations): Rename from `translations'.  No longer global.
4190         (woman2-tr, woman-translate): Update for above name change.
4191         (woman-translate): Check for bound variable.
4192         (woman2-roff-buffer): Give local variable `translations' a prefix.
4194         * play/doctor.el: Give all local variables a prefix.  Update callers.
4195         (doc$, doctor-put-meaning): Use backquote.
4197         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4198         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4200         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4201         variables bytes, ptr, op a prefix.
4202         (disassemble-offset): Update for above change.
4204 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4206         * emacs-lisp/package.el (package-unpack): Remove no-op.
4207         (package--builtins, package--dir): Doc fix.
4208         (package-activate-1, package-activate, package-install)
4209         (package-compute-transaction): Fix error message.
4210         (package-delete): Use delete-directory.  Omit system packages.
4211         (package-initialize): Set package-alist to nil first.
4212         (package-menu-mark-delete, package-menu-mark-install): Don't add
4213         symbols that are inconsistent with the package state.
4214         (package-menu-execute): Perform deletions and installations as
4215         single batch operations.
4217 2010-11-03  Glenn Morris  <rgm@gnu.org>
4219         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4220         (props): Remove unnecessary declaration.
4222         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4223         set-process-query-on-exit-flag.
4225         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4226         (reftex-toc-do-promote): Remove unused local `mpos'.
4227         (reftex-toc-restore-region): Make `mpos' local to this function.
4229         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4231         * play/landmark.el (lm-losing-threshold): Correct spelling.
4232         (lm-human-plays): Use new name.
4234         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4235         (gomoku-human-plays): Use new name.
4237         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4238         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4239         (gomoku-score-trans-table, gomoku-winning-threshold)
4240         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4242 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4244         * emacs-lisp/package.el: Don't put built-in packages in
4245         package-alist, to avoid loading inefficiencies.
4246         (package-built-in-p): Make VERSION optional, and treat it as a
4247         minimum acceptable version.
4248         (package-activate): Search separately for built-in packages.
4249         Emit a warning if a dependency fails.
4250         (define-package): Handle most common case, where there is no
4251         obsolete package, first.
4252         (package-compute-transaction): Print required version in error.
4253         (package--initialized): New variable.
4254         (list-packages): Use it.
4255         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4256         built-in packages in packages-alist; keep it separate.
4257         Set package--initialized.
4258         (describe-package): Avoid activating packages as a side-effect.
4259         Search separately for built-in packages.
4260         (describe-package-1): Handle the case where an elpa package is
4261         simultaneously built-in and available/installed.
4262         (package-installed-p, package--generate-package-list):
4263         Search separately for built-in packages.
4264         (package-load-descriptor): Doc fix.
4266 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4268         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4269         Handle __DATA__ and __END__.
4271 2010-11-02  Noah Friedman  <friedman@splode.com>
4273         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4274         nil, do not ask to recompile files that are not already compiled,
4275         and do not recompile them.
4277 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4279         * emacs-lisp/package.el (package-initialize): Ensure that
4280         obsoleted built-in packages are not in package-activated-list
4281         during activation.
4282         (describe-package-1): Make the "installed" status override
4283         "built-in".
4285 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4287         * subr.el (version-separator, version-regexp-alist): Remove '*'
4288         from docstring.
4289         (version-list-<=, version<=, version=): Doc fix.
4291 2010-11-01  Kenichi Handa  <handa@m17n.org>
4293         * faces.el (glyphless-char): Inherit underline for tty.
4295 2010-11-01  Kenichi Handa  <handa@m17n.org>
4297         Implement various display methods for glyphless characters.
4299         * international/characters.el (char-acronym-table): New variable.
4300         (glyphless-char-control): New variable.
4301         (update-glyphless-char-display): New function.
4303         * faces.el (glyphless-char): New face.
4305 2010-11-01  Glenn Morris  <rgm@gnu.org>
4307         * calendar/holidays.el (general-holidays, oriental-holidays)
4308         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4309         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4310         the definitions of their targets.
4312         * emacs-lisp/smie.el (smie): New custom group.
4313         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4315         * faces.el (xw-defined-colors, x-setup-function-keys):
4316         * mouse-sel.el (x-select-text):
4317         * term/w32console.el (x-setup-function-keys): Update declarations.
4319         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4321         * textmodes/ispell.el (comment-add): Declare.
4323         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4324         Declare.
4326         * info.el (finder-keywords-hash, package-alist): Declare.
4328 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4330         * finder.el (finder-compile-keywords): Don't use intern-soft,
4331         since package names may not yet exist in the obarray.
4333 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4335         * vc/vc-arch.el (vc-arch-checkin):
4336         * vc/vc-cvs.el (vc-cvs-checkin):
4337         * vc/vc-mtn.el (vc-mtn-checkin):
4338         * vc/vc-rcs.el (vc-rcs-checkin):
4339         * vc/vc-sccs.el (vc-sccs-checkin):
4340         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4341         since 2010-04-21 commit by Stefan Monnier.
4343 2010-11-01  Glenn Morris  <rgm@gnu.org>
4345         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4347         * startup.el (package-enable-at-startup, package-initialize):
4348         Silence compiler.
4350         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4351         Silence compiler.
4353 2010-10-31  Julien Danjou  <julien@danjou.info>
4355         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4356         (byte-recompile-directory):
4357         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4358         Use `byte-recompile-file'.
4360 2010-10-31  Glenn Morris  <rgm@gnu.org>
4362         * cus-start.el: Handle standard values via a keyword.
4363         Only set version property if specified.
4364         (cursor-in-non-selected-windows, menu-bar-mode)
4365         (tool-bar-mode, show-trailing-whitespace):
4366         Do not specify standard values.
4367         (transient-mark-mode, temporary-file-directory): Use :standard.
4369 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4371         * term/x-win.el (x-get-selection-value): New function that gets
4372         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4374 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4376         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4377         preserve owner and group when editing files.  (Bug#7289)
4379 2010-10-31  Glenn Morris  <rgm@gnu.org>
4381         * speedbar.el (speedbar-mode):
4382         * play/fortune.el (fortune-in-buffer, fortune):
4383         * play/gomoku.el (gomoku-mode):
4384         * play/landmark.el (lm-mode):
4385         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4386         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4388         * select.el (x-selection): Mark it as an obsolete alias.
4390 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4392         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4393         major-mode (bug#7284).
4395 2010-10-31  Glenn Morris  <rgm@gnu.org>
4397         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4398         rather than just an unused variable that inherits from the real one.
4400 2010-10-31  Alan Mackenzie  <acm@muc.de>
4402         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4403         This fixes bug #7185.
4405 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4407         * startup.el (command-line): Search for package directories, and
4408         don't load package.el if none are found.
4410         * emacs-lisp/package.el (describe-package, list-packages):
4411         Call package-initialize if it has not been called yet.
4413 2010-10-30  Alan Mackenzie  <acm@muc.de>
4415         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4416         which fontifies the tail of an enum.
4417         (c-basic-matchers-after): Insert a call to the above new function.
4418         This fixes bug #7264.
4420 2010-10-30  Glenn Morris  <rgm@gnu.org>
4422         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4423         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4424         Include the :set property in the dumped Emacs.
4426 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4428         SMIE: change indent rules format, improve smie-setup.
4429         * emacs-lisp/smie.el (smie-precs-precedence-table)
4430         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4431         Mark them pure so the tables gets built at compile time.
4432         (smie-bnf-precedence-table): Store the closer-alist in the table.
4433         (smie-prec2-levels): Preserve the closer-alist.
4434         (smie-blink-matching-open): Be more forgiving in case of indentation.
4435         (smie-hanging-p): Rename from smie-indent--hanging-p.
4436         (smie-bolp): Rename from smie-indent--bolp.
4437         (smie--parent, smie--after): New dynamic vars.
4438         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4439         (smie-indent-rules): Remove.
4440         (smie-indent--offset-rule): Remove fun.
4441         (smie-rules-function): New var.
4442         (smie-indent--rule): New fun.
4443         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4444         (smie-indent-exps): Use it.
4445         (smie-setup): Setup paren blinking; add keyword args for token
4446         functions; extract closer-alist from op-levels.
4447         (smie-indent-debug-log): Remove var.
4448         (smie-indent-debug): Remove fun.
4449         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4450         (prolog-smie-rules): New fun to replace it.
4451         (prolog-mode-variables): Simplify.
4452         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4453         it's setup automatically.
4454         (octave-smie-indent-rules): Remove.
4455         (octave-smie-rules): New fun to replace it.
4456         (octave-mode): Simplify.
4458 2010-10-29  Glenn Morris  <rgm@gnu.org>
4460         * files.el (temporary-file-directory): Remove (already defined in C).
4461         * cus-start.el: Add temporary-file-directory.
4463         * abbrev.el (abbrev-mode):
4464         * composite.el (auto-composition-mode):
4465         * menu-bar.el (menu-bar-mode):
4466         * simple.el (transient-mark-mode):
4467         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4468         that they do not define the associated variables twice.
4469         * simple.el (transient-mark-mode): Remove defvar.
4470         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4471         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4472         Handle multiple groups, and also custom-delayed-init-variables.
4473         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4475 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4478         (pcase-if): Add one minor optimization.
4479         (pcase-split-equal): Rename from pcase-split-eq.
4480         (pcase-split-member): Rename from pcase-split-memq.
4481         (pcase-u1): Add strings to the member optimization.
4482         Add `guard' variant of predicates.
4483         (pcase-q1): Add string patterns.
4485 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4487         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4489 2010-10-28  Glenn Morris  <rgm@gnu.org>
4491         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4492         Move menu-bar related settings to ../menu-bar.el.
4493         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4494         Move ns-specific settings here from term/ns-win.el.
4496         * simple.el (x-selection-owner-p): Remove unused declaration.
4498 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * minibuffer.el (completion-cycling): New var (bug#7266).
4501         (minibuffer-complete, completion--do-completion):
4502         Use completion--flush-all-sorted-completions.
4503         (minibuffer-complete): Only cycle if completion-cycling is set.
4504         (completion--flush-all-sorted-completions): Unset completion-cycling.
4505         (minibuffer-force-complete): Set completion-cycling.
4506         (completion-all-sorted-completions): Move declaration before first use.
4508 2010-10-28  Leo  <sdl.web@gmail.com>
4510         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4511         which changes the order of matches seen by users (bug#7231).
4513 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4515         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4516         Don't confuse -omega as "-o mega".
4518 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4521         (log-edit-author): New dynamic var.
4522         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4523         to return the author if different from committer.
4524         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4526         * play/landmark.el: Adjust commenting convention.
4527         (lm-nil-score): Rename from nil-score.
4528         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4529         (OOOOscore): Move into a let in lm-score-trans-table.
4530         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4532         * electric.el (electric-indent-chars): Autoload.
4533         * progmodes/octave-mod.el (octave-mode):
4534         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4535         (ruby-mode-abbrev-table): Merge initialization and declaration.
4537 2010-10-27  Glenn Morris  <rgm@gnu.org>
4539         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4540         variable.
4542         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4544         * term/ns-win.el: Restore require of cl when compiling.
4545         (menu-bar-final-items): Remove non-existent `windows' menu.
4546         (ns-handle-nxopen): Optionally handle the temp-case.
4547         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4548         (ns-insert-file, ns-find-file): Use `pop'.
4550 2010-10-26  Glenn Morris  <rgm@gnu.org>
4552         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4554 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4556         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4557         global map.
4558         * term/common-win.el (x-setup-function-keys): Remove most of the
4559         keymappings.  Comment on the remaining ones.
4561 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4563         * server.el (server-port): New option.  (Bug#854)
4564         (server-start): Use server-port.
4566 2010-10-26  Glenn Morris  <rgm@gnu.org>
4568         * term/ns-win.el (ns-version-string): Remove unused declaration.
4569         (ns-invocation-args): Change to x-invocation-args.
4570         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4571         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4572         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4573         Use x-invocation-args instead of ns-invocation-args.
4574         (ns-initialize-window-system, handle-args-function-alist):
4575         Use x-handle-args instead of ns-handle-args.
4576         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4577         * startup.el (command-line-ns-option-alist): Replace
4578         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4579         ns-handle-iconic with the x- equivalents.
4581         * term/common-win.el (x-select-enable-clipboard):
4582         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4584         * term/ns-win.el: No need to require cl when compiling.
4585         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4586         (xw-defined-colors): Use the common-win definitions.
4587         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4588         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4589         * term/common-win.el (x-select-text, x-alternatives-map)
4590         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4591         * loadup.el [ns]: Load common-win.
4593 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4595         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4596         recipients; expand mail aliases (Bug#7280).
4598 2010-10-25  Glenn Morris  <rgm@gnu.org>
4600         * term/common-win.el (x-handle-switch): Simplify with pop.
4601         Optionally handle numeric switches.
4602         (x-handle-numeric-switch): Just call x-handle-switch.
4603         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4604         (x-handle-name-switch, x-handle-display, x-handle-args):
4605         Simplify with pop.
4607         * term/ns-win.el: Do not require easymenu.
4608         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4609         <spell>: Move adjustments to menu-bar.el.
4610         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4611         <separator-undo, spell>: Move ns-win's adjustments here.
4612         * loadup.el [ns]: Do not load easymenu.
4614 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4616         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4617         Delete (Bug#7222).
4619         * startup.el (fancy-startup-tail): Instead of using inline images,
4620         refer to image files from etc/.
4622         * wid-edit.el (checkbox): Likewise.
4623         (widget-image-find): Center image specs.
4625 2010-10-24  Glenn Morris  <rgm@gnu.org>
4627         * term/ns-win.el (x-select-text): Doc fix.
4628         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4629         (x-select-text): Move to term/common-win.
4630         * term/w32-win.el (xw-defined-colors): Move to common-win.
4631         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4632         (x-setup-function-keys, x-select-text): Move to common-win.
4633         * term/common-win.el (x-select-text, x-alternatives-map)
4634         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4635         definitions here.
4637 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4639         * net/mairix.el (mairix-searches-mode-map):
4640         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4642 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4644         * verilog-mode.el (verilog-directive-re): Make this variable
4645         auto-built for efficiency of execution and updating.
4646         (verilog-extended-complete-re): Support 'pure' fucntion & task
4647         declarations (these have no bodies).
4648         (verilog-beg-of-statement): General cleanup to enable support of
4649         'pure' fucntion & task declarations (these have no bodies).
4650         These efforts together fix Verilog bug210 from veripool; which was also
4651         noticed by Steve Pearlmutter.
4652         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4653         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4654         Support `elsif.  Reported by Shankar Giri.
4655         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4656         attribute handling for lining up declarations and assignments.
4657         (verilog-beg-of-statement-1): Fix issue where continued declaration
4658         is indented differently if it is after a begin..end clock.
4659         (verilog-in-attribute-p, verilog-skip-backward-comments)
4660         (verilog-skip-forward-comment-p): Support proper treatment of
4661         attributes by indent code.  Reported by Jeff Steele.
4662         (verilog-in-directive-p): Fix comment to correctly describe function.
4663         (verilog-backward-up-list, verilog-in-struct-region-p)
4664         (verilog-backward-token, verilog-in-struct-p)
4665         (verilog-in-coverage-p, verilog-do-indent)
4666         (verilog-pretty-declarations): Use verilog-backward-up-list as
4667         wrapper around backward-up-list inorder to properly skip comments.
4668         Reported by David Rogoff.
4669         (verilog-property-re, verilog-endcomment-reason-re)
4670         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4671         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4672         of if).  Reported by Max Bjurling and
4673         (verilog-calc-1): Fix for clocking block in modport
4674         declaration.  Reported by Brian Hunter.
4676 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4678         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4679         (verilog-gate-keywords, verilog-read-sub-decls)
4680         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4681         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4682         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4683         (verilog-read-decls): Fix spaces in V2K module parameters causing
4684         mis-identification as interfaces, bug287.
4685         (verilog-read-decls): Fix not treating "parameter string" as a
4686         parameter in AUTOINSTPARAM.
4687         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4688         treating `elsif similar to `endif inside AUTOSENSE.
4689         (verilog-do-indent): Implement correct automatic or static task or
4690         function end comment highlight.  Reported by Steve Pearlmutter.
4691         (verilog-font-lock-keywords-2): Fix highlighting of single
4692         character pins, bug264.  Reported by Michael Laajanen.
4693         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4694         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4695         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4696         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4697         (verilog-pretty-expr): Fix interactive arguments, bug272.
4698         Reported by Mark Johnson.
4699         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4700         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4701         bug269.  Suggested by Gary Delp.
4702         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4703         (verilog-preprocessor, verilog-set-compile-command):
4704         Create verilog-preprocess and verilog-preprocessor to show
4705         preprocessed output.
4706         (verilog-get-beg-of-line, verilog-get-end-of-line)
4707         (verilog-modi-file-or-buffer, verilog-modi-name)
4708         (verilog-modi-point, verilog-within-string): Move defmacro's
4709         before first use to avoid warning.  Reported by Steve Pearlmutter.
4710         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4711         (verilog-colorize-region, verilog-highlight-buffer)
4712         (verilog-highlight-includes, verilog-highlight-modules)
4713         (verilog-highlight-region, verilog-mode): Rename colorize to
4714         highlight to match other packages.  Disable module highlighting,
4715         as received speed complaints, reenable for experimentation only
4716         using new verilog-highlight-modules.
4717         (verilog-read-decls): Fix regexp stack overflow in very large
4718         AUTO_TEMPLATEs, bug250.
4719         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4720         (verilog-scan): Create verilog-save-buffer-state to standardize
4721         making insignificant changes that shouldn't call hooks.
4722         (verilog-save-no-change-functions, verilog-save-scan-cache)
4723         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4724         Create verilog-save-no-change-functions to wrap verilog-scan
4725         preservation, and fix to work with nested preserved calls.
4726         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4727         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4728         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4729         (verilog-submit-bug-report): Update variable list to be complete.
4730         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4731         breaking on-the-fly font-locking.
4732         (verilog-colorize-buffer, verilog-colorize-include-files)
4733         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4734         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4735         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4736         AUTOINST cell instance name, middle mouse button now finds-file on
4737         it.  Suggested by Brad Dobbie.
4738         (verilog-alw-get-temps, verilog-auto-reset)
4739         (verilog-auto-sense-sigs, verilog-read-always-signals)
4740         (verilog-read-always-signals-recurse): Fix loop indexes being
4741         AUTORESET.  AUTORESET now assumes any variables in the
4742         initialization section of a for() should be ignored.
4743         Reported by Dan Dever.
4744         (verilog-error-font-lock-keywords)
4745         (verilog-error-regexp-emacs-alist)
4746         (verilog-error-regexp-xemacs-alist): Fix error detection of
4747         Cadence HAL, reported by David Asher.  Repair drift between the
4748         three similar error variables.
4749         (verilog-modi-lookup, verilog-modi-lookup-cache)
4750         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4751         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4752         Fix slow verilog-auto expansion on very large files.
4753         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4754         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4755         "{1*2{...".  Broke in last revision.
4756         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4757         submodule connections with replications "{#{a},#{b}}".
4759 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4761         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4762         Fix typo in docstring.
4764 2010-10-24  Kenichi Handa  <handa@m17n.org>
4766         * face-remap.el (text-scale-adjust): Call read-event with a proper
4767         prompt.
4769 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4771         * emacs-lisp/unsafep.el: Don't mark functions that display
4772         messages as safe.  Suggested by Johan Bockgård.
4774 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4776         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4777         Turn comments into docstrings.
4779         * minibuffer.el (completion--replace): Move point where it belongs
4780         when there's a common suffix (bug#7215).
4782 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4784         Merge read-color and facemenu-read-color (Bug#7242).
4786         * faces.el (read-color): Use the completion code from
4787         facemenu-read-color.  Require match in completion.  Doc fix.
4789         * facemenu.el (facemenu-read-color): Alias for read-color.
4790         (facemenu-set-foreground, facemenu-set-background):
4791         Use read-color.
4793         * frame.el (set-background-color, set-foreground-color)
4794         (set-cursor-color, set-mouse-color, set-border-color):
4795         Use read-color.
4797 2010-10-24  Leo  <sdl.web@gmail.com>
4799         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4800         argument of delete-file and delete-directory (Bug#7011).
4802 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4804         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4805         button-buffer-map.
4807 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4809         * emacs-lisp/package.el (package--generate-package-list): Make the
4810         *Packages* buffer read-only.
4812 2010-10-24  Alan Mackenzie  <acm@muc.de>
4814         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4815         result of `c-beginning-of-decl-1' between invocations of a lambda
4816         function (Bug #7265).
4818 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
4820         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4821         executable is not available on the system (Bug#7268).
4823 2010-10-24  Glenn Morris  <rgm@gnu.org>
4825         * select.el (selection-coding-system, next-selection-coding-system):
4826         Sync doc with C versions.
4828         * w32-vars.el (x-select-enable-clipboard):
4829         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4830         * term/common-win.el (x-select-enable-clipboard): Move here.
4832         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4833         definition of C variable.
4835         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4836         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4837         Don't redefine things that are defined in C.
4838         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4839         (show-trailing-whitespace, auto-hscroll-mode)
4840         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4841         Set up the appropriate custom properties.
4843 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4845         Bind "C-c ]" to ...
4846         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4847         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4848         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4849         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4851 2010-10-23  Glenn Morris  <rgm@gnu.org>
4853         * textmodes/flyspell.el (flyspell-mode): If there was an error,
4854         say what it was.
4856         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4857         Sync docs with C version.
4859         * term/ns-win.el (xw-defined-colors):
4860         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4862         * term/pc-win.el (x-select-enable-clipboard):
4863         * term/x-win.el (x-select-enable-clipboard):
4864         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4866         * comint.el (comint-password-prompt-regexp): Make it less vague.
4867         Bump version.
4869         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4871         * help.el (finder-by-keyword): Remove unnecessary autoload.
4873 2010-10-22  Glenn Morris  <rgm@gnu.org>
4875         * loadup.el: Unconditionally load float-sup.
4876         * paren.el (show-paren-delay):
4877         * emacs-lisp/float-sup.el:
4878         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4879         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4880         (lazy-lock-stealth-verbose): Assume float support.
4881         * ps-print.el: Assume float support on Emacs.
4882         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4883         Remove non-float branch.
4885         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4886         src/Makefile no longer being pre-processed.
4888 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4890         * emacs-lisp/find-func.el (find-library): Use test-completion.
4892 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4894         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4896 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
4898         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4899         space in stat format string.
4900         (tramp-send-command): Unset $PS1 when using here documents, in
4901         order not to get several prompts.
4902         (tramp-get-inline-coding): Return `nil' in case of errors.
4904 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
4906         * hexl.el (hexl-mode, hexl-mode-exit):
4907         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4908         (hexl-revert-buffer-function): New function.
4909         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4911 2010-10-19  Alan Mackenzie  <acm@muc.de>
4913         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4914         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4915         that these keywords aren't wrongly matched as identifiers.
4917         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4918         setting of c-new-BEG and c-new-END from c-before-change to
4919         c-after-change.  (Bug#7181)
4921 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4923         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4924         Don't mark as safe.
4926         * custom.el (custom-theme-set-variables): Likewise.
4927         (load-theme): Add custom-theme-set-faces and
4928         custom-theme-set-variables to safe-functions while loading.
4929         (custom-enabled-themes): Mark as risky.
4931 2010-10-18  Julien Danjou  <julien@danjou.info>
4933         * bindings.el: Remove end dashes in default mode-line-format.
4935 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4937         * bindings.el (global-map): Bind C-d to delete-char and deletechar
4938         to delete-forward-char.
4940         * simple.el (normal-erase-is-backspace-mode): Remap delete to
4941         deletechar, and hence delete-forward-char.
4943 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4945         * repeat.el (repeat): Use read-key (bug#6256).
4947 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4949         * emacs-lisp/unsafep.el: Don't mark functions that display
4950         messages as safe.  Suggested by Johan Bockgård.
4952 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4954         * minibuffer.el (completion--replace): Move point where it belongs
4955         when there's a common suffix (bug#7215).
4957 2010-10-19  Kenichi Handa  <handa@m17n.org>
4959         * international/characters.el: Add category '|' (word breakable)
4960         to fullwidth characters.
4962 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4964         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4965         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4966         order to make stat results a float.  Patch by Andreas Schwab
4967         <schwab@linux-m68k.org>.
4969 2010-10-18  Julien Danjou  <julien@danjou.info>
4971         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4972         hidden by `make-pointer-invisible'.
4974 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4976         * files.el (locate-file-completion-table): Strip non-matching elements
4977         before checking length of list (bug#7238).
4979 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4981         * custom.el (custom-theme-set-variables): Mark as a safe function.
4982         (load-theme): Check forms using unsafep.
4984         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4986 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4988         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4989         Fix aspell data file searching (bug#7230).
4991 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4993         * cus-theme.el (custom-theme--migrate-settings): New var.
4994         (customize-create-theme): Allow editing the `user' theme.
4995         (custom-theme-add-variable, custom-theme-add-var-1)
4996         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4997         to the front of each variable or face widget.
4998         (custom-theme-write): Save theme settings in the correct order.
4999         Optionally, remove saved settings from user customizations.
5000         (custom-theme-write-variables, custom-theme-write-faces):
5001         Save only the checked widgets.
5002         (customize-themes): Add a link for migrating custom settings.
5004         * custom.el (custom-declare-theme, provide-theme):
5005         Use custom-theme-name-valid-p.
5006         (custom-theme-name-valid-p): Remove checks that are now
5007         unnecessary since themes no longer obey load-path.
5009         * cus-edit.el (custom-variable-value-create): For the simple
5010         style, hide documentation string when hidden.
5012 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5014         * cus-edit.el (custom-variable, custom-face): Combine the
5015         :inhibit-magic and :display-style properties into a single
5016         :custom-style property.
5017         (custom-toggle-hide-variable, custom-toggle-hide-face):
5018         New functions.  If hiding an edited value, save it to :shown-value.
5019         (custom-variable-value-create, custom-face-value-create): Use them.
5020         (custom-magic-reset): Allow magic property to be unset.
5022         * custom.el: Custom themes no longer use load-path.
5023         (custom-theme-load-path): New option.  Change built-in theme
5024         directory to etc/.
5025         (custom-enabled-themes): Add custom-theme-load-path dependency.
5026         (custom-theme--load-path): New function.
5027         (load-theme, custom-available-themes): Use it.
5029         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5030         (customize-themes): Link to custom-theme-load-path variable.
5031         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5032         :custom-style property.
5034         * themes/*.el: Moved to etc/.
5036 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5038         * textmodes/reftex-cite.el
5039         (reftex-extract-bib-entries-from-thebibliography): Do not move
5040         point when searching for \bibitem entries.  Match entries with
5041         spaces or tabs in front of arguments.
5043 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5045         * cus-theme.el (customize-create-theme): Delete overlays after
5046         erasing.  If given a THEME arg, display only the faces of that arg
5047         instead of custom-theme--listed-faces.
5048         (custom-theme-variable-menu, custom-theme-variable-action)
5049         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5050         (custom-theme-add-variable, custom-theme-add-face): Apply value
5051         from the theme settings, instead of the current value.
5052         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5053         (custom-theme-visit-theme): Allow calling outside theme buffers.
5054         (custom-theme-merge-theme): Don't enable the theme when merging.
5055         (custom-theme-write-variables, custom-theme-write-faces): Use the
5056         :shown-value properties to save buffer values, not global ones.
5057         (customize-themes): Display a warning about user customizations.
5059         * cus-edit.el (custom-variable-value-create)
5060         (custom-face-value-create): Obey new special properties
5061         :shown-value and :inhibit-magic.
5063 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5065         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5066         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5067         <dale@codefu.org>.
5069 2010-10-14  Kenichi Handa  <handa@m17n.org>
5071         * mail/rmail.el (rmail-show-message-1): Catch an error of
5072         base64-decode-region and just show an error message (bug#7165).
5074         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5075         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5076         a font-spec (bug#7197).
5078 2010-10-14  Glenn Morris  <rgm@gnu.org>
5080         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5082 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5084         * international/mule.el (define-coding-system):
5085         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5086         * composite.el (compose-region): Fix typo in docstring.
5088 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5090         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5091         only after checking the theme-face property.
5093         * faces.el (face-spec-reset-face): Reset all attributes in one
5094         single call to set-face-attribute.
5095         (face-spec-match-p): Make it a defsubst.
5096         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5097         (x-create-frame-with-faces, tty-create-frame-with-faces)
5098         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5099         frame-set-background-mode, since they are recomputed immediately
5100         afterwards in face-set-after-frame-default.
5101         (face-set-after-frame-default): Minor optimization.
5102         (cursor): Provide non-trivial defface spec.
5104         * custom.el (custom-theme-recalc-face): Simplify.
5106 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5108         * calc/calc-alg.el (math-var): Rename from `var'.
5109         (math-is-polynomial, math-is-poly-rec): Replace `var'
5110         with `math-var'.
5112         * calc/calcalg2.el (math-var): Rename from `var'.
5113         (calcFunc-table, math-scan-for-limits): Replace `var'
5114         with `math-var'.
5116 2010-10-13  Glenn Morris  <rgm@gnu.org>
5118         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5120 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5122         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5124 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5126         * net/tls.el (tls-program): Remove spurious %s from openssl.
5127         (tls-starttls-switches): Remove starttls hack.
5128         (open-tls-stream): Ditto.
5129         (tls-find-starttls-argument): Ditto.
5131 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5133         * image.el (image-library-alist): Declare as obsolete alias.
5134         (image-type-available-p): Use `dynamic-library-alist'.
5136         * term/w32-win.el (dynamic-library-alist):
5137         Use instead of `image-library-alist'.
5139 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5141         * subr.el (last): Make it faster.  (Bug#7174)
5143 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5145         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5147 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5149         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5150         (describe-theme-1): Extract doc from unloaded themes.
5152         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5154         * themes/tango-theme.el:
5155         * themes/tango-dark-theme.el:
5156         * themes/wheatgrass-theme.el: New files.
5158 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5160         * cus-theme.el (describe-theme, customize-themes)
5161         (custom-theme-save): New commands.
5162         (custom-new-theme-mode-map): Bind C-x C-s.
5163         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5164         (customize-create-theme): New optional arg THEME.
5165         (custom-theme-revert): Use it.
5166         (custom-theme-visit-theme): Remove dead code.
5167         (custom-theme-merge-theme): Use custom-available-themes.
5168         (custom-theme-write): Make interactive.
5169         (custom-theme-write): Use custom-theme-name-valid-p.
5170         (describe-theme-1, custom-theme-choose-revert)
5171         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5172         New funs.
5173         (custom-theme-allow-multiple-selections): New option.
5174         (custom-theme-choose-mode): New major mode.
5176         * custom.el (custom-theme-set-variables): Remove dead code.
5177         Obey custom--inhibit-theme-enable.
5178         (custom--inhibit-theme-enable): New var.
5179         (provide-theme): Obey it.
5180         (load-theme): Replace load with manual read/eval, in order to
5181         check for correctness.  Use custom-theme-name-valid-p.
5182         (custom-theme-name-valid-p): New function.
5183         (custom-available-themes): Use it.
5185         * cus-edit.el (custom--initialize-widget-variables): New function.
5186         (Custom-mode): Use it.
5188         * cus-face.el (custom-theme-set-faces): Remove dead code.
5189         Obey custom--inhibit-theme-enable.
5191         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5193 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5195         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5197 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5199         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5200         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5201         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5203         * cus-start.el (all): ns-right-alternate-modifier is new.
5205 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5207         * emacs-lisp/lisp.el (lisp-completion-at-point):
5208         Use emacs-lisp-mode-syntax-table for the whole function.
5210 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5212         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5213         instead of font-lock-mode before adding keywords.
5214         Remove hi-lock-mode off code.  Remove inhibit hack.
5215         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5216         non-nil; removed hook inhibit hack.
5218 2010-10-12  Glenn Morris  <rgm@gnu.org>
5220         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5221         (load-path-shadows-find): ... to this.
5222         (list-load-path-shadows): Update for above change.
5224         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5226 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5228         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5229         Fix comment for declare-function.
5231 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5233         * custom.el (custom-fix-face-spec): New function; code moved from
5234         custom-face-edit-fix-value.
5235         (custom-push-theme): Use it when checking if a face has been
5236         changed outside customize.
5237         (custom-available-themes): New function.
5238         (load-theme): Use it.
5240         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5242         * custom.el (custom-push-theme): Cleanup (use cond).
5243         (disable-theme): Recompute the saved-face property.
5244         (custom-theme-recalc-face): Follow face alias before setting prop.
5246         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5247         New variables, containing checkbox images.
5249         * startup.el (fancy-startup-tail):
5250         * wid-edit.el (checkbox): Use them.
5252 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5254         * shell.el (shell-mode-map):
5255         * progmodes/modula2.el (m2-mode-map):
5256         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5257         * play/mpuz.el (mpuz-mode-map):
5258         * play/landmark.el (lm-mode-map):
5259         * play/decipher.el (decipher-mode-map):
5260         * play/5x5.el (5x5-mode-map):
5261         * net/telnet.el (telnet-mode-map):
5262         * net/quickurl.el (quickurl-list-mode-map):
5263         * net/mairix.el (mairix-searches-mode-map):
5264         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5265         * net/dig.el (dig-mode-map):
5266         * mail/mspools.el (mspools-mode-map):
5267         * hexl.el (hexl-mode-map):
5268         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5269         (wordstar-C-o-map, wordstar-C-q-map):
5270         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5271         * emacs-lisp/chart.el (chart-map):
5272         * edmacro.el (edmacro-mode-map):
5273         * erc/erc-list.el (erc-list-menu-mode-map):
5274         * array.el (array-mode-map): Declare and define in one step.
5276         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5278 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5280         * epa.el (epa-passphrase-callback-function): Display filename
5281         passed as the 3rd arg.
5282         * epa-file.el (epa-file-passphrase-callback-function):
5283         Pass filename to epa-passphrase-callback-function.
5285 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5287         * cus-edit.el (custom-face-widget-to-spec)
5288         (custom-face-get-current-spec, custom-face-state): New functions.
5289         (custom-face-set, custom-face-mark-to-save)
5290         (custom-face-value-create, custom-face-state-set): Use them.
5292         * cus-theme.el (custom-theme--listed-faces): New var.
5293         (customize-create-theme): Use *Custom Theme* as the buffer name.
5294         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5295         faces listed in custom-theme--listed-faces.
5296         (custom-theme-revert): New function.
5297         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5298         bottom of the list.
5299         (custom-theme-write): Prompt for theme name if empty.
5300         (custom-theme-write-variables): Use dolist.
5301         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5303 2010-10-09  Alan Mackenzie  <acm@muc.de>
5305         Enhance fontification of declarators to take account of the
5306         presence/absence of "typedef".
5308         * cc-engine.el (c-forward-type): New &optional param
5309         "brace-block-too".
5310         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5311         presence of either or both of a "struct"-like keyword and "typedef".
5313         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5314         fontification of declarators which follow a "}".
5315         (c-font-lock-declarations): Fontify declarators according to the
5316         presence/absence of "typedef".
5318         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5319         for "typedef".
5320         (c-typedef-decl-key): New lang variable built from
5321         c-typedef-decl-kwds.
5323 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5325         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5326         since that's too annoying.  Move the filter groups commands to
5327         TAB/backtab.
5329         * epa.el (epa-passphrase-callback-function): Say what we're
5330         querying the password for.
5332         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5333         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5335 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5337         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5338         (custom-magic-value-create): Pad button tags with spaces.
5339         (custom-face-edit): New variable.
5340         (custom-face-value-create): Determine whether to use the usual
5341         face editor here, instead of using custom-face-selected.
5342         Pass face defaults to custom-face-edit widget.
5343         (custom-face-selected, custom-display-unselected): Delete widgets.
5344         (custom-display-unselected-match): Function removed.
5345         (custom-face-set, custom-face-mark-to-save):
5346         Accept custom-face-edit widgets as the direct widget child.
5348         * wid-edit.el (widget--completing-widget): New var.
5349         (widget-default-complete): Bind it when doing completion.
5350         (widget-string-complete, widget-file-complete): Use it.
5352 2010-10-09  Glenn Morris  <rgm@gnu.org>
5354         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5355         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5356         (holiday-hebrew-misc): Small simplifications.
5358         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5360         * net/browse-url.el: Don't require thingatpt, term, dired,
5361         executable, or w3-auto when compiling.
5362         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5363         Declare.
5364         (browse-url-text-emacs): Require term.
5366 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5368         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5370 2010-10-08  Glenn Morris  <rgm@gnu.org>
5372         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5374         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5375         (shadows-compare-text-p): Make it an obsolete alias for...
5376         (load-path-shadows-compare-text): ... new name.
5377         (find-emacs-lisp-shadows): Update for above name change.
5378         (load-path-shadows-same-file-or-nonexistent): New name for the old
5379         shadow-same-file-or-nonexistent.
5381 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5383         * minibuffer.el (completion--some, completion--do-completion)
5384         (minibuffer-complete-and-exit, minibuffer-completion-help)
5385         (completion-basic-try-completion)
5386         (completion-basic-all-completions)
5387         (completion-pcm--find-all-completions): Use lexical-let to
5388         avoid some false matches in variable completion (Bug#7056)
5390 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5392         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5394 2010-10-08  Leo  <sdl.web@gmail.com>
5396         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5397         return non-nil if the file exists (Bug#7090).
5399 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5401         * minibuffer.el (completion--replace):
5402         Better preserve markers (bug#7138).
5404 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5406         * server.el (server-process-filter): Doc fix.
5408 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5410         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5412 2010-10-08  Glenn Morris  <rgm@gnu.org>
5414         * vc/ediff-wind.el (ediff-setup-control-frame):
5415         * vc/ediff-ptch.el (ediff-default-backup-extension):
5416         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5417         (ediff-exec-process): Remove system-types emx, windows-95.
5419         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5421 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5423         * cus-edit.el (custom-variable, custom-face): Doc fix.
5424         (custom-face-edit): Add value-create attribute.
5425         (custom-face-edit-value-create)
5426         (custom-face-edit-value-visibility-action): New functions.
5427         Hide unused face attributes by default, and add a visibility toggle.
5428         (custom-face-edit-deactivate): Show empty values with shadow face.
5429         (custom-face-selected): Only use this for face specs with default
5430         attributes.
5431         (custom-face-value-create): Cleanup.
5433         * wid-edit.el (widget-checklist-value-create): Use dolist.
5434         (widget-checklist-match-find): Make second arg optional.
5436 2010-10-07  Glenn Morris  <rgm@gnu.org>
5438         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5439         Prefix things.
5441         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5442         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5443         load-path-shadows-mode, update references.
5444         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5445         Rename variable and button.
5446         (list-load-path-shadows): Update button caller.
5448 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5451         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5452         (smie-merge-prec2s): Handle those new entries.
5453         (smie-prec2-levels): Only set precedence to nil for actual
5454         openers/closers.
5455         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5456         that is now unnecessary.
5458 2010-10-07  Miles Bader  <miles@gnu.org>
5460         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5462 2010-10-07  Glenn Morris  <rgm@gnu.org>
5464         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5465         (mail-position-on-field): Remove declarations.
5466         (mail-position-on-field): Autoload it.
5467         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5468         and mail-header-end.  Don't require sendmail.
5470         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5471         (shadow-mode): New mode.
5472         (shadow-find-file): New button.
5473         (list-load-path-shadows): Use shadow-mode and buttons.
5475         * iimage.el (iimage-version): Remove.
5476         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5477         Turn into defcustoms.
5478         (iimage-mode-map): Give it a doc string.
5480         * calendar/appt.el (appt-activate): Give a warning rather than an error
5481         if there is no diary-file.
5483 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5485         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5486         Use `tramp-handle-find-backup-file-name'.
5488 2010-10-06  Glenn Morris  <rgm@gnu.org>
5490         * font-core.el (font-lock-defaults-alist): Remove variable.
5491         (font-lock-mode): Doc fix.
5492         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5493         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5494         (font-lock-set-defaults): Doc fix.
5495         Do not consult font-lock-defaults-alist.
5497         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5499         * emacs-lisp/cl.el: No longer provide cl-19.
5501 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5503         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5504         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5505         New defuns, taken from tramp-smb.el.
5506         (tramp-coding-system-change-eol-conversion)
5507         (tramp-set-process-query-on-exit-flag): Remove.
5509         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5510         (tramp-compat-coding-system-change-eol-conversion)
5511         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5512         from tramp.el.
5514         * net/tramp-gvfs.el:
5515         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5516         by `tramp-compat-set-process-query-on-exit-flag'.
5518         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5519         Use `tramp-handle-directory-files-and-attributes',
5520         `tramp-handle-file-exists-p' and
5521         `tramp-handle-file-newer-than-file-p'.
5522         (tramp-imap-handle-file-exists-p)
5523         (tramp-imap-handle-file-executable-p)
5524         (tramp-imap-handle-file-readable-p)
5525         (tramp-imap-handle-directory-files-and-attributes)
5526         (tramp-imap-handle-file-newer-than-file-p): Remove.
5528         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5529         by `tramp-compat-set-process-query-on-exit-flag' and
5530         `tramp-coding-system-change-eol-conversion' by
5531         `tramp-compat-coding-system-change-eol-conversion'.
5533         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5534         Use `tramp-handle-directory-files-and-attributes',
5535         `tramp-handle-file-exists-p' and
5536         `tramp-handle-file-newer-than-file-p'.
5537         (tramp-smb-handle-directory-files-and-attributes)
5538         (tramp-smb-handle-file-exists-p)
5539         (tramp-smb-handle-file-newer-than-file-p): Remove.
5540         (tramp-smb-maybe-open-connection):
5541         Replace `tramp-set-process-query-on-exit-flag' by
5542         `tramp-compat-set-process-query-on-exit-flag'.
5544 2010-10-05  Glenn Morris  <rgm@gnu.org>
5546         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5548 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5550         Continue reorganization of load dependencies.  (Bug#7156)
5552         * net/tramp.el (tramp-handle-file-local-copy-hook)
5553         (tramp-delete-temp-file-function): Move down.
5554         (tramp-exists-file-name-handler): Move up.
5555         (tramp-register-file-name-handlers): Simplify autoload.
5556         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5557         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5558         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5559         (tramp-handle-file-name-completion)
5560         (tramp-handle-file-name-directory)
5561         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5562         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5563         (tramp-handle-find-backup-file-name)
5564         (tramp-handle-insert-file-contents, tramp-handle-load)
5565         (tramp-handle-substitute-in-file-name)
5566         (tramp-handle-unhandled-file-name-directory)
5567         (tramp-mode-string-to-int, tramp-local-host-p)
5568         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5570         * net/tramp-gvfs.el (top):
5571         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5573         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5574         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5576 2010-10-04  Glenn Morris  <rgm@gnu.org>
5578         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5579         (appt-activate): Give status messages.
5581 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5583         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5584         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5585         `gnutls-negotiate' (formerly `starttls-negotiate').
5586         Remove trivial wrapper `starttls-open-stream'.
5588 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5590         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5591         log-outgoing commands.
5592         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5593         to create a buffer local revert-buffer-function variable.
5594         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5595         revert-buffer-function lambda.
5597 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5599         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5600         `gnutls-boot'.  Make TYPE the only required parameter.
5601         Allow TRUSTFILES and KEYFILES to be lists.
5602         (open-ssl-stream): Use it.
5604 2010-10-03  Glenn Morris  <rgm@gnu.org>
5606         * subr.el (directory-sep-char): Remove obsolete variable.
5607         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5608         it is "necessary".
5610         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5611         * vc/vc.el (vc-static-header-alist): Doc fix.
5612         * vc/vc-cvs.el (vc-cvs-header):
5613         * vc/vc-rcs.el (vc-rcs-header):
5614         * vc/vc-sccs.el (vc-sccs-header):
5615         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5616         * obsolete/vc-mcvs.el (vc-mcvs-header):
5617         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5618         on XEmacs.
5620 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5622         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5623         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5625 2010-10-03  Glenn Morris  <rgm@gnu.org>
5627         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5629         * textmodes/rst.el (rst-font-lock-keywords-function):
5630         Drop Emacs 20 code.
5632         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5634         * printing.el: Drop Emacs 20 code.
5636         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5637         without having used appt.el already).
5639         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5640         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5641         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5642         XEmacs.
5643         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5644         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5646         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5647         (charset-width, find-charset-region, chars-in-region, forward-point)
5648         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5649         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5650         Remove compatibility cruft (none of these are used by ps*.el).
5652 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5654         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5656 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5658         * server.el (server-process-filter, server-return-error):
5659         Give emacsclient time to shut down after receiving an error string.
5661 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5663         * files.el (remote-file-name-inhibit-cache): New defcustom.
5665         * time.el (display-time-file-nonempty-p):
5666         Use `remote-file-name-inhibit-cache'.
5668         * net/tramp.el (tramp-completion-reread-directory-timeout):
5669         Fix docstring.
5671         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5672         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5673         `remote-file-name-inhibit-cache'.  Check also for an integer
5674         value.  Add/increase counter when `tramp-verbose' >= 10.
5675         (tramp-set-file-property): Add/increase counter when
5676         `tramp-verbose' >= 10.
5678         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5679         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5680         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5681         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5682         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5683         characters only in strings.
5685         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5686         to backward compatibility.
5688         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5689         (tramp-handle-file-name-all-completions)
5690         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5691         (tramp-open-connection-setup-interactive-shell):
5692         Call `tramp-cleanup-connection' directly.
5694 2010-10-02  Glenn Morris  <rgm@gnu.org>
5696         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5698         * subr.el (char-bytes): Remove obsolete function.
5700         * isearch.el (isearch-return-char): Remove obsolete function.
5702         * mouse.el: No longer provide mldrag.
5703         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5704         Remove obsolete aliases.
5706         * comint.el (comint-kill-output): Remove obsolete alias.
5708         * composite.el (decompose-composite-char): Remove obsolete function.
5709         * ps-def.el (decompose-composite-char): Remove unused function.
5711         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5713         * outline.el (outline-visible): Remove obsolete function.
5715         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5716         * faces.el (internal-find-face, internal-get-face)
5717         (frame-update-faces, frame-update-face-colors)
5718         (x-frob-font-weight, x-frob-font-slant)
5719         (internal-frob-font-weight, internal-frob-font-slant)
5720         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5721         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5722         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5723         since Emacs 21.1.
5724         * emulation/viper-util.el (viper-get-face):
5725         * obsolete/lucid.el (find-face, get-face): Use facep.
5726         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5727         Remove unused functions.
5728         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5730         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5731         delete tempfile if interrupted during compilation.
5733 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5735         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5736         gnutls-cli.
5737         (tls-program): Add --insecure to be consistent with the defaults from
5738         openssl s_client.  Now all three commands are insecure.
5740 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5742         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5743         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5744         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5746 2010-10-01  Glenn Morris  <rgm@gnu.org>
5748         * obsolete/sc.el: Remove file.
5750         * files.el (temporary-file-directory): On darwin, also try
5751         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5753 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5755         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5756         Let's not break compatibility gratuitously, shall we?
5758 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5760         * net/tls.el (tls-starttls-switches): New variable.
5761         (tls-find-starttls-argument): Use it.
5762         (open-tls-stream): Ditto.
5764         * net/netrc.el (netrc-credentials): Return the value of the "default"
5765         entry.
5766         (netrc-machine): Ditto.
5768 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5770         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5772 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5774         * server.el (server-start): Don't write pid to the authentication file.
5775         (server-create-tty-frame): Don't send pid.
5776         (server-process-filter): Send pid at the start of every connection.
5778 2010-09-30  Glenn Morris  <rgm@gnu.org>
5780         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5781         (show-all-diary-entries): Remove obsolete function aliases.
5783         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5784         Remove options, obsolete since 22.1.
5785         (appt-display-format, appt-display-message):
5786         Remove backwards-compatibility code.
5787         (appt-check): No longer check appt-issue-message.
5788         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5789         activate the package.
5791 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5793         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5794         (starttls-negotiate): Just call boot, and let the handshake be
5795         triggered from the read loop.
5797 2010-09-29  Glenn Morris  <rgm@gnu.org>
5799         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5800         not displaying the diary.
5801         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5802         * calendar/appt.el (appt-check): No longer need to kill diary.
5804         * calendar/diary-lib.el (diary-list-entries): Move the
5805         "Preparing..." message entirely here.
5806         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5807         messages to diary-list-entries.
5808         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5809         diary-display-function.
5811         * calendar/diary-lib.el (diary-include-other-diary-files):
5812         Trap some recursive includes.
5814         * calendar/appt.el (appt-activate): Check diary file.
5816 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5818         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5819         construction.
5821         * calendar/time-date.el: No need to require cl for Emacs 21.
5823 2010-09-28  Glenn Morris  <rgm@gnu.org>
5825         * calendar/appt.el (appt-check): Minor simplification.
5827 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5829         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5830         citation prefix.
5832 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
5834         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5835         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
5837 2010-09-27  Kenichi Handa  <handa@m17n.org>
5839         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5840         "ustar" format.
5842 2010-09-27  Kenichi Handa  <handa@m17n.org>
5844         * international/mule.el (define-coding-system): Docstring fixed.
5846         * international/mule-diag.el (describe-character-set): Use princ
5847         with proper print-length and print-level instead of insert.
5849 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
5851         * window.el (walk-windows): Doc fix (bug#7105).
5853 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5855         * emacs-lisp/float-sup.el (e): Remove.
5857 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
5859         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5860         variable.
5861         (starttls-negotiate): Use it.
5863 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5865         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5866         back.
5868 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5870         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5872 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5874         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5876         * net/netrc.el (netrc-store-data): New function.
5878 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
5880         * net/gnutls.el: GnuTLS glue code to set up a connection.
5882 2010-09-25  Julien Danjou  <julien@danjou.info>
5884         * notifications.el: Call dbus-register-signal only if it is bound.
5886 2010-09-25  Glenn Morris  <rgm@gnu.org>
5888         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5889         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5890         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5891         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5892         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5893         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5894         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5895         * eshell/esh-util.el, eshell/esh-var.el:
5896         Remove leading `*' from docs of faces and defcustoms.
5898 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
5900         * eshell/em-ls.el (eshell-ls-archive-regexp):
5901         * eshell/esh-util.el (eshell-tar-regexp):
5902         * ibuffer.el (ibuffer-compressed-file-name-regexp):
5903         * info.el (Info-suffix-list):
5904         * international/mule.el (auto-coding-alist):
5905         * woman.el (woman-file-regexp, woman-file-compression-regexp):
5906         * progmodes/etags.el (tags-compression-info-list):
5907         Support xz compression.
5909 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
5911         * files.el (get-free-disk-space): Don't assume the "df" output
5912         columns line up (Bug#6995).
5914 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5916         * finder.el (finder-unknown-keywords):
5917         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5918         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5920 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5922         * server.el (server-start): Revert part of 2010-08-08 change.  Using
5923         address 127.0.0.1 for local host is now done in Fmake_network_process.
5925 2010-09-24  Glenn Morris  <rgm@gnu.org>
5927         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5928         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5929         * textmodes/css-mode.el, textmodes/dns-mode.el:
5930         Move autoloaded auto-mode-alist entries to files.el.
5931         * files.el (auto-mode-alist): Move entries here.
5933 2010-09-23  Glenn Morris  <rgm@gnu.org>
5935         * isearch.el (isearch-lazy-highlight-cleanup)
5936         (isearch-lazy-highlight-initial-delay)
5937         (isearch-lazy-highlight-interval)
5938         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5939         * net/net-utils.el (ipconfig-program-options):
5940         Move aliases to options before the associated definitions.
5942 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5944         * newcomment.el (comment-normalize-vars): Better test validity of
5945         comment-end-skip.
5947 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5949         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5950         (float-e): New name for `e'.
5951         (degrees-to-radians, radians-to-degrees):
5952         * calendar/solar.el (solar-longitude):
5953         * calculator.el (calculator-registers, calculator-funcall):
5954         * textmodes/artist.el (artist-spray-random-points):
5955         * play/bubbles.el (bubbles--initialize-images): Use new names.
5957 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5959         Update to CEDET 1.0's version of EIEIO.
5961         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5962         New function.
5963         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5964         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5965         (class-precedence-list): If class is nil, return nil.
5966         (eieio-generic-call): If class of first input arg is nil, don't
5967         look up static methods, and do check for primary methods.
5968         (initialize-instance): See if the default needs to be evaluated
5969         during the constructor.
5970         (eieio-perform-slot-validation-for-default): Don't do the check
5971         for values that will eventually be evaluated.
5972         (eieio-eval-default-p): New function.
5973         (eieio-default-eval-maybe): Use it.
5975 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5977         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5978         method-invocation-order.
5979         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5980         (eieio-class-precedence-dfs): Compute class precedence list using
5981         dfs algorithm.
5982         (eieio-class-precedence-bfs): Compute class precedence list using
5983         bfs algorithm.
5984         (eieio-class-precedence-c3): Compute class precedence list using
5985         c3 algorithm.
5986         (class-precedence-list): New function.
5987         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5988         (inconsistent-class-hierarchy): New error symbol.
5989         (call-next-method): Stow the replacement argument list for future
5990         call-next-method invocations.
5992 2010-09-23  Glenn Morris  <rgm@gnu.org>
5994         * calendar/appt.el (appt-check): If not displaying the diary,
5995         use (diary 1) to only get the entries we need.
5996         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5997         that it is in day order.  (Bug#7019)
5999         * calendar/appt.el (appt-check): Rather than showing the diary,
6000         just turn off invisible display, and only if needed.
6002         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6004 2010-09-23  Glenn Morris  <rgm@gnu.org>
6006         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6007         (byte-compile-defvar, byte-compile-cl-warn):
6008         Start warnings with lower-case, like the majority.
6010         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6012         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6014         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6015         * files.el (auto-mode-alist): Move ld-script entries here, further down
6016         the list.
6018         * vc/add-log.el: Don't require timezone when compiling.
6019         (timezone-make-date-sortable): Autoload it.
6020         (change-log-sortable-date-at): Don't require timezone.
6021         Use `ignore-errors'.
6023         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6024         Move alias before definition, so it does not need autoloading.
6026         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6027         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6028         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6029         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6030         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6031         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6032         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6033         * textmodes/tex-mode.el, textmodes/two-column.el:
6034         Remove leading `*' from docs of defcustoms etc.
6036 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6038         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6040 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6042         * calendar/time-date.el (date-to-time): Try using parse-time-string
6043         first before using the slower timezone-make-date-arpa-standard.
6045 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6047         * calendar/time-date.el (format-seconds): Comment fix.
6049 2010-09-22  Glenn Morris  <rgm@gnu.org>
6051         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6052         is not automatically buffer-local.
6054 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6056         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6057         (smie-indent-comment): Be more careful with comment-start-skip.
6058         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6059         (smie-indent-functions): Use them.
6061 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6063         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6065 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6067         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6068         tool-bar-position.  Don't modify frame parameters here.
6069         (menu-bar-options-save): Add tool-bar-position.
6071         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6073 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6075         * textmodes/reftex-parse.el (reftex-what-macro)
6076         (reftex-context-substring): Let-bind forward-sexp-function to nil
6077         since we don't need/want to treat \begin...\end as a block (bug#7053).
6079         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6081         * simple.el (blink-matching-open): Use syntax-class.
6083         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6084         Set invisibility spec for pascal's outline mode.
6085         (pascal-outline-change): Clean up calling convention.
6086         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6088         * progmodes/prolog.el (prolog-smie-forward-token)
6089         (prolog-smie-backward-token): New functions.
6090         (prolog-mode-variables): Use them to parse "!," correctly.
6091         Set up smie-blink-matching for ".".
6093         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6094         and `end'.
6095         (ispell-region, ispell-process-line): Update users.
6097         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6098         point-min==1.
6100         * textmodes/ispell.el: Fix commenting convention.
6101         (ispell-parse-output): Simplify, use push.
6102         (ispell-region): Use match-string-no-properties.
6103         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6104         (ispell-minor-mode): Use define-minor-mode.
6105         (ispell-message): Remove unused var `skip-regexp'.
6106         (ispell-add-per-file-word-list): Use dynamic let-binding.
6107         Try and use the proper comment marker.
6109         * mail/sendmail.el: Fix commenting convention.
6110         (sendmail-send-it): Use line-beginning-position.
6112         * help-fns.el (describe-variable): Add original value, if applicable.
6114 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6116         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6118         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6120 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6122         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6123         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6124         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6125         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6126         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6127         something like "." can also be a closer.
6128         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6129         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6130         Rename internal functions to use "--".  Update callers.
6132         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6134         * fringe.el (fringe-styles): New var.
6135         (fringe-mode, fringe-query-style): Use it.
6137 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6139         * progmodes/sql.el: Version 2.8
6140         (sql-login-params): Update widget structure; changes still needed.
6141         (sql-product-alist): Add :list-all and :list-table features for
6142         SQLite, Postgres and MySQL products.
6143         (sql-redirect): Handle default value.
6144         (sql-execute, sql-execute-feature): New functions.
6145         (sql-read-table-name): New function.
6146         (sql-list-all, sql-list-table): New functions.  User API.
6147         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6148         for above functions.
6149         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6150         for above functions.
6151         (sql-postgres-login-params): Add user and database defaults.
6152         (sql-buffer-live-p): Bug fix.
6153         (sql-product-history): New variable.
6154         (sql-read-product): New function.  Use it.
6155         (sql-set-product, sql-product-interactive): Use it.
6156         (sql-connection-history): New variable.
6157         (sql-read-connection): New function.  Use it.
6158         (sql-connect): New function.
6159         (sql-for-each-login): Redesign function interface.
6160         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6161         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6162         (sql-comint): Check for program.  Existing live buffer.
6163         (sql-comint-postgres): Add port parameter.
6165 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6167         * emacs-lisp/warnings.el: Fix commenting convention.
6168         (display-warning): Use special mode and make the buffer read-only.
6170 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6172         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6173         empty string when it follows a repeated or optional pattern.
6175 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6177         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6178         (indent-region): Use indent-according-to-mode.
6180 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6182         * fringe.el (fringe-mode): Doc fix.
6184 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6186         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6187         refreshing the preview buffer.
6189 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6192         (latex-syntax-propertize-rules): New consts; replace
6193         tex-font-lock-syntactic-keywords.
6194         (tex-env-mark, latex-env-before-change): New functions.
6195         (latex-electric-env-pair-mode): New minor mode.
6196         (tex-font-lock-verb): Change arguments; do move point.
6197         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6198         representation as a form of comment.
6199         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6200         (doctex-syntax-propertize-rules): New const; replaces
6201         doctex-font-lock-syntactic-keywords.
6202         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6204         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6205         (fortran-make-syntax-propertize-function): New function; replaces
6206         fortran-font-lock-syntactic-keywords.
6207         (fortran-mode): Use it.
6208         (fortran-line-length): Use it.  Improve interactive spec.
6210         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6211         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6212         when adding surrounding \(..\).
6214         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6216 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6218         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6219         Use with-current-buffer.
6221         * isearch.el (isearch-face): Rename from `isearch'.
6222         (isearch-highlight): Use new name.
6224 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6226         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6227         5, for `half' width fringes.  (Bug#6933)
6229 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6231         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6232         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6234         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6236 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6238         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6239         in calculating new frame position.  Add more space between new and
6240         parent on the left (Bug#7048).
6242 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6244         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6245         defmacro.
6247 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6249         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6251         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6252         obsolete alias for x-selection-value.
6254         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6256 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6258         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6259         cookie.
6261 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6263         * net/tramp-compat.el (tramp-compat-with-temp-message)
6264         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6265         (tramp-compat-process-put): New defuns.
6267         * net/tramp.el (top):
6268         * net/tramp-gvfs.el (top):
6269         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6271         * net/tramp.el (tramp-progress-reporter-update):
6272         Use `tramp-compat-funcall'.
6274         * net/tramp.el (tramp-process-actions):
6275         * net/tramp-gvfs.el (tramp-handle-vc-registered):
6276         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6277         (tramp-get-remote-stat, tramp-get-remote-readlink):
6278         Use `tramp-compat-with-temp-message'.
6280         * net/tramp-sh.el (top): Require 'cl.
6281         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6282         (tramp-open-connection-setup-interactive-shell):
6283         Use `tramp-compat-process-put'.
6285 2010-09-15  Alan Mackenzie  <acm@muc.de>
6287         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6288         indentation.
6289         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6291 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6293         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6294         `lexical' for warnings related to lexical scoping.
6295         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6296         global vars which don't have a prefix and could hence affect lexical
6297         scoping in unrelated files.
6299 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6301         * net/imap.el: Revert back to version
6302         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6303         seem problematic.
6305 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6307         * obsolete/old-whitespace.el (whitespace-unload-function):
6308         Explicitly pass `obarray' to `unintern' to avoid a warning.
6310 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6312         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6313         Add `when' argument.  Update callers.
6315         * subr.el (unintern): Declare the obarray arg mandatory.
6317 2010-09-14  Glenn Morris  <rgm@gnu.org>
6319         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6320         Doc fixes.
6322         * calendar/diary-lib.el (diary-included-files): New variable.
6323         (diary-list-entries): Maybe initialize diary-included-files.
6324         (diary-include-other-diary-files): Append to diary-included-files.
6325         * calendar/appt.el (appt-update-list): Also check the members of
6326         diary-included-files.  (Bug#6999)
6327         (appt-check): Doc fix.
6329 2010-09-14  David Reitter  <david.reitter@gmail.com>
6331         * simple.el (line-move-visual): Do not truncate goal column to
6332         integer size.  (Bug#7020)
6334 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6336         * repeat.el (repeat): Allow repeating when the last event is a click.
6337         Suggested by Drew Adams (bug#6256).
6339 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6341         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6342         Replace setting HGRCPATH to "" by some less invasive --config options.
6344 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6346         * font-lock.el (font-lock-beginning-of-syntax-function):
6347         Mark as obsolete.
6349 2010-09-14  Glenn Morris  <rgm@gnu.org>
6351         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6352         and tool-bar modes.  (Bug#6211)
6353         (menu-bar-mode): Move setting of standard-value after the
6354         minor-mode definition, otherwise it seems to have no effect.
6356 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6358         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6359         Fix typo.  (Bug#6976)
6361 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6363         * whitespace.el: Allow cleaning up blanks without blank
6364         visualization (Bug#6651).  Adjust help window for
6365         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6366         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6367         (whitespace-style): Add new value 'face.  Adjust docstring.
6368         (whitespace-space, whitespace-hspace, whitespace-tab):
6369         Adjust foreground property face.
6370         (whitespace-line-column): Adjust docstring and type declaration.
6371         (whitespace-style-value-list, whitespace-toggle-option-alist)
6372         (whitespace-help-text): Adjust const initialization.
6373         (whitespace-toggle-options, global-whitespace-toggle-options):
6374         Adjust docstring.
6375         (whitespace-display-window, whitespace-interactive-char)
6376         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6377         (whitespace-help-scroll): New fun.
6379 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6381         * calendar/time-date.el (format-seconds): Comment fix.
6383 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6385         * progmodes/sql.el: Version 2.7.
6386         (sql-buffer-live-p): Improve detection.
6387         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6388         (sql-set-sqli-buffer): Use it.
6389         (sql-product-interactive): Run `sql-set-sqli-hook'.
6390         (sql-rename-buffer): Code cleanup.
6391         (sql-redirect, sql-redirect-value): New functions.  More to come.
6393 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6395         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
6396         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6397         (TRAMP_SRC): New macro.
6398         ($(lisp)/net/tramp-loaddefs.el): New target.
6400 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6402         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6404         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6406         * net/tramp.el (top): Don't show loading message.  Require just
6407         'tramp-compat, everything else is required there.
6408         Use `ignore-errors' where appropriate.
6409         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6410         (tramp-terminal-type, tramp-end-of-output)
6411         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6412         (tramp-completion-function-alist-ssh)
6413         (tramp-completion-function-alist-telnet)
6414         (tramp-completion-function-alist-su)
6415         (tramp-completion-function-alist-putty, tramp-remote-path)
6416         (tramp-remote-process-environment, tramp-sh-extra-args)
6417         (tramp-actions-before-shell, tramp-uudecode)
6418         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6419         (tramp-perl-file-attributes)
6420         (tramp-perl-directory-files-and-attributes)
6421         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6422         (tramp-perl-encode, tramp-perl-decode)
6423         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6424         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6425         (tramp-handle-make-symbolic-link, tramp-handle-load)
6426         (tramp-handle-file-name-as-directory)
6427         (tramp-handle-file-name-directory)
6428         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6429         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6430         (tramp-do-file-attributes-with-ls)
6431         (tramp-do-file-attributes-with-perl)
6432         (tramp-do-file-attributes-with-stat)
6433         (tramp-handle-set-visited-file-modtime)
6434         (tramp-handle-verify-visited-file-modtime)
6435         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6436         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6437         (tramp-handle-file-selinux-context)
6438         (tramp-handle-set-file-selinux-context)
6439         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6440         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6441         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6442         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6443         (tramp-handle-file-ownership-preserved-p)
6444         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6445         (tramp-handle-directory-files-and-attributes)
6446         (tramp-do-directory-files-and-attributes-with-perl)
6447         (tramp-do-directory-files-and-attributes-with-stat)
6448         (tramp-handle-file-name-all-completions)
6449         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6450         (tramp-handle-copy-file, tramp-handle-copy-directory)
6451         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6452         (tramp-do-copy-or-rename-file-via-buffer)
6453         (tramp-do-copy-or-rename-file-directly)
6454         (tramp-do-copy-or-rename-file-out-of-band)
6455         (tramp-handle-make-directory, tramp-handle-delete-directory)
6456         (tramp-handle-delete-file)
6457         (tramp-handle-dired-recursive-delete-directory)
6458         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6459         (tramp-handle-insert-directory)
6460         (tramp-handle-unhandled-file-name-directory)
6461         (tramp-handle-expand-file-name)
6462         (tramp-handle-substitute-in-file-name)
6463         (tramp-handle-executable-find, tramp-process-sentinel)
6464         (tramp-handle-start-file-process, tramp-handle-process-file)
6465         (tramp-handle-call-process-region, tramp-handle-shell-command)
6466         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6467         (tramp-handle-insert-file-contents)
6468         (tramp-handle-insert-file-contents-literally)
6469         (tramp-handle-find-backup-file-name)
6470         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6471         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6472         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6473         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6474         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6475         (tramp-find-file-exists-command, tramp-open-shell)
6476         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6477         (tramp-open-connection-setup-interactive-shell)
6478         (tramp-local-coding-commands, tramp-remote-coding-commands)
6479         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6480         (tramp-inline-compress-commands, tramp-find-inline-compress)
6481         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6482         (tramp-send-command, tramp-wait-for-output)
6483         (tramp-send-command-and-check, tramp-barf-unless-okay)
6484         (tramp-send-command-and-read, tramp-mode-string-to-int)
6485         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6486         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6487         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6488         (tramp-method-out-of-band-p, tramp-local-host-p)
6489         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6490         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6491         (tramp-get-test-command, tramp-get-test-nt-command)
6492         (tramp-get-file-exists-command, tramp-get-remote-ln)
6493         (tramp-get-remote-perl, tramp-get-remote-stat)
6494         (tramp-get-remote-readlink, tramp-get-remote-trash)
6495         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6496         (tramp-get-local-uid, tramp-get-local-gid)
6497         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6498         tramp-sh.el.
6499         (tramp-methods, tramp-default-method-alist)
6500         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6501         Move initialization to tramp-sh.el.
6502         (tramp-temp-name-prefix): Make it a defconst.
6503         (tramp-dissect-file-name): Don't check anymore for multi-hop
6504         methods.
6505         (tramp-debug-outline-regexp): Add a docstring.
6506         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6507         (tramp-get-debug-buffer): Use it.
6509         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6510         initialization forms.
6511         (tramp-set-connection-property): Don't protect `tramp-message'
6512         call, it isn't necessary any longer.
6513         (tramp-dump-connection-properties): Use `ignore-errors'.
6515         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6516         'password-cache and 'auth-source.
6518         * net/tramp-gvfs.el (top):
6519         * net/tramp-smb.el (top): Require 'tramp-sh.
6521         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6523         * net/tramp-sh.el: New file, derived from tramp.el.
6524         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6525         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6526         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6527         Use `ignore-errors' where appropriate.
6528         (tramp-sh-file-name-handler-alist): Rename from
6529         `tramp-file-name-handler-alist'.
6530         (tramp-send-command-and-check): Return t or nil.  Remove all
6531         `zerop' checks, where called.
6532         (tramp-handle-set-file-modes)
6533         (tramp-do-copy-or-rename-file-directly)
6534         (tramp-handle-delete-directory, tramp-handle-delete-file)
6535         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6536         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6537         (tramp-get-remote-ln): Set tramp-autoload cookie.
6539         * net/tramp-fish.el: Remove file.
6541 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6543         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6544         buffer-file-name to avoid file-locking.  (Bug#7026)
6546 2010-09-13  Julien Danjou  <julien@danjou.info>
6548         * notifications.el (notifications-notify): Add support for
6549         image-path and sound-name.
6550         (notifications-specification-version): Add this variable.
6552 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6554         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6556 2010-09-12  Leo  <sdl.web@gmail.com>
6558         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6559         (rcirc-completion-start): New variables.
6560         (rcirc-nick-completions): Rename to rcirc-completions.
6561         (rcirc-nick-completion-start-offset): Delete.
6562         (rcirc-completion-at-point): New function for constructing
6563         completion data for both nicks and irc commands.  Add to
6564         completion-at-point-functions in rcirc mode.
6565         (rcirc-complete): Rename from rcirc-nick-complete; use
6566         rcirc-completion-at-point.
6567         (defun-rcirc-command): Update rcirc-client-commands.
6569 2010-09-11  Glenn Morris  <rgm@gnu.org>
6571         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6572         atomically, to avoid parallel build errors.  (Bug#4196)
6574 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6576         * progmodes/sql.el: Version 2.6
6577         (sql-dialect): Synonym for "sql-product".
6578         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6579         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6580         Set "sql-buffer" to buffer name not buffer object so multiple sql
6581         interactive buffers work properly.  Reverts misguided changes in
6582         earlier work.
6583         (sql-comint): Make sure different buffer name is used if "*SQL*"
6584         buffer is for a different product.
6585         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6586         login param.
6587         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6588         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6589         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6590         Accept new buffer name or prompt for one.
6591         (sql-port): Default to zero.
6592         (sql-comint-mysql): Handle "sql-port" as a numeric.
6593         (sql-port-history): Delete unused variable.
6594         (sql-get-login): Default "sql-port" to a number.
6595         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6596         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6597         "sqlite3" executables.
6598         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6599         (sql-buffer-live-p): New function.
6600         (sql-mode-menu, sql-send-string): Use it.
6601         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6602         syntax pattern.
6603         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6604         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6606 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6608         * net/netrc.el (netrc-credentials): New convenience function.
6610 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6612         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6613         to replace texinfo-font-lock-syntactic-keywords.
6614         (texinfo-mode): Use it.
6616         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6617         Use syntax-propertize-function.
6619         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6620         replace sgml-font-lock-syntactic-keywords.
6621         (sgml-mode): Use it.
6623         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6624         since we don't use it.
6626         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6628         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6629         if available.
6630         (vhdl-fontify-buffer): Adjust.
6632         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6633         replace tcl-font-lock-syntactic-keywords.
6634         (tcl-mode): Use it.
6636         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6637         replace simula-font-lock-syntactic-keywords.
6638         (simula-mode): Use it.
6640         * progmodes/sh-script.el (sh-st-symbol): Remove.
6641         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6642         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6643         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6644         (sh-font-lock-paren): Set syntax-multiline.
6645         (sh-font-lock-syntactic-keywords): Remove.
6646         (sh-syntax-propertize-function): New function to replace it.
6647         (sh-mode): Use it.
6649         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6650         Define while compiling.
6651         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6652         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6653         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6654         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6655         (ruby-here-doc-end-syntax): Only define when
6656         syntax-propertize is not available.
6657         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6658         New functions.
6659         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6660         (electric-indent-chars): Silence bytecompiler.
6661         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6662         electric-indent-chars.
6664         * progmodes/python.el (python-syntax-propertize-function): New var to
6665         replace python-font-lock-syntactic-keywords.
6666         (python-mode): Use it.
6667         (python-quote-syntax): Simplify and adjust to new use.
6669         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6670         replace perl-font-lock-syntactic-keywords.
6671         (perl-syntax-propertize-special-constructs): New fun to replace
6672         perl-font-lock-special-syntactic-constructs.
6673         (perl-font-lock-syntactic-face-function): New fun.
6674         (perl-mode): Use it.
6676         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6677         to replace octave-font-lock-close-quotes.
6678         (octave-syntax-propertize-function): New function to replace
6679         octave-font-lock-syntactic-keywords.
6680         (octave-mode): Use it.
6682         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6683         replaces mixal-font-lock-syntactic-keywords.
6684         (mixal-mode): Use it.
6686         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6687         New var; replaces makefile-font-lock-syntactic-keywords.
6688         (makefile-mode): Use it.
6689         (makefile-imake-mode): Adjust.
6691         * progmodes/js.el (js--regexp-literal): Define while compiling.
6692         (js-syntax-propertize-function): New var; replaces
6693         js-font-lock-syntactic-keywords.
6694         (js-mode): Use it.
6696         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6697         replaces gdb-script-font-lock-syntactic-keywords.
6698         (gdb-script-mode): Use it.
6700         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6701         (fortran--font-lock-syntactic-keywords): New var.
6702         (fortran-line-length): Update syntax-propertize-function and
6703         fortran--font-lock-syntactic-keywords.
6705         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6707         * progmodes/cfengine.el (cfengine-mode):
6708         Use syntax-propertize-function.
6709         (cfengine-font-lock-syntactic-keywords): Remove.
6711         * progmodes/autoconf.el (autoconf-mode):
6712         Use syntax-propertize-function.
6713         (autoconf-font-lock-syntactic-keywords): Remove.
6715         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6716         (ada-after-change-function, ada-initialize-syntax-table-properties)
6717         (ada-handle-syntax-table-properties): Only define when
6718         syntax-propertize is not available.
6719         (ada-mode): Use syntax-propertize-function.
6721         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6722         (font-lock-fontify-syntactic-keywords-region): Move handling of
6723         font-lock-syntactically-fontified to...
6724         (font-lock-default-fontify-region): ...here.
6725         Let syntax-propertize-function take precedence.
6726         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6728         * emacs-lisp/syntax.el (syntax-propertize-function)
6729         (syntax-propertize-chunk-size, syntax-propertize--done)
6730         (syntax-propertize-extend-region-functions): New vars.
6731         (syntax-propertize-wholelines, syntax-propertize-multiline)
6732         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6733         (syntax-propertize): New functions.
6734         (syntax-propertize-rules): New macro.
6735         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6736         (syntax-ppss): Call syntax-propertize.
6738         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6740 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6742         * textmodes/ispell.el (ispell-init-process): Improve comments.
6743         XEmacs compatibility changes regarding (add-hook) 'local option
6744         and (set-process-query-on-exit-flag).
6746 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6748         * net/tramp-cache.el (tramp-parse-connection-properties):
6749         Set tramp-autoload cookie.
6751 2010-09-09  Glenn Morris  <rgm@gnu.org>
6753         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6754         (imagemagick-register-types): Doc fix.
6756 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6760         * progmodes/js.el (require): Require is already "eval-and-compile".
6761         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6762         (js--re-search-backward): Use js--re-search-forward.
6764         * progmodes/fortran.el (fortran-line-length): Don't recompute
6765         syntactic keywords redundantly a second time.
6767         * progmodes/ada-mode.el: Replace "(set '" with setq.
6768         (ada-mode): Simplify.
6769         (ada-create-case-exception, ada-adjust-case-interactive)
6770         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6771         (ada-search-ignore-string-comment, ada-move-to-start)
6772         (ada-move-to-end): Use with-syntax-table.
6774         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6775         (font-lock-unfontify-region, font-lock-default-fontify-region):
6776         Update usage correspondingly.
6777         (font-lock-fontify-syntactic-keywords-region):
6778         Set parse-sexp-lookup-properties buffer-locally here.
6779         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6781         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6783 2010-09-08  Glenn Morris  <rgm@gnu.org>
6785         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6786         Error if not compiled with -DBYTE_CODE_METER.
6788         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6789         Ignore dir-locals-file.
6791 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6793         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6794         Not a const.
6795         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6796         for the `gnu' messages.
6797         (compilation-set-skip-threshold): New command.
6798         (compilation-start): Use \' rather than $.
6799         (compilation-forget-errors): Use clrhash.
6801 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6803         * textmodes/ispell.el (ispell-valid-dictionary-list):
6804         Simplify logic.
6806 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6808         Migrate to Tramp 2.2.  Rearrange load dependencies.
6809         (Bug#1529, Bug#5448, Bug#5705)
6811         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6812         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6813         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6815         * net/tramp.el (top): Remove all other tramp-* loads except
6816         tramp-compat.el.  Remove all changes to tramp-unload-hook for
6817         other tramp-* packages.  Rearrange defun order.  Change calls of
6818         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6819         `tramp-compat-octal-to-decimal' to new function names.
6820         (tramp-terminal-type, tramp-initial-end-of-output)
6821         (tramp-methods, tramp-foreign-file-name-handler-alist)
6822         (tramp-tramp-file-p, tramp-completion-mode-p)
6823         (tramp-send-command-and-check, tramp-get-remote-path)
6824         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6825         (tramp-shell-quote-argument): Set tramp-autoload cookie.
6826         (with-file-property, with-connection-property): Move to
6827         tramp-cache.el.
6828         (tramp-local-call-process, tramp-decimal-to-octal)
6829         (tramp-octal-to-decimal): Move to tramp-compat.el.
6830         (tramp-handle-shell-command): Do not require 'shell.
6831         (tramp-compute-multi-hops): No special handling for tramp-gw-*
6832         symbols.
6833         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6835         * net/tramp-cache.el (top): Require 'tramp.  Add to
6836         `tramp-unload-hook'.
6837         (tramp-cache-data, tramp-get-file-property)
6838         (tramp-set-file-property, tramp-flush-file-property)
6839         (tramp-flush-directory-property, tramp-get-connection-property)
6840         (tramp-set-connection-property, tramp-flush-connection-property)
6841         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6842         cookie.
6843         (with-file-property, with-connection-property): New defuns, moved
6844         from tramp.el.
6845         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6846         macro.
6848         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6849         (tramp-version): Set tramp-autoload cookie.
6851         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
6852         changes to tramp-unload-hook for other tramp-* packages.  Add to
6853         `tramp-unload-hook'.
6854         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6855         (tramp-compat-call-process): New defuns, moved from tramp.el.
6857         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
6858         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6859         Add to `tramp-unload-hook'.  Change call of
6860         `tramp-compat-decimal-to-octal' to new function name.
6861         (tramp-fish-method): Make it a defconst.
6862         (tramp-fish-file-name-p): Make it a defsubst.
6863         (tramp-fish-method, tramp-fish-file-name-handler)
6864         (tramp-fish-file-name-p): Set tramp-autoload cookie.
6866         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6867         `tramp-foreign-file-name-handler-alist'.  Add to
6868         `tramp-unload-hook'.
6869         (tramp-ftp-method): Make it a defconst.
6870         (tramp-ftp-file-name-p): Make it a defsubst.
6871         (tramp-ftp-method, tramp-ftp-file-name-handler)
6872         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6874         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6875         `tramp-foreign-file-name-handler-alist'.  Add to
6876         `tramp-unload-hook'.  Change checks, whether package can be
6877         loaded.
6878         (tramp-gvfs-file-name-p): Make it a defsubst.
6879         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6880         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6881         (tramp-gvfs-handle-file-directory-p): New defun.
6882         (tramp-gvfs-file-name-handler-alist): Use it.
6884         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6885         `tramp-foreign-file-name-handler-alist'.  Add to
6886         `tramp-unload-hook'.
6887         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6888         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6889         defconst.
6890         (tramp-gw-tunnel-method, tramp-gw-socks-method)
6891         (tramp-gw-open-connection): Set tramp-autoload cookie.
6893         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
6894         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6895         Add to `tramp-unload-hook'.  Change checks, whether package can be
6896         loaded.
6897         (tramp-imap-file-name-p): Make it a defsubst.
6898         (tramp-imap-method, tramp-imaps-method)
6899         (tramp-imap-file-name-handler)
6900         (tramp-imap-file-name-p): Set tramp-autoload cookie.
6902         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
6903         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6904         Add to `tramp-unload-hook'.  Change checks, whether package can be
6905         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
6906         function name.
6907         (tramp-smb-tunnel-method): Make it a defconst.
6908         (tramp-smb-file-name-p): Make it a defsubst.
6909         (tramp-smb-method, tramp-smb-file-name-handler)
6910         (tramp-smb-file-name-p): Set tramp-autoload cookie.
6912         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6913         (tramp-uuencode-region): Set tramp-autoload cookie.
6915         * net/trampver.el (top) Add to `tramp-unload-hook'.
6916         (tramp-version, tramp-bug-report-address): Set tramp-autoload
6917         cookie.  Update release number.
6919 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
6921         * textmodes/ispell.el (ispell-start-process): Make sure original
6922         arg list is properly initialized (Bug#6993, Bug#6994).
6924 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6926         * files.el (directory-abbrev-alist): Use \` as default regexp.
6928         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6929         chars like - or ] (bug#6984).
6930         (rx-any-condense-range): Explode 2-char ranges.
6932 2010-09-06  Glenn Morris  <rgm@gnu.org>
6934         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6936 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6938         * textmodes/bibtex.el:
6939         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6941 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6943         * net/imap.el (imap-message-map): Remove optional buffer parameter,
6944         since no callers use it.
6945         (imap-message-get): Ditto.
6946         (imap-message-put): Ditto.
6947         (imap-mailbox-map): Ditto.
6948         (imap-mailbox-put): Ditto.
6949         (imap-mailbox-get): Ditto.
6950         (imap-mailbox-get): Revert last change for this function.
6952 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6954         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6955         callers to use `imap-fetch' instead.  According to the comments, this
6956         should be safe, since all other IMAP clients use the 1:* syntax.
6957         (imap-enable-exchange-bug-workaround): Remove.
6958         (imap-debug): Remove -- doesn't seem very useful.
6960 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6962         * net/imap.el (imap-log): New convenience function used throughout
6963         instead of repeating the same code all over the place.
6965 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6967         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6968         when mouse-drag-copy-region is non-nil (Bug#6956).
6970 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6972         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6973         Improve regexps (Bug#6987).
6974         (dired-sort-toggle): Search more robustly for -t flag.
6976         * files.el (get-free-disk-space): Search more robustly for
6977         "available" column.  Suggested by Ehud Karni
6978         <ehud@unix.mvs.co.il>.
6980 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6982         * international/uni-bidi.el:
6983         * international/uni-category.el:
6984         * international/uni-combining.el:
6985         * international/uni-decimal.el:
6986         * international/uni-mirrored.el:
6987         * international/uni-name.el: Regenerate.
6989 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6991         * electric.el (electric-indent-post-self-insert-function):
6992         Don't reindent with a sloppy indentation function.
6994         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6995         border case in change-log-mode.
6997 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6999         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7000         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7001         Recognize leading tab in gcc-include regexp.  Ignore names with
7002         leading "from" or "in" in gnu regexp (Bug#6937).
7004 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7006         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7007         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7008         (ispell-start-process): Avoid setq and simplify logic.
7009         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7010         (kill-buffer-hook): Don't use it globally with code that uses
7011         expand-file-name since that may call kill-buffer via
7012         code_conversion_restore.
7014 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7016         * emacs-lisp/package.el (package-directory-list): Only call
7017         file-name-nondirectory on a string.
7019 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7021         * emacs-lisp/package.el (package--download-one-archive):
7022         Ensure that archive-contents is valid before saving it.
7023         (package-activate-1, package-mark-obsolete, define-package)
7024         (package-compute-transaction, package-list-maybe-add): Use push.
7026 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7028         Use SMIE's blink-paren for octave-mode.
7029         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7030         Backslashes do not escape single-quotes, single-quotes do.
7031         (octave-block-else-regexp, octave-block-end-regexp)
7032         (octave-block-match-alist): Remove.
7033         (octave-smie-bnf-table): New var, with old content.
7034         (octave-smie-op-levels): Use it.
7035         (octave-smie-closer-alist): New var.
7036         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7037         (octave-blink-matching-block-open): Remove.
7038         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7039         (octave-electric-space): Let self-insert-command run expand-abbrev and
7040         blink parens.
7042         * electric.el (electricity): New group.
7043         (electric-indent-chars): New var.
7044         (electric-indent-post-self-insert-function): New fun.
7045         (electric-indent-mode): New minor mode.
7046         (electric-pair-skip-self): New custom.
7047         (electric-pair-post-self-insert-function): New function.
7048         (electric-pair-mode): New minor mode.
7050         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7051         calcAlg-blink-matching-open.
7052         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7053         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7054         Use the new blink-matching-check-function.
7056         Provide blink-matching support to SMIE.
7057         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7058         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7059         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7061         * simple.el (newline): Fix last change to properly remove itself from
7062         the hook.
7064 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7066         * simple.el (newline): Eliminate optimization.
7067         Use post-self-insert-hook to set hard-newline and things before
7068         running post-self-insert-hook.
7069         (blink-matching-check-mismatch): New function.
7070         (blink-matching-check-function): New variable.
7071         (blink-matching-open): Use them.
7072         Skip back forward over prefix chars skipped by forward-sexp.
7073         Don't check if the parens are backslash escaped.
7074         (blink-paren-post-self-insert-function): Check backslash escaping here.
7076 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7078         * emacs-lisp/package.el (package-menu-mode-map):
7079         Change package-menu-revert bindings to revert-buffer.
7080         (package-menu-mode): Set revert-buffer-function.
7081         (package-menu-revert): Doc fix.
7083 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7085         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7086         `default-directory' unless using Ispell per-directory personal
7087         dictionaries and not in a mini-buffer under XEmacs.
7088         (kill-buffer-hook): Do not kill ispell process on exit when
7089         `ispell-process-directory' is "~/".  (Bug#6143)
7091 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7093         * simple.el (kill-new): Call interprogram-cut-function with only
7094         one argument.
7096         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7097         Remove cut buffer from error message.
7099         * term/x-win.el (x-select-text):
7100         * term/pc-win.el (x-selection-value):
7101         * term/ns-win.el (x-selection-value):
7102         * eshell/em-term.el:
7103         * w32-fns.el (x-get-selection-value):
7104         * mouse-sel.el (mouse-sel-set-selection-function):
7105         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7107         * term/x-win.el: Update documentation for x-last-selected-text-*.
7108         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7109         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7110         (x-select-text): Remove argument PUSH, update documentation.
7111         Remove cut-buffer code.
7112         (x-selection-value-internal): Was previously x-selection-value.
7113         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7114         Update documentation, remove cut-buffer code.
7115         Call x-selection-value-internal.
7116         (x-clipboard-yank): Call x-selection-value-internal.
7117         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7119         * term/pc-win.el (x-last-selected-text):
7120         x-cut-buffer-or-selection-value renamed to x-selection-value
7121         (x-select-text): Remove argument PUSH, update documentation.
7123         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7124         x-cut-buffer-or-selection-value renamed to x-selection-value
7125         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7126         (x-select-text): Remove argument PUSH, update documentation.
7128         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7130         * w32-fns.el (x-last-selected-text):
7131         x-cut-buffer-or-selection-value renamed to x-selection-value.
7132         (x-cut-buffer-max): Remove.
7133         (x-select-text): Remove argument PUSH, update documentation.
7135         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7137         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7139         * mouse-sel.el (mouse-sel-get-selection-function):
7140         x-cut-buffer-or-selection-value renamed to x-selection-value.
7141         (x-select-text): Remove optional push.
7143 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7145         * simple.el (blink-paren-function): Move from C to here.
7146         (blink-paren-post-self-insert-function): New function.
7147         (post-self-insert-hook): Use it.
7149         * emacs-lisp/pcase.el (pcase-split-memq):
7150         Fix overenthusiastic optimisation.
7151         (pcase-u1): Handle the case of a lambda pred.
7153 2010-08-31  Kenichi Handa  <handa@m17n.org>
7155         * international/mule-cmds.el (standard-display-european-internal):
7156         Setup standard-display-table for 8-bit characters by storing 8-bit
7157         characters in the element vector.
7159         * disp-table.el (standard-display-8bit):
7160         Setup standard-display-table for 8-bit characters by storing 8-bit
7161         characters in the element vector.
7162         (standard-display-european): Likewise.
7164 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7166         * textmodes/nroff-mode.el (nroff-view): New command.
7167         (nroff-mode-map): Bind it to C-c C-c.
7169 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7171         * emacs-lisp/smie.el (smie-down-list): New command.
7173         Remove old indentation and navigation code on octave-mode.
7174         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7175         smie-down-list rather than add a binding for octave-down-block.
7176         (octave-mark-block, octave-blink-matching-block-open):
7177         Rely on forward-sexp-function.
7178         (octave-fill-paragraph): Don't narrow, so you can use
7179         indent-according-to-mode.
7180         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7181         (octave-in-block-p, octave-re-search-forward-kw)
7182         (octave-re-search-backward-kw, octave-indent-calculate)
7183         (octave-end-as-array-index-p, octave-block-end-offset)
7184         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7185         (octave-down-block, octave-backward-up-block, octave-up-block)
7186         (octave-before-magic-comment-p, octave-indent-line): Remove.
7188 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7190         * emacs-lisp/package.el (package--read-archive-file): Just use
7191         `read', to avoid copying an additional string.
7192         (package-menu-mode): Set header-line-format here.
7193         (package-menu-refresh, package-menu-revert): Signal an error if
7194         not in the Package Menu.
7195         (package-menu-package-list): New var.
7196         (package--generate-package-list): Operate on the current buffer;
7197         don't assume that it is *Packages*, since the user may rename it.
7198         Allow persistent package listings and sort keys using
7199         package-menu-package-list and package-menu-package-sort-key.
7200         (package-menu--version-predicate): Fix version calculation.
7201         (package-menu-sort-by-column): Don't select the window.
7202         (package--list-packages): Create the *Packages* buffer.
7203         Set package-menu-package-list-key.
7204         (list-packages): Sorting by status is now the default.
7205         (package-buffer-info): Use match-string-no-properties.
7206         (define-package): Add a &rest argument for future proofing, but
7207         don't use it yet.
7208         (package-install-from-buffer, package-install-buffer-internal):
7209         Merge into a single function, package-install-from-buffer.
7210         (package-install-file): Change caller.
7212         * finder.el: Load finder-inf using `require'.
7213         (finder-list-matches): Sorting by status is now the default.
7214         (finder-compile-keywords): Simpify printing.
7216 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7218         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7219         (octave-mode-map): Remove special bindings for forward/backward-block
7220         and octave-backward-up-block.  Use smie-close-block.
7221         (octave-continuation-marker-regexp): New var.
7222         (octave-continuation-regexp): Use it.
7223         (octave-operator-table, octave-smie-op-levels)
7224         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7225         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7226         (octave-mode): Use SMIE.
7227         (octave-close-block): Delete.
7229 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7231         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7232         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7234 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7236         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7237         a list of parents.
7238         (smie-indent-column): Allow indirection through variables.
7240         * composite.el (save-buffer-state): Delete, unused.
7241         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7242         (font-lock-default-fontify-region): Use with-syntax-table.
7243         * jit-lock.el (with-buffer-unmodified): Remove.
7244         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7246         Use `declare' in defmacros.
7247         * window.el (save-selected-window):
7248         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7249         * progmodes/python.el (def-python-skeleton):
7250         * net/dbus.el (dbus-ignore-errors):
7251         * jka-cmpr-hook.el (with-auto-compression-mode):
7252         * international/mule.el (with-category-table):
7253         * emacs-lisp/timer.el (with-timeout):
7254         * emacs-lisp/lisp-mnt.el (lm-with-file):
7255         * emacs-lisp/eieio.el (with-slots):
7256         * emacs-lisp/easymenu.el (easy-menu-define):
7257         * emacs-lisp/debug.el (debugger-env-macro):
7258         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7259         (Multiple-value-call, Multiple-value-prog1):
7260         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7261         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7262         edebug rule to definition.
7263         * emacs-lisp/lisp-mode.el (save-selected-window)
7264         (with-current-buffer, combine-after-change-calls)
7265         (with-output-to-string, with-temp-file, with-temp-buffer)
7266         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7267         (dolist, dotimes, when, unless):
7268         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7270 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7272         * finder.el: Require `package'.
7273         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7274         (finder-package-info): Var deleted.
7275         (finder-keywords-hash, finder--builtins-alist): New vars.
7276         (finder-compile-keywords): Compute package--builtins and
7277         finder-keywords-hash instead of finder-keywords-hash, respecting
7278         the "Package" header.
7279         (finder-unknown-keywords, finder-list-matches):
7280         Use finder-keywords-hash and package--list-packages.
7281         (finder-mode): Don't set font-lock-defaults.
7282         (finder-exit): We don't use "*Finder-package*" and "*Finder
7283         Category*" buffers anymore.
7285         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7286         (package--builtins): Set default value to nil.
7287         (package-initialize): Load precomputed value of package--builtins
7288         from finder-inf.el.
7289         (package-alist, package-compute-transaction)
7290         (package-download-transaction): Improve docstring.
7291         (package-read-all-archive-contents): Do not change
7292         package--builtins here.
7293         (list-packages): Make package-list-packages an alias for this.
7294         Sort by status by default.
7295         (package--list-packages): Add optional PACKAGES arg.
7296         (describe-package-1): Use font-lock-face property.  For built-in
7297         packages, insert file commentary.
7298         (package--generate-package-list): Rename from
7299         package-list-packages-internal; all callers changed.  Add optional
7300         PACKAGES arg.  Add alphabetical sort fallbacks.
7301         (package-menu--version-predicate, package-menu--status-predicate)
7302         (package-menu--description-predicate)
7303         (package-menu--name-predicate): New functions.
7305         * info.el (Info-finder-find-node): Search package-alist instead of
7306         finder-package-info.
7308 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7310         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7311         "alpha" and "beta".
7312         (version-to-list): Handle versions like "10.3d".
7314 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7316         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7317         (macroexp-accumulate): Use `declare'.
7319 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7321         * whitespace.el (whitespace-style): Adjust type declaration.
7323 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
7325         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7326         empty argument to gvfs-copy.
7328 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7330         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7331         handle new TRASH arg of `delete-file'.
7333 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7335         * net/tramp.el (tramp-handle-insert-directory): Don't use
7336         `forward-word', its default syntax could be changed.
7338 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7339             Michael Albinus  <michael.albinus@gmx.de>
7341         Implement compression for inline methods.
7343         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7344         (tramp-copy-size-limit): Allow also nil.
7345         (tramp-inline-compress-commands): New defconst.
7346         (tramp-find-inline-compress, tramp-get-inline-compress)
7347         (tramp-get-inline-coding): New defuns.
7348         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7349         replaced by `tramp-get-inline-coding'.
7350         (tramp-handle-file-local-copy, tramp-handle-write-region)
7351         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7353 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
7355         Detect ssh 'ControlMaster' argument automatically in some cases.
7357         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7358         (tramp-default-method): Use it.
7360 2010-08-26  Karel Klíč  <kklic@redhat.com>
7362         * net/tramp.el (tramp-file-name-for-operation):
7363         Add file-selinux-context.
7365 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7367         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7369 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7371         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7372         (Bug#6907).
7374 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7376         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7377         (js-paren-indent-offset, js-square-indent-offset)
7378         (js-curly-indent-offset): New options.
7379         (js--proper-indentation): Use them.
7381 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7383         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7384         instead of inspecting font-lock properties (Bug#6916).
7386 2010-08-26  David Reitter  <david.reitter@gmail.com>
7388         * server.el (server-visit-files): Run pre-command-hook and
7389         post-command-hook for each buffer while it is current (Bug#6910).
7390         (server-execute): Do not run hooks here.
7392 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7394         Sync with Tramp 2.1.19.
7396         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7397         (tramp-reporter-dump-variable, tramp-load-report-modules)
7398         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7399         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7401         * net/tramp-compat.el (top): Do not autoload
7402         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7403         only when `start-file-process' is not bound.
7404         (byte-compile-not-obsolete-vars): Define if not bound.
7405         (tramp-compat-funcall): New defmacro.
7406         (tramp-compat-line-beginning-position)
7407         (tramp-compat-line-end-position)
7408         (tramp-compat-temporary-file-directory)
7409         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7410         (tramp-compat-copy-file, tramp-compat-copy-directory)
7411         (tramp-compat-delete-file, tramp-compat-delete-directory)
7412         (tramp-compat-number-sequence, tramp-compat-process-running-p):
7413         Use it.
7414         (tramp-advice-file-expand-wildcards): Do not use
7415         `tramp-handle-file-remote-p'.
7416         (tramp-compat-make-temp-file): Simplify fallback implementation.
7417         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7418         (tramp-compat-copy-tree): Remove function.
7419         (tramp-compat-delete-file): New defun.
7420         (tramp-compat-delete-directory): Provide implementation for older
7421         Emacsen.
7422         (tramp-compat-file-attributes): Handle only
7423         `wrong-number-of-arguments' error.
7425         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7426         Add PRESERVE_SELINUX_CONTEXT.
7427         (tramp-fish-handle-delete-file): Add TRASH arg.
7428         (tramp-fish-handle-directory-files-and-attributes):
7429         Do not use `tramp-fish-handle-file-attributes.
7430         (tramp-fish-handle-file-local-copy)
7431         (tramp-fish-handle-insert-file-contents)
7432         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7434         * net/tramp-gvfs.el (top): Require url-util.
7435         (tramp-gvfs-mount-point): Remove.
7436         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7437         and `set-file-selinux-context'.
7438         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7439         (tramp-gvfs-handle-file-selinux-context)
7440         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7441         (with-tramp-dbus-call-method): Format trace message.
7442         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7443         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7444         Implement backup call, when operation on local files fails.
7445         Use progress reporter.  Flush properties of changed files.
7446         (tramp-gvfs-handle-delete-file): Add TRASH arg.
7447         Use `tramp-compat-delete-file'.
7448         (tramp-gvfs-handle-expand-file-name): Expand "~/".
7449         (tramp-gvfs-handle-make-directory): Make more traces.
7450         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7451         (tramp-gvfs-url-file-name): Hexify file name in url.
7452         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7453         into account for the resulting file name.
7454         (tramp-gvfs-handler-askquestion): Preserve current message, in
7455         order to let progress reporter continue afterwards.  (Bug#6257)
7456         Return dummy mountpoint, when the answer is "no".
7457         See `tramp-gvfs-maybe-open-connection'.
7458         (tramp-gvfs-handler-mounted-unmounted)
7459         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7460         attribute "default_location".  Set "prefix" property.
7461         Handle default-location.
7462         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7463         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7464         exists.  Raise an error, if not (due to a corresponding answer
7465         "no" in interactive questions, for example).
7466         Use `tramp-compat-funcall'.
7468         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7469         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7470         (tramp-imap-do-copy-or-rename-file)
7471         (tramp-imap-handle-insert-file-contents)
7472         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7473         (tramp-imap-handle-delete-file): Add TRASH arg.
7475         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7476         Add PRESERVE-SELINUX-CONTEXT.
7477         (tramp-smb-handle-copy-file)
7478         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7479         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7480         Use `with-progress-reporter'.
7481         (tramp-smb-handle-delete-file): Add TRASH arg.
7483         * net/tramp.el (tramp-methods): Move hostname to the end in all
7484         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
7485         appropriate.
7486         (tramp-verbose): Describe verbose level 9.
7487         (tramp-completion-function-alist)
7488         (tramp-file-name-regexp, tramp-chunksize)
7489         (tramp-local-coding-commands, tramp-remote-coding-commands)
7490         (with-connection-property, tramp-completion-mode-p)
7491         (tramp-action-process-alive, tramp-action-out-of-band)
7492         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7493         (tramp-exists-file-name-handler): Fix docstring.
7494         (tramp-remote-process-environment): Use `format' instead of
7495         `concat'.  Protect version string by apostroph.
7496         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7497         XEmacs.
7498         (tramp-file-name-regexp-unified)
7499         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7500         not regard the volume letter as remote filename.  (Bug#5447)
7501         (tramp-perl-file-attributes)
7502         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7503         (tramp-vc-registered-read-file-names): Read input as
7504         here-document, otherwise the command could exceed maximum length
7505         of command line.
7506         (tramp-file-name-handler-alist): Add `file-selinux-context' and
7507         `set-file-selinux-context'.
7508         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7509         backtrace functions.
7510         (tramp-error-with-buffer): Don't show the connection buffer when
7511         we are in completion mode.
7512         (tramp-progress-reporter-update, tramp-remote-selinux-p)
7513         (tramp-handle-file-selinux-context)
7514         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7515         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7516         New defuns.
7517         (with-progress-reporter): New defmacro.
7518         (tramp-debug-outline-regexp): New defconst.
7519         (top, tramp-rfn-eshadow-setup-minibuffer)
7520         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7521         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7522         (tramp-completion-mode-p, tramp-check-for-regexp)
7523         (tramp-open-connection-setup-interactive-shell)
7524         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7525         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7526         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7527         Use `tramp-compat-funcall'.
7528         (tramp-handle-make-symbolic-link): Flush file properties.
7529         (tramp-handle-load, tramp-handle-file-local-copy)
7530         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7531         (tramp-handle-vc-registered, tramp-maybe-send-script)
7532         (tramp-find-shell): Use `with-progress-reporter'.
7533         (tramp-do-file-attributes-with-stat): Add space in format string,
7534         in order to work around a bug in pdksh.  Reported by Gilles Pion
7535         <gpion@lfdj.com>.
7536         (tramp-handle-verify-visited-file-modtime): Do not send a command
7537         when the connection is not established.
7538         (tramp-handle-set-file-times): Simplify the check for utc.
7539         (tramp-handle-directory-files-and-attributes)
7540         (tramp-get-remote-path): Use `copy-tree'.
7541         (tramp-completion-handle-file-name-all-completions): Ensure, that
7542         non remote files are still checked.  Oops.
7543         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7544         Handle PRESERVE-SELINUX-CONTEXT.
7545         (tramp-do-copy-or-rename-file): Add progress reporter.
7546         (tramp-do-copy-or-rename-file-directly): Do not use
7547         `tramp-handle-file-remote-p'.
7548         (tramp-do-copy-or-rename-file-out-of-band):
7549         Use `tramp-compat-delete-directory'.
7550         (tramp-do-copy-or-rename-file-out-of-band)
7551         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7552         Use `format-spec-make'.
7553         (tramp-handle-delete-file): Add TRASH arg.
7554         (tramp-handle-dired-uncache): Flush directory cache, not only file
7555         cache.
7556         (tramp-handle-expand-file-name)
7557         (tramp-completion-handle-file-name-all-completions)
7558         (tramp-completion-handle-file-name-completion):
7559         Use `tramp-connectable-p'.
7560         (tramp-handle-start-file-process): Set connection property "vec".
7561         Use it, in order to invalidate file caches.  Check only for
7562         `remote-tty' process property.
7563         Implement tty setting.  (Bug#4604, Bug#6360)
7564         (tramp-file-name-for-operation): Add `call-process-region' and
7565         `set-file-selinux-context'.
7566         (tramp-find-foreign-file-name-handler)
7567         (tramp-advice-make-auto-save-file-name)
7568         (tramp-set-auto-save-file-modes): Remove superfluous check for
7569         `stringp'.  This is done inside `tramp-tramp-file-p'.
7570         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
7571         operations when we are in completion mode.  This gives the user
7572         the chance to correct the file name in the minibuffer.
7573         (tramp-completion-mode-p): Use `non-essential'.
7574         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7575         compatibility: Use `completion-ignore-case' if
7576         `read-file-name-completion-ignore-case' does not exist.
7577         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7578         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7579         `tramp-open-shell'.
7580         (tramp-action-password): Hide password prompt before next run.
7581         (tramp-process-actions): Widen connection buffer for the trace.
7582         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7583         process property.  Trace stty settings if `tramp-verbose' >= 9.
7584         Apply workaround for IRIX64 bug.  Move argument of last
7585         `tramp-send-command' where it belongs to.
7586         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7587         front of `login-args'.
7588         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7589         on "/dev/null" instead of "/".
7590         (tramp-get-ls-command-with-dired): Make test for "--dired"
7591         stronger.
7592         (tramp-set-auto-save-file-modes): Adapt version check.
7593         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7594         (tramp-handle-process-file): Call the program in a subshell, in
7595         order to preserve working directory.
7596         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7597         `tramp-remote-sh' from `tramp-methods'.
7598         (tramp-get-ls-command): Make test for "--color=never" stronger.
7599         (tramp-check-for-regexp): Use (forward-line 1).
7601         * net/trampver.el: Update release number.
7603 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7605         * help.el (help-map): Bind `C-h P' to describe-package.
7607         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7609         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7610         when downloading archives.
7611         (describe-package-1): Add package commentary.
7612         (package-install-button-action): New function.
7613         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7614         (package-menu-view-commentary): Function removed.
7615         (package-list-packages-internal): Hide the `package' package too.
7617 2010-08-25  Kenichi Handa  <handa@m17n.org>
7619         * language/misc-lang.el ("Arabic"): New language environment.
7620         Setup composition-function-table for Arabic characters.
7622         * international/fontset.el (setup-default-fontset): Fix typo for
7623         arabic OTF spec (fini->fina).
7625 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7627         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7628         on all frames.
7630 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7632         * whitespace.el: Allow cleaning up blanks without blank
7633         visualization (Bug#6651).  Adjust help window for
7634         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7635         instead of whitespace-line-column (from EmacsWiki).  New version
7636         13.1.
7637         (whitespace-style): Add new value 'face.  Adjust docstring.
7638         (whitespace-space, whitespace-hspace, whitespace-tab):
7639         Adjust foreground property face.
7640         (whitespace-line-column): Adjust docstring and type declaration.
7641         (whitespace-style-value-list, whitespace-toggle-option-alist)
7642         (whitespace-help-text): Adjust const initialization.
7643         (whitespace-toggle-options, global-whitespace-toggle-options):
7644         Adjust docstring.
7645         (whitespace-display-window, whitespace-interactive-char)
7646         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7647         (whitespace-help-scroll): New fun.
7649 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7651         * emacs-lisp/package.el (list-packages): Alias for
7652         package-list-packages.
7654 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7656         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7657         (Bug#5651).
7659         * progmodes/ruby-mode.el (ruby): Add defgroup.
7661 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7663         * progmodes/python.el: Add Ipython support (Bug#5390).
7664         (python-shell-prompt-alist)
7665         (python-shell-continuation-prompt-alist): New options.
7666         (python--set-prompt-regexp): New function.
7667         (inferior-python-mode, run-python, python-shell):
7668         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7669         prompt based on the Python interpreter.
7670         (python--prompt-regexp): New var.
7671         (python-check-comint-prompt)
7672         (python-comint-output-filter-function): Use it.
7673         (run-python): Use a pipe (Bug#5694).
7675 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7677         * progmodes/python.el (python-send-region): Send a different
7678         Python command if Ipython is in use.
7679         (python-check-version): Use a Python command to find the version.
7681 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7683         * mouse.el (mouse-yank-primary): Avoid setting primary when
7684         deactivating the mark (Bug#6872).
7686 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7688         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7689         with "else" (Bug#3991).
7691 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7693         * net/dbus.el: Accept UNIX domain sockets as bus address.
7694         (top): Don't initialize `dbus-registered-objects-table' anymore,
7695         this is done in dbusbind,c.
7696         (dbus-check-event): Adapt test for bus.
7697         (dbus-return-values-table, dbus-unregister-service)
7698         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7699         Adapt doc string.
7701 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7703         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7705 2010-08-22  Juri Linkov  <juri@jurta.org>
7707         * simple.el (read-extended-command): New function with the logic
7708         for `completing-read' moved to Elisp from `execute-extended-command'.
7709         Use `function-called-at-point' in `minibuffer-default-add-function'
7710         to get a command name for M-n (bug#5364, bug#5214).
7712 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7714         * startup.el (command-line-1): Issue warning for ignored arguments
7715         --unibyte, etc (Bug#6886).
7717 2010-08-22  Leo  <sdl.web@gmail.com>
7719         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7720         (ignore, bright, dim, keyword): Split list of nicknames before
7721         passing to rcirc-add-or-remove (Bug#6894).
7723 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7725         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7727 2010-08-22  Leo  <sdl.web@gmail.com>
7729         Fix buffer-list rename&refresh after killing a buffer in ido.
7730         * ido.el: Revert Óscar's.
7731         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7732         Remember the buffers at head, rather than their name.
7733         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7735 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7736             Stefan Monnier  <monnier@iro.umontreal.ca>
7738         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7739         extra backslash added to each line (bug#6890).
7741 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7743         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7745 2010-08-22  Glenn Morris  <rgm@gnu.org>
7747         * menu-bar.el (menu-bar-games-menu): Add landmark.
7749 2010-08-22  Glenn Morris  <rgm@gnu.org>
7751         * align.el (align-regexp): Make group and spacing arguments
7752         use the interactive defaults when non-interactive.  (Bug#6698)
7754         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7755         expansion, so as not to need sendmail.
7756         (mail-text-start): Remove declaration.
7757         (rmail-retry-failure): Require sendmail.
7759 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7761         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7763 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7765         * progmodes/flymake.el (flymake-start-syntax-check-process):
7766         Use `start-file-process' in order to let it run also on remote hosts.
7768 2010-08-22  Kenichi Handa  <handa@m17n.org>
7770         * files.el: Add `word-wrap' as safe local variable.
7772 2010-08-22  Glenn Morris  <rgm@gnu.org>
7774         * woman.el (woman-translate): Case matters.  (Bug#6849)
7776 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7778         * simple.el (kill-region): Doc fix (Bug#6787).
7780 2010-08-22  Glenn Morris  <rgm@gnu.org>
7782         * calendar/diary-lib.el (diary-header-line-format):
7783         Fit it to the window, not the frame.
7785 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7787         * subr.el (ignore-errors): Add debug declaration.
7789 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7791         * whitespace.el (whitespace-color-off): Remove post-command-hook
7792         locally.
7794 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7796         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7798 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7800         * cus-edit.el (custom-group-value-create): Add extra newline
7801         before end line (Bug#6876).
7803 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7805         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7806         when extending it.  Before killing on the second click, check if
7807         the buffer is the correct one.  Doc fix.
7808         (mouse-secondary-save-then-kill): Allow usage without first
7809         calling mouse-start-secondary, by defaulting to point.  Don't save
7810         an empty secondary selection.  Doc fix.
7812 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7814         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7815         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7816         New version 13.0.
7817         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7818         Adjust initialization.
7819         (whitespace-bob-marker, whitespace-eob-marker)
7820         (whitespace-buffer-changed): New vars.
7821         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7822         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7823         (whitespace-post-command-hook, whitespace-display-char-on):
7824         Adjust code.
7825         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7826         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7828 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7830         * files.el (locate-file-completion-table): Only list the .el and .elc
7831         extensions if there's no other choice (bug#5955).
7833         * facemenu.el (facemenu-self-insert-data): New var.
7834         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7835         New functions.
7836         (facemenu-add-face): Use them.
7838         * simple.el (blink-matching-open): Obey forward-sexp-function.
7840 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7842         * simple.el (prog-mode-map): New var.
7843         (prog-indent-sexp): New command.
7845         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7847         * progmodes/prolog.el (smie): Require.
7849         * emacs-lisp/smie.el (smie-default-backward-token)
7850         (smie-default-forward-token): Strip properties.
7851         (smie-next-sexp): Be more careful with associative operators.
7852         (smie-forward-sexp-command): Generalize.
7853         (smie-backward-sexp-command): Simplify.
7854         (smie-closer-alist): New var.
7855         (smie-close-block): New command.
7856         (smie-indent-debug-log): New var.
7857         (smie-indent-offset-rule): Add a few more cases.
7858         (smie-indent-column): New function.
7859         (smie-indent-after-keyword): Use it.
7860         (smie-indent-keyword): Use it.
7861         Fix up the opener code's point position.
7862         (smie-indent-comment): Only applies at BOL.
7863         (smie-indent-debug): New command.
7865         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7866         declarations that are useful before running the macro.
7868 2010-08-18  Joakim Verona  <joakim@verona.se>
7870         * image.el (imagemagick-types-inhibit): New variable.
7871         (imagemagick-register-types): New function.
7872         * image-mode.el (image-transform-properties): New function.
7873         (image-transform-set-scale, image-transform-fit-to-height)
7874         (image-transform-set-rotation, image-transform-set-resize)
7875         (image-transform-fit-to-width, image-transform-fit-to-height):
7876         New functions.
7877         (image-toggle-display-image): Support image transforms.
7879 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7881         * image.el (create-animated-image): Don't add heuristic mask to image
7882         (Bug#6839).
7884 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7886         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7887         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7889 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7891         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7893         Font-lock '...' strings, plus various simplifications and fixes.
7894         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7895         (octave-font-lock-close-quotes): New function.
7896         (octave-font-lock-syntactic-keywords): New var.
7897         (octave-mode): Use it.  Set beginning-of-defun-function.
7898         (octave-mode-map): Don't override the <foo>-defun commands.
7899         (octave-mode-menu): Pass it directly to easy-menu-define;
7900         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7901         (octave-block-match-alist): Fix up last change so that
7902         octave-close-block uses the more specific keyword.
7903         (info-lookup-mode): Silence byte-compiler.
7904         (octave-beginning-of-defun): Not interactive any more.
7905         Optimize slightly.
7906         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7907         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7908         (octave-completion-at-point-function): Make sure point is within
7909         beg..end.
7910         (octave-reindent-then-newline-and-indent):
7911         Use reindent-then-newline-and-indent.
7912         (octave-add-octave-menu): Remove.
7914 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7916         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7917         (report-emacs-bug-can-use-xdg-email): New functions.
7918         (report-emacs-bug): Set can-xdg-email to result of
7919         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7920         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7921         about it.
7923         * net/browse-url.el (browse-url-default-browser): Add cond
7924         for browse-url-xdg-open.
7925         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7927 2010-08-17  Glenn Morris  <rgm@gnu.org>
7929         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7930         (c-fontify-recorded-types-and-refs): Define for compiler.
7931         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7932         before use.
7934         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7935         Fix format call.
7937 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7939         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7940         properties.
7941         (tramp-handle-process-file): Call the program in a subshell, in
7942         order to preserve working directory.
7943         (tramp-action-password): Hide password prompt before next run.
7944         (tramp-process-actions): Widen connection buffer for the trace.
7946 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7948         * net/rcirc.el (rcirc-log-process-buffers): New option.
7949         (rcirc-print): Use it.
7950         (rcirc-generate-log-filename): New function.
7951         (rcirc-log-filename-function): Change default to
7952         rcirc-generate-log-filename (Bug#6828).
7954 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7956         * simple.el (deactivate-mark): If select-active-regions is `only',
7957         only set selection for temporarily active regions.
7959         * cus-start.el: Change defcustom for select-active-regions.
7961 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7963         * mouse.el (mouse--drag-set-mark-and-point): New function.
7964         (mouse-drag-track): Use LOCATION arg to push-mark.
7965         Use mouse--drag-set-mark-and-point to take click-count into
7966         consideration when updating point and mark (Bug#6840).
7968 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7970         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7971         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7973 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7975         * font-lock.el (lisp-font-lock-keywords-2):
7976         Add combine-after-change-calls, condition-case-no-debug,
7977         with-demoted-errors, and with-silent-modifications (Bug#6025).
7979 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7981         * emacs-lisp/copyright.el (copyright-update-year)
7982         (copyright-update): Temporary switch-to-buffer to ensure the
7983         buffer change being queried is visible (Bug#5394).
7985 2010-08-14  Tom Tromey  <tromey@redhat.com>
7987         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7988         (Bug#6733).
7990 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7992         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7993         MS-DOS.  (Bug#6689)
7995 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7997         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7998         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7999         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8000         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8001         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8002         Call menu-bar-set-tool-bar-position.
8004 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8006         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8007         comment style (bug#6834).
8008         * progmodes/scheme.el (scheme-mode-syntax-table):
8009         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8010         "b" flag in "' 14b" syntax.
8012         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8013         for (un)commenting the region and performing completion.
8014         (octave-mode-menu): Use standard commands for help and completion.
8015         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8016         (octave-mode): Use define-derived-mode.
8017         Set completion-at-point-functions and don't set columns.
8018         Don't disable adaptive-fill-regexp.
8019         (octave-describe-major-mode, octave-comment-region)
8020         (octave-uncomment-region, octave-comment-indent)
8021         (octave-indent-for-comment): Remove.
8022         (octave-indent-calculate): Rename from calculate-octave-indent.
8023         (octave-indent-line, octave-fill-paragraph): Update caller.
8024         (octave-initialize-completions): No need to make an alist.
8025         (octave-completion-at-point-function): New function.
8026         (octave-complete-symbol): Use it.
8027         (octave-insert-defun): Use define-skeleton.
8029         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8030         (octave-mode-map): Use comment-dwim (bug#6829).
8032 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
8034         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8035         indentation of inserted comment.
8037 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8039         * faces.el (region): Add type gtk that uses gtk colors.
8041         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8042         Handle theme-name change.
8044 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8046         * progmodes/sql.el: Version 2.5
8047         (sql-product-alist): Add :prompt-cont-regexp property for several
8048         database products.
8049         (sql-prompt-cont-regexp): New variable.
8050         (sql-output-newline-count, sql-output-by-send):
8051         New variables.  Record number of newlines in input text.
8052         (sql-send-string): Handle multiple filters and count newlines.
8053         (sql-send-magic-terminator): Count terminator newline.
8054         (sql-interactive-remove-continuation-prompt): Filters output to
8055         remove continuation prompts; one for each newline.
8056         (sql-interactive-mode): Set up new variables, prompt regexp and
8057         output filter.
8058         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8059         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8061 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8063         * emacs-lisp/pcase.el: New file.
8065 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8067         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8068         as here-document, otherwise the command could exceed maximum
8069         length of command line.
8070         (tramp-handle-vc-registered): Call script accordingly.
8071         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8073 2010-08-10  Kenichi Handa  <handa@m17n.org>
8075         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8076         composable pattern.
8078 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8080         * emacs-lisp/package.el (package-version-split)
8081         (package--version-first-nonzero, package-version-compare):
8082         Functions removed.
8083         (package-directory-list, package-load-all-descriptors)
8084         (package--built-in, package-activate, define-package)
8085         (package-installed-p, package-compute-transaction)
8086         (package-read-all-archive-contents)
8087         (package--add-to-archive-contents, package-buffer-info)
8088         (package-tar-file-info, package-list-packages-internal):
8089         Use version-to-list and version-list-*.
8091         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8092         Use version-to-list.
8093         (package-upload-buffer-internal): Use version-list-<=.
8095 2010-08-09  Kenichi Handa  <handa@m17n.org>
8097         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8098         composable pattern.
8100 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8102         * tutorial.el (tutorial--default-keys): C-d is now bound to
8103         delete-forward-char (Bug#6826).
8105         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8106         for `double' value of mouse-1-click-follows-link (Bug#6807).
8108 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8110         * replace.el (replace-highlight): Bind isearch-forward and
8111         isearch-error, ensuring that highlighting is updated if the user
8112         switches the search direction (Bug#6808).
8114         * isearch.el (isearch-lazy-highlight-forward): New var.
8115         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8116         (isearch-lazy-highlight-update): Use it.
8118 2010-08-08  Kenichi Handa  <handa@m17n.org>
8120         * international/mule.el (define-charset): Store NAME as :base property.
8121         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8122         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8123         current priority.  Force using the designation of the specific
8124         charset by adding `charset' text property.  Improve the whole algorithm.
8126 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8128         * emulation/pc-select.el (pc-selection-mode-hook)
8129         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8130         (pc-selection-mode): Fix typos in docstrings.
8132 2010-08-08  Kenichi Handa  <handa@m17n.org>
8134         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8135         ctext-non-standard-encodings-alist here.
8137         * international/mule.el (ctext-non-standard-encodings-alist):
8138         Add "koi8-r" and "microsoft-cp1251".
8139         (ctext-standard-encodings): New variable.
8140         (ctext-non-standard-encodings-table): List only elements for
8141         non-standard encodings.
8142         (ctext-pre-write-conversion): Adjust for the above change.
8143         Check ctext-standard-encodings.
8145         * international/mule-conf.el (compound-text): Doc fix.
8146         (ctext-no-compositions): Doc fix.
8147         (compound-text-with-extensions): Doc fix.
8149 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8153 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8155         * progmodes/which-func.el (which-func-format): Split help-echo text
8156         into lines, like other mode-line tooltips.
8158         * server.el (server-start): When using TCP sockets, force IPv4
8159         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8161 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8163         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8165 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8167         * term.el (term-delimiter-argument-list): Reflow docstring.
8168         (term-read-input-ring, term-write-input-ring, term-send-input)
8169         (term-bol, term-erase-in-display, serial-supported-or-barf):
8170         Fix typos in docstrings.
8172 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8174         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8176 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8178         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8180 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8182         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8183         Fix typo in docstring (bug#6747).
8185 2010-08-08  Leo  <sdl.web@gmail.com>
8187         * eshell/esh-io.el (eshell-get-target): Better detection of
8188         read-only file (Bug#6762).
8190 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8192         * align.el (align-default-spacing): Doc fix.
8193         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8195 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8197         * calendar/icalendar.el
8198         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8199         (icalendar--get-weekday-numbers): New.
8200         (icalendar--convert-recurring-to-diary): Handle multiple byday
8201         values in weekly rules.  (Bug#6766)
8203 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8205         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8206         (icalendar--create-uid, icalendar-export-region)
8207         (icalendar--parse-summary-and-rest): Code formatting.
8209 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8211         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8212         to italicize headers.
8213         (calc-highlight-selections-with-faces): New variable.
8214         (calc-selected-face, calc-nonselected-face): New faces.
8216         * calc/calccomp.el (math-comp-highlight-string): Use
8217         `calc-highlight-selections-with-faces' to determine how to highlight
8218         sub-formulas.
8220         * calc/calc-sel.el (calc-show-selections): Change message to when
8221         using faces to highlight selections.
8223 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8225         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8226         Add SQLite 3 keywords, functions and datatypes.
8227         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8228         (Bug#6686).
8230 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8232         * simple.el (select-active-regions): Move to keyboard.c.
8233         (deactivate-mark): Used saved-region-selection.
8234         (select-active-region): Function removed.
8235         (activate-mark, set-mark, push-mark-command)
8236         (handle-shift-selection): Don't call it.
8237         (keyboard-quit): Avoid adding the region to the window selection.
8239         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8240         select-active-regions implementation.
8241         (mouse-yank-at-click): Doc fix.
8243         * cus-start.el: Add custom declaration for select-active-regions.
8245 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8247         * simple.el (delete-forward-char): Doc fix.
8249         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8250         after reading the tutorial.
8252 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8254         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8255         Fix for the case that a C style comment has its delimiters alone on
8256         their respective lines.
8258 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8260         * net/tramp.el (tramp-handle-start-file-process): Set connection
8261         property "vec".
8262         (tramp-process-sentinel): Use it for flushing the cache.
8263         We cannot do it via the process buffer, the buffer could be deleted
8264         already when running the sentinel.
8266 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8268         * comint.el (comint-mode): Make directory tracking functions
8269         functional on remote files.  (Bug#6764)
8271 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8273         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8275 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8277         * emacs-lisp/find-gc.el (find-gc-source-files):
8278         Rename unexec.c => unexcoff.c.
8280         * emacs-lisp/authors.el (authors-fixed-entries):
8281         Rename unexec.c => unexcoff.c.
8283 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8285         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8286         cache, not only file cache.
8287         (tramp-process-sentinel): New defun.
8288         (tramp-handle-start-file-process): Use it, in order to invalidate
8289         file caches.
8291 2010-08-03  Leo  <sdl.web@gmail.com>
8293         * server.el (server-start): Simplify loop.
8295 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8297         * frame.el (screen-height, screen-width, set-screen-width)
8298         (set-screen-height): Remove ancient compatibility aliases.
8300         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8301         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8303         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8304         that change current buffer.
8306 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8308         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8309         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8311 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8313         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8315 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8317         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8318         (package--builtins): Tweak descriptions.
8319         (package-print-package): Upcase descriptions if necessary.
8320         Show all built-in packages in font-lock-builtin-face.
8321         (package-list-packages-internal): Omit "emacs" package.
8322         Show status of built-in packages as "built-in".
8324 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8326         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8327         before killing to preserve the primary selection (Bug#6701).
8329         * term/x-win.el (x-select-text): Doc fix.
8331 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8333         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8334         (objc-font-lock-extra-types):
8335         * progmodes/cc-mode.el (c-basic-common-init):
8336         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8337         (c++-make-template-syntax-table)
8338         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8339         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8340         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8341         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8342         * progmodes/cc-fonts.el (c-make-inverse-face)
8343         (c-basic-matchers-after):
8344         * progmodes/cc-engine.el (c-forward-keyword-clause)
8345         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8346         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8347         (c-guess-continued-construct, c-guess-basic-syntax):
8348         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8349         The above functions were modified or created.
8351 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8353         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8355 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8357         * files.el (bidi-paragraph-direction): Define safe local values.
8359         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8360         language-info-alist.  Remove outdated FIXME in a comment.
8362 2010-07-31  Alan Mackenzie  <acm@muc.de>
8364         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8365         Auto-fill broken in C/C++ modes.
8367 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8369         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8370         (menu-bar-showhide-tool-bar-menu-customize-disable)
8371         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8372         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8373         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8374         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8375         make a menu for Options => toolbar that can move it.
8377 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8379         * emacs-lisp/package-x.el (package--make-rss-entry):
8380         (package-maint-add-news-item, package--update-news)
8381         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8383         * emacs-lisp/package.el (package-archive-url): Rename from
8384         package-archive-id.
8385         (package-install): Doc fix.
8386         (package-download-single, package-download-tar, package-install)
8387         (package-menu-view-commentary): Callers changed.
8389 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8391         * net/tramp.el (tramp-handle-start-file-process): Check only for
8392         `remote-tty' process property.
8393         (tramp-open-shell): Don't check for tty.
8394         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8395         process property.
8397         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8398         host.
8400 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8402         * emacs-lisp/package.el (package-load-list, package-archives)
8403         (package-archive-contents, package-user-dir)
8404         (package-directory-list, package--builtins, package-alist)
8405         (package-activated-list, package-obsolete-alist): Mark as risky.
8407 2010-07-28  Phil Hagelberg  <phil@evri.com>
8409         Add support for non-default package repositories.
8410         * emacs-lisp/package.el (package-archive-base): Var deleted.
8411         (package-archives): New variable.
8412         (package-archive-contents): Doc fix.
8413         (package-load-descriptor): Do nothing if descriptor file is missing.
8414         (package--write-file-no-coding): New function.
8415         (package-unpack-single): Use it.
8416         (package-archive-id): New function.
8417         (package-download-single, package-download-tar)
8418         (package-menu-view-commentary): Use it.
8419         (package-installed-p): Make second argument optional.
8420         (package-read-all-archive-contents): New function.
8421         (package-initialize): Use it.
8422         (package-read-archive-contents): Add ARCHIVE argument.
8423         (package--add-to-archive-contents): New function.
8424         (package-install): Don't call package-read-archive-contents.
8425         (package--download-one-archive): Store archive file in a
8426         subdirectory of package-user-dir.
8427         (package-menu-execute): Remove spurious line movement.
8429 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8431         * cus-start.el (tool-bar-style): Add text-image-horiz.
8433 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8435         * progmodes/gud.el (gud-common-init): Check for remoteness of
8436         `file', and not of `default-directory'.
8438 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8440         * net/tramp.el (tramp-methods): Move hostname to the end in all
8441         ssh `tramp-login-args'.
8442         (tramp-verbose): Describe verbose level 9.
8443         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8444         (tramp-open-connection-setup-interactive-shell): Trace stty
8445         settings if `tramp-verbose' >= 9.
8446         (tramp-handle-start-file-process): Implement tty setting.
8447         (Bug#4604, Bug#6360)
8449         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8450         `tramp-verbose' to 9.
8452 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8454         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8455         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8456         Remove references to package `lisp-re' (bug#4369).
8458 2010-07-27  Tom Tromey  <tromey@redhat.com>
8460         * progmodes/js.el (js-mode):
8461         * progmodes/make-mode.el (makefile-mode):
8462         * progmodes/simula.el (simula-mode):
8463         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8465 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8467         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8469         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8470         (display-time-world-buffer-name, display-time-world-mode-map):
8471         Fix typos in docstrings.
8473 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8475         * image-mode.el (image-display-size): New function.
8476         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8477         (image-mode-fit-frame): Use it (Bug#6639).
8479 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8481         * dired.el (dired-buffers-for-dir): Handle list values of
8482         dired-directory (Bug#6636).
8484 2010-07-26  Sam Steingold  <sds@gnu.org>
8486         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8487         Do not call `x-get-selection' the second time, reuse the value.
8489 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8491         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8492         which consist of control chars only.  Suggested by Richard Stallman.
8494 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8496         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8497         exists before passing an error to find-file-not-found-functions
8498         (bug#6723).
8500 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8502         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8503         Remove leading nil element, adjust values.
8504         (tetris-shapes, tetris-shape-scores):
8505         Change representation of shapes and remove some redundancy.
8506         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8507         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8508         Adjust for working with new representation of shapes.
8509         (tetris-shape-rotations): New function.
8510         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8511         (tetris-rotate-prev, tetris-rotate-next):
8512         Adjust for working with the new version of tetris-test-shape.
8514 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8516         * progmodes/ps-mode.el: Use comint (bug#5954).
8517         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8518         (ps-mode-other-newline): Simplify.
8519         (ps-run-mode): Derive from comint-mode instead of
8520         fundamental-mode, yielding input history etc.
8521         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8522         (ps-run-send-string): Adapt for comint-mode.
8523         (ps-run-newline): Remove now unneeded function.
8525 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8527         * net/tramp.el (tramp-methods): Move hostname to the end in all
8528         plink `tramp-login-args'.
8530 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8532         * net/tramp.el (tramp-open-shell): New defun.
8533         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8534         Use it.
8536 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8538         * net/tramp.el (tramp-file-name-regexp-unified)
8539         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8540         not regard the volume letter as remote filename.  (Bug#5447)
8542 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8544         * custom.el (custom-declare-variable): Give a clearer error message
8545         when the docstring is missing (bug#6476).
8547 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8549         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8550         (sql-login-params): New widget definition.
8551         (sql-oracle-login-params, sql-mysql-login-params)
8552         (sql-solid-login-params, sql-sybase-login-params)
8553         (sql-informix-login-params, sql-ingres-login-params)
8554         (sql-ms-login-params, sql-postgres-login-params)
8555         (sql-interbase-login-params, sql-db2-login-params)
8556         (sql-linter-login-params): Use it.
8557         (sql-sqlite-login-params): Use it; Define "database" parameter as
8558         a file name.
8559         (sql-sqlite-program): Change to "sqlite3".
8560         (sql-comint-sqlite): Make sure database name is complete.
8561         (sql-for-each-login): New function.
8562         (sql-connect, sql-save-connection): Use it.
8563         (sql-get-login-ext): New function.
8564         (sql-get-login): Use it.
8565         (sql-make-alternate-buffer-name): Handle :file parameters.
8567 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8569         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8570         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8572 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8574         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8576 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8578         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8580 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8582         * net/tramp.el (tramp-get-ls-command)
8583         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8584         instead of "/".
8586 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8588         * progmodes/sql.el: Version 2.3.
8589         (sql-connection-alist): Change keys from symbols to strings;
8590         enhanced the widget definition.
8591         (sql-mode-menu): Add submenu to select connections.
8592         (sql-interactive-mode-menu): Add "Save Connection" item.
8593         (sql-add-product): Fix menu item.
8594         (sql-get-product-feature): Improved error handling.
8595         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8596         (sql-make-alternate-buffer-name): Simplified.
8597         (sql-product-interactive): Handle missing product.
8598         (sql-connect): Support string keys, minor improvements.
8599         (sql-save-connection): New function.
8600         (sql-connection-menu-filter): New function.
8602 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8604         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8605         (tramp-open-connection-setup-interactive-shell):
8606         Apply workaround for IRIX64 bug.  Move argument of last
8607         `tramp-send-command' where it belongs to.
8609 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8611         * net/tramp.el (tramp-perl-file-attributes)
8612         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8613         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8614         front of `login-args'.
8616 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8618         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8619         Set `show-trailing-whitespace' to nil.
8620         (display-time-world-display): Simplify.
8622 2010-07-18  Alan Mackenzie  <acm@muc.de>
8624         Enhance `c-file-style' in file/directory local variables.
8625         * progmodes/cc-mode.el (c-count-cfss): New function.
8626         (c-before-hack-hook): Call `c-set-style' differently according to
8627         whether c-file-style was set in file or directory local
8628         variables.
8630 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8632         * progmodes/sql.el: Version 2.2.
8633         (sql-product, sql-user, sql-database, sql-server, sql-port):
8634         Use defcustom :safe keyword rather than putting safe-local-variable
8635         property.
8636         (sql-password): Use defcustom :risky keyword rather than putting
8637         risky-local-variable property.
8638         (sql-oracle-login-params, sql-sqlite-login-params)
8639         (sql-solid-login-params, sql-sybase-login-params)
8640         (sql-informix-login-params, sql-ingres-login-params)
8641         (sql-ms-login-params, sql-postgres-login-params)
8642         (sql-interbase-login-params, sql-db2-login-params)
8643         (sql-linter-login-params): Add `port' option.
8644         (sql-get-product-feature): Add NO-INDIRECT parameter.
8645         (sql-comint-oracle, sql-comint-sybase)
8646         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8647         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8648         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8649         (sql-comint-linter): Rename sql-connect-* functions to
8650         sql-comint-*.
8651         (sql-product-alist, sql-mode-menu): Rename as above and
8652         :sqli-connect-func to :sqli-comint-func.
8653         (sql-connection): New variable.
8654         (sql-interactive-mode): Set it.
8655         (sql-connection-alist): New variable.
8656         (sql-connect): New function.
8657         (sql--alt-buffer-part, sql--alt-if-not-empty)
8658         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8660 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8662         * image-mode.el (image-bookmark-make-record): Do not set context
8663         in an image (Bug#6650).
8665 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8667         * simple.el (select-active-region): New function.
8668         (push-mark-command, set-mark, activate-mark)
8669         (handle-shift-selection): Use it.
8670         (deactivate-mark): Don't check for size of region.
8672         * mouse.el (mouse-drag-track): Use select-active-region.
8674 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8676         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8677         "--dired" stronger.
8679 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8681         * term/x-win.el (x-select-enable-primary): Change default to nil.
8682         (x-select-enable-clipboard): Add :version keyword.
8684         * mouse.el (mouse-drag-copy-region):
8685         * simple.el (select-active-regions): Likewise.
8687 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8689         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8690         (vc-coding-system-for-diff): Use it to decide whether to inherit
8691         from the file the EOL format for reading the diffs of that file.
8692         (Bug#4451)
8694 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8696         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8697         unibyte, so compressed attachments are not compressed again.
8699 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8701         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8702         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8703         (tramp-find-shell): Simplify setting connection property.
8704         (tramp-get-ls-command): Make test for "--color=never" stronger.
8706 2010-07-15  Simon South  <ssouth@member.fsf.org>
8708         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8709         blocks within record declarations (i.e. variant parts) correctly.
8711 2010-07-15  Simon South  <ssouth@member.fsf.org>
8713         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8714         over literal tokens when parsing so newlines aren't "absorbed" by
8715         single-line comments.  Corrects the indentation of case blocks
8716         that have a comment on the first line.
8718 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8720         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8721         by Drew Adams (Bug#5504).
8723 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8725         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8726         now that Unicode is used (Bug#6594).
8728 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8730         * term/x-win.el (x-select-enable-clipboard): Default to t.
8731         (x-initialize-window-system): Don't overwrite Paste menu item.
8733         * simple.el (select-active-regions): Default to t.
8734         (push-mark-command): Don't overwrite primary with empty string.
8736         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8737         (mouse-drag-copy-region): Default to nil.
8739         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8740         Cut/Copy/Paste menu bar items.
8742 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8744         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8745         Patch applied by Karl Fogel.
8747         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8748         and `bookmark-current-buffer' if they have been already set in
8749         another buffer (e.g gnus-art).
8751 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8752             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8754         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8756         * bookmark.el (bookmark-make-record-default): Allow unneeded
8757         information to be omitted from the record.
8759         Adjust declarations and calls:
8761         * info.el (bookmark-make-record-default): Adjust declaration.
8762         (Info-bookmark-make-record): Adjust call.
8764         * woman.el (bookmark-make-record-default): Adjust declaration.
8765         (woman-bookmark-make-record): Adjust call.
8767         * man.el (bookmark-make-record-default): Adjust declaration.
8768         (Man-bookmark-make-record): Adjust call.
8770         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8772         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8774 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8776         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8777         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8778         because it was extraneous to the functional change in that patch,
8779         and causes a re-indendation, I am committing it separately.
8781 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8783         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8784         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8785         Patch applied by Karl Fogel (Bug#6444).
8787 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8789         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8791 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8793         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8794         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8795         (ns-alternatives-map): Change S-tab binding to backtab
8796         (bug#6616).
8798         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8799         under ns.
8801 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8803         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8804         (Bug#5806)
8806         * language/tv-util.el (tai-viet-re): Remove format.
8808 2010-07-12  Kenichi Handa  <handa@m17n.org>
8810         * language/hebrew.el: Remove no-byte-compile declaration.
8811         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8812         composition-function-table for 3-character looking back.
8813         (hebrew-font-get-precomposed): New function.
8814         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8816 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8818         * mouse.el (mouse-drag-track): Handle select-active-regions
8819         (Bug#6612).
8821 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8823         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8824         empty argument to gvfs-copy.
8826 2010-07-10  Glenn Morris  <rgm@gnu.org>
8828         * calendar/calendar.el (calendar-week-end-day): New function.
8829         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8830         Respect calendar-week-start-day.  (Bug#6606)
8831         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8832         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8833         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8834         respect calendar-week-start-day.
8836 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8838         * simple.el (use-region-p): Doc fix (Bug#6607).
8840 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8842         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8843         Add regexps for cucumber and ruby.
8845 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8847         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8848         (epa-file-insert-file-contents): Hack to prevent
8849         find-file from opening empty buffer when decryption failed
8850         (bug#6568).
8852 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8854         * textmodes/ispell.el (ispell-alternate-dictionary):
8855         Use file-readable-p.
8856         Return nil if no word-list is found at default locations.
8857         (ispell-complete-word-dict): Default to nil.
8858         (ispell-command-loop): Use 'word-list' when using lookup-words.
8859         (lookup-words): Use ispell-complete-word-dict or
8860         ispell-alternate-dictionary.  Check for word-list availability
8861         and handle errors if needed with better messages (Bug#6539).
8862         (ispell-complete-word): Use ispell-complete-word-dict or
8863         ispell-alternate-dictionary.
8865 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8867         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8868         builtins (BufferError, BytesWarning, WindowsError; callables
8869         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8871 2010-07-07  Glenn Morris  <rgm@gnu.org>
8873         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8874         (zone-shift-left): Ignore intangibility, and any errors from
8875         forward-char.
8876         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8877         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8878         deleting, and copying text properties.
8879         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8880         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8881         to point-max is hard.
8882         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8883         (zone-fill-out-screen): Ignore intangibility.
8885 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8887         * menu-bar.el (menu-bar-mode):
8888         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8889         if it has been set.
8891         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8892         word/line selection (Bug#6565).
8894 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8896         * net/dbus.el (dbus-send-signal): Declare function.
8898 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8900         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8901         (dbus-register-property): New optional argument EMITS-SIGNAL.
8902         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8904 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8906         * mouse.el (mouse-drag-overlay): Variable deleted.
8907         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8908         (mouse--remap-link-click-p): New function.
8909         (mouse-drag-track): Handle dragging by using temporary Transient
8910         Mark mode, instead of a special overlay.
8911         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8912         mouse-show-mark.
8914         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8915         deleted.
8917 2010-07-02  Juri Linkov  <juri@jurta.org>
8919         * autoinsert.el (auto-insert-alist): Fix readability
8920         by using dotted pair notation for lambda.
8922 2010-07-02  Juri Linkov  <juri@jurta.org>
8924         * faces.el (read-face-name): Rename arg `string-describing-default'
8925         to `default'.  Doc fix.  Display the default value in quotes
8926         in the prompt.  With empty input, return the `default' arg,
8927         unless the default value is a string (in which case return nil).
8928         (describe-face): Replace the string `default' arg of `read-face-name'
8929         with the symbol `default'.
8931 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8933         * emulation/viper-cmd.el (viper-delete-backward-char)
8934         (viper-del-backward-char-in-insert)
8935         (viper-del-backward-char-in-replace, viper-change)
8936         (viper-backward-indent): Replace delete-backward-char with
8937         delete-char (Bug#6552).
8939 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8941         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8943 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8945         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8946         argument passed to frame-creation-function (Bug#5378).
8948         * faces.el (x-handle-named-frame-geometry)
8949         (x-handle-reverse-video, x-create-frame-with-faces)
8950         (face-set-after-frame-default, tty-create-frame-with-faces):
8951         Don't separately consult default-frame-alist.  It is now passed as the
8952         PARAMETER argument.
8954 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8956         * startup.el (command-line): Don't call tool-bar-setup in a
8957         tty-only build.
8959 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8961         * ruler-mode.el (ruler--save-header-line-format): New fun.
8962         (ruler-mode): Use it as a setter function, so as not to overwrite
8963         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8965 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8967         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8968         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8969         (vc-log-outgoing): Use it.
8970         (vc-diff-internal): Set diff-vc-backend.
8972         * vc/diff-mode.el (diff-vc-backend): New var.
8974 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8976         * dynamic-setting.el (font-setting-change-default-font):
8977         Remove call to message.
8979 2010-06-28  Kenichi Handa  <handa@m17n.org>
8981         * international/quail.el (quail-insert-kbd-layout): Fix the
8982         showing of untranslated characters.
8984 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8986         * simple.el (delete-active-region): New option.
8987         (delete-backward-char): Implement in Lisp.
8988         (delete-forward-char): New command.
8990         * mouse.el (mouse-region-delete-keys): Delete.
8991         (mouse-show-mark): Simplify.
8993         * bindings.el (global-map): Bind delete and DEL, the former to
8994         delete-forward-char.
8996 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8998         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8999         (ruby-mode): Bind indent-line-function (Bug#5119).
9001 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9003         * startup.el (command-line): Recognize "0" X resource value.
9005 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9007         * startup.el (command-line): Use X resources to set the value of
9008         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9010         * menu-bar.el (menu-bar-mode):
9011         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9012         Set init-value to t.
9014         * frame.el (frame-notice-user-settings): Don't change
9015         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9016         vice versa (Bug#2249).
9018 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9020         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9022 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9024         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9025         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9027         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9028         default directories are expanded (Bug#6143).
9030 2010-06-24  Juri Linkov  <juri@jurta.org>
9032         * minibuffer.el (completions-format): Change default from nil to
9033         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9035 2010-06-24  Juri Linkov  <juri@jurta.org>
9037         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9038         buffer-locally to lambda that re-runs the vc diff command.
9039         (Bug#6447)
9041 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9043         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9044         echo area is in use (Bug#3412).
9046 2010-06-22  Glenn Morris  <rgm@gnu.org>
9048         * textmodes/texinfmt.el (texinfo-format-region)
9049         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9050         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9051         (texinfo-format-option, texinfo-noindent):
9052         Use line-beginning-position and line-end-position.
9054         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9055         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9056         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9057         utf-8 characters.
9059 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9061         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9062         forward-line fallout.
9064 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9066         * mouse.el (mouse-appearance-menu): Add docstring.
9068         * help.el (describe-key): Print up-event using key-description.
9070 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9072         * net/zeroconf.el (zeroconf-resolve-service)
9073         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9074         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9076 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9078         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9080 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9082         Avoid displaying files with a nil state in vc-dir.
9083         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9084         cases that cause insertion.
9085         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9086         with a nil state.
9088 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9090         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9092 2010-06-29  Leo  <sdl.web@gmail.com>
9094         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9096 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9098         * generic-x.el (bat-generic-mode): Fix regexp for command line
9099         switches (Bug#5719).
9101 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9103         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9104         of nconc to avoid pure storage error (Bug#6239).
9106 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9108         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9109         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9110         bindings of bookmark-automatically-show-annotations (Bug#6515).
9112 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9114         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9115         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9117 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9119         * comint.el (make-comint, make-comint-in-buffer): Mention return
9120         value in the docstrings.  (Bug#6498)
9122 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9124         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9125         since it is not present when using some non-default switches.
9127 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9129         * simple.el (compose-mail): Fix doc string to refer to
9130         `compose-mail-user-agent-warnings', instead of to the
9131         nonexistent `compose-mail-check-user-agent'.
9133 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9135         Fix an indentation bug:
9137         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9138         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9139         of existing values.
9141         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9142         (c-clear->-pair-props-if-match-before): now return t when they've
9143         cleared properties, nil otherwise.
9144         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9145         by taking account of the existing value.
9147         * progmodes/cc-defs.el
9148         (c-clear-char-property-with-value-function): Fix this to clear the
9149         property rather than overwriting it with nil.
9151 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9153         * emacs-lisp/package.el (package-print-package): Add link to
9154         package description via describe-package.
9155         (describe-package-1): List package requirements.  Add button to
9156         perform installation.
9157         (package-menu-describe-package): New command.
9159         * help-mode.el (help-package): New button type.
9161 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9163         * emacs-lisp/package.el: Move package-list-packages binding to
9164         menu-bar.el.
9165         (describe-package, describe-package-1, package--dir): New funs.
9166         (package-activate-1): Use package--dir.
9168         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9170         * help-mode.el (help-package-def): New button type.
9172         * menu-bar.el: Move package-list-packages binding here from
9173         package.el.
9175 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9177         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9179 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9181         * emacs-lisp/edebug.el (edebug-read-list):
9182         Phase out old-style backquotes.
9184 2010-06-17  Juri Linkov  <juri@jurta.org>
9186         * help-mode.el (help-mode): Set buffer-local variable
9187         revert-buffer-function to help-mode-revert-buffer.
9188         (help-mode-revert-buffer): New function.
9190         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9191         before popping to "*info*" (like in other Info functions).
9192         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9193         old-history-forward.  Pop to old-buffer-name or "*info*" to
9194         recreate the killed buffer.  Set Info-history-forward from
9195         old-history-forward.
9196         (Info-breadcrumbs-depth): Add :group and :version.
9198 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9200         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9202 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9204         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9205         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9207 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9209         * emacs-lisp/package.el (package-menu-mode-map):
9210         Move initialization into declaration.
9212         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9214 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9216         * emacs-lisp/package.el (package-archive-base): Point to
9217         elpa.gnu.org.
9218         (package-enable, package-load-list): New defcustoms.
9219         (package-user-dir, package-directory-list): Turn into defcustoms.
9220         Don't include package-user-dir in package-directory-list.
9221         (package--builtins-base): Don't include Emacs as a "package".
9222         (package-subdirectory-regexp): New var.
9223         (package-load-all-descriptors, package-compute-transaction)
9224         (package-download-transaction): Obey package-load-list.
9225         (package-activate-1): Rename from package-do-activate.
9226         (package-list-packages-internal): Check package-load-list.
9227         (package-load-descriptor, package-generate-autoloads)
9228         (package-unpack, package-unpack-single)
9229         (package--read-archive-file, package-delete):
9230         Use expand-file-name.
9232         * emacs-lisp/package-x.el: New file.  Package uploading
9233         functionality split out from package.el.
9235         * startup.el (command-line): Load packages after reading init file.
9237 2010-06-17  Tom Tromey  <tromey@redhat.com>
9239         * emacs-lisp/package.el: New file.
9241 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9243         Fix vc-annotate for renamed files when using Git.
9244         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9245         ls-files.  Doe not pass the object as a file name to cat-file, it
9246         is not a file name.
9247         (vc-git-annotate-command): Pass the file name using -- to avoid
9248         ambiguity with the revision.
9249         (vc-git-previous-revision): Pass a relative file name.
9251 2010-06-22  Glenn Morris  <rgm@gnu.org>
9253         * progmodes/js.el (js-mode-map): Use standard capitalization and
9254         ellipses for menu entries.
9256         * wid-edit.el (widget-complete): Doc fix.
9258 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9260         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9262 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9264         Fix annotating other revisions for renamed files in vc-annotate.
9265         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9266         VC backend.  Use it when non-nil.
9267         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9268         (Bug#6487).
9270         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9271         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9272         Do not pass the file name to the 'previous-revision call when we
9273         don't want a file diff.  (Bug#6489)
9275 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9277         Fix finding revisions for renamed files in vc-annotate.
9278         * vc/vc.el (vc-find-revision): Add an optional argument for
9279         the VC backend.  Use it when non-nil.
9280         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9281         backend to vc-find-revision.  (Bug#6487)
9283 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9285         Fix reading file names in Git annotate buffers.
9286         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9287         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9289 2010-06-20  Alan Mackenzie  <acm@muc.de>
9291         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9292         in file local variables, set it first.
9294 2010-06-19  Glenn Morris  <rgm@gnu.org>
9296         * descr-text.el (describe-char-unicode-data): Insert separating
9297         space when needed.  (Bug#6422)
9299         * progmodes/idlwave.el (idlwave-action-and-binding):
9300         Fix typo in 2009-12-03 change.  (Bug#6450)
9302 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9304         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9305         handling for `lambda' (misunderstanding).
9307 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9309         * calc/calc-poly.el (math-accum-factors): Make sure that
9310         constants aren't distributed after they are factored out.
9312 2010-06-16  Juri Linkov  <juri@jurta.org>
9314         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9315         `list-colors-print'.  (Bug#6332)
9317         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9319 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9321         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9322         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9324         * font-lock.el (font-lock-major-mode): Rename from
9325         font-lock-mode-major-mode to distinguish it from
9326         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9327         (font-lock-set-defaults):
9328         * font-core.el (font-lock-default-function): Adjust users.
9329         (font-lock-mode): Don't set it at all.
9331 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9333         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9335 2010-06-16  Glenn Morris  <rgm@gnu.org>
9337         * calendar/appt.el (appt-time-msg-list): Doc fix.
9338         (appt-check): Let-bind appt-warn-time.
9339         (appt-add): Make the 3rd argument optional.
9340         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9341         Only add WARNTIME to the output list if non-nil.
9343 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9345         * calendar/appt.el (appt-check): Let the 3rd element of
9346         appt-time-msg-list specify the warning time.
9347         (appt-add): Add new argument with the warning time.  (Bug#5176)
9349 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9351         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9352         older than version 1.6.  (Bug#6361)
9354 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9356         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9357         used by cl-do-arglist.  (Bug#6408)
9359 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9361         * textmodes/ispell.el (ispell-dictionary-base-alist):
9362         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9363         Suggested by Rolando Pereira (bug#6434).
9365 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9367         * facemenu.el (list-colors-sort): Doc fix.
9369 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9371         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9373 2010-06-14  Juri Linkov  <juri@jurta.org>
9375         Add sort option `list-colors-sort'.  (Bug#6332)
9376         * facemenu.el (color-rgb-to-hsv): New function.
9377         (list-colors-sort): New defcustom.
9378         (list-colors-sort-key): New function.
9379         (list-colors-display): Doc fix.  Sort list according to the option
9380         `list-colors-sort'.
9381         (list-colors-print): Add HSV values to `help-echo' property of
9382         RGB strings.
9384 2010-06-14  Juri Linkov  <juri@jurta.org>
9386         * compare-w.el: Move to the "vc" subdirectory.
9388 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9390         * image-mode.el (image-mode-map): Remap left-char and right-char.
9392         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9394 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9396         * term/common-win.el (x-colors): Add all the color names defined
9397         in rgb.txt (Bug#6332).
9399         * facemenu.el (list-colors-print): Don't print extra names if it
9400         will overflow the window width.
9402         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9403         change (Bug#6343).
9405 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9407         * files.el (make-directory): Doc fix (bug#6396).
9409 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9411         * net/tramp.el (tramp-remote-process-environment): Protect version
9412         string by apostroph.
9413         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9414         XEmacs.
9415         (tramp-file-name-for-operation): Add `call-process-region'.
9416         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9418         * net/tramp-compat.el (top): Do not autoload
9419         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9420         only when `start-file-process' is not bound.
9421         (tramp-advice-file-expand-wildcards): Do not use
9422         `tramp-handle-file-remote-p'.
9423         (tramp-compat-make-temp-file): Handle the case, that
9424         `make-temp-file' has no third argument EXTENSION.
9426 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9428         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9430         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9432 2010-06-11  Juri Linkov  <juri@jurta.org>
9434         * finder.el (finder-known-keywords): Add keyword "vc"
9435         for version control.
9437         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9438         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9439         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9440         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9442 2010-06-11  Juri Linkov  <juri@jurta.org>
9444         Move version control related files to the "vc" subdirectory.
9445         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9446         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9447         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9448         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9449         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9450         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9451         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9452         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9453         Move files to the "vc" subdirectory.
9455 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9457         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9458         (Bug#6367).
9460 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9462         * shell.el: Bind `shell-resync-dirs' to M-RET.
9464 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9466         * notifications.el: Move file from lisp/net, because it is
9467         supposed to talk locally to the user.
9469 2010-06-10  Julien Danjou  <julien@danjou.info>
9471         * net/notifications.el (notifications-on-action-signal)
9472         (notifications-on-closed-signal): Pass notification id as first
9473         argument to the callback functions.  Add docstrings.
9474         (notifications-notify): Fix docstring.
9476 2010-06-10  Glenn Morris  <rgm@gnu.org>
9478         * emacs-lisp/authors.el (authors-ignored-files)
9479         (authors-valid-file-names): Add some files.
9481 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9483         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9484         merge conflict, giving preference to the emacs-23 version of the code.
9486 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9488         * emacs-lisp/advice.el (ad-compile-function):
9489         Define warning-suppress-types before we let-bind it (bug#6275).
9491         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9492         declare it, make it buffer-local and permanent-local (bug#6324).
9493         (vc-resynch-window): Adjust name.
9494         * vc-hooks.el (vc-find-file-hook): Adjust name.
9496 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9498         * net/notifications.el (notifications-notify): Fix docstring.
9500 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9502         Update to Unicode 6.0.0 beta.
9503         * international/charprop.el: Update copyright.
9504         * international/mule-cmds.el (ucs-names): Update character ranges.
9505         * international/uni-bidi.el:
9506         * international/uni-category.el:
9507         * international/uni-combining.el:
9508         * international/uni-comment.el:
9509         * international/uni-decimal.el:
9510         * international/uni-decomposition.el:
9511         * international/uni-digit.el:
9512         * international/uni-lowercase.el:
9513         * international/uni-mirrored.el:
9514         * international/uni-name.el:
9515         * international/uni-numeric.el:
9516         * international/uni-old-name.el:
9517         * international/uni-titlecase.el:
9518         * international/uni-uppercase.el: Regenerate.
9520 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9522         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9523         (smie-precs-precedence-table): Fix typo in docstring.
9525         * vc-mtn.el (log-edit-extract-headers): Declare function.
9527         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9529         * net/notifications.el (dbus-register-signal): Declare function.
9530         (notifications-notify): Fix typos and reflow docstring.
9532 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9534         Improve VC create/retrieve tag/branch.
9535         * vc.el (vc-create-tag): Do not read the directory name for VCs
9536         with repository revision granularity.  Adjust the tag/branch
9537         prompt.  Reset VC properties.
9538         (vc-retrieve-tag): Do not read the directory name for VCs
9539         with repository revision granularity.  Reset VC properties.
9541 2010-06-09  Julien Danjou  <julien@danjou.info>
9543         * net/notifications.el: New file.
9545 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9547         Add optional support for resetting VC properties.
9548         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9549         call vc-file-clearprops when true.
9550         (vc-resynch-buffer): Add new optional argument, pass it down.
9551         (vc-resynch-buffers-in-directory): Likewise.
9553         Improve support for special markup in the VC commit message.
9554         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9555         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9556         * vc-git.el (vc-git-checkin):
9557         * vc-bzr.el (vc-bzr-checkin): Likewise.
9559 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9561         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9562         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9564 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9566         * iimage.el: Remove images as soon as the underlying text is modified.
9567         (iimage-modification-hook): New function.
9568         (iimage-mode-buffer): Use it.
9570 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9572         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9573         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9574         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9575         (smie-indent-keyword): Add handling of open-paren keywords.
9576         (smie-indent-comment-continue): Don't assume comment-continue.
9578 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9580         * window.el (pop-to-buffer): Remove the conditional that
9581         compares new-window and old-window, so it will reselect
9582         the selected window unconditionally.
9583         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9585 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9587         * emacs-lisp/smie.el (smie-indent-offset-after)
9588         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9589         (smie-indent-after-keyword): Use them.
9590         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9591         (smie-indent-keyword): Tweak the black magic.
9592         (smie-indent-comment-continue): Strip comment-continue before use.
9593         (smie-indent-functions): Indent comments before keywords.
9595 2010-06-06  Juri Linkov  <juri@jurta.org>
9597         * isearch.el (isearch-lazy-highlight-search): Fix looping
9598         by checking for empty match.  This syncs this loop with the
9599         similar loop in `isearch-search'.  (Bug#6362)
9601 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9603         * net/dbus.el (dbus-register-method): Declare function.
9604         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9605         (dbus-introspect): Doc fix.
9606         (dbus-event-bus-name, dbus-introspect-get-interface)
9607         (dbus-introspect-get-argument): Reflow docstrings.
9609 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9611         vc-log-incoming/vc-log-outgoing fixes for Git.
9612         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9613         incoming/outgoing logs.
9614         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9615         instead of vc-git-compute-remote.
9616         (vc-git-compute-remote): Remove.
9618 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9620         * term/common-win.el (x-colors): Add "dark green" and "dark
9621         turquoise" (Bug#6332).
9623 2010-06-04  Juri Linkov  <juri@jurta.org>
9625         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9626         Instead of setting `replace' to t and replacing the same string
9627         with itself, don't do certain actions when
9628         kill-do-not-save-duplicates is non-nil and string is equal to car
9629         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9630         interprogram-paste strings to kill-ring, and don't push the input
9631         argument `string' to kill-ring.
9632         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9634 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9636         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9638 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9640         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9641         (tramp-gvfs-handler-mounted-unmounted)
9642         (tramp-gvfs-connection-mounted-p): Handle default-location.
9644         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9645         move files to trash.
9647 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9649         * international/mule-cmds.el (nonascii-insert-offset)
9650         (nonascii-translation-table): Add obsolescence information.
9652         * international/mule.el (make-translation-table-from-vector): Doc fix.
9654 2010-06-03  Glenn Morris  <rgm@gnu.org>
9656         * desktop.el (desktop-clear-preserve-buffers):
9657         Add "*Warnings*" buffer.  (Bug#6336)
9659 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9661         vc-log-incoming/vc-log-outgoing improvements for Git.
9662         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9663         short log.
9664         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9666         Add bindings for vc-log-incoming and vc-log-outgoing.
9667         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9668         and vc-log-outgoing.
9669         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9670         and vc-log-outgoing.
9672 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9674         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9675         (rcirc-handler-366): Always sort nicknames.
9677 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9679         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9681 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9683         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9685 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9687         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9688         (rcirc-sort-nicknames-join): Avoid setq.
9690 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9692         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9693         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9694         (rcirc-handler-366): Use them.
9696 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9698         Split smie-indent-calculate into more manageable chunks.
9699         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9700         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9701         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9702         (smie-indent-exps): Extract from smie-indent-calculate.
9703         (smie-indent-functions): New var.
9704         (smie-indent-functions): Use them.
9706 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9708         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9709         (smie-indent-calculate): Simplify and cleanup.
9711 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9713         * net/tramp-gvfs.el (top): Require url-util.
9714         (tramp-gvfs-mount-point): Remove.
9715         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9716         New defuns.
9717         (with-tramp-dbus-call-method): Format trace message.
9718         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9719         Implement backup call, when operation on local files fails.
9720         Use progress reporter.  Flush properties of changed files.
9721         (tramp-gvfs-handle-make-directory): Make more traces.
9722         (tramp-gvfs-url-file-name): Hexify file name in url.
9723         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9724         into account for the resulting file name.
9725         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9726         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9727         (tramp-gvfs-handler-mounted-unmounted)
9728         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9729         attribute "default_location".  Set "prefix" property.
9730         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9731         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9732         exists.  Raise an error, if not (due to a corresponding answer
9733         "no" in interactive questions, for example).
9735 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9737         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9739 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9741         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9742         right-*.  (Bug#6265)
9744 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9746         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9747         * vc-git.el (vc-git-compute-remote): New function.
9748         (vc-git-log-outgoing): Use it instead of hard coding a value.
9749         (vc-git-log-incoming): New function.
9751         Improve state updating for VC tag commands.
9752         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9753         to update the state of all buffers in the directory.
9755         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9757 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9759         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9760         `file-directory-p' to the filename part rather than to the whole text.
9762 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9764         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9766 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9768         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9770 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9772         * subr.el (momentary-string-display): Just use read-event to read
9773         the exit event (Bug#6238).
9775 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9777         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9779 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9781         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9782         Suggested by Eli Zaretskii <eliz@gnu.org>.
9784 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9786         * minibuffer.el (completion-file-name-table): Don't return a boundary
9787         past the end of `string' (bug#6299).
9788         (completion--file-name-table): Delegate to completion-file-name-table
9789         for the `boundaries' case.
9791 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9793         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9794         movement commands.
9796         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9797         `path-separator', but maintain compatibility with Emacs 20.2.
9799 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9801         * server.el (server-process-filter): Receive parent-id argument
9802         from emacsclient.
9803         (server-create-window-system-frame): New arg.  Pass parent-id as
9804         frame parameter.
9806 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9808         Bidi-sensitive word movement with arrow keys.
9809         * subr.el (right-arrow-command, left-arrow-command): Move to
9810         bindings.el.
9812         * bindings.el (right-char, left-char): Move from subr.el and
9813         rename from right-arrow-command and left-arrow-command.
9814         (right-word, left-word): New functions.
9815         (global-map) <right>: Bind to right-char.
9816         (global-map) <left>: Bind to left-char.
9817         (global-map) <C-right>: Bind to right-word.
9818         (global-map) <C-left>: Bind to left-word.
9820         * ls-lisp.el (ls-lisp-classify-file): New function.
9821         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9822         (ls-lisp-classify): Call ls-lisp-classify-file.
9823         (insert-directory): Remove blanks from switches.
9825 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9827         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9828         (ansi-color-drop-regexp): New constant.
9829         (ansi-color-apply, ansi-color-filter-region)
9830         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9831         (ansi-color-apply): Build string list before calling concat.
9833 2010-05-28  Juri Linkov  <juri@jurta.org>
9835         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9836         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9837         (Bug#5270)
9839 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9841         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9842         to ignored backtrace functions.
9843         (with-progress-reporter): Expand docstring.
9844         (tramp-handle-delete-file): Implement TRASH argument.
9845         (tramp-get-remote-trash): New defun.
9847 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9849         * net/tramp-compat.el (tramp-compat-delete-file):
9850         Use `symbol-value' for backward compatibility.
9852         * net/tramp.el (tramp-handle-make-symbolic-link)
9853         (tramp-handle-load)
9854         (tramp-do-copy-or-rename-file-via-buffer)
9855         (tramp-do-copy-or-rename-file-directly)
9856         (tramp-do-copy-or-rename-file-out-of-band)
9857         (tramp-handle-process-file, tramp-handle-call-process-region)
9858         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9859         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9860         (tramp-delete-temp-file-function): Use `delete-file' instead
9861         of `tramp-compat-delete-file'.
9863         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9864         (tramp-fish-handle-make-symbolic-link)
9865         (tramp-fish-handle-process-file): Use `delete-file' instead
9866         of `tramp-compat-delete-file'.
9868         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9869         Use `delete-file' instead of `tramp-compat-delete-file'.
9871         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9872         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9873         `tramp-compat-delete-file'.
9875         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9876         Use `delete-file' instead of `tramp-compat-delete-file'.
9878         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9879         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9880         (tramp-smb-handle-write-region): Use `delete-file' instead of
9881         `tramp-compat-delete-file'.
9882         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9884 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9886         * dired.el (dired-delete-file): New arg TRASH.
9887         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9888         (dired-do-flagged-delete, dired-do-delete): Use trash.
9890         * speedbar.el (speedbar-item-delete): Allow trashing.
9892         * files.el (delete-directory): New arg TRASH.
9894         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9895         (ange-ftp-rename-remote-to-remote)
9896         (ange-ftp-rename-local-to-remote)
9897         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9898         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9899         `delete-file'.
9900         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9901         allow trashing.
9903         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9904         handle new TRASH arg of `delete-file'.
9906         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9907         (tramp-handle-make-symbolic-link, tramp-handle-load)
9908         (tramp-do-copy-or-rename-file-via-buffer)
9909         (tramp-do-copy-or-rename-file-directly)
9910         (tramp-do-copy-or-rename-file-out-of-band)
9911         (tramp-handle-process-file, tramp-handle-call-process-region)
9912         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9913         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9914         (tramp-delete-temp-file-function): Use null TRASH arg in
9915         tramp-compat-delete-file call.
9917         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9918         (tramp-fish-handle-delete-file)
9919         (tramp-fish-handle-make-symbolic-link)
9920         (tramp-fish-handle-process-file): Use null TRASH arg in
9921         `tramp-compat-delete-file' call.
9923         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9924         arg in `tramp-compat-delete-file' call.
9926         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9927         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9928         `tramp-compat-delete-file' call.
9930         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9931         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9932         `tramp-compat-delete-file' call.
9934         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9935         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9936         (tramp-smb-handle-write-region): Use null TRASH arg in
9937         tramp-compat-delete-file call.
9938         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9939         (tramp-smb-handle-delete-file): Rename arg.
9941         * diff.el (diff-sentinel):
9942         * epg.el (epg--make-temp-file, epg-decrypt-string)
9943         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9944         * jka-compr.el (jka-compr-partial-uncompress)
9945         (jka-compr-call-process, jka-compr-write-region):
9946         * server.el (server-sentinel): Remove optional arg from
9947         delete-file, reverting 2010-05-03 change.
9949 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9951         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9952         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9954 2010-05-27  Kenichi Handa  <handa@m17n.org>
9956         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9957         element of GSTRING is nil.
9959 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9961         * emacs-lisp/smie.el (smie-forward-token-function)
9962         (smie-backward-token-function): New vars.
9963         (smie-backward-sexp, smie-forward-sexp)
9964         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9965         (smie-default-backward-token): Rename from smie-backward-token and
9966         skip comments.
9967         (smie-default-forward-token): Rename from smie-forward-token and
9968         skip comments.
9969         (smie-next-sexp): Handle nil results from next-token.
9970         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9972 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9974         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9975         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9977 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9979         * htmlfontify.el (hfy-face-resolve-face): New function.
9980         (hfy-face-to-style): Use it (Bug#6279).
9982 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9984         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9985         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9987 2010-05-26  Glenn Morris  <rgm@gnu.org>
9989         * emulation/edt.el (edt-load-keys): Use locate-library.
9991 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9993         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9994         (log-edit-changelog-entries): Doc fix.
9995         (log-edit-changelog-insert-entries): Args changed.
9996         Rename relative filenames in ChangeLog entries.  Delete tabs.
9997         (log-edit-insert-changelog-entries): Reorganize return value of
9998         `log-edit-changelog-entries' to pass filenames to
9999         log-edit-changelog-insert-entries.
10001 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10003         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10004         `image-dired-dired-insert-marked-thumbs' to
10005         `image-dired-dired-toggle-marked-thumbs'.
10007         * image-dired.el: Require cl when compiling.
10008         (image-dired-dired-toggle-marked-thumbs): Rename from
10009         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10010         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10011         to 'no-dir.  Skip files whose names don't match
10012         `image-file-name-regexp'.  When file has a thumbnail overlay,
10013         delete it.  (Bug#5270)
10015 2010-05-25  Juri Linkov  <juri@jurta.org>
10017         * image-mode.el (image-mode): Add image-after-revert-hook to
10018         after-revert-hook.
10019         (image-after-revert-hook): New function.  (Bug#5669)
10021 2010-05-25  Juri Linkov  <juri@jurta.org>
10023         * image.el (image-animated-p): When delay between animated images
10024         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10026 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10028         * net/tramp.el (tramp-handle-insert-directory): Don't use
10029         `forward-word', its default syntax could be changed.
10031 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10033         * net/tramp.el (tramp-progress-reporter-update): New defun.
10034         (with-progress-reporter): Use it.
10035         (tramp-process-actions):
10036         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10037         Preserve current message, in order to let progress reporter continue
10038         afterwards.  (Bug#6257)
10040 2010-05-25  Glenn Morris  <rgm@gnu.org>
10042         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10043         Add :version.
10045 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10047         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10048         (rcirc-default-full-name): Change to "unknown".
10049         (rcirc-user-name-history): Add variable.
10051 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10052             Jonathan Rockway  <jon@jrock.us>
10054         * net/rcirc.el (rcirc-server-alist): Add :pass.
10055         (rcirc): When prompting for connection parameters, also prompt for
10056         username and password.
10057         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10058         value to server when connecting.
10060 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10062         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10063         (smie-merge-prec2s): Pass the tables as separate args.
10064         (smie-bnf-precedence-table): Adjust call accordingly.
10065         (smie-prec2-levels): Set levels at the end.
10067         Replace Lisp calls to delete-backward-char by delete-char.
10068         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10069         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10070         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10071         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10072         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10073         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10074         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10075         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10076         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10077         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10078         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10079         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10080         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10081         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10082         delete-backward-char by calls to delete-char.
10084 2010-05-25  Kenichi Handa  <handa@m17n.org>
10086         * language/hebrew.el (hebrew-shape-gstring): New function.
10087         Register it in composition-function-table for all Hebrew combining
10088         characters.
10090 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10092         * epa.el (epa--select-keys): Don't explicitly delete the window since
10093         that can fail (e.g. sole window in frame).  Use dedication instead.
10095 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10097         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10099 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10101         * image.el (image-refresh): Define as an alias for image-flush.
10103         * image-mode.el (image-toggle-display-image): Caller changed.
10105 2010-05-21  Juri Linkov  <juri@jurta.org>
10107         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10108         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10109         whitespace, call wildcard-to-regexp on substrings and concat them
10110         with "\\|".  (Bug#6114)
10112 2010-05-21  Alan Mackenzie  <acm@muc.de>
10114         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10115         Replace parameter `here' with `here-' and `here-plus', which sandwich
10116         any pertinent CPP construct.
10117         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10118         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10119         CPP construct from taking part in the scanning.
10121 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10123         * net/tramp.el (tramp-do-copy-or-rename-file)
10124         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10125         Tune `with-progress-reporter' messages.
10126         (tramp-handle-vc-registered):
10127         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10128         (tramp-fish-handle-insert-file-contents)
10129         (tramp-fish-maybe-open-connection):
10130         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10131         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10132         (tramp-imap-handle-insert-file-contents)
10133         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10135 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10137         * add-log.el (change-log-font-lock-keywords):
10138         Highlight all authors in multi-author entries.
10140         * smerge-mode.el (smerge-refine-ignore-whitespace)
10141         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10142         Fix typos in docstrings.
10143         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10145 2010-05-21  Glenn Morris  <rgm@gnu.org>
10147         * progmodes/fortran.el (fortran-mode):
10148         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10150         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10151         having a relative path in src/Makefile.in.
10153 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10155         * help-mode.el (help-make-xrefs): For Info node links turn
10156         newlines into spaces.  Link node names with newlines are matched
10157         by help-xref-info-regexp and buttonized, this change ensures they
10158         can be followed successfully with RET.  (Bug#6206)
10160 2010-05-20  Juri Linkov  <juri@jurta.org>
10162         * locate.el (locate): Use pop-to-buffer instead of
10163         switch-to-buffer-other-window.  (Bug#6204)
10165 2010-05-20  Juri Linkov  <juri@jurta.org>
10167         * replace.el (replace-highlight): Fix lazy-highlighting
10168         for `M-s w str M-% str RET'.
10170 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10172         * isearch.el (isearch-yank-word-or-char): Pull next subword
10173         when `subword-mode' is activated.  (Bug#6220)
10175 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10177         * isearch.el (isearch-update-post-hook): New hook.
10178         (isearch-update): Use the new hook.  (Bug#6225)
10180 2010-05-20  Juri Linkov  <juri@jurta.org>
10182         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10183         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10184         (Bug#6222)
10186 2010-05-20  Juri Linkov  <juri@jurta.org>
10188         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10189         (Bug#6223)
10191 2010-05-20  Juri Linkov  <juri@jurta.org>
10193         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10194         FILE-NAME to read from the minibuffer when called interactively
10195         with prefix argument instead of using buffer-file-name.
10196         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10198         * dired.el: Update autoloads.
10200 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10202         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10203         nxml-finish-element, for consistency with SGML mode.
10205         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10206         octave-close-block.
10208 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10210         * composite.el: Require cl when compiling.
10211         (reference-point-alist, compose-gstring-for-graphic)
10212         (compose-gstring-for-terminal): Fix typos in docstrings.
10214 2010-05-19  Juri Linkov  <juri@jurta.org>
10216         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10217         set-window-parameter.
10219 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10221         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10222         where appropriate.
10223         (tramp-maybe-open-connection): Use it.
10225 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10227         * simple.el (move-end-of-line): Make sure we are at line beginning
10228         before backing up to end of previous line.
10230 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10232         * password-cache.el (password-cache-remove): Fix docstring.
10234         * net/secrets.el: Autoload the widget functions.
10235         (secrets-search-items, secrets-create-item)
10236         (secrets-get-attributes, secrets-expand-item): Attributes will be
10237         stored on the password database without leading ":", as all other
10238         clients do as well.
10239         (secrets-mode): Fix docstring.
10240         (secrets-show-secrets): Provide it as autoloaded command only when
10241         D-Bus support is available.  Check existence of Secret Service API.
10243 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10245         * indent.el (indent-region): Deactivate region (bug#6200).
10247 2010-05-19  Glenn Morris  <rgm@gnu.org>
10249         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10251 2010-05-19  Kenichi Handa  <handa@m17n.org>
10253         * composite.el: Register compose-gstring-for-graphic in
10254         composition-function-table only for combining characters (Mn, Mc, Me).
10256 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10258         * calc/calc-trail.el (calc-trail-isearch-forward)
10259         (calc-trail-isearch-backward): Ensure that the new window
10260         point is set correctly.
10262 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10264         * subr.el (read-quoted-char): Resolve modifiers after key
10265         remapping (bug#6212).
10267 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10269         Add visualization code for secrets.
10270         * net/secrets.el (secrets-mode): New major mode.
10271         (secrets-show-secrets, secrets-show-collections)
10272         (secrets-expand-collection, secrets-expand-item)
10273         (secrets-tree-widget-after-toggle-function)
10274         (secrets-tree-widget-show-password): New defuns.
10276 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10278         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10279         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10280         handled in smie-next-sexp.
10281         (smie-indent-calculate): Provide a starting indentation (so the
10282         recursion is well-founded ;-).
10284         Fix handling of non-associative equal levels.
10285         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10286         when it's not needed.
10287         (smie-op-left, smie-op-right): New functions.
10288         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10289         Better handle equal levels to distinguish the associative case from
10290         the "multi-keyword construct" case.
10291         (smie-backward-sexp, smie-forward-sexp): Use it.
10293 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10295         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10297         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10298         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10300 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10302         Provide a simple generic indentation engine and use it for Prolog.
10303         * emacs-lisp/smie.el: New file.
10304         * progmodes/prolog.el (prolog-smie-op-levels)
10305         (prolog-smie-indent-rules): New var.
10306         (prolog-mode-variables): Use them to configure SMIE.
10307         (prolog-indent-line, prolog-indent-level): Remove.
10309 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10311         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10312         order before computing the averages.
10314 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10316         * calc/calc-vec.el (calc-histogram):
10317         (calcFunc-histogram): Allow vectors as inputs.
10318         (math-vector-avg): New function.
10320         * calc/calc-ext.el (math-group-float): Have the number of digits
10321         being grouped depend on the radix (Bug#6189).
10323 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10325         * version.el (emacs-copyright, emacs-version): Don't define here,
10326         now that emacs.c defines it.
10328 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10330         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10331         "Describe Language Environment" menu item.
10333         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10335         Bidi-sensitive movement with arrow keys.
10336         * subr.el (right-arrow-command, left-arrow-command): New functions.
10338         * bindings.el (global-map): Bind them to right and left arrow keys.
10340         Don't override standard definition of convert-standard-filename.
10341         * files.el (convert-standard-filename):
10342         Call w32-convert-standard-filename and dos-convert-standard-filename on
10343         the corresponding systems.
10345         * w32-fns.el (w32-convert-standard-filename): Rename from
10346         convert-standard-filename.  Doc fix.
10348         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10349         (convert-standard-filename): Don't defalias.
10350         (register-name-alist, make-register, register-value)
10351         (set-register-value, intdos): Obsolete aliases for the
10352         corresponding dos-* functions and variables.
10353         (dos-intdos): Add a doc string.
10355 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10357         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10358         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10359         (math-compose-tex-func):
10360         * calc/calccomp.el (math-compose-expr):
10361         * calc/calc-ext.el (math-format-flat-expr-fancy):
10362         * calc/calc-store.el (calc-read-var-name):
10363         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10365         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10366         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10367         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10368         (math-standard-units): Add units.
10370 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10372         * progmodes/asm-mode.el (asm-mode):
10373         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10375         * pcomplete.el (pcomplete-completions-at-point): New function,
10376         extracted from pcomplete-std-complete.
10377         (pcomplete-std-complete): Use it.
10379 2010-05-15  Glenn Morris  <rgm@gnu.org>
10381         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10382         Remove references to CVS, RCS and Old directories.
10384 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10386         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10387         appropriate.
10389 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10391         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10392         (sh-mode-syntax-table): Give it a default value instead.
10393         (sh-header-marker): Make buffer-local.
10394         (sh-mode): Move make-local-variable to the corresponding setq.
10395         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10396         Use complete-with-action.
10398         * simple.el (prog-mode): New (abstract) major mode.
10399         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10400         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10402 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10404         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10405         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10406         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10407         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10408         (sql-escape-newlines-filter, sql-input-sender)
10409         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10411 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10413         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10415         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10416         latex-open-block and C-c / to latex-close-block.
10418         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10419         and C-c C-e to sgml-close-tag.
10421 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10423         * net/tramp.el (with-progress-reporter): Create reporter object
10424         only when the message would be displayed.  Handle nested calls.
10425         (tramp-handle-load, tramp-handle-file-local-copy)
10426         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10427         (tramp-maybe-send-script, tramp-find-shell):
10428         Use `with-progress-reporter'.
10429         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10430         Fix message text.
10432         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10433         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10434         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10435         Use `with-progress-reporter'.
10437 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10439         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10440         process everytime when spellchecking from the minibuffer (bug#6143).
10442 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10444         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10446         * dos-fns.el: Add "dos-" prefix for namespace control.
10447         (convert-standard-filename): Define as alias for
10448         dos-convert-standard-filename but only if applicable.
10450 2010-05-12  Alan Mackenzie  <acm@muc.de>
10452         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10453         Push the mark at the start of these functions when appropriate.
10455 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10457         * minibuffer.el (completion-cycle-threshold): New custom var.
10458         (completion--do-completion): Use it.
10459         (minibuffer-complete): Use cycling if appropriate.
10461 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10463         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10464         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10466 2010-05-11  Juri Linkov  <juri@jurta.org>
10468         * scroll-all.el (scroll-all-check-to-scroll):
10469         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10471 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10473         * iimage.el (iimage-mode-map): Move initialization into declaration.
10474         (iimage-mode-buffer): Use with-silent-modifications.
10475         Simplify calling convention.  Adjust callers.
10476         (iimage-mode): Don't run hook redundantly.
10478         * minibuffer.el (completion-pcm--pattern->regex):
10479         Fix last change (bug#6160).
10481 2010-05-10  Juri Linkov  <juri@jurta.org>
10483         Remove nodes visited during Isearch from the Info history.
10484         * info.el (Info-isearch-initial-history)
10485         (Info-isearch-initial-history-list): New variables.
10486         (Info-isearch-start): Record initial values of
10487         Info-isearch-initial-history and Info-isearch-initial-history-list.
10488         Add Info-isearch-end to isearch-mode-end-hook.
10489         (Info-isearch-end): New function.
10491 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10493         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10494         format string, in order to work around a bug in pdksh.
10495         Reported by Gilles Pion <gpion@lfdj.com>.
10496         (tramp-handle-verify-visited-file-modtime): Do not send a command
10497         when the connection is not established.
10498         (tramp-handle-set-file-times): Simplify the check for utc.
10500 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10502         Fix use of `filter-buffer-substring' (rework previous change).
10503         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10504         (cua-repeat-replace-region):
10505         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10506         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10507         (cua-cut-region-to-global-mark): Use it.
10509 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10511         * progmodes/sql.el: Version 2.1.
10512         (sql-product-alist): Redesign structure of product info.
10513         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10514         (sql-port, sql-port-history): New variables.
10515         (sql-interactive-product): New variable.
10516         (sql-send-terminator): New variable.
10517         (sql-imenu-generic-expression): Add "Types" imenu entry.
10518         (sql-oracle-login-params, sql-sqlite-login-params)
10519         (sql-mysql-login-params, sql-solid-login-params)
10520         (sql-sybase-login-params, sql-informix-login-params)
10521         (sql-ingres-login-params, sql-ms-login-params)
10522         (sql-postgres-login-params, sql-interbase-login-params)
10523         (sql-db2-login-params, sql-linter-login-params)
10524         (sql-oracle-scan-on): New variables.
10525         (sql-mode-map): Add C-c C-i to start interactive mode.
10526         (sql-mode-menu): Update existing menu entries.
10527         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10528         (sql-mode-oracle-font-lock-keywords)
10529         (sql-mode-postgres-font-lock-keywords)
10530         (sql-mode-ms-font-lock-keywords)
10531         (sql-mode-sybase-font-lock-keywords)
10532         (sql-mode-informix-font-lock-keywords)
10533         (sql-mode-interbase-font-lock-keywords)
10534         (sql-mode-ingres-font-lock-keywords)
10535         (sql-mode-solid-font-lock-keywords)
10536         (sql-mode-mysql-font-lock-keywords)
10537         (sql-mode-sqlite-font-lock-keywords)
10538         (sql-mode-db2-font-lock-keywords)
10539         (sql-mode-linter-font-lock-keywords): Update initialization to
10540         reduce run-time complexity.
10541         (sql-add-product, sql-del-product): New functions.
10542         (sql-set-product-feature, sql-get-product-feature): New functions.
10543         (sql-product-font-lock): Update product API.
10544         (sql-add-product-keywords): New function.
10545         (sql-highlight-product): Update product API.
10546         (sql-help-list-products): New function.
10547         (sql-help): Dynamically lists free and non-free products.
10548         (sql-get-login): Correct bug in handling history and added
10549         prompt for port.
10550         (sql-copy-column): Copy without properties.
10551         (sqli-input-sender): Apply filters to SQLi input.
10552         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10553         Implement as a filter.
10554         (sql-escape-newlines-filter): Implement as a filter.
10555         (sql-remove-tabs-filter): New function.
10556         (sql-send-magic-terminator): New function.
10557         (sql-send-string): Implement magic terminator.
10558         (sql-send-region): Use `sql-send-string'.
10559         (sql-interactive-mode): Use product API.
10560         (sql-product-interactive): Use product API.
10561         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10562         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10563         (sql-db2, sql-linter): Use `sql-product-interactive'.
10564         (sql-connect): New function.
10565         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10566         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10567         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10568         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10569         Use `sql-connect'.
10571 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10573         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10574         New custom variable.
10575         (completion-pcm--string->pattern): Use it.
10576         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10577         Make it handle any symbol as `any'.
10578         (completion-pcm--merge-completions): Extract common suffix for the new
10579         `prefix' symbol as well.
10580         (completion-substring--all-completions): Use the new `prefix' symbol.
10582 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10584         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10585         not bound.
10586         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10587         (tramp-compat-funcall): New defmacro.
10588         (tramp-compat-line-beginning-position)
10589         (tramp-compat-line-end-position)
10590         (tramp-compat-temporary-file-directory)
10591         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10592         (tramp-compat-copy-file, tramp-compat-copy-directory)
10593         (tramp-compat-delete-file, tramp-compat-delete-directory)
10594         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10595         * net/tramp.el (top, with-progress-reporter)
10596         (tramp-rfn-eshadow-setup-minibuffer)
10597         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10598         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10599         (tramp-completion-mode-p, tramp-check-for-regexp)
10600         (tramp-open-connection-setup-interactive-shell)
10601         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10602         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10603         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10604         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10605         (tramp-reporter-dump-variable, tramp-load-report-modules)
10606         (tramp-append-tramp-buffers)
10607         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10609         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10611 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10613         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10614         buffer-modtime.  Adjust users.
10616 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10618         * international/mule.el (auto-coding-alist): Only purecopy
10619         car of each item, not the whole list (Bug#6083).
10621 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10623         * progmodes/js.el (js-mode): Make paragraph variables local before
10624         calling c-setup-paragraph-variables (Bug#6071).
10626 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10628         * composite.el (compose-region, reference-point-alist): Fix typos
10629         in the doc strings.
10631 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10633         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10634         gnuplot's "set" command.
10636 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10638         * abbrev.el (last-abbrev-text): Doc fix.
10639         (abbrev-prefix-mark): Don't escape parenthesis.
10641 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10643         * composite.el (find-composition): Doc fix.
10645 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10647         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10648         (sql-oracle-program, sql-sqlite-options)
10649         (sql-query-placeholders-and-send): Doc fixes.
10650         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10651         (sql-imenu-generic-expression, sql-buffer)
10652         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10653         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10654         (sql-mode-sybase-font-lock-keywords)
10655         (sql-mode-informix-font-lock-keywords)
10656         (sql-mode-interbase-font-lock-keywords)
10657         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10658         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10659         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10660         (sql-product-feature, sql-highlight-product)
10661         (comint-line-beginning-position, sql-rename-buffer)
10662         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10663         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10664         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10665         Fix typos in docstrings.
10667 2010-05-08  Juri Linkov  <juri@jurta.org>
10669         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10670         property instead of `invisible' and `after-string' (bug#5998).
10672 2010-05-08  Juri Linkov  <juri@jurta.org>
10674         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10676 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10678         * filecache.el (file-cache-add-directory-list)
10679         (file-cache-add-directory-recursively): Fix typos in docstrings.
10681 2010-05-08  Kenichi Handa  <handa@m17n.org>
10683         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10684         (gujarati-composable-pattern): Fix typo.
10686 2010-05-08  Kenichi Handa  <handa@m17n.org>
10688         * language/indian.el (oriya-composable-pattern)
10689         (tamil-composable-pattern, malayalam-composable-pattern):
10690         Add two-part vowels to "v" (vowel sign).
10692 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10694         * files.el (copy-directory): Handle symlinks (Bug#5982).
10696 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10698         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10699         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10700         (Bug#5846).
10702 2010-05-08  Glenn Morris  <rgm@gnu.org>
10704         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10706         * minibuffer.el (completion-at-point): Doc fix.
10708 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * electric.el (Electric-command-loop): Minor tweak.
10712         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10713         better with dedicated windows.
10715 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10717         * Version 23.2 released.
10719 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10720             Stefan Monnier  <monnier@iro.umontreal.ca>
10722         Highlight vendor specific properties.
10723         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10724         (css-proprietary-property): New face.
10725         (css-font-lock-keywords): Use them.
10727 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10729         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10731 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10733         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10734         * files.el (auto-mode-alist): Remove redundant entries.
10736         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10737         * simple.el (auto-save-mode): Move from files.el.
10738         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10740 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10742         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10744 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10746         * mail/binhex.el (binhex-decode-region-internal)
10747         * mail/uudecode.el (uudecode-decode-region-internal)
10748         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10749         (dns-read-type, dns-query)
10750         * pgg-parse.el (pgg-parse-armor)
10751         * pgg.el (pgg-verify-region)
10752         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10753         XEmacs.
10755         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10757 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10759         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10761         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10762         * emulation/cua-base.el (cua-repeat-replace-region):
10763         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10764         (cua-cut-region-to-global-mark):
10765         Remove text properties with `set-text-properties'.
10767 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10769         * net/tramp.el (top, with-progress-reporter):
10770         Use `symbol-function' inside `funcall'.
10772         * net/tramp-compat.el (tramp-compat-file-attributes)
10773         (tramp-compat-delete-file, tramp-compat-delete-directory):
10774         Handle only `wrong-number-of-arguments' error.
10776         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10777         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10778         inside `funcall'.
10780 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10782         * minibuffer.el (completion--sreverse, completion--common-suffix):
10783         New functions.
10784         (completion-pcm--merge-completions): Extract common suffix when safe.
10786         * emacs-lisp/easy-mmode.el (define-minor-mode):
10787         Make :variable more flexible.
10788         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10790 2010-05-05  Juri Linkov  <juri@jurta.org>
10792         Add `slow' and `history' tags to the desktop data.
10794         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10795         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10796         (Info-finder-find-node): Require `finder.el' to be able
10797         to restore node from the desktop.
10798         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10799         data `Info-history' and `slow' tag in the assoc list.
10800         (Info-restore-desktop-buffer): Don't restore nodes with the
10801         `slow' tag.  Restore `Info-history'.
10803 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10805         Add FORCE argument to `delete-file'.
10807         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10808         forcing to delete the temporary file.
10809         (ange-ftp-delete-file): Add FORCE arg.
10810         (ange-ftp-rename-remote-to-remote)
10811         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10812         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10813         Force file deletion.
10815         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10817         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10818         (tramp-handle-make-symbolic-link, tramp-handle-load)
10819         (tramp-do-copy-or-rename-file-via-buffer)
10820         (tramp-do-copy-or-rename-file-directly)
10821         (tramp-do-copy-or-rename-file-out-of-band)
10822         (tramp-handle-process-file, tramp-handle-call-process-region)
10823         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10824         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10825         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10827         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10828         (tramp-fish-handle-make-symbolic-link)
10829         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10831         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10832         Use `tramp-compat-delete-file'.
10834         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10835         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10837         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10838         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10840         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10841         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10842         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10843         Use `tramp-compat-delete-file'.
10845 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10847         Minor cleanups.
10848         * subr.el (add-minor-mode): Use push.
10849         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10850         * emulation/edt.el (edt-select-mode): Simplify.
10852         Use define-minor-mode in more cases.
10853         * term/tvi970.el (tvi970-set-keypad-mode):
10854         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10855         (normal-erase-is-backspace-mode):
10856         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10857         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10858         (get-scroll-bar-mode): New function.
10859         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10861         Use define-minor-mode for less obvious cases.
10862         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10863         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10864         * international/iso-ascii.el (iso-ascii-mode):
10865         * frame.el (auto-raise-mode, auto-lower-mode):
10866         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10868 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10870         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10871         in order to see error messages for failed logins.
10873 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10875         * diff.el (diff-sentinel):
10877         * epg.el (epg--make-temp-file, epg-decrypt-string)
10878         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10880         * jka-compr.el (jka-compr-partial-uncompress)
10881         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10883         * server.el (server-sentinel): Use delete-file's new FORCE arg
10884         (Bug#6070).
10886 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         Use define-minor-mode where applicable.
10889         * view.el (view-mode):
10890         * type-break.el (type-break-query-mode)
10891         (type-break-mode-line-message-mode):
10892         * textmodes/reftex.el (reftex-mode):
10893         * term/vt100.el (vt100-wide-mode):
10894         * tar-mode.el (tar-subfile-mode):
10895         * savehist.el (savehist-mode):
10896         * ibuf-ext.el (ibuffer-auto-mode):
10897         * composite.el (auto-composition-mode):
10898         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10899         Use define-minor-mode.
10900         (vhdl-mode): Use static mode-line format.
10901         (vhdl-mode-line-update): Delete.
10902         (vhdl-create-mode-menu, vhdl-activate-customizations)
10903         (vhdl-hs-minor-mode): Don't bother calling it.
10905 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10907         * simple.el (with-wrapper-hook): Move.
10908         (buffer-substring-filters): Mark obsolete.
10909         (filter-buffer-substring-functions): New variable.
10910         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10912 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10913             Michael Albinus  <michael.albinus@gmx.de>
10915         Implement compression for inline methods.
10917         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10918         (tramp-copy-size-limit): Allow also nil.
10919         (tramp-inline-compress-commands): New defconst.
10920         (tramp-find-inline-compress, tramp-get-inline-compress)
10921         (tramp-get-inline-coding): New defuns.
10922         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10923         replaced by `tramp-get-inline-coding'.
10924         (tramp-handle-file-local-copy, tramp-handle-write-region)
10925         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10927 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10929         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10930         Remove unused functions.
10932         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10933         Set find-tag-default-function as a variable rather than a property.
10935         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10936         * progmodes/etags.el (tags-completion-at-point-function):
10937         Remove left over interactive spec.  Add autoloading stub.
10938         (complete-tag): Use tags-completion-at-point-function.
10940 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10942         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10944 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10946         * ido.el (ido-init-completion-maps): Remove C-v binding.
10947         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10949 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10951         * minibuffer.el (tags-completion-at-point-function): New function.
10952         (completion-at-point-functions): Use it.
10954         * progmodes/etags.el (complete-tag): Revert last change.
10956 2010-04-29  Alan Mackenzie  <acm@muc.de>
10958         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10959         off-by-one error (in end of macro position).
10961 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10963         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10964         firefox is absent.  Don't autoload.
10965         (browse-url-galeon-program): Don't autoload.
10967 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10969         * bindings.el (complete-symbol): Move into minibuffer.el.
10971         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10972         completion cannot be performed, return nil instead of signalling
10973         an error.
10974         (completion-at-point): Make it an alias for complete-symbol.
10975         (complete-symbol): Move from bindings.el, and replace with the
10976         body of completion-at-point.
10978         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10980 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10982         * net/tramp.el (tramp-remote-selinux-p): New defun.
10983         (tramp-handle-file-selinux-context)
10984         (tramp-handle-set-file-selinux-context): Use it.
10986 2010-04-28  Sam Steingold  <sds@gnu.org>
10988         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10989         `safe-local-variable' if the value is a string or a symbol with
10990         the property `bug-reference-url-format'.
10992 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10994         * progmodes/bug-reference.el (bug-reference-url-format):
10995         Revert 2010-04-27 change due to security risk.
10997 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10999         Make it possible to locally disable a globally enabled mode.
11000         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11001         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11002         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11003         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11004         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11005         that subsequent hooks get a chance to disable it.
11007 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11009         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11010         Avoid re-enabling a minor mode after the user turned the minor mode
11011         off if MODE-enable-in-buffers is run twice (typically once from
11012         fundamental-mode's after-change-major-mode-hook and a second time from
11013         run-mode-hook's own after-change-major-mode-hook).
11015         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11017 2010-04-27  Sam Steingold  <sds@gnu.org>
11019         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11020         `safe-local-variable' if the value is a string or a function, as
11021         documented and implemented on 2010-04-02.
11023 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11025         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11026         when method is 'kill.
11028 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11030         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11031         condition in default directory check.
11032         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11033         Kill ispell process when killing its associated buffer.
11035 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11037         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11038         but we aren't using it.
11040 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11042         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11043         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11045 2010-04-24  Glenn Morris  <rgm@gnu.org>
11047         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11048         Ignore VCS-ignore files, and deleted nextstep preferences files.
11049         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11050         (authors-ambiguous-files): New list.
11051         (authors-valid-file-names): Add some deleted files.
11052         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11053         (authors-disambiguate-file-name): New function.  (Bug#5501)
11054         (authors-canonical-file-name): Doc fix.
11055         Don't warn about obsolete files.
11056         (authors-canonical-file-name, authors-scan-el):
11057         Use authors-disambiguate-file-name.
11059         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11060         Add autoload cookies.
11061         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11062         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11063         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11064         They have definitions / compiler macros in cl.el.
11065         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11066         Replace manual autoloads with generated ones.
11067         (htmlfontify-unload-rgb-file): Remove autoload.
11068         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11070 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11072         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11073         (byte-compile-setq-default): Optimize for the
11074         single-var case and don't call byte-compile-form in this case to avoid
11075         inf-loop with byte-compile-set-default.
11077         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11079 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11081         Implement SELINUX backends.
11083         * net/tramp.el (tramp-file-name-handler-alist):
11084         Add `file-selinux-context' and `set-file-selinux-context'.
11085         (tramp-handle-file-selinux-context)
11086         (tramp-handle-set-file-selinux-context): New defuns.
11087         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11088         Handle PRESERVE-SELINUX-CONTEXT.
11090         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11091         Add `file-selinux-context' and `set-file-selinux-context'.
11092         (tramp-gvfs-handle-file-selinux-context)
11093         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11094         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11096         * net/ange-ftp.el (ange-ftp-copy-file):
11097         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11098         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11099         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11100         Add PRESERVE-SELINUX-CONTEXT.
11102 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11104         Synchronize with Tramp repository.
11106         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11107         (tramp-action-process-alive, tramp-action-out-of-band)
11108         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11109         (tramp-exists-file-name-handler): Fix docstring.
11110         (with-progress-reporter): New defmacro.
11111         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11112         (tramp-maybe-open-connection): Use it.
11114 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11116         Detect ssh 'ControlMaster' argument automatically in some cases.
11118         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11119         (tramp-default-method): Use it.
11121 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11123         * net/tramp.el (tramp-handle-copy-file): Add new optional
11124         parameter `preserve-selinux-context'.
11125         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11127 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11129         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11130         Ensure, that non remote files are still checked.  Oops.
11132 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11134         Fix Bug#5840.
11136         * icomplete.el (icomplete-completions): Use `non-essential'.
11138         * net/tramp.el (tramp-connectable-p): New defun.
11139         (tramp-handle-expand-file-name)
11140         (tramp-completion-handle-file-name-all-completions)
11141         (tramp-completion-handle-file-name-completion): Use it.
11143 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11145         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11147 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11149         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11151         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11153         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11154         is present.
11156         * info.el (info-tool-bar-map): Add labels.
11158         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11160         * cus-edit.el (custom-commands): Add labels for tool bar.
11161         (custom-buffer-create-internal, Custom-mode): Adjust for
11162         labels in custom-commands.
11164         * dynamic-setting.el: Renamed from font-setting.el.
11166 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11168         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11169         toggles the use of virtual buffers.
11170         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11171         (ido-toggle-virtual-buffers): New function.
11173 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11175         Use `define-derived-mode'; fix window selection; doc fixes.
11176         * play/tetris.el (tetris, tetris-update-speed-function)
11177         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11178         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11179         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11180         (tetris-pause-game): Fix typos in docstrings.
11181         (tetris-mode-map, tetris-null-map):
11182         Move initialization into declaration.
11183         (tetris-mode): Define with `define-derived-mode';
11184         set show-trailing-whitespace to nil.
11185         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11187 2010-04-21  Karel Klíč  <kklic@redhat.com>
11189         * files.el (backup-buffer): Handle SELinux context, and return it
11190         if a backup was made by renaming.
11191         (backup-buffer-copy): Set SELinux context to the target file.
11192         (basic-save-buffer): Set SELinux context of the newly written file.
11193         (basic-save-buffer-1): Now it also returns any SELinux context.
11194         (basic-save-buffer-2): Set SELinux context of the newly created file,
11195         and return it.
11196         * net/tramp.el (tramp-file-name-for-operation):
11197         Add file-selinux-context.
11199 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11201         Make the log-edit comments use RFC822 format throughout.
11203         * vc.el (vc-checkin, vc-modify-change-comment):
11204         Adjust to new vc-start/finish-logentry.
11205         (vc-find-conflicted-file): New command.
11206         (vc-transfer-file): Adjust to new vc-checkin.
11207         (vc-next-action): Improve scoping.
11209         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11210         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11212         * vc-git.el (vc-git-log-edit-mode): Remove.
11213         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11214         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11216         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11217         (vc-start-logentry): Remove argument `extra'.
11218         (vc-finish-logentry): Remove extra args.
11220         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11221         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11222         (vc-bzr-conflicted-files): New function.
11224         * log-edit.el (log-edit-extra-flags)
11225         (log-edit-before-checkin-process): Remove.
11226         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11227         (log-edit-headers-alist): New var.
11228         (log-edit-header-contents-regexp): New const.
11229         (log-edit-match-to-eoh): New function.
11230         (log-edit-font-lock-keywords): Use them.
11231         (log-edit): Insert a "Summary:" header as default.
11232         (log-edit-mode): Mark font-lock rules as case-insensitive.
11233         (log-edit-done): Cleanup headers.
11234         (log-view-process-buffer): Remove.
11235         (log-edit-extract-headers): New function to replace it.
11237 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11239         * subr.el (default-direction-reversed): Remove obsolescence info.
11241 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11243         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11244         windows/frames.
11246         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11247         I.e. include text after point in the completion region.
11248         Also, return nil when we're not after/in a symbol.
11250         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11251         default enable-multibyte-characters.
11253 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11255         * international/mule.el: Help the user choose a valid coding-system.
11256         (read-buffer-file-coding-system): New function.
11257         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11258         coding-system cannot encode all the chars.
11260         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11261         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11262         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11263         Don't use *vc-bzr-shelve*.
11265 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11267         Fix the version number for added files.
11268         * vc-hg.el (vc-hg-working-revision): Check if the file is
11269         registered after hg parent fails (Bug#5961).
11271 2010-04-19  Glenn Morris  <rgm@gnu.org>
11273         * htmlfontify.el (htmlfontify-buffer)
11274         (htmlfontify-copy-and-link-dir): Autoload entry points.
11276 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11278         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11279         name relative to the project root (Bug#5960).
11281 2010-04-19  Glenn Morris  <rgm@gnu.org>
11283         * vc-git.el (vc-git-print-log): Doc fix.
11285 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11287         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11289 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11291         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11292         default settings (Bug#5928).
11294 2010-04-19  Glenn Morris  <rgm@gnu.org>
11296         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11297         New function.
11298         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11300 2010-04-19  Kenichi Handa  <handa@m17n.org>
11302         * language/indian.el (malayalam-composable-pattern): Fix previous
11303         change (add U+0D4D "SIGN VIRAMA").
11304         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11305         (tamil-composable-pattern): Fix typo in the regexp.
11306         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11307         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11308         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11310 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11312         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11313         paragraph-separate (Bug#5821).
11315 2010-04-19  Juri Linkov  <juri@jurta.org>
11317         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11319         * info.el (Info-find-node-2): Comment out code that skips
11320         breadcrumbs line.
11321         (Info-mouse-follow-link): New command.
11322         (Info-link-keymap): New keymap.
11323         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11324         Return a string with links instead of inserting breadcrumbs
11325         to the Info buffer.
11326         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11327         Instead of putting the `invisible' text property over the Info
11328         header, make an overlay over the Info header with the `invisible'
11329         property and `after-string' set to the string returned by
11330         `Info-breadcrumbs'.
11332 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11334         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11335         Reported by monkey@sandpframing.com.
11337 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11339         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11340         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11341         available in the "keyseq cache" any more.
11343         * custom.el (defcustom): Add edebug spec.
11345 2010-04-18  Juri Linkov  <juri@jurta.org>
11347         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11349         * view.el (view-file, view-buffer): Move test for special mode-class
11350         from view-file to view-buffer.
11352         * tar-mode.el (tar-extract): Turn if's into one cond
11353         like in arc-mode.el.
11355 2010-04-18  Juri Linkov  <juri@jurta.org>
11357         Add 7z archive format support (bug#5475).
11359         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11360         (archive-7z-extract): New defcustom.
11361         (archive-find-type): Add magic string for 7z.
11362         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11363         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11364         `buffer' arg of `call-process'.
11365         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11366         call the function `archive-7z-extract' with the variable
11367         `archive-7z-extract' let-bound to `archive-zip-extract'.
11368         (archive-7z-summarize, archive-7z-extract): New functions.
11370         * international/mule.el (auto-coding-alist):
11371         * files.el (auto-mode-alist): Add 7z file extension.
11373 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11375         * loadup.el: Setup hash-cons for pure data.
11377         Fix duplicate entries in cedet's loaddefs.el files.
11378         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11379         Should make most file-local generated-autoload-file unnecessary.
11380         (print-readably): Silence warnings.
11381         (autoload-find-destination): Take load-name as an arg to make sure
11382         it's the same as the one that will be in the file.
11383         (autoload-generate-file-autoloads): Adjust to above changes.
11384         Try to make the dataflow a bit simpler.
11386         * cvs-status.el (cvs-refontify): Remove unused.
11388 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11390         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11392         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11393         twos-complement mode.
11395 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11397         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11398         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11399         (calc-inverse): Add "Option" to message, as appropriate.
11400         (calc-hyperbolic): Add "Option" to message, as appropriate.
11401         (calc-option, calc-is-option): New functions.
11403         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11404         (calc-option-prefix-help): New function.
11406         * calc/calc-misc.el (calc-help): Add "Option" entry.
11408         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11409         (calc-option-flag): New variable.
11410         (calc-do): Set `calc-option-flag to nil.
11411         (calc-set-mode-line): Add "Opt " as appropriate.
11413 2010-04-16  Juri Linkov  <juri@jurta.org>
11415         Move scrolling commands from simple.el to window.el
11416         because their primitives are implemented in window.c.
11418         * simple.el (scroll-error-top-bottom)
11419         (scroll-up-command, scroll-down-command, scroll-up-line)
11420         (scroll-down-line, scroll-other-window-down)
11421         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11422         * window.el (scroll-error-top-bottom)
11423         (scroll-up-command, scroll-down-command, scroll-up-line)
11424         (scroll-down-line, scroll-other-window-down)
11425         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11426         Move from simple.el to window.el because their primitives are
11427         implemented in window.c.
11429 2010-04-16  Juri Linkov  <juri@jurta.org>
11431         * isearch.el (isearch-lookup-scroll-key): Check both
11432         `isearch-scroll' and `scroll-command' properties.
11433         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11435         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11437         * simple.el (scroll-up-command, scroll-down-command)
11438         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11440 2010-04-15  Juri Linkov  <juri@jurta.org>
11442         * simple.el (scroll-up-command, scroll-down-command)
11443         (scroll-up-line, scroll-down-line): Put `scroll-command'
11444         property on the these symbols.  Remove them from
11445         `scroll-preserve-screen-position-commands'.
11447         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11448         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11449         Remove it from `scroll-preserve-screen-position-commands'.
11451         * isearch.el (isearch-allow-scroll): Doc fix.
11453 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11455         * net/tramp.el (tramp-error-with-buffer): Don't show the
11456         connection buffer when we are in completion mode.
11457         (tramp-file-name-handler): Catch the error for some operations
11458         when we are in completion mode.  This gives the user the chance to
11459         correct the file name in the minibuffer.
11461 2010-04-15  Glenn Morris  <rgm@gnu.org>
11463         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11465 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11467         Simplify by using `define-derived-mode'.
11468         * info.el (Info-mode):
11469         * calendar/todo-mode.el (todo-mode):
11470         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11471         (gomoku-mode-map): Move initialization into declaration.
11473 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11475         Fix Bug#5840.
11476         * ido.el (ido-file-name-all-completions-1):
11477         * minibuffer.el (minibuffer-completion-help):
11478         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11480 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11482         * simple.el (non-essential): New var.
11484         Add a new field `location' to bookmarks for non-file bookmarks.
11485         * bookmark.el (bookmark-location): Use the new field, if present.
11486         (bookmark-insert-location): Undo last change, not needed any more.
11487         * man.el (Man-bookmark-make-record):
11488         * woman.el (woman-bookmark-make-record): Add `location' field.
11490 2010-04-14  Juri Linkov  <juri@jurta.org>
11492         * simple.el (scroll-error-top-bottom): New defcustom.
11493         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11495         * emulation/pc-select.el (pc-select-override-scroll-error):
11496         Obsolete in favor of `scroll-error-top-bottom'.
11498 2010-04-14  Juri Linkov  <juri@jurta.org>
11500         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11501         `scroll-up-command' and `M-v' to `scroll-down-command'.
11503         * emulation/cua-rect.el (cua--init-rectangles):
11504         * forms.el (forms--change-commands):
11505         * image-mode.el (image-mode-map):
11506         Remap scroll-down-command and scroll-up-command
11507         in addition to scroll-down and scroll-up.
11509 2010-04-14  Juri Linkov  <juri@jurta.org>
11511         * mwheel.el (scroll-preserve-screen-position-commands):
11512         Add mwheel-scroll to this list of commands.
11514         * simple.el (scroll-preserve-screen-position-commands):
11515         Add scroll-up-command, scroll-down-command, scroll-up-line,
11516         scroll-down-line to this list of commands.
11518 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11520         * obsolete/complete.el: Move from lisp/complete.el.
11522         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11524         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11525         to the minor mode function now turns the mode ON unconditionally.
11527 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11529         * vc-dir.el (vc-dir-kill-line): New command.
11530         (vc-dir-mode-map): Bind it to C-k.
11532         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11534         * woman.el: Add bookmark declarations to silence the compiler.
11535         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11536         step to compatibility between man and woman bookmarks.
11537         Adjust for Man-default-bookmark-title renaming.
11538         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11540         * man.el: Add bookmark declarations to silence the compiler.
11541         (Man-name-local-regexp): Make it match NAME as well.
11542         (Man-getpage-in-background): Return the buffer.
11543         (Man-notify-when-ready): Use `case'.
11544         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11545         Don't hardcode "NAME".  Simplify.
11546         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11547         Rename from Man-bookmark-make-record.
11548         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11549         we have the actual man-args.  Use Man-getpage-in-background rather
11550         than `man' since the arg is already processed.  Let bookmark.el do the
11551         window handling.  Only wait for the relevant process.
11552         Don't forget to autoload.
11554         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11556 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11558         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11559         New functions.
11560         (woman-mode): Setup bookmark support.
11562         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11563         (man-bookmark-jump): New functions.
11564         (Man-mode): Setup bookmark support.
11566 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11568         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11569         recognize ssh-keygen prompt (Bug#2817).
11571 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11573         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11575 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11577         Synchronize with Tramp repository.
11579         * net/tramp.el (tramp-completion-function-alist)
11580         (tramp-file-name-regexp, tramp-chunksize)
11581         (tramp-local-coding-commands, tramp-remote-coding-commands):
11582         Fix docstring.
11583         (tramp-remote-process-environment): Use `format' instead of `concat'.
11584         (tramp-handle-directory-files-and-attributes)
11585         (tramp-get-remote-path): Use `copy-tree'.
11586         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11587         compatibility: Use `completion-ignore-case' if
11588         `read-file-name-completion-ignore-case' does not exist.
11589         (tramp-do-copy-or-rename-file-directly): Do not use
11590         `tramp-handle-file-remote-p'.
11591         (tramp-do-copy-or-rename-file-out-of-band):
11592         Use `tramp-compat-delete-directory'.
11593         (tramp-do-copy-or-rename-file-out-of-band)
11594         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11595         Use `format-spec-make'.
11596         (tramp-find-foreign-file-name-handler)
11597         (tramp-advice-make-auto-save-file-name)
11598         (tramp-set-auto-save-file-modes): Remove superfluous check for
11599         `stringp'.  This is done inside `tramp-tramp-file-p'.
11600         (tramp-debug-outline-regexp): New defconst.
11601         (tramp-get-debug-buffer): Use it.
11602         (tramp-check-for-regexp): Use (forward-line 1).
11603         (tramp-set-auto-save-file-modes): Adapt version check.
11605         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11606         Wrap call of `featurep' for 2nd argument.
11607         (tramp-compat-make-temp-file): Simplify fallback implementation.
11608         (tramp-compat-copy-tree): Remove function.
11609         (tramp-compat-delete-directory): Provide implementation for older
11610         Emacsen.
11612         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11613         Do not use `tramp-fish-handle-file-attributes.
11615         * net/trampver.el: Update release number.
11617 2010-04-10  Glenn Morris  <rgm@gnu.org>
11619         * progmodes/compile.el (compilation-save-buffers-predicate):
11620         Add missing :version tag.
11622 2010-04-09  Sam Steingold  <sds@gnu.org>
11624         * progmodes/compile.el (compilation-save-buffers-predicate):
11625         Remove the "autoload" cookie.
11627         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11628         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11629         and `bug-reference-prog-mode' can be used in hooks directly.
11631 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11633         Add --author support to git commit.
11634         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11635         (vc-git-log-edit-mode): New minor mode.
11636         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11637         New declarations.
11639 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11641         * vc-hooks.el, vc-git.el: Improve documentation comments.
11643 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11645         Fix some of the problems in defsubst* (bug#5728).
11646         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11647         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11649 2010-04-07  Sam Steingold  <sds@gnu.org>
11651         * progmodes/compile.el (compilation-save-buffers-predicate):
11652         New custom variable.
11653         (compile, recompile): Pass it to `save-some-buffers'.
11655 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11657         * wid-edit.el (widget-choose): Move cursor to the second line of
11658         the buffer (Bug#5695).
11660 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11662         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11663         * vc.el (vc-print-log-setup-buttons): New function split out from
11664         vc-print-log-internal.
11665         (vc-log-internal-common): New function, a parametrized version of
11666         vc-print-log-internal.
11667         (vc-print-log-internal): Just call vc-log-internal-common with the
11668         right arguments.
11669         (vc-incoming-outgoing-internal):
11670         (vc-log-incoming, vc-log-outgoing): New functions.
11671         (vc-log-view-type): New permanent local variable.
11673         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11675         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11676         of the dynamic bound vc-short-log.
11677         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11679         * vc-git.el (vc-git-log-outgoing): New function.
11680         (vc-git-log-view-mode): Use vc-log-view-type instead
11681         of the dynamic bound vc-short-log.
11683         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11684         of the dynamic bound vc-short-log.  Highlight the tag.
11685         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11686         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11687         (vc-hg-incoming-mode): Remove.
11688         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11690 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11692         Fix default-directory for vc-root-diff.
11693         * vc.el (vc-root-diff): Bind default-directory to the root
11694         directory for the diff command.
11696 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11698         * progmodes/verilog-mode.el (verilog-forward-sexp):
11699         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11700         word keywords, suggested by Steve Pearlmutter.
11701         (verilog-pretty-declarations): Support lineup of declarations in
11702         port lists.
11703         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11704         fix bug for /* / comments.
11705         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11706         Speed up and simplfy as this is never called with a bound.
11707         (verilog-pretty-declarations): Enhance to line up declarations
11708         inside a parameter list, suggested by Alan Morgan.
11709         (verilog-pretty-expr): Tune assignment regular expression match
11710         string for corner cases; also use markers instead of character
11711         number as indent changes the later.
11713 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11715         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11716         as missing keyword.
11717         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11718         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11719         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11720         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11721         Tennant.
11722         (verilog-keywords):
11723         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11724         1800-2009 keywords, including "global.".
11726 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11728         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11729         appearing in buffer list (if a live buffer name matched a recentf
11730         file basename).  Should use uniquify to offer a real solution.
11732 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11734         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11735         comment to code, and add a :version tag.
11736         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11738 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11740         Enable recentf-mode if using virtual buffers.
11741         * ido.el (recentf-list): Declare for byte-compiler.
11742         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11743         (ido-make-buffer-list): Simplify.
11744         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11746 2010-04-05  Juri Linkov  <juri@jurta.org>
11748         Scrolling commands which scroll a line instead of full screen.
11749         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11751         * simple.el (scroll-up-line, scroll-down-line): New commands.
11752         Put property isearch-scroll=t on them.
11754         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11755         Remove commands.
11757 2010-04-05  Juri Linkov  <juri@jurta.org>
11759         Scrolling commands which do not signal errors at top/bottom.
11760         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11762         * simple.el (scroll-up-command, scroll-down-command): New commands.
11763         Put property isearch-scroll=t on them.
11765         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11766         `scroll-down-command' and [next] from `scroll-up' to
11767         `scroll-up-command'.
11769         * emulation/cua-base.el: Put property CUA=move on
11770         `scroll-up-command' and `scroll-down-command'.
11771         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11772         and `scroll-down-command' to `cua-scroll-down'.
11774 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11776         * help.el (describe-mode): Return nil.
11778 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11780         * ido.el (ido-use-virtual-buffers): New variable to indicate
11781         whether "virtual buffer" support is enabled for IDO.
11782         (ido-virtual): Face used to indicate virtual buffers in the list.
11783         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11784         exists, but a virtual buffer of that name does (which would be why
11785         it was in the list), recreate the buffer by reopening the file.
11786         (ido-make-buffer-list): If virtual buffers are being used, call
11787         `ido-add-virtual-buffers-to-list' before the make list hook.
11788         (ido-virtual-buffers): New variable which contains a copy of the
11789         current contents of the `recentf-list', albeit pared down for the
11790         sake of speed, and with proper faces applied.
11791         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11792         create a list of "virtual buffers" to present to the user in
11793         addition to the currently open set.  Note that this logic could
11794         get rather slow if that list is too large.  With the default
11795         `recentf-max-saved-items' of 200, there is little speed penalty.
11797 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11799         * font-lock.el: Require CL when compiling.
11800         (font-lock-turn-on-thing-lock): Use `case'.
11802 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11804         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11805         Zaretskii.
11807 2010-04-02  Juri Linkov  <juri@jurta.org>
11809         * ehelp.el (electric-help-orig-major-mode):
11810         New buffer-local variable.
11811         (electric-help-mode): Set it to original major-mode.  Doc fix.
11812         (with-electric-help): Use `electric-help-orig-major-mode' instead
11813         of (default-value 'major-mode).  Doc fix.
11814         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11816 2010-04-02  Sam Steingold  <sds@gnu.org>
11818         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11819         `vc-hg-command' with a list of flags.
11821         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11822         Also accept "patch" and "RFE".
11823         (bug-reference-fontify): `bug-reference-url-format' can also be a
11824         function to be able to handle the bug kind.
11825         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11827 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11829         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11830         value to fboundp, it may not be a symbol.
11832 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11834         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11836 2010-03-31  Juri Linkov  <juri@jurta.org>
11838         * simple.el (next-line, previous-line): Re-throw a signal
11839         with `signal' instead of using `ding'.
11840         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11842 2010-03-31  Juri Linkov  <juri@jurta.org>
11844         * simple.el (keyboard-escape-quit): Raise deselecting the active
11845         region higher than exiting the minibuffer.
11846         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11848 2010-03-31  Juri Linkov  <juri@jurta.org>
11850         * image.el (image-animated-p): Use `image-metadata' instead of
11851         `image-extension-data'.  Get GIF extenstion data from metadata
11852         property `extension-data'.
11854 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11856         * simple.el (append-to-buffer): Simplify.
11858 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11860         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11861         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11863 2010-03-31  Kenichi Handa  <handa@m17n.org>
11865         * language/sinhala.el (composition-function-table): Fix regexp for
11866         the new Unicode specification.
11868         * language/indian.el (devanagari-composable-pattern)
11869         (tamil-composable-pattern, kannada-composable-pattern)
11870         (malayalam-composable-pattern): Adjust for the new Unicode
11871         specification.
11872         (bengali-composable-pattern, gurmukhi-composable-pattern)
11873         (gujarati-composable-pattern, oriya-composable-pattern)
11874         (telugu-composable-pattern): New variables to cope with the new
11875         Unicode specification.  Use them in composition-function-table.
11877 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11879         Make tmm-menubar work for the Buffers menu again (bug#5726).
11880         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11881         vectors rather than cons cells, as used in menu-bar-update-buffers.
11883 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11885         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11886         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11887         electric punctuation for "{}();,:" (Bug#5586).
11889         * mail/sendmail.el (mail-default-directory): Doc fix.
11891 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11893         * mail/sendmail.el (mail-default-directory): Doc fix.
11895 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11897         * subr.el (version-regexp-alist, version-to-list)
11898         (version-list-<, version-list-=, version-list-<=)
11899         (version-list-not-zero, version<, version<=, version=): Doc fix.
11900         (Bug#5744).
11902 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11904         * vc.el (vc-root-diff): Doc fix.
11906 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11908         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11910         * simple.el (append-to-buffer): Fix last change.
11912 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11914         * simple.el (append-to-buffer): Ensure that point is preserved if
11915         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11916         (Bug#5749)
11918 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11920         * files.el (auto-mode-case-fold): Change default to t.
11922 2010-03-30  Juri Linkov  <juri@jurta.org>
11924         * dired-x.el (dired-omit-mode): Doc fix.
11926 2010-03-30  Juri Linkov  <juri@jurta.org>
11928         * replace.el (occur-accumulate-lines): Move occur-engine related
11929         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11930         to be located after `occur-engine'.
11932 2010-03-30  Juri Linkov  <juri@jurta.org>
11934         Make occur handle multi-line matches cleanly with context.
11935         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11937         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11938         (occur-engine): Add local variables `ret', `prev-after-lines',
11939         `prev-lines'.  Use more arguments for `occur-context-lines'.
11940         Set first elem of its returned list to `data', and the second elem
11941         to `prev-after-lines'.  Don't print the separator line.
11942         In the end, print remaining context after-lines.
11943         (occur-context-lines): Add new arguments `begpt', `endpt',
11944         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11945         after-lines of the previous match with before-lines of the
11946         current match and not overlap them.  Return a list with two
11947         values: the output line and the list of context after-lines.
11949 2010-03-30  Juri Linkov  <juri@jurta.org>
11951         * replace.el (occur-accumulate-lines): Fix a bug where the first
11952         context line at the beginning of the buffer was missing.
11954 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11956         * files.el: Make bidi-display-reordering safe variable for boolean
11957         values.
11959 2010-03-29  Phil Hagelberg  <phil@evri.com>
11960             Chong Yidong  <cyd@stupidchicken.com>
11962         * subr.el: Extend progress reporters to perform "spinning".
11963         (progress-reporter-update, progress-reporter-do-update):
11964         Handle non-numeric value arguments.
11965         (progress-reporter--pulse-characters): New var.
11967 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11969         * progmodes/compile.el (compilation-start): Fix regexp detection
11970         of initial cd command (Bug#5771).
11972 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11974         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11976 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11978         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11979         * progmodes/gdb-mi.el: Restore.
11980         * progmodes/gdb-ui.el: Remove.
11981         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11983 2010-03-25  Glenn Morris  <rgm@gnu.org>
11985         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11986         all dired buffers, even tramp ones.  (Bug#5755)
11988 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11990         Add "union tags" in mpc.el.
11991         * mpc.el: Remove backward compatibility code.
11992         (mpc-browser-tags): Change default.
11993         (mpc--find-memoize-union-tags): New var.
11994         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11995         (mpc-cmd-find): Handle the case where the playlist does not exist.
11996         Handle union-tags.
11997         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11998         (mpc-cmd-add): Use mpc-cmd-flush.
11999         (mpc-tagbrowser-tag-name): New fun.
12000         (mpc-tagbrowser-buf): Use it.
12001         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12003 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12005         Misc cleanup.
12006         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12007         Use replace-regexp-in-string.
12008         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12009         (makefile-imake-mode-syntax-table): Move init into defvar.
12010         (makefile-mode): Use define-derived-mode.
12012         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12013         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12014         not be present any more.
12016 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12018         * faces.el (set-face-attribute): Fix typo in docstring.
12019         (face-valid-attribute-values): Reflow docstring.
12021 2010-03-24  Glenn Morris  <rgm@gnu.org>
12023         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12025 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12027         * indent.el (indent-for-tab-command): Doc fix.
12029 2010-03-24  Alan Mackenzie  <acm@muc.de>
12031         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12032         Fix off-by-one error.  Fixes bug #5747.
12034 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12036         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12037         (image-dired-read-comment): Doc fix.
12039         * json.el (json-object-type, json-array-type, json-key-type)
12040         (json-false, json-null, json-read-number):
12041         * minibuffer.el (completion-in-region-functions):
12042         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12043         (cal-tex-cursor-week):
12044         * emacs-lisp/trace.el (trace-function):
12045         * eshell/em-basic.el (eshell/printnl):
12046         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12047         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12048         * obsolete/levents.el (allocate-event, event-key, event-object)
12049         (event-point, event-process, event-timestamp, event-to-character)
12050         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12051         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12052         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12053         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12054         (reftex-highlight-selection): Fix typos in docstrings.
12056 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12058         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12060 2010-03-24  Glenn Morris  <rgm@gnu.org>
12062         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12063         2008-02-13 without comment; mark it obsolete.
12064         (rmail-highlight-headers): Use rmail-highlight-face once more.
12066 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12068         * woman.el (woman2-process-escapes): Only consume the newline if
12069         the filler character is on a line by itself (Bug#5729).
12071 2010-03-24  Kenichi Handa  <handa@m17n.org>
12073         * language/indian.el (devanagari-composable-pattern): Add more
12074         consonants.
12076 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12078         * net/trampver.el: Update release number.
12080 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12082         * net/tramp.el (tramp-find-executable):
12083         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12084         output of "wc -l" more robust.
12085         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12086         (tramp-open-connection-setup-interactive-shell): Remove workaround
12087         for OpenSolaris bug, it is not needed anymore.
12089 2010-03-24  Glenn Morris  <rgm@gnu.org>
12091         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12093 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12095         * files.el (auto-mode-alist): Accept more verilog file patterns.
12097 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12099         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12101 2010-03-24  Glenn Morris  <rgm@gnu.org>
12103         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12104         log-edit-before-checkin-process.
12106         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12108         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12110         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12111         (log-view-process-buffer, log-edit-extra-flags): Declare.
12113         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12115 2010-03-23  Sam Steingold  <sds@gnu.org>
12117         Fix bug#5620: recalculate all markers on compilation buffer
12118         modifications, not on file modifications.
12119         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12120         variable: the buffer modification time, for buffers not associated with
12121         files.
12122         (compilation-mode): Create it.
12123         (compilation-filter): Update it.
12124         (compilation-next-error-function): Use it instead of
12125         `visited-file-modtime' for timestamp.
12127 2010-03-23  Juri Linkov  <juri@jurta.org>
12129         Implement Occur multi-line matches.
12130         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12132         * replace.el (occur): Doc fix.
12133         (occur-engine): Set `begpt' to the beginning of the first line.
12134         Set `endpt' to the end of the last match line.  At first, count
12135         line numbers between `origpt' and `begpt'.  Split out code from
12136         `out-line' variable to new let-bindings `match-prefix' and
12137         `match-str'.  In `out-line' add non-numeric prefix to all
12138         non-first lines of multi-line matches.  Finally, count lines
12139         between `begpt' and `endpt' and add to `lines'.
12141 2010-03-23  Juri Linkov  <juri@jurta.org>
12143         * replace.el (occur-accumulate-lines, occur-engine):
12144         Use `occur-engine-line' instead of duplicate code.
12145         (occur-engine-line): New function created from duplicate code
12146         in `occur-accumulate-lines' and `occur-engine'.
12148         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12149         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12151 2010-03-23  Juri Linkov  <juri@jurta.org>
12153         * finder.el: Remove TODO tasks.
12155         * info.el (Info-finder-find-node): Add node "all"
12156         with all package info.  Handle a list of multiple keywords
12157         separated by comma.
12158         (info-finder): In interactive use with a prefix argument,
12159         use `completing-read-multiple' to read a list of keywords
12160         separated by comma.
12162 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12164         Add a new completion style `substring'.
12165         * minibuffer.el (completion-basic--pattern): New function.
12166         (completion-basic-try-completion, completion-basic-all-completions):
12167         Use it.
12168         (completion-substring--all-completions)
12169         (completion-substring-try-completion)
12170         (completion-substring-all-completions): New functions.
12171         (completion-styles-alist): New style `substring'.
12173 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12175         Get rid of .elc files after removal of the corresponding .el.
12176         * Makefile.in (compile-clean): New target.
12177         (compile-main): Use it.
12179 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12181         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12182         don't do make there.  When compiling with separate object dir, there
12183         is no Makefile there.
12185 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12187         Get rid of the ELCFILES abomination, again.
12188         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12189         (all, compile): Don't call compile-last.
12190         (compile-main): Build the "elcfiles" list dynamically.
12191         (compile-targets): New (internal) target.
12193 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12195         * Makefile.in (top_srcdir): Define.
12196         (abs_top_builddir): Define.
12197         (srcdir): Don't append `/..'.
12198         (EMACS): Use ${abs_top_builddir}.
12199         (all, compile, compile-always, compile-last): Don't set emacswd.
12200         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12201         $(srcdir).
12202         (lisp): Use $(srcdir) instead of @srcdir@.
12204 2010-03-21  Juri Linkov  <juri@jurta.org>
12206         Fix message of multi-line occur regexps and multi-buffer header lines.
12207         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12209         * replace.el (occur-1): Don't display regexp if it is longer
12210         than window-width.  Use `query-replace-descr' to display regexp.
12211         (occur-engine): Don't display regexp in the buffer header for
12212         multi-buffer occur.  Display a separate header line with total
12213         match count and regexp for multi-buffer occur.
12214         Use `query-replace-descr' to display regexp.
12216 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12218         * net/secrets.el: Fix parenthesis.
12219         (secrets-enabled): Fix parenthesis.
12221 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12223         Use more relative file and directory names.
12224         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12225         (setwins, setwins_almost, setwins_for_subdirs):
12226         Don't `cd'; output relative names.
12227         (all, compile, compile-always, compile-last): Set emacswd.
12228         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12229         Just cd to the lisp source dir so we can use relative file names.
12231         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12233 2010-03-20  Glenn Morris  <rgm@gnu.org>
12235         * textmodes/rst.el: Use faces for font-lock customization, and make the
12236         old -face variables obsolete.
12237         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12238         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12239         (rst-block-face, rst-external-face, rst-definition-face)
12240         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12241         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12242         Make obsolete.
12243         (rst-font-lock-keywords-function): Update for above changes.
12245 2010-03-20  Juri Linkov  <juri@jurta.org>
12247         * s-region.el:
12248         * obsolete/s-region.el: Move to obsolete.
12250 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12252         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12254 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12256         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12258 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12260         Add special markup processing for commit logs.
12261         * log-edit.el (log-edit-extra-flags): New variable.
12262         (log-edit): Add new argument MODE.  Use that mode when non-nil
12263         instead of the log-view-mode.
12264         (log-view-process-buffer): New function.
12266         * vc.el: Document that the checkin method takes optional
12267         arguments.  Document new backend specific method: log-view-mode.
12268         (vc-default-log-edit-mode): New function.
12269         (vc-checkin): Use a backend specific log-view-mode.
12270         Pass extra arguments to the checkin method.
12271         (vc-modify-change-comment): Pass a dummy extra argument.
12273         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12274         log-edit.
12275         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12276         (vc-finish-logentry): Process the log buffer before passing it
12277         down.  Pass log-edit-extra-flags.
12279         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12280         command.
12281         (log-edit-extra-flags, log-edit-before-checkin-process):
12282         New declarations.
12284         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12285         command.
12286         (log-edit-extra-flags, log-edit-before-checkin-process):
12287         New declarations.
12288         (vc-hg-log-edit-mode): New derived mode.
12290         * vc-arch.el (vc-arch-checkin):
12291         * vc-cvs.el (vc-cvs-checkin):
12292         * vc-git.el (vc-git-checkin):
12293         * vc-mtn.el (vc-mtn-checkin):
12294         * vc-rcs.el (vc-rcs-checkin):
12295         * vc-sccs.el (vc-sccs-checkin):
12296         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12298 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12301         parent typo).
12303 2010-03-19  Glenn Morris  <rgm@gnu.org>
12305         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12307 2010-03-18  Glenn Morris  <rgm@gnu.org>
12309         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12311         * replace.el (query-replace-history): Give it a doc string.
12312         (map-query-replace-regexp): Use query-replace-from-history-variable
12313         and query-replace-to-history-variable.
12315         * mail/hashcash.el (declare-function): Remove duplicate definition.
12317         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12318         Make it an obsolete alias for report-emacs-bug-address.
12319         (message-strip-special-text-properties): Declare.
12320         (report-emacs-bug): Remove test for a pretest bug address.
12321         Combine message-mode-specific code.
12323         * mail/supercite.el: Don't require sendmail.
12324         (mh-in-header-p): Declare rather than using with-no-warnings.
12325         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12326         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12328         * calendar/cal-french.el: Convert to utf-8.
12330         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12331         Emacs scripts.
12333 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12335         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12336         of a subfeature.
12338 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12340         * net/secrets.el (top): Register the D-Bus signals only when the
12341         service "org.freedesktop.secrets" can be pinged.
12342         Provide subfeature `enabled'.
12344 2010-03-14  Juri Linkov  <juri@jurta.org>
12346         Add finder unknown keywords.
12348         * finder.el (finder-unknown-keywords): New function.
12350         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12351         to create a Finder node with unknown keywords.
12353 2010-03-14  Juri Linkov  <juri@jurta.org>
12355         * finder.el (finder-compile-keywords): Replace `princ' with
12356         `prin1' on a list of symbols interned from keyword strings.
12358         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12359         a comma, then split keywords using a comma and optional whitespace.
12360         Otherwise, split by whitespace.
12362         * complete.el:
12363         * face-remap.el:
12364         * log-view.el:
12365         * net/hmac-def.el:
12366         * net/hmac-md5.el:
12367         * net/netrc.el:
12368         * progmodes/mixal-mode.el: Fix keywords.
12370 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12372         * Makefile.in (ELCFILES): Add net/secrets.elc.
12374         * net/secrets.el: New file.
12376 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12378         * facemenu.el (list-colors-display, list-colors-print): New arg
12379         callback.  Use it to allow selecting colors.
12381         * wid-edit.el (widget-image-insert): Insert image prop even if the
12382         current display is non-graphic.
12383         (widget-field-value-set): New fun.
12384         (editable-field): Use it.
12385         (widget-field-value-get): Clean up unused var.
12386         (widget-color-value-create, widget-color--choose-action):
12387         New funs.  Allow using list-colors-display to choose color.
12389 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12391         * cus-edit.el: Resort topmost custom groups.
12392         (custom-buffer-sort-alphabetically): Default to t.
12393         (customize-apropos): Use apropos-parse-pattern.
12394         (custom-search-field): New var.
12395         (custom-buffer-create-internal): Add custom-apropos search field.
12396         (custom-add-parent-links): Don't display parent doc.
12397         (custom-group-value-create): Don't sort top-level custom group.
12398         (custom-magic-value-create): Show visibility button before option name.
12400         (custom-variable-state): New fun, from custom-variable-state-set.
12401         (custom-variable-state-set): Use it.
12402         (custom-group-value-create): Hide options with standard values
12403         using the :hidden-states property.  Use progress reporter.
12405         (custom-show): Simplify.
12406         (custom-visibility): Disable images by default.
12407         (custom-variable): New property :hidden-states.
12408         (custom-variable-value-create): Enable images for
12409         custom-visibility widgets.  Use :hidden-states property to
12410         determine initial visibility.
12412         * wid-edit.el (widget-image-find): Give images center ascent.
12413         (visibility): Add :on-image and :off-image properties.
12414         (widget-visibility-value-create): Use them.
12416 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12418         * cus-edit.el (processes): Remove from development group.
12419         (oop, hypermedia): Delete group.
12420         (comm): Promote to top-level group.
12422         * net/browse-url.el (browse-url):
12423         * net/xesam.el (xesam):
12424         * net/tramp.el (tramp):
12425         * net/goto-addr.el (goto-address):
12426         * net/ange-ftp.el (ange-ftp): Put in comm group.
12428         * view.el (view): Remove from editing group.
12430         * uniquify.el (uniquify): Put in files group.
12432         * net/browse-url.el (browse-url):
12433         * ps-print.el (postscript): Put in external group.
12435         * cus-edit.el (outlines):
12436         * textmodes/text-mode.el (text-mode-hook):
12437         * textmodes/table.el (table):
12438         * textmodes/picture.el (picture):
12439         * outline.el (outlines): Put in wp group.
12441         * nxml/nxml-mode.el (nxml): Remove from wp group.
12443         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12445         * mail/metamail.el (metamail): Remove from hypermedia group.
12447         * cus-edit.el (abbrev):
12448         * whitespace.el (whitespace):
12449         * vcursor.el (vcursor):
12450         * reveal.el (reveal):
12451         * hl-line.el (hl-line): Put in convenience group.
12453         * epg-config.el (epg): Put in data group.
12455         * emulation/pc-select.el (pc-select): Put in emulations group.
12457         * calculator.el (calculator): Put in applications group.
12459 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12461         Add .dir-locals.el support for file-less buffers.
12462         * files.el (hack-local-variables): Split out code to apply local
12463         variable settings ...
12464         (hack-local-variables-apply): ... here.  New function.
12465         (hack-dir-local-variables): Use the default directory for when the
12466         buffer does not have an associated file.
12467         (hack-dir-local-variables-non-file-buffer): New function.
12468         * diff-mode.el (diff-mode):
12469         * vc-annotate.el (vc-annotate-mode):
12470         * vc-dir.el (vc-dir-mode):
12471         * log-edit.el (log-edit-mode):
12472         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12474 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12476         Add support for shelving snapshots and for showing shelves.
12477         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12478         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12479         New functions.
12480         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12481         (vc-bzr-extra-menu-map): Map them.
12483 2010-03-11  Glenn Morris  <rgm@gnu.org>
12485         * cus-edit.el (customize-changed-options-previous-release):
12486         Bump to 23.1.
12488         * image.el (image-animate-max-time): Fix :version tag.
12490 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12492         * Branch for 23.2.
12494 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12496         * vc-git.el (vc-git-revision-table): Include remote branches.
12498 2010-03-10  Kim F. Storm  <storm@cua.dk>
12500         Animated image API.
12501         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12503         * image.el (image-animate-max-time): New defcustom.
12504         (image-animated-types): New defconst.
12505         (create-animated-image, image-animate-timer)
12506         (image-animate-start, image-animate-stop, image-animate-timeout)
12507         (image-animated-p): New functions.
12509         * image-mode.el (image-toggle-display-image):
12510         Replace `create-image' with `create-animated-image'.
12512 2010-03-09  Miles Bader  <miles@gnu.org>
12514         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12515         instead of "format:"; this ensures that the output is
12516         newline-terminated.
12518 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12520         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12521         that all errors are caught, and that the return value is always a
12522         list (Bug#5692).
12524 2010-03-08  Kenichi Handa  <handa@m17n.org>
12526         * language/misc-lang.el (windows-1256): New coding system.
12527         (cp1256): New alias of windows-1256 (bug#5690).
12529 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12531         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12532         call to rfc822-bad-address.  (Bug#5692)
12534 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12536         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12537         Use vc-git-root as default directory for revision path (Bug#5657).
12539 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12541         * calculator.el (calculator): Don't bind split-window-keep-point
12542         (Bug#5674).
12544 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12546         * vc-git.el: Re-flow to fit into 80 columns.
12547         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12548         Remove spurious `quote' element in each case alternative.
12549         (vc-git-show-log-entry): Use prog1.
12550         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12552 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12554         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12556 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12558         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12559         definition, not the name (Bug#5481).
12561 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12563         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12564         argument with a local variable.  (Bug#5670)
12566 2010-03-02  Juri Linkov  <juri@jurta.org>
12568         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12570 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12572         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12573         error when FILENAME and NEWNAME are existing remote directories.
12575         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12576         parameter DIR-FLAG.
12578 2010-03-02  Glenn Morris  <rgm@gnu.org>
12580         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12581         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12583 2010-03-01  Kenichi Handa  <handa@m17n.org>
12585         * language/burmese.el (burmese-composable-pattern): Rename from
12586         myanmar-composable-pattern.
12588         * international/characters.el (script-list):
12589         * international/fontset.el (script-representative-chars):
12590         Change myanmar to burmese.
12591         (otf-script-alist): Likewise.
12592         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12594 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12596         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12598 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12600         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12602 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12604         * net/tramp.el (tramp-handle-write-region): START can be a string.
12605         Take care in the checks.  Reported by Dan Davison
12606         <davison@stats.ox.ac.uk>.
12608 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12610         * net/dbus.el (dbus-introspect, dbus-get-property)
12611         (dbus-set-property, dbus-get-all-properties):
12612         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12614 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12616         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12617         * emacs-lisp/elint.el (elint-add-required-env):
12618         * calendar/icalendar.el (icalendar--add-diary-entry):
12619         * calc/calcalg2.el (math-tracing-integral):
12620         * files.el (recover-session-finish): Use with-current-buffer
12621         instead of save-excursion.
12623 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12625         Fix in-buffer completion when after-change-functions modify the buffer.
12626         * minibuffer.el (completion--replace): New function.
12627         (completion--do-completion): Use it and use relative movement.
12629 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12631         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12633 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12635         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12636         Allow the characters _<> in the stack entry (Bug#5653).
12638 2010-02-26  Kenichi Handa  <handa@m17n.org>
12640         * language/burmese.el: Fix entries in composition-function-table.
12641         (myanmar-composable-pattern): New variable.
12643         * international/fontset.el (setup-default-fontset): Add an entry
12644         for myanmar.
12646         * international/characters.el (script-list): Add Myanmar
12647         Extended-A.
12649 2010-02-26  Glenn Morris  <rgm@gnu.org>
12651         * custom.el (custom-initialize-delay): Doc fix.
12653         * mail/sendmail.el (send-mail-function): Autoload the call
12654         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12656 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12658         * files.el (hack-local-variables-filter): For eval forms, also
12659         check safe-local-variable-p (Bug#5636).
12661 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12663         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12664         setting the modes by `ignore-errors'.  It might fail, for example
12665         if the file is not owned by the user but the group.
12666         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12668 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12670         * files.el (directory-listing-before-filename-regexp):
12671         Use stricter matching for iso-style dates, to avoid false matches with
12672         date-like filenames (Bug#5597).
12674         * htmlfontify.el (htmlfontify): Doc fix.
12676         * eshell/eshell.el (eshell): Doc fix.
12678         * startup.el (fancy-about-screen): In mode-line, apply
12679         mode-line-buffer-id face only to the buffer name (Bug#5613).
12681 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12683         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12684         In `watcom' anchor regexp to start of line, to avoid slowness
12685         (Bug#5599).
12687 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12689         * subr.el (remove-yank-excluded-properties): Explain in a comment
12690         why `category' property is removed.
12692 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12694         * isearch.el (isearch-update-post-hook, isearch-update):
12695         Revert 2010-02-17 change.
12697 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12699         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12700         (icalendar--convert-weekly-to-ical)
12701         (icalendar--convert-yearly-to-ical)
12702         (icalendar--convert-block-to-ical)
12703         (icalendar--convert-cyclic-to-ical)
12704         (icalendar--convert-anniversary-to-ical): Take care of time
12705         specifications where hour has 1-digit only (Bug#5549).
12707 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12709         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12710         of disassemble output in GDB 7.1.
12712 2010-02-19  Glenn Morris  <rgm@gnu.org>
12714         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12715         property.  (Bug#5593)
12717 2010-02-18  Sam Steingold  <sds@gnu.org>
12719         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12721 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12723         Use abbreviated file names in bookmarks (bug#5591).
12724         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12725         calls to expand-file-name.
12726         (bookmark-relocate): Use abbreviated file names in bookmarks.
12727         (bookmark-load): Use abbreviated file names in messages.
12729 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12731         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12732         expand "." and "..".  Reported by Thierry Volpiatto
12733         <thierry.volpiatto@gmail.com>.
12735 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12737         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12738         permissions of the temporary file to "0600".  In case the remote
12739         file has no read permissions for the owner, there might be
12740         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12742 22010-02-18  Glenn Morris  <rgm@gnu.org>
12744         * emacs-lisp/authors.el (authors-renamed-files-alist):
12745         Add entries for INSTALL.CVS.
12747 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12749         * vc-bzr.el: Fix typo in Known Bugs section.
12751         * isearch.el (isearch-update-post-hook): New hook.
12752         (isearch-update): Use the new hook.
12754 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12756         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12757         Fix errors in copying directories.
12758         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12759         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12760         (tramp-handle-delete-file)
12761         (tramp-handle-dired-recursive-delete-directory)
12762         (tramp-handle-write-region): Flush also the cache for the upper
12763         directory.
12765 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12767         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12769         * cus-edit.el (hardware): Doc fix.
12771         * man.el (man): Add to external custom group.
12773         * delim-col.el (columns): Move to wp custom group.
12775         * doc-view.el (doc-view): Add to data custom group.
12777         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12779         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12780         by ispell-parse-output (Bug#5575).
12782 2010-02-16  Kenichi Handa  <handa@m17n.org>
12784         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12785         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12786         (skkdic-convert): Use `euc-japan' coding system for writing.
12788 2010-02-16  Glenn Morris  <rgm@gnu.org>
12790         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12791         tex-main-file before using it.  (Bug#5562)
12793 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12795         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12796         warnings, since it is annoying for the user to see them each time he
12797         runs the code.
12799 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12801         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12802         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12803         instead of PROC for caching "first-password-request".  Otherwise,
12804         new processes would not profit from passwords already entered.
12806         * net/tramp-cache.el (tramp-dump-connection-properties):
12807         Don't save "first-password-request" property.
12809 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12811         * outline.el (outline-head-from-level):
12812         * simple.el (with-wrapper-hook):
12813         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12814         (elint-defun, elint-buffer-env, elint-top-form-logged)
12815         (elint-unbound-variable):
12816         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12817         Fix typos in docstrings.
12819 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12821         * files.el (insert-directory): When WILDCARD-REGEXP and
12822         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12823         whole directory.  (Bug#5551)
12825         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12826         dired's alignment sanity.  (Bug#5516)
12828 2010-02-14  Juri Linkov  <juri@jurta.org>
12830         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12831         Remove remaining ^H with their preceding chars.  (Bug#5566)
12833 2010-02-13  Glenn Morris  <rgm@gnu.org>
12835         * simple.el (transpose-subr): Give it a doc-string.
12837         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12838         Doc fixes.
12840 2010-02-12  Juri Linkov  <juri@jurta.org>
12842         * arc-mode.el (archive-unique-fname): Make directories for nested
12843         archives.  (Bug#5540)
12845 2010-02-12  Juri Linkov  <juri@jurta.org>
12847         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12849 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12851         * subr.el (copy-overlay): Handle deleted overlays.
12853         * man.el (Man-completion-table): Don't signal an error if we can't run
12854         manual-program (bug#4056).
12856 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12858         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12860 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12862         * info.el (Info-bookmark-jump): Simplify.
12864         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12865         (bookmark-default-handler): Accept new bookmark field `buffer'.
12867 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12869         * iswitchb.el (iswitchb-completions): Revert last change.
12871 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12873         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12874         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12875         This prevents file names like "~/" being listed literally.
12877 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12879         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12880         Remove dead code.  (Bug#5546)
12882 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12884         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12885         correctly (Bug#5548).
12887 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12889         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12890         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12892 2010-02-08  Kenichi Handa  <handa@m17n.org>
12894         * international/mule-util.el (with-coding-priority): Add autoload
12895         cookie for putting `lisp-indent-function'.
12897 2010-02-07  Glenn Morris  <rgm@gnu.org>
12899         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12900         Move F2003 named interfaces from keywords-2 to keywords-1, and
12901         use function-name-face rather than constant-face.
12902         Simplify "abstract interface" regexp.
12904 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12906         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12907         ID-FORMAT.  Pass it to `file-attributes'.
12909         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12911 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12913         * faces.el (set-face-attribute): Allow calling
12914         internal-set-lisp-face-attribute with 'unspecified family and
12915         foundry argument (Bug#5536).
12917 2010-02-07  Glenn Morris  <rgm@gnu.org>
12919         * progmodes/f90.el (f90-font-lock-keywords-2)
12920         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12921         Handle F2003 named interfaces.
12923 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12925         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12926         beg and end before calling c-get-state-before-change-functions.
12928 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12930         * vc-bzr.el (vc-bzr-dir-extra-headers):
12931         Disable the pending merges header.
12933 2010-02-05  Juri Linkov  <juri@jurta.org>
12935         * doc-view.el (doc-view-mode):
12936         * image-mode.el (image-mode): Put property mode-class=special.
12937         (Bug#4896)
12939 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12941         * vc-svn.el (vc-svn-revision-table): New function.
12943 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12945         * net/ange-ftp.el (ange-ftp-insert-directory):
12946         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12947         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12948         Handle also directories.  (Bug#5478)
12950 2010-02-05  Glenn Morris  <rgm@gnu.org>
12952         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12954 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12956         * startup.el (command-line-1): Convert options beginning with a
12957         single dash as well (Bug#5519).
12959 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12961         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12962         * minibuffer.el (completion-initials-expand): Only check the presence
12963         of delims *within* the boundaries, since otherwise the / delim is
12964         always found for files.
12966         Fix up various corner case problems.
12967         * doc-view.el (doc-view-last-page-number): New function.
12968         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12969         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12970         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12971         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12972         (doc-view-convert-current-doc): Don't create the resolution.el file
12973         here any more.
12974         (doc-view-pdf/ps->png): Do it here instead.
12975         (doc-view-already-converted-p): Check that resolution.el is present.
12976         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12977         windows that are not yet showing images.
12979 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12981         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12982         `dired-uncache' for every elemnt which is an absolute file name.
12984         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12985         directory, handle its directory component.
12986         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12987         function is called permanently and creates noise, otherwise.
12989         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12990         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12991         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12993 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12995         * macros.el (apply-macro-to-region-lines):
12996         Minor simplification.  (Bug#5485)
12998 2010-02-04  Glenn Morris  <rgm@gnu.org>
13000         * mail/rmail.el (rmail-show-message-1): Handle malformed
13001         quoted-printable text.  (Bug#5441)
13003         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13005         * simple.el (visual-line-mode): Capitalize lighter.
13007 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13009         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13010         list of files considered for "virtual buffer" completions.
13012 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13014         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13015         also in case of (and (not full) (not wildcard)).  This is needed
13016         when dired is called with a list of files, which are not in
13017         `default-directory'.  (Bug#5478)
13019 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13021         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13023 2010-02-02  Juri Linkov  <juri@jurta.org>
13025         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13026         from unidiff to allow function-line after @@.
13028 2010-02-02  Juri Linkov  <juri@jurta.org>
13030         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13031         '(RCS SCCS) with inverted condition.
13033 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13035         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13036         messages.
13038 2010-02-01  Juri Linkov  <juri@jurta.org>
13040         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13041         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13042         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13043         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13045 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13047         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13048         (doc-view-revert-buffer): New command.
13049         (doc-view-mode-map): Use it.
13051 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13053         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13054         pending merge is detected.
13056 2010-01-31  Juri Linkov  <juri@jurta.org>
13058         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13059         beginning of interactive spec like all other grep commands do.
13060         Put "all" in front of "gz".  (Bug#5260)
13062 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13064         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13066 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13068         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13069         regexp is incorrect (Bug#5476).
13071 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13073         * net/tramp.el (tramp-handle-insert-directory): Handle also
13074         symlinks, when FILENAME is not in `default-directory'.
13076 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13078         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13079         FILE is not in `default-directory'.  (Bug#5478)
13081         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13082         of SWITCHES.  Handle the case, FILENAME is not in
13083         `default-directory'.  (Bug#5478)
13084         (tramp-register-file-name-handlers): Add safe-magic property.
13086 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13088         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13089         unzip (Bug#5475).
13091 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13093         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13094         (flymake-master-make-header-init): Add other C++ filename masks.
13095         (flymake-find-possible-master-files)
13096         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13098 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13100         Fix some busybox annoyances.
13102         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13103         not responding." string.
13104         (tramp-open-connection-setup-interactive-shell): Dump stty
13105         settings.  Enable "neveropen" arg for all `tramp-send-command'
13106         calls.  Handle "=" in variable values properly.
13107         (tramp-find-inline-encoding): Raise an error, when no encoding is
13108         found.
13109         (tramp-wait-for-output): Check, whether PROC buffer is available.
13110         Remove spurious " ^H" sequences, sent by busybox.
13111         (tramp-get-ls-command): Suppress coloring, if possible.
13113 2010-01-28  Glenn Morris  <rgm@gnu.org>
13115         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13117         * log-edit.el (log-edit-strip-single-file-name): Add missing
13118         :safe, :group, and :version tags.
13120 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13122         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13123         buffers.  (Bug#5477)
13125 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13127         * files.el (delete-directory): Handle moving to trash without
13128         first doing recursion (Bug#5436).
13130 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13132         * vc-hooks.el (vc-path): Mark as obsolete.
13134 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13136         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13137         names too.
13139         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13140         for the short log.
13141         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13143 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13145         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13147         * vc-bzr.el (vc-bzr-revision-table): New function.
13149 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13151         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13152         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13154 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13156         Remove support for adding --signoff on commit.
13157         Future support will use an incompatible generic mechanism.
13158         * vc-git.el (vc-git-add-signoff): Remove variable.
13159         (vc-git-toggle-signoff): Remove function.
13160         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13162         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13163         Rename from xterm-set-background-mode.  Return t if the background mode
13164         was set.
13165         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13166         earlier, call it again in case the background mode has changed.
13168 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13170         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13171         (Bug#3541).
13173 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13175         * emacs-lisp/assoc.el (aelement): Doc fix.
13176         (aput, adelete, amake): Use lexical-let (Bug#5450).
13178 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13180         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13181         is the same as subprogram call, not declaration.  (Bug#5435).
13183 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13185         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13186         (tramp-smb-maybe-open-connection): Use it.
13188 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13190         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13192 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13194         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13195         just because we see "encoding: 8bit".
13196         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13198 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13200         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13202 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13204         * jka-compr.el (jka-compr-load): If load-file is not in
13205         load-history, try its file-truename version.  (bug#5447)
13207 2010-01-21  Alan Mackenzie  <acm@muc.de>
13209         Fix a situation where deletion of a cpp construct throws an error.
13210         * progmodes/cc-engine.el (c-invalidate-state-cache):
13211         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13212         special cpp construct is still in the buffer.
13213         (c-parse-state): Record the special cpp with markers, not numbers.
13215 2010-01-21  Kenichi Handa  <handa@m17n.org>
13217         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13218         process last-command-event, as it is now decoded first (Bug#5380).
13220 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13222         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13224 2010-01-20  Glenn Morris  <rgm@gnu.org>
13226         * indent.el (tab-always-indent): Fix custom-type.
13228 2010-01-19  Alan Mackenzie  <acm@muc.de>
13230         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13231         buffer throws "args out of range".
13232         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13233         playing the role of delimiter.
13235 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13237         * progmodes/ada-mode.el: Fix bug#5400.
13238         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13239         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13240         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13241         Improve comments in "is" portion.  Handle null procedure declaration.
13242         (ada-move-to-end): Improve doc string.
13244 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13246         * ido.el (ido-cur-list): Initialize to nil.
13247         Remove obsolete information from commentary.
13248         (ido-choice-list): Initialize to nil.
13249         (ido-get-bufname): Reject minibuffers.
13250         (ido-make-buffer-list): If "default" is a nonexistent
13251         buffer, ignore it, as per the function's comment.
13252         (ido-kill-buffer-internal): New function.
13253         (ido-kill-buffer-at-head): Use it.
13254         (ido-visit-buffer): Likewise.
13256 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13258         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13260 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13262         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13263         Fix typos in chart titles.
13265         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13266         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13267         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13268         (describe-class, eieio-describe-generic, describe-generic):
13269         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13270         (eieio-speedbar-expand):
13271         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13272         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13273         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13274         (viper-del-backward-char-in-replace, viper-backward-indent)
13275         (viper-brac-function, viper-register-to-point, viper-submit-report):
13276         * net/tramp.el (tramp-remote-coding-commands):
13277         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13278         Fix typos in docstrings.
13280 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13282         * mail/sendmail.el (mail-yank-original): Set the mark if the
13283         specified function for yanking does not do it.
13285 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13287         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13289         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13290         resyncing a directory.
13292 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13294         * progmodes/ada-mode.el: Fix bug#1920.
13295         (ada-ident-re): Delete ., allow multibyte characters.
13296         (ada-goto-label-re): New; matches goto labels.
13297         (ada-block-label-re): New; matches block labels.
13298         (ada-label-re): New; matches both.
13299         (ada-named-block-re): Delete; callers changed to use
13300         `ada-block-label-re' instead.
13301         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13302         Use `ada-block-label-re'.
13303         (ada-indent-on-previous-lines): Improve handling of goto labels.
13304         (ada-get-indent-block-start): Special-case block label.
13305         (ada-get-indent-label): Split into `ada-indent-block-label' and
13306         `ada-indent-goto-label'.
13307         (ada-goto-stmt-start, ada-goto-next-non-ws):
13308         Optionally ignore goto labels.
13309         (ada-goto-next-word): Simplify.
13310         (ada-indent-newline-indent-conditional): Insert newline before
13311         trying to fix indentation; doc fix.
13313 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13315         * calc/calc.el (calc-command-flags): Give it an initial value.
13317 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13319         * files.el (minibuffer-with-setup-hook):
13320         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13321         (artist-key-draw-continously, artist-key-do-continously-continously)
13322         (artist-key-set-point-continously, artist-mouse-draw-continously):
13323         Fix typos in docstrings.
13325 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13327         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13328         Never return t (Bug#3898).
13330 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13332         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13333         can parse the output of the external commands (Bug#5279).
13335 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13337         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13339 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13341         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13343         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13345         * startup.el (command-line): Remove unused --icon-type arg.
13346         Handle --display arg, passing it to command-line-1 (Bug#5392).
13348 2010-01-16  Mario Lang  <mlang@delysid.org>
13350         * emacs-lisp/chart.el (chart-translate-namezone):
13351         * textmodes/artist.el (artist-compute-popup-menu-table):
13352         Remove duplicated words in doc-strings.
13354 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13356         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13357         to mairix-search to suppress threading (Bug#5342).
13359 2010-01-15  Kenichi Handa  <handa@m17n.org>
13361         * international/mule-cmds.el (canonicalize-coding-system-name):
13362         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13364 2010-01-15  Glenn Morris  <rgm@gnu.org>
13366         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13368         * wid-edit.el (widget-keymap): Doc fix.
13370         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13371         former seems to be more widely accepted by various svn versions.
13373 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13375         * find-cmd.el (find-constituents):
13376         * vc-arch.el (vc-arch-root):
13377         * window.el (window-body-height, pop-up-frames):
13378         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13379         * progmodes/ada-stmt.el (ada-if):
13380         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13381         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13382         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13383         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13385         * progmodes/flymake.el (flymake-post-syntax-check):
13386         Fix typo in error message.
13388 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13390         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13391         which is always a string.  (Bug#5313)
13393 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13395         * progmodes/ada-xref.el (ada-default-prj-properties):
13396         Simplify previous change.
13398 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13400         * progmodes/ada-xref.el (ada-default-prj-properties):
13401         Default ada_project_path to $ADA_PROJECT_PATH.
13403 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13405         * progmodes/ada-mode.el (ada-create-keymap):
13406         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13408 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13410         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13411         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13412         (ada-get-current-indent, ada-imenu-generic-expression)
13413         (ada-which-function): Check for it.
13415 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13417         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13418         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13420 2010-01-14  Glenn Morris  <rgm@gnu.org>
13422         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13424 2010-01-14  Kenichi Handa  <handa@m17n.org>
13426         * composite.el (auto-composition-mode): Make it a buffer local
13427         variable (permanent-local).
13428         (auto-composition-function): Set the default value to
13429         auto-compose-chars.
13430         (auto-composition-mode): Make it a simple function, not a minor mode.
13431         (global-auto-composition-mode): Likewise.
13432         (turn-on-auto-composition-if-enabled): Delete it.
13434 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13436         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13438 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13440         * files.el (copy-directory): Compute target for recursive
13441         directories with identical names.  (Bug#5343)
13443 2010-01-12  Glenn Morris  <rgm@gnu.org>
13445         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13446         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13448 2010-01-11  Sam Steingold  <sds@gnu.org>
13450         * imenu.el (imenu-default-create-index-function): Detect infinite
13451         loops caused by imenu-prev-index-position-function.
13453 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13455         * htmlfontify.el (htmlfontify-load-rgb-file)
13456         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13457         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13458         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13459         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13460         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13461         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13462         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13463         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13464         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13465         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13466         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13467         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13468         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13469         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13470         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13471         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13472         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13473         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13474         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13475         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13476         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13477         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13478         backslash-quoting from parentheses, etc.
13480 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13482         * progmodes/js.el: Autoload javascript-mode alias.
13484 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13486         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13487         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13488         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13489         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13490         Fix typos in docstrings.
13491         (ffap-url-regexp): Doc fix.
13492         (ffap-at-mouse): Fix typo in message.
13494 2010-01-11  Glenn Morris  <rgm@gnu.org>
13496         * version.el (emacs-copyright): Set copyright year to 2010.
13498 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13500         * format.el (format-annotate-function): Only set
13501         write-region-post-annotation-function after running to-fn so as not to
13502         affect nested write-region calls (bug#5273).
13504 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13506         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13507         wisent/python.el.
13509 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13511         * man.el (Man-goto-section): Signal error if the section is not
13512         found (Bug#5317).
13514 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13516         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13517         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13519 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13521         * progmodes/compile.el: Don't treat compile-command as safe if
13522         compilation-read-command might be nil (Bug#4218).
13524 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13526         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13527         NS options.
13529 2010-01-08  Kenichi Handa  <handa@m17n.org>
13531         * international/fontset.el (build-default-fontset-data):
13532         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13534 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13536         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13537         to `create-file-buffer' as it expects, not just a buffer name.
13538         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13539         to help uniquify.  (Bug#3224)
13541 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13543         * font-setting.el (font-setting-change-default-font): Use user-spec
13544         instead of name.
13546 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13548         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13550 2010-01-05  Tom Tromey  <tromey@redhat.com>
13552         * progmodes/python.el (python-font-lock-keywords):
13553         Handle qualified decorators (Bug#881).
13555 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13557         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13558         in a lightweight checkout.
13560 2010-01-05  Kenichi Handa  <handa@m17n.org>
13562         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13564 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13566         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13568 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13570         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13571         checkouts.  (Bug#618)
13572         (vc-bzr-log-view-mode): Also highlight the author.
13573         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13574         (vc-bzr-shelve-menu-map):
13575         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13576         (vc-bzr-shelve-apply): Make prompt more explicit.
13578 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13580         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13581         They are valid characters in URL paths (rfc3986), and at least
13582         Firefox does not understand the encoded version (Bug#3166).
13584 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13586         * progmodes/octave-mod.el (octave-end-keywords)
13587         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13588         Add "end" keyword (Bug#3061).
13589         (octave-end-as-array-index-p): New function.
13590         (calculate-octave-indent): Use it.
13592 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13594         * bookmark.el: Consistently put the text property on the bookmark name.
13595         (bookmark-bmenu-marks-width): Bump back to 2, to include
13596         annotation marks.
13597         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13598         property on the bookmark name, instead of not putting it at all.
13599         (bookmark-bmenu-list): Fix where we put the text property.
13601 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13603         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13604         for showing buffer modified state (as added in the previous change).
13606 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13608         * bookmark.el: Show modified state of bookmark buffer more accurately.
13609         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13610         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13611         (with-buffer-modified-unmodified): New macro.
13612         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13613         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13614         Use new macro to preserve the buffer modified state.
13616 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13618         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13619         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13620         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13621         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13622         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13623         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13624         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13626 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13628         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13629         Make the lines in the generated doc string shorter.  (Bug#4668)
13631 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13633         * net/rcirc.el: Add follow-link binding (Bug#4738).
13635 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13637         * Makefile.in (bzr-update): Rename from cvs-update.
13638         (cvs-update): New target for backward compatibility.
13640         * makefile.w32-in (bzr-update): Rename from cvs-update.
13641         (cvs-update): New target for backward compatibility.
13643 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13645         * bookmark.el: Remove gratuitous gratitude.
13647 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13649         * bookmark.el (bookmark-bmenu-any-marks): New function.
13650         (bookmark-bmenu-save): Clear buffer modification if no marks.
13652 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13654         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13655         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13656         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13657         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13659         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13660         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13661         To: emacs-devel {_AT_} gnu.org
13662         Subject: bookmark.el bug report
13663         Date: Mon, 28 Dec 2009 14:19:16 +0800
13664         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13666 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13668         * bookmark.el: Improvements suggested by Drew Adams:
13669         (bookmark-bmenu-ensure-position): New name for
13670         `bookmark-bmenu-check-position'.  Just ensure the position,
13671         don't return any meaningful value.
13672         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13673         New constants.
13675 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13677         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13678         (bookmark-yank-point, bookmark-bmenu-check-position):
13679         Fix typos in docstrings.
13680         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13681         (bookmark-name-from-full-record, bookmark-get-position)
13682         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13683         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13684         Remove useless quoting of parenthesis, etc. in docstrings.
13686         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13687         (ediff-append-custom-diff): Fix typo in error message.
13688         (ediff-meta-mark-equal-files): Fix typos in messages.
13690         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13692         * net/imap-hash.el (imap-hash-make): Doc fix.
13693         (imap-hash-test): Fix typo in error message; reflow docstring.
13694         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13695         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13696         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13697         Fix typos in docstrings.
13698         (imap-hash-open-connection): Fix typo in error message.
13700         * play/gomoku.el (gomoku): Fix typos in docstring.
13702         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13703         (gdb-jsonify-buffer): Fix typos in docstring.
13704         (gdb-goto-breakpoint): Fix typo in error message.
13705         ("Display Other Windows"): Fix typo in help message.
13706         (gdb-speedbar-expand-node): Fix typo in question.
13708         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13709         (idlwave-html-system-help-location, idlwave-html-help-location)
13710         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13711         (idlwave-help-browser-generic-args, idlwave-help-directory)
13712         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13713         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13714         (idlwave-online-help, idlwave-help-html-link)
13715         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13716         Fix typos in docstrings.
13717         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13718         Reflow docstrings.
13719         (idlwave-help-assistant-start): Fix typo in error message.
13721         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13722         (octave-electric-space): Fix typos in docstrings.
13724 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13726         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13728 2010-01-01  Juri Linkov  <juri@jurta.org>
13730         * comint.el (comint-input-ring-size): Make it a defcustom and
13731         increase the default to 500 (Bug#5148).
13733 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13735         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13736         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13737         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13739 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13741         Show working revision correctly for mercurial.
13742         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13743         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13745 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13747         Declare some functions for the byte-compiler.
13748         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13749         (speedbar-timer-fn, speedbar-change-expand-button-char)
13750         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13752 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13754         This changeset reverts GDB Graphical Interface to use annotations.
13755         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13757 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13759         Make vc-dir work on subdirectories of the bzr root.
13760         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13761         Return file names relative to it.
13762         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13763         relative directory to vc-bzr-after-dir-status.
13765 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13767         * font-lock.el (font-lock-refresh-defaults): New function, which
13768         can be used to let font-lock react to external changes in
13769         variables like font-lock-defaults and keywords.
13770         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13772 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13774         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13776         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13778 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13780         Supersede color.diff settings in git log (bug#5211).
13782         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13783         escape chars in its output when the user has color.diff set to `always'.
13784         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13786 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13788         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13789         node.  Keep previous "Index" name to work with past coreutils too.
13791         * man.el (man): Revise docstring a bit to show -a and -l as
13792         examples.  Add -k description since support for it has otherwise
13793         been a secret.  (Further to bug#3717.)
13794         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13795         "no matches" rather than "Can't find manpage", as the latter reads
13796         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13798 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13800         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13801         switches.  Check also for //SUBDIRED// line.
13803 2009-12-25  Kenichi Handa  <handa@m17n.org>
13805         * language/indian.el (devanagari-composable-pattern): Fix to
13806         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13807         Devanagari.
13808         (malayalam-composable-pattern): Fix previous change.
13810 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13812         * ps-print.el (ps-face-attributes): It was not returning the
13813         attribute face for faces specified as string.  Reported by harven
13814         <harven@free.fr>.  (Bug#5254)
13815         (ps-print-version): New version 7.3.5.
13817 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13819         * calendar/icalendar.el (icalendar--convert-tz-offset):
13820         Fix timezone names.
13821         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13822         (icalendar--add-diary-entry): Remove the trailing blank that
13823         diary-make-entry inserts.
13825 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13827         Make `file-expand-wildcards' work for remote files.
13829         * files.el (file-expand-wildcards): In case of remote files, check
13830         only local file name part for wildcards.  Provide feature 'files
13831         and subfeature 'remote-wildcards.  (Bug#5198)
13833         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13834         if there is already an established connection.
13835         (tramp-advice-file-expand-wildcards): Remove it.
13837         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13838         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13839         Activate advice for older GNU Emacs versions.  (Bug#5237)
13841 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13843         Some doc fixes (more needed).
13845         * find-cmd.el (find-constituents): Reflow docstring.
13846         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13847         (find-generic): Doc fix.
13849 2009-12-17  Juri Linkov  <juri@jurta.org>
13851         Fix regression from 23.1 to allow multiple modes in Local Variables.
13853         * files.el (hack-local-variables-filter): While ignoring duplicates,
13854         don't take `mode' into account.
13855         (hack-local-variables-filter, hack-dir-local-variables):
13856         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13858 2009-12-17  Juri Linkov  <juri@jurta.org>
13860         Make `dired-diff' safer.  (Bug#5225)
13862         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13863         `current' or when `file' is a directory of the `current' file.
13865 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13867         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13868         unconditionally preloaded files.
13870 2009-12-16  Juri Linkov  <juri@jurta.org>
13872         Revert to old 23.1 logic of using the file at the mark as default.
13873         * dired-aux.el (dired-diff): Use the file at the mark as default
13874         if it's not the same as the current file, and the target dir is
13875         the current dir or the mark is active.  Add the current file
13876         as the arg of `dired-dwim-target-defaults'.  Use the default file
13877         in the prompt.  (Bug#5225)
13879 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13881         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13882         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13883         (tramp-check-for-regexp): Check also, when an echoing shell stops
13884         to echo sent commands.
13886 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13888         * Makefile.in: Revert last change (Bug#5191).
13890 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13892         * vc-hg.el (vc-hg-print-log): Fix argument order.
13893         (vc-hg-working-revision): Make sure the command is executed in a
13894         known environment so that we can parse the output.  (Bug#4417)
13896 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13898         * progmodes/python.el (python-symbol-completions): Remove text
13899         properties from symbol string before calling python-send-receive.
13901 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13903         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13904         when there are values for both file and line.  (Bug#5060)
13906 2009-12-14  Juri Linkov  <juri@jurta.org>
13908         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13909         whitespace after the file name of the first line of unified format,
13910         because git-diff doesn't output whitespace and file modification time
13911         after the file name.
13913 2009-12-14  David Kastrup  <dak@gnu.org>
13915         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13916         check if it already has the `display' property added by
13917         `Info-display-images-node', and not put the `invisible' property
13918         in this case.
13920 2009-12-13  Glenn Morris  <rgm@gnu.org>
13922         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13923         (report-emacs-bug): In message-mode, sort manually before storing
13924         original report text.  (Bug#5178)
13925         Remove superfluous save-excursion.
13927 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13929         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13930         when responding to "GetAll" properties.
13932 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13934         * simple.el (compose-mail): Remove mail-setup-with-from from
13935         customization checks.
13937 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13939         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13940         RAR archives created on Unix systems.
13942 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13944         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13945         the varalias that was accidentally removed by the 2009-11-19 change
13946         (bug#5186).
13948 2009-12-12  Kenichi Handa  <handa@m17n.org>
13950         * language/indian.el (indian-compose-regexp): New function.
13951         (malayalam-composable-pattern): Fix the pattern.
13952         (composition-function-table): Set malayalam-composable-pattern for
13953         Malayalam characters.
13955 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13957         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13958         rather than down-mouse-1, based on follow-link conventions.
13960         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13961         are compiled.
13963 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13965         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13966         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13967         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13968         (verilog-leap-to-head, verilog-backward-token):
13969         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13971 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13973         * progmodes/verilog-mode.el (verilog-auto-lineup)
13974         (verilog-nameable-item-re): Cleanup user-visible spelling and
13975         documentation errors.  One reported by Gary Delp.
13976         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13977         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13978         package, bug195.  Reported by Pierre-David Pfister.
13980 2009-12-11  Glenn Morris  <rgm@gnu.org>
13982         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13984         * mail/emacsbug.el: No longer require sendmail.
13985         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13986         (report-emacs-bug-orig-text): Doc fix.
13987         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13988         New local variables, to adapt to different mail-user-agents.
13989         (report-emacs-bug): Fix test for a gnu.org address.
13990         Use overlays for emphasis, since font-lock defeats 'face property.
13991         Pretest bugs also end up at the newsgroup these days.
13992         Stop message-mode stripping text properties.
13993         Set and use the new buffer-local variables.
13994         (report-emacs-bug-hook): Add doc-string.
13995         Remove some unnecessary save-excursions and simplify.
13996         Use the appropriate hook and send-command.
13998         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13999         capitalization of some menu entries.
14001 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14003         * whitespace.el (whitespace-display-char-on):
14004         Ensure `buffer-display-table' is unique when two or more windows are
14005         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14006         New version 12.1.
14008 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14010         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14011         characters in the Attribute field.
14013 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14015         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14017 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14019         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14020         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14021         Disregard autoload-excludes.
14022         (update-directory-autoloads): Obey autoload-excludes here instead.
14023         But don't store its contents in no-autoloads and remove entries that
14024         refer to excludes files.
14026 2009-12-10  Glenn Morris  <rgm@gnu.org>
14028         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14029         (expand-mail-aliases): Define for compiler.
14031         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14032         Define for compiler.
14034         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14035         appropriate for the mail-user-agent in use.
14037 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14039         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14041 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14043         Fix short log parsing and fontification.
14044         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14045         Fix fontification for the [merge] label.
14047 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14049         Drop some properties to avoid surprises (bug#5002).
14050         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14051         (hfy-fontify-buffer): Use it.
14053 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14055         Minor cleanup.
14056         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14057         Adjust all callers.
14058         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14059         args compulsory.  Adjust callers.
14060         (ffap-gopher-at-point): Remove unused var `name'.
14062         Get rid of the ELCFILES abomination.
14063         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14064         (compile-elcfiles): New phony target.
14065         (compile-main): Compute ELCFILES dynamically.
14066         (compile-clean): New target to remove left-over elc files.
14067         (compile, all): Use it.
14069 2009-12-09  Kenichi Handa  <handa@etlken>
14071         * international/mule-diag.el: Require help-mode instead of help-fns.
14073 2009-12-09  Kenichi Handa  <handa@m17n.org>
14075         * international/mule-cmds.el (ucs-names): Supply sufficiently
14076         fine ranges instead of pre-calculating accurate ranges.
14077         Iterate with bigger gc-cons-threshold.
14079 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14081         Add support for stashing a snapshot of the current tree.
14082         * vc-git.el (vc-git-stash-snapshot): New function.
14083         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14085 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14087         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14088         instead of `(beginning|end)-of-line'.
14090 2009-12-08  Glenn Morris  <rgm@gnu.org>
14092         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14094         * Makefile.in (ELCFILES): Regenerate.
14096 2009-12-07  Juri Linkov  <juri@jurta.org>
14098         Don't lazy-highlight the comint output in history Isearch mode.
14100         * comint.el (comint-history-isearch-search): Instead of
14101         `comint-line-beginning-position', use `comint-after-pmark-p'
14102         to check if point if before the process mark, and go to
14103         `process-mark' in this case.
14105 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14107         * textmodes/tex-mode.el (latex-complete)
14108         (latex-indent-or-complete): Remove.
14109         (latex-mode): Set completion-at-point-functions instead.
14111         Provide a standard completion command and hook it into TAB.
14112         * minibuffer.el (completion-at-point-functions): New var.
14113         (completion-at-point): New command.
14114         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14115         * progmodes/python.el (python-mode-map): Use completion-at-point.
14116         (python-completion-at-point): Rename from python-partial-symbol and
14117         adjust for use in completion-at-point-functions.
14118         (python-mode): Setup completion-at-point for Python completion.
14119         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14120         extracted from lisp-complete-symbol.
14121         (lisp-complete-symbol): Use it.
14122         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14123         setup completion-at-point for Elisp completion.
14124         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14125         Use completion-at-point.
14126         * ielm.el (ielm-map): Use completion-at-point.
14127         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14128         * progmodes/sym-comp.el: Move to...
14129         * obsolete/sym-comp.el: Move from progmodes.
14131 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14133         Prevent save-buffer in Rmail buffers from using the coding-system
14134         of the current message, and from clobbering the encoding mnemonics
14135         in the mode line (Bug#4623).
14137         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14138         flag, too.
14139         (rmail-message-encoding): New variable.
14140         (rmail-write-region-annotate): Record the encoding of the current
14141         message in rmail-message-encoding.
14142         (rmail-after-save-hook): New function, restores the encoding of
14143         the current message after the message collection is saved.
14145 2009-12-07  Juri Linkov  <juri@jurta.org>
14147         * progmodes/grep.el (grep-read-files): Use `completing-read'
14148         instead of `read-string'.  Set its `collection' arg to
14149         `read-file-name-internal'.  (Bug#4301)
14151 2009-12-07  Juri Linkov  <juri@jurta.org>
14153         Correctly restore original Isearch point.  (Bug#4994)
14155         * isearch.el (isearch-mode): Move `isearch-push-state' after
14156         `(run-hooks 'isearch-mode-hook)'.
14157         (isearch-cancel): When `isearch-push-state-function' is defined,
14158         let-bind `isearch-cmds' to the first state (the last element of
14159         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14160         function and restores the original point).  Otherwise, move point
14161         to `isearch-opoint'.
14163 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14165         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14166         chars that don't have names, so the table can be built much faster at
14167         run-time.
14169 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14171         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14172         change.  Suggested by David Kastrup.
14174         * simple.el (compose-mail): Check for incompatibilities and warn.
14175         (compose-mail-user-agent-warnings): New option.
14177 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14179         Support showing a single log entry from vc-annotate.
14180         * vc.el (print-log): Add a new argument: START-REVISION.
14181         (vc-print-log-internal): Add a new optional argument and
14182         pass it to the backend.
14183         (vc-print-log, vc-print-root-log): Adjust callers.
14184         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14185         buffer already displays the requested log entry, use it.
14186         Otherwise display only the log entry in question.
14187         * vc-svn.el (vc-svn-print-log):
14188         * vc-mtn.el (vc-mtn-print-log):
14189         * vc-hg.el (vc-hg-state):
14190         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14191         (vc-git-show-log-entry): Return t on success.
14192         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14193         (vc-bzr-show-log-entry): Return t on success.
14194         * vc-rcs.el (vc-rcs-print-log):
14195         * vc-sccs.el (vc-sccs-print-log):
14196         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14198 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14200         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14201         Add menus to the meta mode.  (Bug#5043)
14203 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14205         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14206         event-key.
14208         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14210 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14212         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14213         Berbain <raphael.berbain@gmail.com>.
14215         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14216         characters.
14217         (tramp-initial-end-of-output): New defconst.
14218         (tramp-methods, tramp-find-shell)
14219         (tramp-open-connection-setup-interactive-shell)
14220         (tramp-maybe-open-connection): Use it.
14221         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14222         Handle existence of `#' and `$'.
14224         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14225         Use `tramp-initial-end-of-output'.
14227 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14229         Get the background mode from the terminal for xterm, and set
14230         faces accordingly.
14231         * term/xterm.el (xterm-set-background-mode): New function.
14232         (terminal-init-xterm): Use it in case xterm supports background
14233         color queries.  Recompute faces after getting the background
14234         color.
14236 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14238         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14239         number comment back on its own line, for easier parsing.
14241 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14243         Make it work for non-file buffers (bug#5102).
14244         * doc-view.el (doc-view-current-cache-dir):
14245         Use doc-view-buffer-file-name rather than buffer-file-name.
14246         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14248 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14250         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14251         author field is too short.
14253 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14255         * vc-git.el (vc-git-print-log): Handle a limit argument.
14256         Display the short log in graph form and with labels.
14257         (vc-git-log-view-mode): Handle labels.
14259         Make vc-revert change VC state from 'added to 'unregistered.
14260         * vc-git.el (vc-git-revert): Call git reset first.
14262 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14264         * net/newst-backend.el, net/newst-plainview.el:
14265         * net/newst-reader.el, net/newst-ticker.el:
14266         * net/newst-treeview.el, net/newsticker.el:
14267         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14269 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14271         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14273         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14274         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14275         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14276         Update annotation regexp.
14278         * simple.el (beginning-of-visual-line): Constrain to field
14279         boundaries (Bug#5106).
14281 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14283         * xml.el (xml-substitute-numeric-entities):
14284         Move newsticker--decode-numeric-entities in newst-backend.el to
14285         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14286         * net/newst-backend.el (newsticker--parse-generic-feed)
14287         (newsticker--parse-generic-items)
14288         (newsticker--decode-numeric-entities):
14289         Move newsticker--decode-numeric-entities in newst-backend.el to
14290         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14292 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14294         * progmodes/js.el (js--js-not): Add null to the list of values.
14296 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14298         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14300 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14302         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14303         delimiter if it is at the end of the current line.
14304         (bibtex-generate-url-list): Fix docstring.
14306 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14308         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14309         minibuffer's content with itself.
14310         Fold the confirm-after-completion case into the `confirm' case.
14311         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14313 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14315         * ffap.el (ffap-rfc-path): Make this a defcustom since
14316         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14318         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14319         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14321 2009-12-05  Juri Linkov  <juri@jurta.org>
14323         Save and restore dired buffer's point positions too.  (Bug#4880)
14325         * dired.el (dired-save-positions): Return in the first element
14326         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14327         Doc fix.
14328         (dired-restore-positions): First restore buffer's position.
14329         While restoring window's positions, check if window still displays
14330         the original buffer.
14332 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14334         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14335         if possible.
14337         * shell.el (shell): Require ansi-color (Bug#5113).
14339         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14341         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14343 2009-12-05  Alan Mackenzie  <acm@muc.de>
14345         * progmodes/cc-mode.el (c-before-hack-hook)
14346         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14347         `c-file-style' to work again.  This reversion restores the current
14348         software to its state in Emacs 23.1.  (Bug#4146)
14350 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14352         * textmodes/sgml-mode.el (sgml-lexical-context):
14353         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14355 2009-12-05  Juri Linkov  <juri@jurta.org>
14357         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14358         for virtual nodes.  (Bug#4147)
14359         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14360         when moving from a virtual node.
14361         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14362         (Info-mode): Add `Info-virtual-index' to the docstring.
14364 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14366         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14367         track of the buffer position of the end of a BibTeX entry as this
14368         position may change during reformatting.
14369         (bibtex-format-entry): Remove whitespace before processing
14370         numerical fields so that we recognize the latter properly.
14371         (bibtex-reformat): Do not use push which changes the global value
14372         of bibtex-entry-format.
14373         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14374         (bibtex-field-re-init): Replace only space characters by regexp
14375         for whitespace.
14376         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14377         (bibtex-initialize): Also update bibtex-strings.
14378         (bibtex-kill-field): Preserve white space at end of entry.
14379         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14380         Update bibtex-reference-keys.
14382 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14384         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14385         point after a star, if that's the only place where modifications can
14386         make progress.
14388 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14390         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14391         in docstrings.
14393 2009-12-04  Juri Linkov  <juri@jurta.org>
14395         * proced.el (proced): Call `(proced-update t)' to update process
14396         information instead of only running proced-post-display-hook.
14397         (proced-send-signal): Add a leading space to the buffer name
14398         " *Marked Processes*" to make this buffer ephemeral.
14400 2009-12-04  Juri Linkov  <juri@jurta.org>
14402         * dired.el (dired-auto-revert-buffer): New defcustom.
14403         (dired-internal-noselect): Use it.
14405 2009-12-04  Juri Linkov  <juri@jurta.org>
14407         Change roles of modes and functions in image-mode.el (Bug#5062).
14409         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14410         in `auto-mode-alist'.
14411         (image-mode-previous-major-mode): New variable.
14412         (image-minor-mode-map): Rename from `image-mode-text-map'.
14413         (image-mode): Move graceful error-handling code from
14414         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14415         (image-minor-mode): Remove all image-handling code.
14416         Replace `image-mode-text-map' with `image-minor-mode-map'.
14417         Check for `image-type' in mode-line format string.
14418         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14419         (image-mode-as-text): New function with most code from
14420         `image-mode-maybe'.
14421         (image-toggle-display-text): Move code that removes image
14422         properties from `image-toggle-display' to here.
14423         (image-toggle-display-image): New function with code that adds
14424         image properties copied from `image-toggle-display'.
14425         (image-toggle-display): Remove most code with leaving only code
14426         that toggles between `image-mode-as-text' and `image-mode'.
14428 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14430         * net/newst-treeview.el
14431         (newsticker--treeview-list-highlight-start): Restored call to
14432         save-excursion: Selected item was stuck.
14433         (newsticker--treeview-list-select): New.
14434         (newsticker--treeview-item-show-text)
14435         (newsticker--treeview-item-show)
14436         (newsticker--treeview-item-update): Use new
14437         newsticker-treeview-item-mode.
14438         (newsticker-treeview-update): Keep current item.
14439         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14440         (newsticker--treeview-first-feed): Doc change.
14441         (newsticker-treeview-list-menu)
14442         (newsticker-treeview-item-menu): Add menu entries.
14443         (newsticker-treeview-item-mode): New.
14445         * net/newst-backend.el (newsticker-customize): Delete other
14446         windows.
14448 2009-12-04  Sam Steingold  <sds@gnu.org>
14450         * log-view.el (log-view-mode-map): "q" calls quit-window,
14451         like in all the other non-self-insert buffers.
14453 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14455         Minor cleanup.
14456         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14457         key decoding rather than do it manually via last-input-event +
14458         ascii-character.
14459         (term-exec): Use delete-and-extract-region.
14460         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14461         (term-process-pager): Remove unused var `i'.
14462         (term-dynamic-simple-complete): Make obsolete.
14463         (serial-update-config-menu): Remove unused vars `y' and `str'.
14464         (term-update-mode-line): Remove unused var `temp'.
14466 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14468         Limit the number of log entries displayed by default.
14469         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14470         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14471         using a prefix argument.
14473 2009-12-03  Glenn Morris  <rgm@gnu.org>
14475         * progmodes/idlwave.el (class): Restore still useful declaration.
14477 2009-12-03  Alan Mackenzie  <acm@muc.de>
14479         Enhance `c-parse-state' to run efficiently in "brace deserts".
14481         * progmodes/cc-mode.el (c-basic-common-init):
14482         Call c-state-cache-init.
14483         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14484         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14485         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14487         * progmodes/cc-langs.el (c-before-font-lock-function):
14488         c-extend-and-neutralize-syntax-in-CPP has been renamed
14489         c-neutralize-syntax-in-and-mark-CPP.
14491         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14492         with `category' properties now, not `syntax-table' ones.
14494         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14495         enhanced (but slower) version of c-end-of-macro that won't land
14496         inside a literal or on another awkward character.
14497         (c-state-cache-too-far, c-state-cache-start)
14498         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14499         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14500         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14501         (c-state-min-scan-pos, c-state-brace-pair-desert)
14502         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14503         buffer local variables.
14504         (c-state-literal-at, c-state-lit-beg)
14505         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14506         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14507         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14508         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14509         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14510         (c-renarrow-state-cache)
14511         (c-append-lower-brace-pair-to-state-cache)
14512         (c-state-push-any-brace-pair, c-append-to-state-cache)
14513         (c-remove-stale-state-cache)
14514         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14515         (c-invalidate-state-cache-1, c-parse-state-1)
14516         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14517         (c-parse-state): Enhance and refactor.
14518         (c-debug-parse-state): Amend to deal with all the new variables.
14520         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14521         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14522         modify to use category text properties rather than syntax-table ones.
14523         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14524         to switch off/on the syntactic paren property of C++ template
14525         delimiters using the category property.
14526         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14527         template delims suppressed.
14528         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14529         New constant/macros which apply category properties to the start
14530         and end of preprocessor constructs.
14531         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14532         "comment out" the syntactic value of characters in preprocessor
14533         constructs.
14534         (c-with-cpps-commented-out)
14535         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14536         with characters in all or all but one preprocessor constructs
14537         "commented out".
14539 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14541         * proced.el (proced-filter-alist): Use regexp-quote.
14543 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14545         Cleanup.
14546         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14547         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14548         arguments.  Expand `default-directory'.
14550         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14551         the benefit of returning an expanded localname.
14552         (tramp-tramp-file-p): Handle the case NAME is not a string.
14554 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14556         Add support for bzr shelve/unshelve.
14557         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14558         (vc-bzr-extra-menu-map): New variables.
14559         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14560         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14561         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14562         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14563         (vc-bzr-dir-extra-headers): Display shelves.
14565         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14567 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14569         * textmodes/bibtex.el (bibtex-complete-internal):
14570         Use completion-in-region.
14571         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14573 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14575         Support applying stashes.  Improve UI.
14576         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14577         (vc-git-stash-apply, vc-git-stash-pop)
14578         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14579         (vc-git-stash-menu): New functions.
14580         (vc-git-stash-menu-map): New variable.
14581         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14583 2009-12-03  Glenn Morris  <rgm@gnu.org>
14585         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14586         (vc-print-log-internal): Fix previous change.
14587         (vc-revert): Correct pluralization.
14589 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14591         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14592         it to be an alist any more.
14593         (makefile-complete): Use completion-in-region.
14595         * progmodes/octave-mod.el (octave-complete-symbol):
14596         Use completion-in-region.
14598         Misc cleanup.
14599         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14600         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14601         (idlwave-complete-class): Don't quote lambda.
14602         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14603         (idlwave-mode-map): Move initialization into declaration.
14604         (idlwave-action-and-binding): Use backquotes.
14605         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14606         Simplify.
14607         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14608         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14609         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14610         `parts', and `all-parts'.
14611         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14612         (idlwave-convert-xml-system-routine-info): Remove unused string
14613         `version-string'.
14614         (idlwave-display-user-catalog-widget): Use dolist.
14615         (idlwave-scanning-lib): Declare dynamically-scoped var.
14616         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14617         (completion-highlight-first-word-only): Declare to silence bytecomp.
14618         (idlwave-popup-select): Tighten scope of `resp'.
14619         (idlwave-find-struct-tag): Remove unused var `beg'.
14620         (idlwave-after-load-rinfo-hook): Declare.
14621         (idlwave-sintern-class-info): Remove unused var `taglist'.
14622         (idlwave-find-class-definition): Remove unused var `list'.
14623         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14624         (idlwave-what-module-find-class): Remove unused var `classes'.
14626 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14628         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14630 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14632         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14633         buffers visited.  Remove redundant current-buffer-saving.
14635 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14637         Use completion-in-buffer and remove uses of dynamic scoping.
14638         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14639         (pascal-buffer-to-use, pascal-flag): Don't declare.
14640         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14641         (pascal-get-completion-decl, pascal-keyword-completion):
14642         Add `pascal-str' argument, save-excursion,
14643         return the found completions, and don't filter with pascal-pred.
14644         (pascal-completion-cache): New var.
14645         (pascal-completion): Don't switch buffer any more (it was never
14646         necessary).  Don't save-excursion any more (it's done by the called
14647         subroutines).  Use a cache to avoid redundant computations.
14648         Use complete-with-action rather than pascal-completion-response and
14649         let it apply the predicate as well.
14650         (pascal-complete-word): Use completion-in-buffer when
14651         pascal-toggle-completions is nil.
14652         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14653         not used any more.
14654         (pascal-comp-defun): Don't change buffer any more.
14655         Use complete-with-action rather than pascal-completion-response and
14656         let it apply the predicate as well.
14657         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14658         when neded.
14660 2009-12-02  Kenichi Handa  <handa@m17n.org>
14662         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14663         shape for all Indic scripts.
14665 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14667         Use completion-in-buffer.
14668         * wid-edit.el (widget-field-text-end): New function.
14669         (widget-field-value-get): Use it.
14670         (widget-string-complete, widget-file-complete)
14671         (widget-color-complete): Use it and completion-in-region.
14672         (widget-complete): Don't narrow the buffer.
14674 2009-12-02  Glenn Morris  <rgm@gnu.org>
14676         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14677         (rmail-select-summary): Use rmail-pop-to-buffer.
14678         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14679         rmail-pop-to-buffer, to prevent horizontal splits.
14681         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14682         save-excursion with save-current-buffer.
14683         Widen before searching.  (Bug#5093)
14684         (diary-list-sexp-entries): Remove superfluous save-excursion.
14686 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14688         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14689         name.  (Bug#5038)
14691 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14693         * ido.el (ido-file-internal): Handle filenames at point that do
14694         not have a directory part.  (Bug#5049)
14696 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14698         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14699         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14701 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14703         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14704         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14705         any more.
14707 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14709         * comint.el (comint-insert-input): Ignore clicks to the right of
14710         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14712         * vc.el (vc-print-log-internal): Don't wait for the process to
14713         terminate before setting up the major mode.
14715         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14716         in case.
14718         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14719         the last element.
14721         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14723 2009-12-01  Glenn Morris  <rgm@gnu.org>
14725         * window.el (window--display-buffer-2): Fix previous changes.
14727 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14729         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14731 2009-12-01  Glenn Morris  <rgm@gnu.org>
14733         * Makefile.in (ELCFILES): Add mpc.elc.
14735 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14737         * mpc.el: New file.
14739 2009-12-01  Glenn Morris  <rgm@gnu.org>
14741         * window.el (window-to-use): Define for compiler.
14743         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14744         consistent with others (no final period).
14746         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14747         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14749 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14751         Make vc-print-log buttons work.
14752         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14754 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14756         * savehist.el (savehist-autosave-interval): Allow setting to nil
14757         through customize.  (Bug#5056)
14759 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14761         Fix references to jit-lock properties.
14762         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14763         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14764         (perl-font-lock-special-syntactic-constructs):
14765         Quote jit-lock-defer-multiline property.
14767 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14769         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14771 2009-11-30  Juri Linkov  <juri@jurta.org>
14773         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14774         value `buffer' of `multi-isearch-next-buffer-current-function'.
14775         Use `(current-buffer)' when `buffer' is nil.
14776         (multi-isearch-next-buffer-from-list): Don't fallback to
14777         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14779 2009-11-30  Juri Linkov  <juri@jurta.org>
14781         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14782         of buffers with `get-buffer' to `multi-isearch-buffers'.
14783         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14784         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14785         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14786         FILES with `expand-file-name' converting relative file names
14787         to absolute.  Doc fix.  (Bug#4727)
14789 2009-11-30  Juri Linkov  <juri@jurta.org>
14791         * misearch.el (multi-isearch-read-buffers)
14792         (multi-isearch-read-matching-buffers): New functions.
14793         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14794         Use them in the `interactive' spec.  Doc fix.
14795         (multi-isearch-read-files, multi-isearch-read-matching-files):
14796         New functions.
14797         (multi-isearch-files, multi-isearch-files-regexp):
14798         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14800 2009-11-30  Juri Linkov  <juri@jurta.org>
14802         * doc-view.el (doc-view-continuous):
14803         Rename from `doc-view-continuous-mode'.
14804         (doc-view-menu): Move "Toggle display" to the top.
14805         Add submenu "Continuous" with radio buttons "Off"/"On"
14806         and "Save as Default".
14807         (doc-view-scroll-up-or-next-page)
14808         (doc-view-scroll-down-or-previous-page)
14809         (doc-view-next-line-or-next-page)
14810         (doc-view-previous-line-or-previous-page):
14811         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14813 2009-11-30  Juri Linkov  <juri@jurta.org>
14815         * comint.el (comint-mode-map): Rebind `M-r' from
14816         `comint-previous-matching-input' to
14817         `comint-history-isearch-backward-regexp'.
14818         Unbind `M-s' to allow global key binding `M-s'.
14819         Add menu items for `comint-history-isearch-backward' and
14820         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14822 2009-11-30  Juri Linkov  <juri@jurta.org>
14824         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14825         For def=recenter, replace `recenter' with `recenter-top-bottom'
14826         that is called with `this-command' and `last-command' let-bound
14827         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14828         set `recenter-last-op' to nil.  (Bug#4981)
14830 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14832         Minor cleanup and simplification.
14833         * filecache.el (file-cache-add-directory)
14834         (file-cache-add-directory-recursively)
14835         (file-cache-add-from-file-cache-buffer)
14836         (file-cache-delete-file-regexp, file-cache-delete-directory)
14837         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14838         (file-cache-temp-minibuffer-message): Delete function.
14839         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14841         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14842         Don't signal an error when bumping into EOB in tr, s, or y.
14844 2009-11-29  Juri Linkov  <juri@jurta.org>
14846         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14847         (Bug#4960)
14849         * descr-text.el (describe-char-unidata-list): Use lowercase name
14850         for "Unicode name" like in other tags.
14852 2009-11-29  Juri Linkov  <juri@jurta.org>
14854         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14855         New compatibility macro.
14856         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14858 2009-11-29  Juri Linkov  <juri@jurta.org>
14860         Add defcustom to define the cycling order of `recenter-top-bottom'.
14861         (Bug#4981)
14863         * window.el (recenter-last-op): Doc fix.
14864         (recenter-positions): New defcustom.
14865         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14866         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14868 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14870         Improve integration of Tramp and ange-ftp in eshell.
14872         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14873         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14874         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14876         * eshell/esh-util.el (top): Require also Tramp when compiling.
14877         (eshell-directory-files-and-attributes): Check for FTP remote
14878         connection.
14879         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14880         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14881         (eshell-file-attributes): Handle ".".  Return `entry'.
14883         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14884         (ange-ftp-directory-files-and-attributes)
14885         (ange-ftp-real-directory-files-and-attributes): New defuns.
14887         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14888         shell with "exec" when possible.  This prevents trailing prompts
14889         in `start-file-process'.
14891 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14893         Try and remove assumptions about point-min==1.
14894         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14895         (rng-compute-mode-line-string): Show the validation percentage in
14896         terms of the narrowed text, not the widened text.
14897         (rng-do-some-validation): Don't catch internal errors when debugging.
14898         (rng-first-error): Simplify.
14899         (rng-after-change-function): Remove work around.  AFAIK the bug has
14900         been fixed a while ago.
14902         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14903         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14905         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14907         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14908         `cd' doesn't always do it for us (bug#5067).
14910         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14911         on 2009-10-25 as part of some other change (bug#5067).
14913 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14915         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14916         `suspicious'.
14917         (byte-compile-warnings): Use byte-compile-warning-types.
14918         (byte-compile-save-excursion): Warn about use of set-buffer right
14919         after save-excursion.
14921         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14922         the excursion as well.
14924 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14926         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14927         providing a Tramp related implementation of "su" and "sudo".
14928         (eshell-unix-initialize): Add "su" and "sudo".
14930 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14932         * net/socks.el (socks-send-command): Convert binary request to
14933         unibyte before sending.  This fixes mishandling of some port
14934         numbers such as 129.
14936 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14938         * help.el (describe-bindings-internal): Remove `interactive'.
14940         * man.el (Man-completion-table): Trim a terminating "(".
14941         Remove the space between name page a section.
14942         Add the command's description on the `help-echo' property.
14943         Remove `process-connection-type' binding since it's unused by
14944         call-process.
14945         Provide completion for the "<section> <name>" format as well.
14946         (Man-default-man-entry): Remove spurious var shadowing the argument.
14948 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14950         * log-view.el: Add "Keywords: tools", since its other keywords
14951         aren't in finder-known-keywords, and following vc.el.
14953         * sha1.el (sha1-string-external): default-directory "/" in case
14954         otherwise non-existent.  process-connection-type pipe for touch of
14955         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14957 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14959         Misc coding convention cleanups.
14960         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14961         hfy-init-kludge-hooks.
14962         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14963         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14964         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14965         and push.
14966         (hfy-slant, hfy-weight): Use tables rather than code.
14967         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14968         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14969         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14970         (hfy-face-to-css): Remove `nconc' with single arg.
14971         (hfy-p-to-face-lennart): Use `or'.
14972         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14973         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14974         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14975         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14976         (hfy-force-fontification): Use run-hooks.
14978 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14980         Various minor fixes.
14981         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14982         Javascript belongs in the header, not the body.
14983         (hfy-javascript): Remove.
14984         (hfy-fontify-buffer): Don't insert it any more.
14985         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14986         Fix bug in invis handling when there were no invis props in a chunk.
14988 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14990         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14992 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14994         * finder.el (finder-mode-map): Add a menu.
14996 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14998         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14999         "unsigned" structs.
15001         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15002         fork" statement better.
15004 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15006         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15007         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15008         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15009         Reported by Clay Douglass.
15011         (verilog-auto-inst, verilog-auto-star-safe)
15012         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15013         Fix removing "// Interfaces" when saving .* expansions.
15014         Reported by Pierre-David Pfister.
15016 2009-11-26  Glenn Morris  <rgm@gnu.org>
15018         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15019         the scope.
15021 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15023         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15024         Really use previous revision.
15026 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15028         * man.el (Man-completion-table): default-directory "/" in case
15029         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15030         not to truncate long names.  process-connection-type pipe to avoid
15031         any chance of hitting the pseudo-tty TIOCGWINSZ.
15032         (man): completion-ignore-case t for friendliness and since man
15033         itself is case-insensitive on the command line.
15034         Further to Bug#3717.
15036         * arc-mode.el: Add "Keywords: files", so the details in its
15037         commentary can be reached from finder-by-keyword.
15038         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15039         editing mode, but it's comms related and sgml-mode.el has "comm"
15040         on that basis too.
15041         * textmodes/bibtex-style.el: Add "Keywords: tex".
15042         * international/isearch-x.el, international/ja-dic-cnv.el:
15043         * international/ja-dic-utl.el, international/kkc.el:
15044         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15046 2009-11-25  Juri Linkov  <juri@jurta.org>
15048         * man.el (Man-completion-table): Modify regexp to include
15049         section names to completion strings.  (Bug#3717)
15051 2009-11-25  Juri Linkov  <juri@jurta.org>
15053         Search recursively in gzipped files.  (Bug#4982)
15055         * progmodes/grep.el (grep-highlight-matches): Add new options
15056         `always' and `auto'.  Doc fix.
15057         (grep-process-setup): Check `grep-highlight-matches' for
15058         `auto-detect' to determine the need to compute grep defaults.
15059         Move Windows/DOS specific --colors settings handling
15060         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15061         to get the value of "--color=".
15062         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15063         has the value `auto-detect'.  Move Windows/DOS specific settings
15064         from `grep-process-setup'.
15065         (zrgrep): New command with alias `rzgrep'.
15067 2009-11-25  Juri Linkov  <juri@jurta.org>
15069         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15070         to nil instead of switching off view-mode.  (Bug#4896)
15072 2009-11-25  Juri Linkov  <juri@jurta.org>
15074         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15076         * mwheel.el (mwheel-scroll-up-function)
15077         (mwheel-scroll-down-function): New defvars.
15078         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15079         `scroll-up', and `mwheel-scroll-down-function' instead of
15080         `scroll-down'.
15082         * doc-view.el (doc-view-scroll-up-or-next-page)
15083         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15084         Use this ARG in the call to image-scroll-up/image-scroll-down.
15085         Change `interactive' spec to "P".  Goto next/previous page only
15086         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15087         SPC/DEL case).  Doc fix.
15088         (doc-view-next-line-or-next-page)
15089         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15090         for consistency.
15091         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15092         `doc-view-scroll-up-or-next-page', and buffer-local
15093         `mwheel-scroll-down-function' to
15094         `doc-view-scroll-down-or-previous-page'.
15096 2009-11-25  Juri Linkov  <juri@jurta.org>
15098         Provide additional default values (directories at other Dired
15099         windows) via M-n in the minibuffer of some Dired commands.
15101         * dired-aux.el (dired-diff, dired-compare-directories)
15102         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15103         `minibuffer-default' in `minibuffer-with-setup-hook'.
15104         (dired-dwim-target-directory): Find a window that displays Dired
15105         buffer instead of failing when the next window is not Dired.
15106         Use `get-window-with-predicate' to find for the next Dired window.
15107         (dired-dwim-target-defaults): New function.
15109         * ediff-util.el (ediff-read-file-name):
15110         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15111         in `minibuffer-with-setup-hook'.
15113 2009-11-25  Juri Linkov  <juri@jurta.org>
15115         Provide additional default values (file name at point or at the
15116         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15118         * minibuffer.el (read-file-name-defaults): New function.
15119         (read-file-name): Reset `minibuffer-default' to nil when
15120         it duplicates initial input `insdef'.
15121         Bind `minibuffer-default-add-function' to lambda that
15122         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15123         (minibuffer-insert-file-name-at-point): New command.
15125         * files.el (file-name-at-point-functions): New defcustom.
15126         (find-file-default): Remove defvar.
15127         (find-file-read-args): Don't use `find-file-default'.
15128         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15129         to `read-file-name'.
15130         (find-file-literally): Use `read-file-name' with
15131         `confirm-nonexistent-file-or-buffer'.
15133         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15135         * dired.el (dired-read-dir-and-switches):
15136         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15137         to `read-file-name'.
15138         (dired-file-name-at-point): New function.
15139         (dired-mode): Add hook `dired-file-name-at-point' to
15140         `file-name-at-point-functions'.
15142 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15144         Really make the *Completions* window soft-dedicated (bug#5030).
15145         * window.el (window--display-buffer-2): Add `dedicated' argument.
15146         (display-buffer): Pass it when needed so the dedicated flag is set
15147         after calling set-window-buffer, which would otherwise reset it.
15149 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15151         * progmodes/meta-mode.el (meta-complete-symbol):
15152         * progmodes/etags.el (complete-tag):
15153         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15154         Use completion-in-region.
15156         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15157         (dabbrev-completion): Use completion-in-region.
15158         (dabbrev--abbrev-at-point): Simplify regexp.
15160         * abbrev.el (abbrev--before-point): Use word-motion functions
15161         if :regexp is not specified (bug#5031).
15163         * subr.el (string-prefix-p): New function.
15165         * man.el (Man-completion-cache): New var.
15166         (Man-completion-table): Use it.
15168         * vc.el (vc-print-log-internal): Make `limit' optional for better
15169         compatibility (e.g. with vc-annotate.el).
15171 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15173         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15174         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15176         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15177         when .el source file not found or other error.
15179 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15181         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15183 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15185         Handle the [back] button properly (bug#4979).
15186         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15187         Use help-setup-xref, help-buffer, and with-help-window.
15188         (describe-char): Add `buffer' argument.
15189         Pass proper command to help-setup-xref.  Don't meddle with
15190         help-xref-stack-item directly.
15191         (describe-text-category): Use with-help-window and help-buffer.
15193         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15194         for the displayed buffer (bug#4887).
15196         * man.el (Man-completion-table): New function.
15197         (man): Use it.
15199 2009-11-24  David Reitter  <david.reitter@gmail.com>
15201         * vc-git.el (vc-git-registered): Use checkout directory (where
15202         .git is) rather than the file's directory and a relative path spec
15203         to work around a bug in git.
15205 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15207         Improve handling of processes on remote hosts.
15209         * eshell/esh-util.el (eshell-path-env): New defvar.
15210         (eshell-parse-colon-path): New defun.
15211         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15213         * eshell/esh-ext.el (eshell-search-path):
15214         Use `eshell-parse-colon-path'.
15215         (eshell-remote-command): Remove argument HANDLER.
15216         (eshell-external-command): Check for FTP remote connection.
15218         * eshell/esh-proc.el (eshell-gather-process-output):
15219         Use `file-truename', in order to start also symlinked files.
15220         Apply `start-file-process' instead of `start-process'.
15221         Shorten `command' to the local file name part.
15223         * eshell/em-cmpl.el (eshell-complete-commands-list):
15224         Use `eshell-parse-colon-path'.
15226         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15228         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15229         to `eshell-directory-change-hook'.
15231 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15233         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15234         because it could be enabled automatically if view-read-only is non-nil.
15236 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15238         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15239         made on 2009-11-22.
15241 2009-11-24  Glenn Morris  <rgm@gnu.org>
15243         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15244         deleted variable bookmark-bmenu-bookmark-column.
15246 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15248         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15250 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15252         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15253         two slashes to the "file:" prefix.
15254         (browse-url-file-url): De-munge Cygwin filenames before passing
15255         them to Windows browser.
15256         (browse-url-default-windows-browser): Use call-process.
15258 2009-11-23  Juri Linkov  <juri@jurta.org>
15260         Implement DocView Continuous mode.  (Bug#4896)
15261         * doc-view.el (doc-view-continuous-mode): New defcustom.
15262         (doc-view-mode-map): Bind C-n/<down> to
15263         `doc-view-next-line-or-next-page', C-p/<up> to
15264         `doc-view-previous-line-or-previous-page'.
15265         (doc-view-next-line-or-next-page)
15266         (doc-view-previous-line-or-previous-page): New commands.
15268 2009-11-23  Juri Linkov  <juri@jurta.org>
15270         Implement Isearch in comint input history.  (Bug#3746)
15271         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15272         `isearch-mode-hook'.
15273         (comint-history-isearch): New defcustom.
15274         (comint-history-isearch-backward)
15275         (comint-history-isearch-backward-regexp): New commands.
15276         (comint-history-isearch-message-overlay): New buffer-local variable.
15277         (comint-history-isearch-setup, comint-history-isearch-end)
15278         (comint-goto-input, comint-history-isearch-search)
15279         (comint-history-isearch-message, comint-history-isearch-wrap)
15280         (comint-history-isearch-push-state)
15281         (comint-history-isearch-pop-state): New functions.
15283 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15285         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15286         return.
15287         (tramp-handle-make-symbolic-link)
15288         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15289         Quote file names.
15290         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15291         (tramp-handle-process-file): Use it.
15293 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15295         * window.el (move-to-window-line-last-op): Remove.
15296         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15298 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15300         Make M-r mirror the new cycling behavior of C-l.
15301         * window.el (move-to-window-line-last-op): New var.
15302         (move-to-window-line-top-bottom): New command.
15303         (global-map): Bind M-r move-to-window-line-top-bottom.
15305 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15307         * dired-x.el (dired-guess-shell-alist-default):
15308         Support xz format.  (Bug#4953)
15310 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15312         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15313         last-command-char/last-command-event.
15314         (viper-prefix-arg-value): Do correct conversion of event-char for
15315         XEmacs.
15317         * emulation/viper-util.el, emulation/viper.el:
15318         Use viper-last-command-char instead of
15319         last-command-char/last-command-event.
15321         * ediff-init.el, ediff-mult.el, ediff-util.el:
15322         Replace last-command-char and last-command-event
15323         with (ediff-last-command-char) everywhere.
15325         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15326         created in fundamental mode.
15328         * ediff.el (ediff-version): Revert the change of interactive-p to
15329         called-interactively-p.
15331 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15333         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15334         generation from word-movement command names.
15336 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15338         * cus-start.el (all): Add native condition for font-use-system-font.
15340 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15342         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15343         Correct the patch from 2009-11-18.  (Bug#3910)
15345 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15347         * progmodes/subword.el: Rename from lisp/subword.el.
15349         * subword.el: Rename to progmodes/subword.el.
15351         * Makefile.in (ELCFILES): Adapt to subword.el move.
15353 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15354             Stefan Monnier  <monnier@iro.umontreal.ca>
15356         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15357         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15358         (bookmark-bmenu-show-filenames): Use push.
15359         (bookmark-bmenu-hide-filenames): Use local var instead of
15360         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15361         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15362         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15363         filenames now that the bookmark names are always available.
15365 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15367         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15368         (bookmark-search-pattern): Move and leave unbound.
15369         (bookmark-bmenu-mode-map): Change binding.
15370         (bookmark-read-search-input): Simplify.
15371         Don't use text-char-description.  Don't error on non-char events.
15372         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15373         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15374         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15375         Use a local var for the timer.
15376         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15377         (i.e. bookmark-bmenu-search).
15379 2009-11-21  Glenn Morris  <rgm@gnu.org>
15381         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15383 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15385         * net/browse-url.el (browse-url-default-windows-browser):
15386         Use cygstart for cygwin.
15388 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15390         * bookmark.el: Formatting and doc fixes only:
15391         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15392         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15393         Minor grammar and punctuation fixes in doc string.
15394         (bookmark-read-search-input): Adjust to fit within 80 columns.
15396 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15398         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15399         (c-backward-into-nomenclature): Adapt to subword renaming.
15401         * subword.el (subword-forward, subword-backward, subword-mark)
15402         (subword-kill, subword-backward-kill, subword-transpose)
15403         (subword-downcase, subword-upcase, subword-capitalize)
15404         (subword-forward-internal, subword-backward-internal):
15405         Rename from forward-subword, backward-subword, mark-subword,
15406         kill-subword, backward-kill-subword, transpose-subwords,
15407         downcase-subword, upcase-subword, capitalize-subword,
15408         forward-subword-internal, backward-subword-internal.
15410 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15412         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15413         New options.
15414         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15415         New vars.
15416         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15417         (bookmark-bmenu-filter-alist-by-regexp)
15418         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15419         (bookmark-bmenu-search): New command.
15420         (bookmark-bmenu-mode-map): Bind it.
15422 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15424         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15425         backward-subword to quit the byte-compiler.
15427         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15429         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15431         * progmodes/cc-cmds.el (c-update-modeline)
15432         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15433         Refer to subword.el functions instead of cc-subword.el.
15435         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15436         subword.el functions instead of cc-subword.el.
15438         * progmodes/cc-subword.el: Rename to subword.el.
15439         * subword.el: Rename from progmodes/cc-subword.el.
15440         (subword-mode-map): Rename from c-subword-mode-map.
15441         (subword-mode): Rename from c-subword-mode.
15442         (global-subword-mode): New global minor mode.
15443         (forward-subword): Rename from c-forward-subword.
15444         (backward-subword): Rename from c-backward-subword.
15445         (mark-subword): Rename from c-mark-subword.
15446         (kill-subword): Rename from c-kill-subword.
15447         (backward-kill-subword): Rename from c-backward-kill-subword.
15448         (transpose-subwords): Rename from c-tranpose-subword.
15449         (downcase-subword): Rename from c-downcase-subword.
15450         (capitalize-subword): Rename from c-capitalize-subword.
15451         (forward-subword-internal): Rename from c-forward-subword-internal.
15452         (backward-subword-internal): Rename from c-backward-subword-internal.
15454 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15456         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15457         from a dired buffer.
15458         (vc-dired-deduce-fileset): New function.
15459         (vc-root-diff, vc-print-root-log): Use it.
15461         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15462         nil LIMIT argument to vc-print-log-internal.
15464 2009-11-20  Glenn Morris  <rgm@gnu.org>
15466         * Makefile.in (ELCFILES): Regenerate.
15468 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15470         * calc/calc.el (calc-set-mode-line):
15471         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15472         (math-format-number): Rename `math-format-complement-signed' to
15473         `math-format-twos-complement'.
15475         * calc/calc-bin.el (math-format-twos-complement): Rename from
15476         math-format-complement-signed.
15477         (calc-radix): Rename `calc-complement-signed-mode' to
15478         `calc-twos-complement-mode'.
15479         (calc-octal-radix, calc-hex-radix): Add an argument for
15480         two's complement.
15482         * calc/calc-embed.el (calc-embedded-mode-vars):
15483         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15485         * calc/calc-ext.el (calc-init-extensions):
15486         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15487         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15489         * calc/calc-units.el (math-build-units-table-buffer):
15490         Let `calc-twos-complement-mode' be nil.
15492         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15493         entries.
15495         * calc/calc-vec.el (calcFunc-vunpack):
15496         * calc/calc-aent.el (calc-do-calc-eval):
15497         * calc/calc-forms.el (math-format-date):
15498         * calc/calc-graph.el (calc-graph-plot):
15499         * calc/calc-math.el (math-use-emacs-fn):
15500         * calc/calccomp.el (math-compose-expr):
15501         Let `calc-twos-complement-mode' be nil.
15503 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15505         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15506         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15507         * minibuffer.el (completion-in-region-functions): New hook.
15508         (completion-in-region): New function.
15509         * emacs-lisp/lisp.el (lisp-complete-symbol):
15510         * pcomplete.el (pcomplete-std-complete): Use it.
15512 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15514         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15515         (latex-complete-alist): New vars.
15516         (latex-string-prefix-p, latex-complete-bibtex-keys)
15517         (latex-complete-envnames, latex-complete-refkeys)
15518         (latex-complete-data): New functions.
15519         (latex-complete, latex-indent-or-complete): New commands.
15521         * window.el (display-buffer-mark-dedicated): New var.
15522         (display-buffer): Obey it.
15523         * minibuffer.el (minibuffer-completion-help): Use it.
15525         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15527         * filecache.el (file-cache-add-file): Use push and cons.
15528         (file-cache-delete-file-regexp): Use push.
15529         (file-cache-complete): Use completion-in-region.
15531         * simple.el (with-wrapper-hook): Fix thinko.
15533         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15534         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15535         Use with-current-buffer and string-to-number.
15536         (hfy-fallback-colour-values): Use assoc-string.
15537         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15538         (hfy-face-at): Remove unused var `found-face'.
15539         (hfy-compile-stylesheet): Remove unused var `css'.
15540         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15541         and `orig-buffer'.
15542         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15543         Use with-current-buffer.
15544         (hfy-text-p): Use expand-file-name and fewer setq.
15546 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15548         * htmlfontify.el, hfy-cmap.el: New files.
15550 2009-11-19  Juri Linkov  <juri@jurta.org>
15552         * minibuffer.el (completions-format): New defcustom.
15553         (completion--insert-strings): Implement vertical format.
15555         * simple.el (switch-to-completions): Move point to the first
15556         completion when point was at the beginning of the buffer.
15558 2009-11-19  Juri Linkov  <juri@jurta.org>
15560         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15562         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15564 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15566         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15567         (mail-signature): Change default to t.
15568         (mail-from-style): Deprecate `system-default' value.
15569         (mail-insert-from-field): For default value of mail-from-style,
15570         default to `angles' unless `angles' needs quoting and `parens'
15571         does not.
15572         (mail-citation-prefix-regexp): Use citation regexp from
15573         message-mode.
15575 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15577         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15578         Set variables for computing the prompt for reading password.
15580 2009-11-19  Glenn Morris  <rgm@gnu.org>
15582         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15584         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15586         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15587         (newsticker-treeview-listwindow-height): Fix custom type.
15589 2009-11-19  Kenichi Handa  <handa@m17n.org>
15591         * descr-text.el (describe-char-padded-string): Compose with TAB
15592         only if there's a font for CH.
15593         (describe-char): Fix the condition for detecting a trivial composition.
15595 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15597         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15598         more accurate version of the regexp.  (Bug#3910)
15600 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15602         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15604 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15606         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15607         (font-setting-change-default-font): Fix typo in docstring.
15609 2009-11-18  Alan Mackenzie  <acm@muc.de>
15611         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15613 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15615         * font-setting.el (font-use-system-font): Move ...
15617         * cus-start.el (all): ... to here.
15619 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15621         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15622         Don't set `ad-return-value' if `ad-do-it' doesn't.
15624         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15625         modification time.
15627 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15629         * menu-bar.el: Put "Use system font" in Option-menu.
15630         (menu-bar-options-save): Add font-use-system-font.
15632         * loadup.el: If feature system-font-setting or font-render-setting is
15633         there, load font-setting.
15635         * Makefile.in (ELCFILES): Add font-settings.el.
15636         * font-setting.el: New file.
15638 2009-11-17  Glenn Morris  <rgm@gnu.org>
15640         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15642         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15643         Preserve point in the list buffer.  (Bug#4939)
15644         Use point-at-eol.
15645         (newsticker--treeview-list-update-highlight)
15646         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15648 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15650         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15651         Remove.
15653         * calc/calc-ext.el (calc-init-extensions): Remove references to
15654         symclip.
15656         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15658         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15659         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15660         `calc-symclip'.
15662 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15664         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15665         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15667         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15668         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15669         Ignore trailing spaces by omit-nulls to split-string (fixing
15670         regression from Emacs 21 due to the incompatible split-string
15671         change).  (Bug #4928.)
15673 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15675         * vc.el (vc-log-show-limit): Default to 2000.
15676         (vc-print-log-internal): Insert buttons to request more entries
15677         when limiting the output.
15679         * vc-sccs.el (vc-sccs-print-log):
15680         * vc-rcs.el (vc-rcs-print-log):
15681         * vc-cvs.el (vc-cvs-print-log):
15682         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15683         LIMIT is non-nil.
15685 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15687         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15688         error when `tramp-gvfs-dbus-event-vector' is set.
15689         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15691 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15693         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15695 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15697         * net/dbus.el (dbus-unregister-service): New defun.
15698         (dbus-register-property): Register the handlers of
15699         "org.freedesktop.DBus.Properties" for SERVICE.
15700         (dbus-property-handler): Fix docstring.
15702 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15704         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15705         Quote doc string reference in defvaralias as it is not in special form.
15706         (byte-compile-output-docform): Doc fix.
15708 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15710         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15711         (calc-complement-signed-mode): New variables.
15712         (calc-set-mode-line): Add indicator for twos-complements.
15713         (math-format-number): Format twos-complement notation.
15715         * calc/calc-bin.el (calc-word-size): Reset the variables
15716         `math-2-word-size' and `math-half-2-word-size'.
15717         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15718         (calc-symclip): New functions.
15720         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15722         * calc/calc-embed.el (calc-embedded-mode-vars):
15723         Add `calc-complement-signed-mode' to the list of modes.
15725         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15726         (calc-b-oper-keys): Add `calc-symclip' to list.
15728         * calc/calc-ext.el (math-read-number-fancy): Read complement
15729         signed numbers.
15730         (calc-init-extensions): Add binding for `calc-symclip'.
15731         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15733         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15734         `calc-symclip'.
15735         (calc-modes-menu): Add item for twos complement mode.
15737         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15739 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15741         * register.el (jump-to-register, insert-register): Handle Semantic
15742         tags.  From commented-out advice in semantic/senator.el.
15744 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15746         * vc.el (vc-log-show-limit): New variable.
15747         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15748         when using a prefix argument.
15749         (vc-print-log-internal): Add new argument LIMIT.
15751         * vc-svn.el (vc-svn-print-log):
15752         * vc-mtn.el (vc-mtn-print-log):
15753         * vc-hg.el (vc-hg-print-log):
15754         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15755         pass it to the log command when set.  Make the BUFFER argument
15756         non-optional.
15758         * vc-sccs.el (vc-sccs-print-log):
15759         * vc-rcs.el (vc-rcs-print-log):
15760         * vc-git.el (vc-git-print-log):
15761         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15762         ignore it.  Make the BUFFER argument non-optional
15764         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15766 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15768         * dired.el (dired-mode-map): Move encryption items to "Operate"
15769         menu (Bug#4703).
15771         * strokes.el (strokes-update-window-configuration): Make strokes
15772         buffer current before erasing (Bug#4906).
15774 2009-11-15  Juri Linkov  <juri@jurta.org>
15776         * simple.el (set-mark-default-inactive): Add :type, :group
15777         and :version.  (Bug#4876)
15779 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15781         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15782         (archive-unique-fname): ... here.  (Bug#4929)
15784 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15786         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15787         with a real fix.
15789         * novice.el (disabled-command-function): Add useful args.
15790         Setup the help buffer so that [back] works.
15791         Remove redundant call to help-mode.
15792         (disabled-command-function): Use `case'.
15793         (en/disable-command): New function extracted from enable-command.
15794         (enable-command, disable-command): Use it.
15796 2009-11-14  Glenn Morris  <rgm@gnu.org>
15798         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15799         constants.  (Bug#4913)
15801         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15803 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15805         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15806         defined in C that have no doc-strings.  (Bug#1063)
15808 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15810         * cus-edit.el (data, files):
15811         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15813 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15815         * simple.el (shell-command): Doc fix (Bug#4891).
15817         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15819 2009-11-14  Glenn Morris  <rgm@gnu.org>
15821         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15822         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15823         If they are already loaded, eval-after-load will do the right thing.
15825         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15826         compiling.
15828         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15830         * simple.el (x-selection-owner-p): Declare.
15831         (read-mail-command): Use custom radio type rather than choice.
15832         (completion-no-auto-exit): Doc fix.
15834         * custom.el (defgroup):
15835         * epg-config.el (epg): Doc fixes.
15837 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15839         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15840         * international/ccl.el (define-ccl-program): Do not purecopy the
15841         docstring, defconst does it anyway.
15843 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15845         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15846         a second time.
15848         * x-dnd.el (x-dnd-maybe-call-test-function):
15849         * window.el (split-window-vertically):
15850         * whitespace.el (whitespace-help-on):
15851         * vc-rcs.el (vc-rcs-consult-headers):
15852         * userlock.el (ask-user-about-lock-help)
15853         (ask-user-about-supersession-help):
15854         * type-break.el (type-break-force-mode-line-update):
15855         * time-stamp.el (time-stamp-conv-warn):
15856         * terminal.el (te-set-output-log, te-more-break, te-filter)
15857         (te-sentinel, terminal-emulator):
15858         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15859         (term-write-input-ring, term-check-source, term-start-output-log):
15860         (term-display-buffer-line, term-dynamic-list-completions):
15861         (term-ansi-make-term, serial-term):
15862         * subr.el (selective-display):
15863         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15864         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15865         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15866         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15867         (speedbar-remove-localized-speedbar-support)
15868         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15869         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15870         (speedbar-buffers-line-directory):
15871         * simple.el (shell-command-on-region, append-to-buffer)
15872         (prepend-to-buffer):
15873         * shadowfile.el (shadow-save-todo-file):
15874         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15875         (scroll-bar-maybe-set-window-start):
15876         * sb-image.el (speedbar-image-dump):
15877         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15878         (load-save-place-alist-from-file):
15879         * ps-samp.el (ps-print-message-from-summary):
15880         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15881         (ps-background-image, ps-begin-job, ps-do-despool):
15882         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15883         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15884         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15885         (pr-call-process, pr-file-list, pr-interface-save):
15886         * novice.el (disabled-command-function)
15887         (enable-command, disable-command):
15888         * mouse.el (mouse-buffer-menu-alist):
15889         * mouse-copy.el (mouse-kill-preserving-secondary):
15890         * macros.el (kbd-macro-query):
15891         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15892         * informat.el (batch-info-validate):
15893         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15894         * hippie-exp.el (try-expand-dabbrev-visible):
15895         * help-mode.el (help-make-xrefs):
15896         * help-fns.el (describe-variable):
15897         * generic-x.el (bat-generic-mode-run-as-comint):
15898         * finder.el (finder-mouse-select):
15899         * find-dired.el (find-dired-sentinel):
15900         * filesets.el (filesets-file-close):
15901         * files.el (list-directory):
15902         * faces.el (list-faces-display, describe-face):
15903         * facemenu.el (list-colors-display):
15904         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15905         * epg.el (epg--process-filter, epg-cancel):
15906         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15907         (epa--read-signature-type):
15908         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15909         (emerge-file-names):
15910         * ehelp.el (electric-helpify):
15911         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15912         * ediff-vers.el (rcs-ediff-view-revision):
15913         * ediff-util.el (ediff-setup):
15914         * ediff-mult.el (ediff-append-custom-diff):
15915         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15916         (ediff-wordify):
15917         * echistory.el (Electric-command-history-redo-expression):
15918         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15919         * disp-table.el (describe-display-table):
15920         * dired.el (dired-find-buffer-nocreate):
15921         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15922         * dabbrev.el (dabbrev--same-major-mode-p):
15923         * chistory.el (list-command-history):
15924         * apropos.el (apropos-documentation):
15925         * allout.el (allout-obtain-passphrase):
15926         (allout-copy-exposed-to-buffer):
15927         (allout-verify-passphrase): Use with-current-buffer.
15929 2009-11-13  Glenn Morris  <rgm@gnu.org>
15931         * Makefile.in (ELCFILES): Regenerate.
15933 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15935         * net/dbus.el (dbus-registered-objects-table): Rename from
15936         `dbus-registered-functions-table', because it contains also properties.
15937         (dbus-unregister-object): Unregister also properties.
15938         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15939         Use a timeout of 500 msec, in order to not block.
15940         (dbus-register-property, dbus-property-handler): New defuns.
15942 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15944         * simple.el (minibuffer-default-add-completions): Drop deprecated
15945         4th arg.
15947 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15949         * textmodes/artist.el (artist-mouse-choose-operation):
15950         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15951         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15952         (artist-compute-up-event-key): New function.
15953         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15955 2009-11-13  Kenichi Handa  <handa@m17n.org>
15957         * language/japan-util.el: Make sure that the value of jisx0208
15958         property is jisx0208 character.
15960 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15962         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15963         car or each item, not the whole list.
15965 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15967         * minibuffer.el (minibuffer-completion-help):
15968         Use minibuffer-hide-completions.
15970 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15972         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15973         (dired-revert): Use them (bug#4880).
15975 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15977         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15979 2009-11-12  Juri Linkov  <juri@jurta.org>
15981         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15982         New functions.
15983         (find-file-literally-at-point): Alias of `ffap-literally'.
15985 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15987         * textmodes/ispell.el (ispell-skip-region-alist):
15988         * textmodes/css-mode.el (auto-mode-alist):
15989         * progmodes/compile.el (auto-mode-alist):
15990         * international/mule.el (ctext-non-standard-encodings-alist)
15991         (ctext-non-standard-encodings-regexp):
15992         * simple.el (shell-command-switch, text-read-only):
15993         * replace.el (occur-mode-map):
15994         * paths.el (rmail-file-name):
15995         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15996         * find-file.el (ff-special-constructs):
15997         * files.el (file-name-handler-alist):
15998         * composite.el: Purecopy strings.
16000         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16002 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16004         * widget.el (define-widget): Purecopy the docstring.
16005         * international/mule-cmds.el (charset): Do not purecopy the
16006         docstring here, define-widget does it.
16008         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16009         * textmodes/bibtex-style.el (auto-mode-alist):
16010         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16011         * progmodes/compile.el (compile-command):
16012         * language/korea-util.el (default-korean-keyboard):
16013         * international/mule-conf.el (file-coding-system-alist):
16014         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16015         * tooltip.el (tooltip-frame-parameters):
16016         * newcomment.el (comment-end, comment-padding):
16017         * dired.el (dired-trivial-filenames):
16018         * comint.el (comint-file-name-prefix): Purecopy initial values.
16020 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16022         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16023         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16024         `tramp-unload'.
16025         (tramp-advice-make-auto-save-file-name)
16026         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16027         after removing the advice.
16029 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16031         * progmodes/grep.el (grep-regexp-alist):
16032         * international/mule-cmds.el (iso-2022-control-alist):
16033         * emacs-lisp/timer.el (timer-duration-words):
16034         * subr.el (version-separator, version-regexp-alist):
16035         * minibuffer.el (completion-styles-alist):
16036         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16037         Change defvars to defconsts.
16039         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16040         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16041         * international/mule-conf.el: Allow to be byte compiled.
16043         * international/mule.el (define-charset): Purecopy props.
16044         (load-with-code-conversion): Purecopy doc string and file name.
16045         (put-charset-property): Purecopy strings.
16046         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16048         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16049         (define-char-code-property): Correctly purecopy the table.
16051         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16053         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16055         * subr.el (add-hook): Purecopy strings.
16056         (eval-after-load): Purecopy load-history-regexp and the form.
16058         * custom.el (custom-declare-group): Purecopy load-file-name.
16060         * subr.el (menu-bar-separator): New defconst.
16061         * net/eudc.el (eudc-tools-menu):
16062         * international/mule-cmds.el (set-coding-system-map)
16063         (mule-menu-keymap):
16064         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16065         * vc-hooks.el (vc-menu-map):
16066         * replace.el (occur-mode-map):
16067         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16068         (menu-bar-edit-menu, menu-bar-goto-menu)
16069         (menu-bar-custom-menu, menu-bar-showhide-menu)
16070         (menu-bar-options-menu, menu-bar-tools-menu)
16071         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16072         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16073         (menu-bar-help-menu):
16074         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16075         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16077         * term/x-win.el (x-gtk-stock-map):
16078         * progmodes/vera-mode.el (auto-mode-alist):
16079         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16080         (inferior-lisp-program, inferior-lisp-load-command):
16081         * progmodes/hideshow.el (hs-special-modes-alist):
16082         * progmodes/gud.el (same-window-regexps):
16083         * progmodes/grep.el (grep-program, find-program, xargs-program):
16084         * net/telnet.el (same-window-regexps):
16085         * net/rlogin.el (same-window-regexps):
16086         * language/ethiopic.el (font-ccl-encoder-alist):
16087         * vc-sccs.el (vc-sccs-master-templates):
16088         * vc-rcs.el (vc-rcs-master-templates):
16089         * subr.el (cl-assertion-failed):
16090         * simple.el (next-error-overlay-arrow-position):
16091         * lpr.el (lpr-command):
16092         * locate.el (locate-ls-subdir-switches):
16093         * info.el (same-window-regexps, info)
16094         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16095         * image-mode.el (image-mode, auto-mode-alist):
16096         * hippie-exp.el (hippie-expand-ignore-buffers):
16097         * format.el (format-alist):
16098         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16099         (find-name-arg):
16100         * facemenu.el (facemenu-keybindings):
16101         * dired.el (dired-listing-switches, dired-chown-program):
16102         * diff.el (diff-switches, diff-command):
16103         * cus-edit.el (same-window-regexps):
16104         * bindings.el (mode-line-mule-info)
16105         (mode-line-buffer-identification): Purecopy strings.
16107 2009-11-11  Juri Linkov  <juri@jurta.org>
16109         * simple.el (dired-get-filename) <declare-function>:
16110         Tell the byte-compiler about dired-get-filename.
16111         (shell-command): In Dired mode, get filename from the current line
16112         as the default value.
16114 2009-11-10  Glenn Morris  <rgm@gnu.org>
16116         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16117         * calendar/holidays.el, progmodes/cperl-mode.el:
16118         Update x-popup-menu declarations.
16120         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16121         (list-load-path-shadows): Use dolist.
16122         (list-load-path-shadows): Use with-current-buffer.
16124 2009-11-10  Juri Linkov  <juri@jurta.org>
16126         * minibuffer.el (read-file-name): Support a list of default values
16127         in `default-filename'.  Use the first file name where only one
16128         element is required.  Doc fix.
16130 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16132         * net/dbus.el (dbus-unregister-object): Release service, if no
16133         other method is registered for it.
16135 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16137         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16138         bookmark-sort-flag is non-nil (Bug#4653).
16140 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16142         * emulation/cua-base.el: Add CUA property to some CC mode commands
16143         (Bug#4100).
16145 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16147         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16148         at end of sentence (Bug#4818).
16150 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16152         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16153         Handle "see declaration of" MSFT statements (Bug#4100).
16155 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16157         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16158         (tramp-advice-file-expand-wildcards): Unload via
16159         `ad-remove-advice'.
16161         * net/trampver.el: Update release number.
16163 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16165         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16166         `ad-do-it'.
16168 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16170         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16171         in order to keep context in SELinux.
16173 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16175         * dired-aux.el (dired-query): Place cursor in echo area and allow
16176         C-g.
16178         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16179         menu item if not on a directory (Bug#4701).
16181 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16183         Sync with Tramp 2.1.17.
16185         * net/tramp.el (tramp-handle-copy-directory): Don't use
16186         `file-remote-p' (due to compatibility).
16188         * net/tramp-compat.el (tramp-compat-copy-directory)
16189         (tramp-compat-delete-directory): New defuns.
16191         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16192         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16193         Use `tramp-compat-delete-directory'.
16195         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16196         (tramp-smb-handle-delete-directory):
16197         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16199         * net/trampver.el: Update release number.
16201 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16203         * tar-mode.el (tar-copy): Call write-region on the right buffer
16204         (Bug#4857).
16206         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16207         by hand, if necessary (Bug#4878).
16209 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16211         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16212         align size column (Bug#4839).
16214         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16215         statement.
16217 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16219         * progmodes/ld-script.el (auto-mode-alist):
16220         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16222         * cus-face.el (custom-declare-face): Purecopy face spec.
16224 2009-11-06  Kenichi Handa  <handa@m17n.org>
16226         * international/uni-bidi.el: Re-generated.
16227         * international/uni-category.el: Re-generated.
16228         * international/uni-combining.el: Re-generated.
16229         * international/uni-mirrored.el: Re-generated.
16231 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16233         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16234         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16235         (tex-start-options, slitex-run-command, latex-run-command)
16236         (tex-run-command, tex-directory):
16237         * textmodes/ispell.el (ispell-html-skip-alists)
16238         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16239         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16240         (adaptive-fill-regexp):
16241         * textmodes/dns-mode.el (auto-mode-alist):
16242         * progmodes/python.el (interpreter-mode-alist):
16243         * progmodes/etags.el (tags-compression-info-list):
16244         * progmodes/etags.el (tags-file-name):
16245         * net/browse-url.el (browse-url-galeon-program)
16246         (browse-url-firefox-program):
16247         * mail/sendmail.el (mail-signature-file)
16248         (mail-citation-prefix-regexp):
16249         * international/mule-conf.el (eight-bit):
16250         * international/latexenc.el (latex-inputenc-coding-alist):
16251         * international/fontset.el (x-pixel-size-width-font-regexp):
16252         * emacs-lisp/warnings.el (warning-type-format):
16253         * emacs-lisp/trace.el (trace-buffer):
16254         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16255         (emacs-lisp-mode-map):
16256         * calendar/holidays.el (holiday-solar-holidays)
16257         (holiday-bahai-holidays, holiday-islamic-holidays)
16258         (holiday-christian-holidays, holiday-hebrew-holidays)
16259         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16260         (hebrew-holidays-1, holiday-oriental-holidays)
16261         (holiday-general-holidays):
16262         * x-dnd.el (x-dnd-known-types):
16263         * tool-bar.el (tool-bar):
16264         * startup.el (site-run-file):
16265         * shell.el (shell-dumb-shell-regexp):
16266         * rfn-eshadow.el (file-name-shadow-tty-properties)
16267         (file-name-shadow-properties):
16268         * paths.el (remote-shell-program, news-directory):
16269         * mouse.el ([C-down-mouse-3]):
16270         * menu-bar.el (menu-bar-tools-menu):
16271         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16272         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16273         (jka-compr-compression-info-list):
16274         * isearch.el (search-whitespace-regexp):
16275         * image-file.el (image-file-name-extensions):
16276         * find-dired.el (find-ls-option):
16277         * files.el (directory-listing-before-filename-regexp)
16278         (directory-free-space-args, insert-directory-program)
16279         (list-directory-brief-switches, magic-fallback-mode-alist)
16280         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16281         (automount-dir-prefix):
16282         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16283         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16284         (face-font-registry-alternatives, face-font-registry-alternatives)
16285         (face-font-family-alternatives):
16286         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16287         (facemenu-foreground-menu, facemenu-face-menu):
16288         * epa-hook.el (epa-file-name-regexp):
16289         * dnd.el (dnd-protocol-alist):
16290         * textmodes/rst.el (auto-mode-alist):
16291         * button.el (default-button): Purecopy strings.
16293 2009-11-06  Glenn Morris  <rgm@gnu.org>
16295         * Makefile.in (ELCFILES): Update.
16297 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16299         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16300         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16302         * nxml/xsd-regexp.el (xsdre-gen-categories):
16303         * nxml/xmltok.el (xmltok-parse-entity):
16304         * nxml/rng-parse.el (rng-parse-validate-file):
16305         * nxml/rng-maint.el (rng-format-manual)
16306         (rng-manual-output-force-new-line):
16307         * nxml/rng-loc.el (rng-save-schema-location-1):
16308         * nxml/rng-cmpct.el (rng-c-parse-file):
16309         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16310         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16312 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16314         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16315         Remove extra save-excursions and make-variable-buffer-local's.
16316         Suggested by Stefan Monnier.
16318         (verilog-getopt-file, verilog-module-inside-filename-p)
16319         (verilog-set-define): Merge GNU 1.35 and repair changes from
16320         switching to using with-current-buffer.
16322         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16323         being treated as a number and confusing AUTORESET.
16324         Reported by Dan Dever.
16326         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16327         Add verilog-auto-ignore-concat to fix backward compatibility with
16328         older verilog-modes.  Reported by Dan Katz.
16330         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16331         containing closing anchors "...$".
16333         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16334         Reported by Wade Smith.
16336         (verilog-batch-execute-func): Comment on function usage.
16338 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16340         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16341         for labels.
16343         (verilog-label-re, verilog-calc-1): Support proper indent of named
16344         asserts.
16346         (verilog-backward-token, verilog-basic-complete-re)
16347         (verilog-beg-of-statement, verilog-indent-re): Support proper
16348         indent of the assert statement at the beginning of a block of text.
16350         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16351         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16352         tokens as begins.
16354 2009-11-05  Glenn Morris  <rgm@gnu.org>
16356         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16357         Emacs 19.  (Bug#1531)
16358         (byte-compile-fix-header): Update for the above change.
16359         Drop test for epoch::version.
16361         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16362         * cus-dep.el (custom-make-dependencies):
16363         * finder.el (finder-compile-keywords):
16364         Use autoload-rubric's feature argument.
16366         * calendar/diary-lib.el (top-level): Make load behave more like require.
16368         * vc-git.el (vc-git-stash-map): Move definition before use.
16370 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16372         * custom.el (custom-declare-group): Purecopy standard-value.
16373         (custom-declare-group): Purecopy custom-prefix.
16375         * international/mule.el (load-with-code-conversion):
16376         Call do-after-load-evaluation unconditionally.
16378         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16380 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16382         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16384 2009-11-04  Glenn Morris  <rgm@gnu.org>
16386         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16387         (byte-compile-compatibility): Remove option.
16388         (byte-compile-close-variables, byte-compile-fix-header)
16389         (byte-compile-insert-header, byte-compile-output-docform)
16390         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16391         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16392         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16393         (byte-compile-insert, byte-compile-defun):
16394         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16395         (byte-defop-compiler19): Remove.
16396         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16397         used by anything.  Replace all calls with byte-defop-compiler.
16399 2009-11-04  Juri Linkov  <juri@jurta.org>
16401         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16402         (menu-bar-options-menu): Don't quote the `prop' arg of
16403         `menu-bar-make-mm-toggle'.
16405 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16407         * calendar/calendar.el (cal-loaddefs):
16408         * calendar/diary-lib.el (diary-loaddefs):
16409         * calendar/holidays.el (hol-loaddefs):
16410         * eshell/esh-module.el (esh-groups): Load rather than require.
16412 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16414         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16415         point-min==1.
16416         (todo-top-priorities): Only display-buffer when called interactively.
16417         (todo-item-start): Don't save excursion point.
16418         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16419         (todo-insert-item-here, todo-file-item, todo-remove-item):
16420         Adjust uses of todo-item-start and todo-item-end.
16422         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16423         (autoload-rubric): Don't use any more.
16425         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16426         and only put a prop if it is non-nil.
16428 2009-11-03  Juri Linkov  <juri@jurta.org>
16430         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16431         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16433         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16434         and "Menu" to make top-level menu item visually one unit (like
16435         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16436         multi-word menu items).  Fix :help string for quit-window.
16438 2009-11-03  Glenn Morris  <rgm@gnu.org>
16440         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16441         (byte-compile-file-form-define-abbrev-table)
16442         (byte-compile-file-form-custom-declare-variable)
16443         (byte-compile-variable-ref, byte-compile-defvar):
16444         Whether or not a warning is enabled should only affect whether we issue
16445         the warning, not whether or not we collect the relevant data.
16446         Eg warnings can be turned on and off throughout the course of a file.
16448         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16449         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16451 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16453         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16454         * play/mpuz.el (mpuz-create-buffer):
16455         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16456         (lm-print-y,s,noise, lm-print-w0, lm-init):
16457         * play/gomoku.el (gomoku-prompt-for-move):
16458         * play/fortune.el (fortune-in-buffer):
16459         * play/dissociate.el (dissociated-press):
16460         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16461         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16462         * mail/supercite.el (sc-eref-show):
16463         * mail/smtpmail.el (smtpmail-send-it):
16464         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16465         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16466         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16467         (rmail-summary-goto-msg, rmail-summary-expunge)
16468         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16469         (rmail-summary-add-label, rmail-summary-output-menu)
16470         (rmail-summary-output-body):
16471         * mail/rfc822.el (rfc822-addresses):
16472         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16473         * mail/mailpost.el (post-mail-send-it):
16474         * mail/hashcash.el (hashcash-generate-payment):
16475         * mail/feedmail.el (feedmail-run-the-queue)
16476         (feedmail-queue-send-edit-prompt-help-first)
16477         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16478         (feedmail-deduce-address-list):
16479         * eshell/esh-ext.el (eshell-remote-command):
16480         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16481         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16482         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16483         (viper-save-string-in-file, viper-valid-marker):
16484         * emulation/viper-keym.el (viper-toggle-key):
16485         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16486         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16487         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16488         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16489         (viper-exec-form-in-emacs, viper-brac-function):
16490         * emulation/viper.el (viper-delocalize-var):
16491         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16492         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16493         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16494         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16495         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16496         * emulation/edt.el (edt-electric-helpify):
16497         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16498         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16499         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16500         (cua-indent-to-global-mark-column):
16501         * calendar/diary-lib.el (calendar-mark-1):
16502         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16503         Use with-current-buffer.
16504         * emulation/viper.el (viper-delocalize-var): Use dolist.
16506 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16508         * comint.el (comint-replace-by-expanded-history-before-point):
16509         Replace !! with the previous input string literally (Bug#1795).
16511 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16513         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16514         to be made up of whitespace.
16516 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16518         * minibuffer.el (read-file-name): Don't use file dialogs for
16519         remote directories (Bug#99).
16521 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16523         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16525 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16527         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16528         instead of deleting the window or frame.
16530 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16532         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16533         Support face colors.
16535         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16536         New function.  Support face colors (Bug#1168).
16537         (tex-common-initialization): Use it.
16539         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16540         mode allows it (Bug#1168).
16542 2009-10-31  Juri Linkov  <juri@jurta.org>
16544         * facemenu.el (list-colors-display): Don't mark buffer as
16545         modified (Bug#3948).
16547 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16549         * international/mule-diag.el (list-character-sets-1):
16550         Minor message fix (Bug#3526).
16552         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16553         Fix face property (Bug#4834).
16554         (etags-list-tags, etags-tags-apropos-additional)
16555         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16556         property.
16558         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16559         items.
16561 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16563         * textmodes/two-column.el (2C-split):
16564         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16565         * textmodes/tex-mode.el (tex-set-buffer-directory):
16566         * textmodes/spell.el (spell-region, spell-string):
16567         * textmodes/reftex.el (reftex-erase-buffer):
16568         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16569         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16570         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16571         (reftex-select-item):
16572         * textmodes/reftex-ref.el (reftex-label-info-update)
16573         (reftex-offer-label-menu):
16574         * textmodes/reftex-index.el (reftex-index-change-entry)
16575         (reftex-index-phrases-info):
16576         * textmodes/reftex-global.el (reftex-create-tags-file)
16577         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16578         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16579         (reftex-view-crossref-from-bibtex):
16580         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16581         (reftex-extract-bib-entries-from-thebibliography)
16582         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16583         * textmodes/refbib.el (r2b-capitalize-title):
16584         (r2b-convert-buffer, r2b-help):
16585         * textmodes/page-ext.el (pages-directory)
16586         (pages-directory-goto-with-mouse):
16587         * textmodes/bibtex.el (bibtex-validate-globally):
16588         * textmodes/bib-mode.el (bib-capitalize-title):
16589         * textmodes/artist.el (artist-clear-buffer, artist-system):
16590         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16591         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16592         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16593         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16594         (xscheme-send-control-g-interrupt, xscheme-start-process)
16595         (xscheme-process-sentinel, xscheme-cd):
16596         * progmodes/verilog-mode.el (verilog-read-always-signals)
16597         (verilog-set-define, verilog-getopt-file)
16598         (verilog-module-inside-filename-p):
16599         * progmodes/sh-script.el:
16600         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16601         (python-pdbtrack-grub-for-buffer, python-execute-file):
16602         * progmodes/octave-inf.el (inferior-octave):
16603         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16604         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16605         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16606         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16607         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16608         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16609         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16610         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16611         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16612         (idlwave-shell-examine-display, idlwave-shell-run-region)
16613         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16614         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16615         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16616         (idlwave-help-get-help-buffer):
16617         * progmodes/gud.el (gud-basic-call, gud-find-class)
16618         (gud-tooltip-activate-mouse-motions-if-enabled):
16619         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16620         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16621         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16622         (ebrowse-tags-next-file):
16623         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16624         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16625         (ebnf-eps-finish-and-write):
16626         * progmodes/cpp.el (cpp-edit-save):
16627         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16628         * progmodes/cc-defs.el (c-emacs-features):
16629         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16630         (antlr-directory-dependencies):
16631         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16632         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16633         (ada-find-any-references, ada-make-filename-from-adaname)
16634         (ada-make-body-gnatstub):
16635         * obsolete/rnews.el (news-list-news-groups):
16636         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16637         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16638         * net/rcirc.el (rcirc-debug):
16639         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16640         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16641         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16642         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16643         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16644         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16645         (newsticker--treeview-list-clear-highlight)
16646         (newsticker--treeview-list-update-highlight)
16647         (newsticker--treeview-list-highlight-start)
16648         (newsticker--treeview-tree-update-highlight)
16649         (newsticker--treeview-get-selected-item)
16650         (newsticker-treeview-mark-list-items-old)
16651         (newsticker--treeview-set-current-node):
16652         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16653         * net/newst-backend.el (newsticker--get-news-by-funcall)
16654         (newsticker--get-news-by-wget, newsticker--image-get)
16655         (newsticker--image-sentinel):
16656         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16657         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16658         (eudc-ph-close-session):
16659         * net/eudc.el (eudc-save-options):
16660         * language/thai-word.el (thai-update-word-table):
16661         * language/japan-util.el (japanese-string-conversion):
16662         * international/titdic-cnv.el (tsang-quick-converter)
16663         (ziranma-converter, ctlau-converter):
16664         * international/mule-cmds.el (describe-language-environment):
16665         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16666         (skkdic-convert-postfix, skkdic-convert-prefix):
16667         (skkdic-convert-okuri-nasi, skkdic-convert):
16668         * emacs-lisp/re-builder.el (reb-update-overlays):
16669         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16670         * emacs-lisp/gulp.el (gulp-send-requests):
16671         * emacs-lisp/find-gc.el (trace-call-tree):
16672         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16673         (eieio-describe-generic):
16674         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16675         * emacs-lisp/edebug.el (edebug-outside-excursion):
16676         * emacs-lisp/debug.el (debugger-make-xrefs):
16677         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16678         * emacs-lisp/chart.el (chart-new-buffer):
16679         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16680         Use with-current-buffer.
16681         * textmodes/artist.el (artist-system): Don't call
16682         copy-sequence on a fresh string.
16683         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16685 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16687         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16688         is no item to edit.  (Bug#4820)
16689         (todo-top-priorities): Restore point and restore narrowing in Todo
16690         buffer.  (Bug#4820)
16692 2009-10-31  Glenn Morris  <rgm@gnu.org>
16694         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16695         (comint-last-output-start, comint-last-input-start)
16696         (comint-last-input-end): Don't defvar when compiling.
16697         (ange-ftp-process-file): Use bound-and-true-p.
16699         * pcmpl-rpm.el (top-level): Move provide statement to end.
16700         (pcmpl-rpm): Remove unused custom group.
16702         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16704         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16706         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16707         (byte-compile-warnings): Add `constants' as an option.
16708         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16709         (display-call-tree): Update for byte-compile-fdefinition possibly
16710         returning `(macro lambda ...)'.  (Bug#4778)
16711         (byte-compile-variable-ref, byte-compile-setq-default):
16712         Respect `constants' member of byte-compile-warnings.
16714 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16716         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16717         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16718         to "submit:".
16720 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16722         * textmodes/ispell.el (ispell-skip-region-alist):
16723         * international/mule-conf.el (eight-bit):
16724         * international/fontset.el (font-encoding-alist):
16725         * startup.el (pure-space-overflow-message):
16726         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16727         * paths.el (gnus-nntp-service, rmail-spool-directory)
16728         (term-file-prefix):
16729         * files.el (save-some-buffers-action-alist):
16730         * cmuscheme.el (same-window-buffer-names):
16731         * ielm.el (same-window-buffer-names):
16732         * shell.el (same-window-buffer-names):
16733         * mail/sendmail.el (same-window-buffer-names):
16734         * progmodes/inf-lisp.el (same-window-buffer-names):
16735         * bindings.el (mode-line-client)
16736         (mode-line-column-line-number-mode-map):
16737         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16738         (tibetan-precomposed-regexp): Purecopy string arguments.
16740 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16742         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16743         (calcDigit-nondigit):
16744         * calc/calc-yank.el (calc-copy-to-buffer):
16745         * calc/calc-units.el (calc-invalidate-units-table):
16746         * calc/calc-trail.el (calc-trail-yank):
16747         * calc/calc-store.el (calc-insert-variables):
16748         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16749         * calc/calc-prog.el (calc-read-parse-table):
16750         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16751         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16752         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16753         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16754         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16755         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16756         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16757         * calc/calc-ext.el (calc-realign):
16758         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16759         (calc-embedded-finish-edit, calc-embedded-make-info)
16760         (calc-embedded-finish-command, calc-embedded-stack-change):
16761         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16763         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16764         shell-dynamic-complete-filename in preference to
16765         comint-dynamic-complete-filename.
16767         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16768         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16769         Don't consider whether the display supports colors.
16770         (bookmark-import-new-list): Use dolist.
16771         (bookmark-bmenu-mode-map): Move initialization into declaration.
16772         (bookmark-bmenu-list): Use dolist, simplify.
16773         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16774         (menu-bar-final-items): Use push.
16776 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16778         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16779         it works on remote files.
16780         (vc-hg-diff): Don't pass any `--cwd' argument.
16782 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16784         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16785         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16786         (Further to Bug#3921).
16788 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16790         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16791         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16792         calling `tramp-imap-put-file'.  Add file size to the call.
16793         (tramp-imap-get-file-entries): Compute also user name, file size,
16794         and date.
16795         (tramp-imap-handle-insert-directory): Insert uid and gid.
16796         (tramp-imap-handle-file-attributes): Transform uid and gid
16797         according to `id-format'.
16798         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16799         size in header X-Size.
16801 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16803         * simple.el (transpose-subr): Give clearer error when the mark
16804         is not set.  (Bug#4807)
16806 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16808         * net/tramp.el (tramp-perl-file-truename): New defconst.
16809         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16810         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16811         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16812         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16814         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16815         Ignore `dired-call-process'.
16816         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16818 2009-10-26  Julian Scheid  <julians37@gmail.com>
16820         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16821         (tramp-get-remote-readlink): New defun.
16822         (tramp-handle-file-truename): Use it.
16823         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16824         file exists if cache value present.
16825         (tramp-check-cached-permissions): New defun.
16826         (tramp-handle-file-readable-p): Use it.
16827         (tramp-handle-file-writable-p): Likewise.
16828         (tramp-handle-file-executable-p): Likewise.
16829         (tramp-handle-file-name-all-completions): Try using Perl to get
16830         partial completions.  When perl not available, combine `cd' and
16831         `ls' into single remote operation and use shell expansion to get
16832         partial remote directory contents.  Set `file-exists-p' cache for
16833         directory and any files returned by ls.  Change cache handling to
16834         support partial directory contents.  Use error message emitted by
16835         remote `cd' or Perl code for local tramp-error.
16836         (tramp-do-copy-or-rename-file-directly): Avoid separate
16837         tramp-send-command-and-check call.
16838         (tramp-handle-process-file): Merge three remote ops into one.
16839         Do not flush all caches when `process-file-side-effects' is set.
16840         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16841         file-attributes shows uid/gid to be set already.
16843 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16845         * textmodes/tex-mode.el (tex-dvi-view-command)
16846         (tex-show-queue-command, tex-open-quote):
16847         * progmodes/ruby-mode.el (auto-mode-alist)
16848         (interpreter-mode-alist): Purecopy strings.
16850         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16852         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16853         string for the hook, keymap and abbrev table.
16855         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16857         * x-dnd.el (x-dnd-xdnd-to-action):
16858         * startup.el (fancy-startup-text, fancy-about-text): Change to
16859         defconst from defvar.
16861         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16863         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16864         Purecopy initialization strings.
16866         * mail/sendmail.el (mail-header-separator)
16867         (mail-personal-alias-file):
16868         * mail/rmail.el (rmail-default-dont-reply-to-names)
16869         (rmail-ignored-headers, rmail-retry-ignored-headers)
16870         (rmail-highlighted-headers, rmail-secondary-file-directory)
16871         (rmail-secondary-file-regexp):
16872         * files.el (null-device, file-name-invalid-regexp)
16873         (locate-dominating-stop-dir-regexp)
16874         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16875         (interpreter-mode-alist): Use mapcar instead of mapc.
16877         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16879         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16880         (completion-ignored-extensions):
16881         (debug-ignored-errors): Purecopy strings.
16883 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16885         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16886         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16887         (pcomplete--here): Use push.
16889         * subr.el (all-completions): Declare the 4th arg obsolete.
16891 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16893         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16894         (pcomplete-unquote-argument): New function.
16895         (pcomplete--common-suffix): Always pay attention to case.
16896         (pcomplete--table-subvert): Quote and unquote the text.
16897         (pcomplete--common-quoted-suffix): New function.
16898         (pcomplete-std-complete): Use it and pcomplete-begin.
16900         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16901         we're inside a dedicated or minibuffer window.
16903 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16905         * bookmark.el: Update documentation, especially documentation
16906         of `bookmark-alist' and of the bookmark file format.
16907         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16909 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16911         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16912         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16913         window to buffer.
16915         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16916         (global-whitespace-mode, global-whitespace-newline-mode)
16917         (whitespace-toggle-options, global-whitespace-toggle-options):
16918         Doc fix (Bug#3660).
16920         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16921         of xmltok-start before the end tag was inserted (Bug#2840).
16923         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16924         patterns that are preceded by an open-paren (Bug#1320).
16926 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16928         * files.el (delete-directory): Delete symlinks to directories with
16929         delete-file (Bug#4739).
16931 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16933         * vc.el (vc-backend-for-registration): Rename from
16934         vc-get-backend-for-registration.  Update callers.
16936         * international/mule-cmds.el (set-language-info-alist):
16937         Purecopy lang-env.
16938         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16939         (charset): Purecopy the name.
16940         (define-char-code-property): Purecopy string arguments.
16942         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16943         Purecopy string arguments.
16945         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16946         * ediff-hook.el (menu-bar-ediff-menu):
16947         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16948         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16950 2009-10-24  Glenn Morris  <rgm@gnu.org>
16952         * comint.el (comint-dynamic-list-completions):
16953         * term.el (term-dynamic-list-completions): Use choose-completion rather
16954         than obsolete alias mouse-choose-completion.
16956         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16957         file-cache-choose-completion.
16958         (file-cache-choose-completion): Handle an optional event argument.
16959         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16961         * progmodes/octave-mod.el (octave-complete-symbol):
16962         Use choose-completion if mouse-choose-completion is ever removed.
16964         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16965         use.
16967         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16968         compiler.
16970         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16972 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16974         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16975         Ignore `pred' now that we receive one.
16976         Handle test-completion specially.
16978 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16980         * vc.el (vc-responsible-backend): Throw an error if not backend is
16981         found.  Remove the REGISTER argument.  Move the code dealing with
16982         REGISTER ...
16983         (vc-get-backend-for-registration): ... here.  New function.
16984         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16985         of vc-responsible-backend, pass the file name instead of the
16986         directory name.
16988 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16990         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16991         New funs.
16992         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16993         (pcomplete-comint-setup): Don't modify a global var via
16994         accidental side-effects.
16995         (pcomplete-shell-setup): Adjust call accordingly.
16996         (pcomplete-parse-comint-arguments): Use push.
16998 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17000         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17001         Allow uncapitalized info node names (Bug#3921).
17003         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17004         to the DEBUG file (Bug#3781).
17006 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17008         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17009         dictionary entry (Bug#4579).
17011 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17013         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17014         from `rfn-eshadow-update-overlay-hook' when unloading.
17015         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17016         "rsyncc".  Adjust doc string.
17017         (tramp-temp-buffer-file-name): New buffer-local defvar.
17018         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17019         Keep temporary file when indicated by method ("rsync" and
17020         "rsyncc").
17021         (tramp-handle-write-region): Handle APPEND.
17022         (tramp-delete-temp-file-function): New defun.  Added to
17023         `kill-buffer-hook'.
17025 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17027         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17029 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17031         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17032         (color-name-rgb-alist, tty-standard-colors)
17033         (tty-color-mode-alist): Change to defconst.
17035         * simple.el (mark-inactive): Purecopy message.
17037         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17038         (global-map, yank-menu):
17039         * textmodes/ispell.el (ispell-menu-map):
17040         * net/eudc.el (eudc-tools-menu):
17041         * international/mule-cmds.el (describe-language-environment-map)
17042         (setup-language-environment-map, set-coding-system-map)
17043         (mule-menu-keymap):
17044         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17045         * replace.el (occur-mode-map):
17046         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17048 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17050         * calc/calc.el (math-read-number, math-read-number-simple):
17051         Use `save-match-data'.
17053 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17055         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17056         rather than fiddling with global-map bindings, since it should only
17057         affect per-terminal settings.
17058         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17060         * minibuffer.el (completion-table-with-terminator): Allow to specify
17061         the terminator-regexp.
17063         * simple.el (switch-to-completions): Look for *Completions* in other
17064         frames as well.
17066         * pcomplete.el: Allow the use of completion-tables.
17067         (pcomplete-std-complete): New command.
17068         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17069         (pcomplete--here): Use a function for `form' rather than an expression,
17070         so it can be byte-compiled.
17071         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17072         Add edebug declaration.
17073         (pcomplete-show-completions): Remove unused var `curbuf'.
17074         (pcomplete-do-complete, pcomplete-stub):
17075         Don't assume `completions' is a list of strings any more.
17077 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17079         * find-dired.el (find-name-arg): Fix typo in docstring.
17081 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17083         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17084         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17086         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17087         pcomplete-entries.
17089         * comint.el (comint-read-input-ring, comint-write-input-ring)
17090         (comint-substitute-in-file-name)
17091         (comint-dynamic-complete-as-filename)
17092         (comint-dynamic-simple-complete)
17093         (comint-dynamic-list-filename-completions)
17094         (comint-dynamic-list-completions)
17095         (comint-redirect-results-list-from-process): Minor simplifications.
17097 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17099         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17100         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17101         the first form.  And insert a blank line after ";;; Code" since
17102         that's usual style.  (Bug#4612)
17104         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17106 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17108         * minibuffer.el (completion-table-with-terminator): Properly implement
17109         boundaries, in case `terminator' appears in the suffix.
17110         (completion--embedded-envvar-table): Don't return boundaries if
17111         there's no valid completion.  Simplify.
17112         (completion-file-name-table): New completion table extracted from
17113         completion--file-name-table.
17114         (completion--file-name-table): Use it.
17115         (read-file-name-predicate): Declare obsolete.
17116         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17117         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17118         completion-file-name-table, and use the `pred' argument.
17119         * files.el (locate-file-completion-table): Use the `pred' arg rather
17120         than read-file-name-predicate.
17121         (abbreviate-file-name): Use \` rather than ^ for BOS.
17123 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17125         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17126         vc-responsible-backend to register, it causes problems.
17128 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17130         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17132 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17134         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17135         (tramp-smb-handle-file-attributes): Use it.
17136         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17137         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17138         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17139         Add `dired-filename' text properties.
17140         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17141         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17142         version.
17144 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17146         * subr.el (read-key-delay): Reduce to 0.01.
17147         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17148         (bug#4751).
17150 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17152         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17154         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17155         (Info-menu): Remove unused vars `last' and `completions'.
17156         (Info-index-nodes): Remove unused var `node'.
17158         * info.el (Info-complete-menu-item): Use complete-with-action.
17160 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17162         Make vc-annotate work through copies and renames.
17163         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17164         Return the file name too.
17165         (vc-annotate-revision-at-line)
17166         (vc-annotate-find-revision-at-line)
17167         (vc-annotate-revision-previous-to-line)
17168         (vc-annotate-show-log-revision-at-line): Update to get the file
17169         name from vc-annotate-extract-revision-at-line.
17170         (vc-annotate-show-diff-revision-at-line-internal): Change the
17171         argument to mean whether to show a file diff or not.  Get the file
17172         name from vc-annotate-extract-revision-at-line.
17173         (vc-annotate-show-diff-revision-at-line):
17174         Update vc-annotate-show-diff-revision-at-line call.
17175         (vc-annotate-warp-revision): Add an optional file argument.
17177         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17178         (vc-git-annotate-extract-revision-at-line): Also return the file
17179         name if found.
17181         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17182         command.  Remove unused code.
17183         (vc-hg-annotate-re): Update to match --follow output.
17184         (vc-hg-annotate-extract-revision-at-line): Also return the file
17185         name if found.
17187         * vc.el: Update annotate-extract-revision-at-line documentation.
17189 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17191         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17192         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17194         * net/browse-url.el (browse-url): Identify alist with "consp and
17195         not functionp" and let all other things go down the `apply' leg,
17196         as suggested by Stefan.  (Further to bug#4531.)
17198 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17200         * minibuffer.el (read-file-name): Check for repeat before putting
17201         a default argument in file-name-history (Bug#4657).
17203         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17204         read syntax (Bug#4737).
17206         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17208 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17210         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17211         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17212         entries and make note of obsolete tags.
17214 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17216         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17218 2009-10-18  Glenn Morris  <rgm@gnu.org>
17220         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17221         grep, so that binary files (eg international/uni-bidi.el) can match.
17222         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17223         now, and in any case the file header format has changed.
17225 2009-10-17  Glenn Morris  <rgm@gnu.org>
17227         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17228         (flyspell-get-word, flyspell-large-region)
17229         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17231 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17233         * Makefile.in (ELCFILES): Add ede/shell.
17235 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17237         * term/common-win.el (x-colors): Purecopy it.
17239 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17241         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17242         permissive for when the buffer is empty.
17243         (tar-header-block-tokenize): Decode the username and groupname.
17244         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17246 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17248         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17249         contains multibyte characters, choose first applicable coding
17250         system automatically.
17252 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17254         * international/mule-cmds.el (select-safe-coding-system): If the file
17255         has a coding cookie, use it regardless of any other setting (bug#4712).
17257 2009-10-17  Glenn Morris  <rgm@gnu.org>
17259         * foldout.el (foldout-mouse-swallow-events):
17260         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17262         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17263         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17264         (dired-keep-marker-symlink, dired-dwim-target)
17265         (dired-copy-preserve-time): Do not autoload these defcustoms.
17267         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17268         messages from messing up the file coding.  (Bug#4623)
17270 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17272         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17273         if no match is found for the current dictionary.  (Bug#4578)
17275         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17276         optional, since that is how it is documented, and this is often called
17277         with a nil argument.  (Bug#4577)
17278         (flyspell-external-point-words, flyspell-auto-correct-word)
17279         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17280         (flyspell-word-search-backward): Remove nil argument in calls to
17281         flyspell-get-word, since it is not needed now.
17283 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17285         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17287 2009-10-16  Glenn Morris  <rgm@gnu.org>
17289         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17291 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17293         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17294         (ange-ftp-file-size): New function.
17295         (ange-ftp-file-attributes): Use it.
17297 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17299         * net/tramp-smb.el (tramp-smb-version): New defvar.
17300         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17301         repeated checks.
17303 2009-10-16  Glenn Morris  <rgm@gnu.org>
17305         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17306         Maybe copy some custom properties from old to new name.  (Bug#4706)
17308 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17310         * subr.el (error, sit-for, start-process-shell-command)
17311         (start-file-process-shell-command): Set the calling convention
17312         after the function definition.
17314 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17316         * subr.el (error, sit-for, start-process-shell-command)
17317         (start-file-process-shell-command): Use the new
17318         set-advertised-calling-convention feature.
17320 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17322         * international/ucs-normalize.el (ucs-normalize-version):
17323         Change to 1.2.
17324         (check-range): Adjust for Unicode 5.2.
17326 2009-10-15  Juri Linkov  <juri@jurta.org>
17328         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17329         to the `menu-item' format.
17331 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17333         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17334         if the environment variable does not exist.
17336         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17337         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17338         parameter.
17339         (tramp-smb-handle-add-name-to-file)
17340         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17341         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17342         (tramp-smb-handle-file-attributes)
17343         (tramp-smb-do-file-attributes-with-stat)
17344         (tramp-smb-handle-file-local-copy)
17345         (tramp-smb-handle-insert-directory)
17346         (tramp-smb-handle-make-directory)
17347         (tramp-smb-handle-make-directory-internal)
17348         (tramp-smb-handle-make-symbolic-link)
17349         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17350         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17351         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17352         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17353         Handle long file names.
17354         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17355         process is running.
17356         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17357         Read share names with "-g" option.
17359 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17361         * net/rcirc.el (rcirc-view-log-file): New command.
17362         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17363         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17364         specified.
17366 2009-10-15  Glenn Morris  <rgm@gnu.org>
17368         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17369         from the second command-line argument.
17370         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17371         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17372         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17373         w32-batch-update-autoloads.
17374         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17375         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17377         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17378         the headers cannot be located.  Simplify, subtracting superflous
17379         save-excursions.
17381 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17383         Replace completion-base-size by completion-base-position to fix bugs
17384         such as (bug#4699).
17385         * simple.el (completion-base-position): New var.
17386         (completion-base-size): Mark as obsolete.
17387         (choose-completion): Make it work for mouse events as well.
17388         Pass the new base-position to choose-completion-string.
17389         (choose-completion-guess-base-position): New function, extracted from
17390         choose-completion-delete-max-match.
17391         (choose-completion-delete-max-match): Use it.  Make obsolete.
17392         (choose-completion-string): Use the new base-position info.
17393         (completion-root-regexp): Delete.
17394         (completion-setup-function): Preserve completion-base-position.
17395         Eliminate obsolete base-size manipulation.
17396         * minibuffer.el (display-completion-list): Don't mess with base-size.
17397         (minibuffer-completion-help): Set completion-base-position instead.
17398         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17399         choose-completion.
17400         * textmodes/bibtex.el (bibtex-complete):
17401         * emacs-lisp/crm.el (crm--choose-completion-string):
17402         Adjust to new calling convention.
17403         * complete.el (partial-completion-mode): Use minibufferp to avoid
17404         bumping into incompatible change to choose-completion-string-functions.
17405         * ido.el (ido-choose-completion-string): Make its calling convention
17406         more permissive.
17407         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17408         base-size manipulation.
17409         (comint-dynamic-list-input-ring): Use dotimes and push.
17410         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17411         fundamental-mode.  Use `or'.
17413 2009-10-14  Juri Linkov  <juri@jurta.org>
17415         * misearch.el (multi-isearch-next-buffer-from-list)
17416         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17418 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17420         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17421         `bytecomp.el'.
17423         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17424         string we return is all made up of text from the completions rather
17425         than part from the completions and part from the input (bug#4219).
17427         * ido.el (ido-everywhere): Use define-minor-mode.
17429         * buff-menu.el (list-buffers, ctl-x-map):
17430         Mark the entry points with ;;;###autoload cookies.
17432 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17434         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17435         correctly in the detached head case.
17436         (vc-git-print-log): Remove unused binding.
17438         * vc.el (vc-responsible-backend): When a directory is passed for
17439         for registration create a VC repository if no backend is
17440         responsible for the directory argument.
17441         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17443         * vc.el: Move comments about RCS and SCCS ...
17444         * vc-rcs.el:
17445         * vc-sccs.el: ... here, respectively.
17447 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17449         * minibuffer.el (completion--file-name-table): Return nil if there's
17450         no file completion, even if substitute-in-file-name changed
17451         the string (bug#4708).
17453 2009-10-13  Juri Linkov  <juri@jurta.org>
17455         * files-x.el (read-file-local-variable-value): Don't filter out
17456         minor modes from mode name completion (bug#4664).
17458 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17460         * international/mule-cmds.el (ucs-names): Remove exclusion of
17461         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17463 2009-10-13  Kenichi Handa  <handa@m17n.org>
17465         * international/uni-name.el: Regenerated.
17467 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17469         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17470         should be automatically buffer-local, but isn't.)
17472 2009-10-12  Sam Steingold  <sds@gnu.org>
17474         * progmodes/compile.el (compilation-next-error-function): Fix the
17475         timestamps if the buffer has been visited before.
17476         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17477         non-anchored patterns, like the perl one (bug#3928).
17479 2009-10-12  Glenn Morris  <rgm@gnu.org>
17481         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17482         Let-bind `size'.
17484 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17486         * proced.el (proced-unload-function): New function.
17488         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17489         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17490         Doc fix.
17492         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17494 2009-10-11  Juri Linkov  <juri@jurta.org>
17496         * files-x.el (read-file-local-variable-value):
17497         Provide default value only for bound variables (bug#4664).
17499 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17501         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17502         connection methods like smb.
17504         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17505         can be empty.
17507         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17508         (tramp-smb-file-name-handler-alist): Add handlers for
17509         `add-name-to-file', `make-symbolic-link'.
17510         (tramp-smb-handle-add-name-to-file)
17511         (tramp-smb-do-file-attributes-with-stat)
17512         (tramp-smb-handle-make-symbolic-link)
17513         (tramp-smb-get-cifs-capabilities): New defuns.
17514         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17515         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17516         (tramp-smb-handle-file-local-copy)
17517         (tramp-smb-handle-make-directory-internal)
17518         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17519         The file name syntax depends on cifs capabilities.
17520         (tramp-smb-handle-file-attributes):
17521         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17522         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17523         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17525 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17527         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17528         (eieio-defclass): Apply deftype handler and setf-method properties
17529         directly.
17530         (eieio-add-new-slot): Avoid union function from cl library.
17531         (eieio--typep): New function.
17532         (eieio-perform-slot-validation): Use it.
17534 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17536         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17537         Update documentation to refer to the variables documented in r1.135.
17538         (Bug#4188)
17540 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17542         * bookmark.el (Info-suffix-list): Remove this unused variable.
17543         (bookmark-current-point): Remove this obsolete variable.
17544         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17545         Adjust for removal of bookmark-current-point.
17547         (bookmarks-already-loaded, bookmark-current-buffer)
17548         (bookmark-yank-point): Document.  (Bug#4188)
17550 2009-10-10  Glenn Morris  <rgm@gnu.org>
17552         * frame.el (frame-height): Doc fix.
17554         * calendar/calendar.el (calendar-split-width-threshold): New option.
17555         (calendar-basic-setup): Use calendar-split-width-threshold.
17557 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17559         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17560         Ideographic Supplement" range (U+1F200..U+1F2FF).
17562 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17564         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17565         since the list will have been rebuilt anyway.  (Bug#4349)
17567 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17569         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17570         (bookmark-bmenu-execute-deletions): Don't save here, as
17571         bookmark-delete will now do so if necessary.
17572         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17573         (Bug#4348)
17575 2009-10-09  Glenn Morris  <rgm@gnu.org>
17577         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17579 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17581         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17582         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17583         argument now, so the two function's behaviors will match.  (Bug#3645)
17585 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17587         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17588         (tramp-file-name-real-host, tramp-file-name-port):
17589         Apply `save-match-data'.
17591         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17592         case both directories are remote.
17593         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17594         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17596 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17598         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17600 2009-10-07  Glenn Morris  <rgm@gnu.org>
17602         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17603         of concat.
17605 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17607         * files-x.el (read-file-local-variable): Include some
17608         non-user-variables in the completion table (bug#4664).
17610 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17612         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17613         message.
17615         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17616         (tramp-smb-file-name-handler-alist): Add handler for
17617         `copy-directory', `expand-file-name', `set-file-modes'.
17618         (tramp-smb-handle-copy-directory)
17619         (tramp-smb-handle-expand-file-name)
17620         (tramp-smb-handle-set-file-modes): New defuns.
17621         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17622         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17623         entry.
17624         (tramp-smb-handle-insert-directory): Don't flush the cache.
17625         (tramp-smb-maybe-open-connection): Check for samba client and
17626         server versions.
17628 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17630         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17631         to not error out of search for "^lisp=" fails.
17633 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17635         * makefile.w32-in (WINS_UPDATES): New macro.
17636         (custom-deps, finder-data, autoloads): Use it.
17638 2009-10-07  Glenn Morris  <rgm@gnu.org>
17640         * Makefile.in (autoloads): Revert previous change.
17641         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17642         the list of preloaded files passed on the command-line, get
17643         it from src/Makefile.
17645         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17646         show the original buffer rather than a random one.
17648 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17650         * help.el (describe-no-warranty): Place point in a slightly better
17651         position in the GPLv3 text.
17653 2009-10-06  Sam Steingold  <sds@gnu.org>
17655         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17656         the comm attribute is present before calling regexp-quote.
17658 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17660         * play/animate.el (animate-string): For good effect, make sure
17661         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17663         * play/animate.el (animate-sequence, animate-birthday-present):
17664         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17666 2009-10-06  Glenn Morris  <rgm@gnu.org>
17668         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17670         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17671         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17672         (batch-update-autoloads): Process a string value of autoload-excludes,
17673         set during the build process.
17674         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17676         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17677         inside with-parsed...  macro so that `v' is defined.
17679         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17680         * progmodes/fortran.el (fortran-end-of-block)
17681         (fortran-beginning-of-block):
17682         Also push mark in the macro case.
17684         * emerge.el (emerge-show-file-name):
17685         * calc/calc.el (calc-quit):
17686         * calc/calc-misc.el (calc-big-or-small):
17687         * calc/calc-graph.el (calc-graph-view):
17688         * calc/calc-ext.el (calc-reset):
17689         * calendar/calendar.el (calendar-basic-setup):
17690         Use window-full-height-p.
17692         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17693         header we don't understand, don't insert another.  (Bug#4624)
17694         If changing mime charset, insert the new one in the right place.
17696 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17698         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17699         (cal-tex-cursor-month): Correctly increment the end date for diary and
17700         holiday listing.  (Bug#4626)
17702 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17704         * help-fns.el (describe-function-1): Don't burp if the function is not
17705         a symbol.
17707 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17709         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17710         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17711         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17712         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17714         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17715         (eieio-default-superclass): Reflow docstrings.
17716         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17717         (eieio-unbind-method-implementations, defmethod)
17718         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17719         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17720         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17721         (eieio-slot-originating-class-p, eieio-slot-name-index)
17722         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17723         (constructor, initialize-instance, no-next-method, object-print)
17724         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17725         Fix typos in docstrings.
17726         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17727         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17728         (next-method-p): Doc fixes.
17729         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17730         Fix typos in error messages.
17731         (eieio-defmethod): Fix typo in description of generic method.
17733         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17734         (eieio-persistent-save-interactive, slot-missing):
17735         Fix typos in docstrings.
17736         (eieio-instance-inheritor-slot-boundp): Doc fix.
17738         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17739         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17741         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17742         (eieio-custom-object-apply-reset):
17743         Fix typos in docstrings and error messages.
17745         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17746         Fix typo in docstring.
17748         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17749         (eieio-browse-tree): Doc fix.
17750         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17751         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17752         Fix typos in docstrings.
17754         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17755         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17756         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17757         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17758         Reflow docstrings.
17760 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17762         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17763         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17764         Set log-view-vc-backend so that diff can work.
17766         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17767         vc-version-diff.
17768         (vc-diff-internal): Autoload this instead of vc-version-diff.
17770 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17772         * simple.el (eval-expression): Doc fix.
17774         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17776 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17778         * files.el (directory-files-no-dot-files-regexp): New defconst.
17779         (delete-directory): Use it.
17780         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17782         * net/tramp.el (tramp-verbose): Fix docstring.
17783         (tramp-methods): Add recursive option to `tramp-copy-args'.
17784         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17785         "scp1_old", "scp2_old", "rsync", "rsyncc".
17786         (tramp-default-method): Check also for `auth-source-user-or-password'.
17787         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17788         Add handler for `copy-directory'.
17789         (tramp-handle-copy-directory): New defun.
17790         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17791         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17792         Optimize sent command.
17794 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17796         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17797         window if necessary.
17799         * calendar/calendar.el (calendar-basic-setup): Don't call
17800         switch-to-buffer in a dedicated window.
17802 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17804         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17805         don't do anything related to relocating, just return nil.
17806         (bookmark-error-no-filename): New error.
17807         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17808         bookmark has no file.  Don't even attempt to handle things that
17809         are not files; the whole point of custom handlers is to keep that
17810         knowledge elsewhere anyway.  Tighten some comments.
17811         (bookmark-file-or-variation-thereof): Remove now-unused function.
17812         (bookmark-location): Doc string fix.
17813         (Bug#4250)
17815 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17817         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17818         don't use a file dialog, because they usually don't know how to read
17819         a directory target from the user.  (Bug#4230)
17820         Also, make sure the prompt can display directories as well as files.
17822 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17824         * bookmark.el (bookmark-set, bookmark-buffer-name):
17825         Improve doc strings.  (Bug#1193)
17827 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17829         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17830         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17831         (bookmark-get-annotation, bookmark-set-annotation)
17832         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17833         (bookmark-set-position, bookmark-get-front-context-string)
17834         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17835         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17836         (bookmark-jump-other-window, bookmark-handle-bookmark)
17837         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17838         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17839         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17840         Improve doc strings to say whether bookmark can be a string or
17841         a record or both, and make other consistency and clarity fixes.
17842         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17843         (bookmark-default-annotation-text, bookmark-yank-word)
17844         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17845         (bookmark-import-new-list, bookmark-maybe-rename)
17846         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17847         (bookmark-bmenu-bookmark): Give these doc strings.
17848         (bookmark-bmenu-check-position): Give this a doc string, but also
17849         add a FIXME comment about how the function may be pointless.
17850         (bookmark-default-handler): Rework doc string and change a
17851         parameter name, to clarify that this takes a bookmark record
17852         not a bookmark name.
17853         (bookmark-set): Change a parameter name to indicate its meaning,
17854         and improve the doc string a bit.
17855         (Bug#4188)
17857 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17859         * bookmark.el (bookmark-alist): Document the new `handler' element
17860         in the param alist.
17861         (bookmark-make-record-function): Adjust documentation for above.
17862         (Bug#4193)
17864 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17866         * info.el (Info-bookmark-make-record): Document this function.
17867         (Info-bookmark-jump): Document with a doc string, not just a comment.
17868         (Bug#4203)
17870 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17872         * files.el (copy-directory): New defun.
17874         * dired-aux.el (dired-copy-file-recursive): Use it.
17876 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17878         * files-x.el (modify-dir-local-variable)
17879         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17880         docstrings.
17882         * recentf.el (recentf-unload-function): New function.
17884 2009-10-04  Glenn Morris  <rgm@gnu.org>
17886         * window.el (window-full-height-p): Add doc string.
17888 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17890         * window.el (window-full-height-p): New function.  (Bug#4543)
17892 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17894         * vc.el: Remove commented out code.
17895         (vc-derived-from-dir-mode): Remove, unused.
17896         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17898 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17900         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17901         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17902         there could be recursive loading when `default-directory' is a
17903         remote file name.  (Bug#4614)
17905 2009-10-03  Glenn Morris  <rgm@gnu.org>
17907         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17908         the frame is wide.
17909         (calendar-generate-window): Test for shrinkability rather than width.
17911         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17912         reusing existing buffers, in case we happen to visit two files with the
17913         same basename.  (Bug#4593)
17915 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17917         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17918         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17919         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17920         subdirs of cedet as well.
17921         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17923 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17925         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17926         Obey advertised-signature-table.
17928         * help-fns.el (help-function-arglist): Don't check
17929         advertised-signature-table.
17930         (describe-function-1): Do it here instead so it also applies to subrs.
17932 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17934         * simple.el (start-file-process): Say in the doc-string, that file
17935         handlers might not support pty association, if PROGRAM is nil.
17937         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17938         HOST and USER are strings.  They are nil, when there are
17939         incomplete entries in ~/.netrc, for example.
17940         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17941         root directory ("device busy" error otherwise).
17943         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17944         Flush file properties of created directory.
17946 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17948         * makefile.w32-in (WINS_BASIC): Remove cedet.
17949         (WINS_CEDET): Add cedet.
17950         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17952 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17954         * net/browse-url.el (browse-url): Pass any symbol in
17955         browse-url-browser-function to `apply', since if you've mistakenly put
17956         an unbound symbol then the error is clearer.  (Bug#4531)
17958 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17960         * allout.el (allout-init, allout-back-to-current-heading)
17961         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17962         (allout-ascend, allout-up-current-level, allout-end-of-level)
17963         (allout-previous-visible-heading, allout-forward-current-level)
17964         (allout-backward-current-level, allout-show-children):
17965         * apropos.el (apropos-describe-plist):
17966         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17967         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17968         * completion.el (add-completion, add-permanent-completion):
17969         * descr-text.el (describe-text-category, describe-char):
17970         * desktop.el (desktop-lazy-abort):
17971         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17972         * dired.el (dired-build-subdir-alist):
17973         * ediff.el (ediff-version):
17974         * elide-head.el (elide-head, elide-head-show):
17975         * emerge.el (emerge-version):
17976         * env.el (getenv):
17977         * face-remap.el (variable-pitch-mode):
17978         * faces.el (describe-face):
17979         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17980         (dired-at-point):
17981         * files.el (find-file-existing, auto-save-mode):
17982         * font-lock.el (font-lock-fontify-buffer):
17983         * help-fns.el (describe-function, describe-variable)
17984         (describe-syntax, describe-categories):
17985         * help.el (view-lossage, describe-bindings, describe-key)
17986         (describe-mode):
17987         * hexl.el (hexl-current-address):
17988         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17989         * info.el (Info-goto-emacs-key-command-node):
17990         * log-edit.el (log-edit-insert-cvs-template)
17991         (log-edit-insert-cvs-rcstemplate):
17992         * menu-bar.el (menu-bar-mode):
17993         * mouse.el (mouse-appearance-menu):
17994         * newcomment.el (comment-indent-new-line):
17995         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17996         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17997         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17998         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17999         * recentf.el (recentf-mode):
18000         * savehist.el (savehist-mode, savehist-save):
18001         * shadowfile.el (shadow-copy-files):
18002         * simple.el (kill-ring-save, next-line, previous-line)
18003         (normal-erase-is-backspace-mode):
18004         * strokes.el (strokes-update-window-configuration)
18005         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18006         (strokes-xpm-for-stroke):
18007         * time.el (emacs-uptime, emacs-init-time):
18008         * tutorial.el (tutorial--describe-nonstandard-key)
18009         (tutorial--detailed-help):
18010         * type-break.el (type-break-mode)
18011         (type-break-mode-line-message-mode, type-break-query-mode)
18012         (type-break-guesstimate-keystroke-threshold):
18013         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18014         * version.el (emacs-version):
18015         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18016         * winner.el (winner-mode):
18017         * calendar/timeclock.el (timeclock-in, timeclock-out)
18018         (timeclock-status-string, timeclock-change)
18019         (timeclock-workday-remaining-string)
18020         (timeclock-workday-elapsed-string)
18021         (timeclock-when-to-leave-string):
18022         * calendar/todo-mode.el (todo-add-category):
18023         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18024         * emacs-lisp/autoload.el (update-file-autoloads):
18025         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18026         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18027         (checkdoc-message-text, checkdoc-defun):
18028         * emacs-lisp/debug.el (debugger-list-functions):
18029         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18030         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18031         (eieio-describe-generic):
18032         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18033         * emacs-lisp/shadow.el (list-load-path-shadows):
18034         * emulation/cua-base.el (cua-mode):
18035         * emulation/edt.el (edt-set-scroll-margins):
18036         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18037         (tpu-toggle-regexp, tpu-toggle-search-direction)
18038         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18039         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18040         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18041         (viper-set-parsing-style-toggling-macro)
18042         (viper-set-emacs-state-searchstyle-macros):
18043         * emulation/viper.el (viper-set-hooks):
18044         * eshell/esh-mode.el (eshell-truncate-buffer):
18045         * international/mule-cmds.el (prefer-coding-system)
18046         (describe-input-method, describe-language-environment):
18047         * international/mule-diag.el (list-character-sets)
18048         (describe-character-set, describe-coding-system)
18049         (describe-fontset, list-fontsets, list-input-methods):
18050         * mail/sendmail.el (mail-signature):
18051         * net/ange-ftp.el (ange-ftp-copy-file):
18052         * net/browse-url.el (browse-url):
18053         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18054         * net/quickurl.el (quickurl-add-url):
18055         * net/rcirc.el (names, topic):
18056         * net/xesam.el (xesam-mode):
18057         * play/5x5.el (5x5-new-game):
18058         * play/yow.el (apropos-zippy):
18059         * progmodes/ada-mode.el (ada-mode-version):
18060         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18061         (f90-end-of-block)
18062         (f90-beginning-of-block):
18063         * progmodes/fortran.el (fortran-end-of-block)
18064         (fortran-beginning-of-block):
18065         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18066         * progmodes/python.el (python-describe-symbol, python-shell):
18067         * term/ns-win.el (ns-print-buffer):
18068         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18069         * textmodes/flyspell.el (flyspell-mode-on):
18070         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18071         (pages-directory-for-addresses):
18072         * textmodes/table.el (table-recognize-cell)
18073         (table-query-dimension, table-generate-source)
18074         (table-insert-sequence, table--warn-incompatibility):
18075         * textmodes/tex-mode.el (tex-validate-buffer):
18076         * textmodes/texinfmt.el (texinfmt-version)
18077         (texinfo-format-buffer):
18078         Use `called-interactively-p' instead of `interactive-p'.
18080 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18082         * image-mode.el (image-toggle-display):
18083         * emacs-lisp/elp.el (elp-instrument-function):
18084         * emacs-lisp/advice.el (ad-make-advised-definition):
18085         * emacs-lisp/easy-mmode.el (define-minor-mode):
18086         * net/browse-url.el (browse-url-maybe-new-window):
18087         * progmodes/sh-script.el (sh-learn-buffer-indent):
18088         Pass new argument 'any to `called-interactively-p'.
18090 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18092         * international/uni-bidi.el:
18093         * international/uni-category.el:
18094         * international/uni-combining.el:
18095         * international/uni-comment.el:
18096         * international/uni-decimal.el:
18097         * international/uni-decomposition.el:
18098         * international/uni-digit.el:
18099         * international/uni-lowercase.el:
18100         * international/uni-mirrored.el:
18101         * international/uni-name.el:
18102         * international/uni-numeric.el:
18103         * international/uni-old-name.el:
18104         * international/uni-titlecase.el:
18105         * international/uni-uppercase.el:
18106         Regenerate from Unicode 5.2.0 data.
18108 2009-10-01  Glenn Morris  <rgm@gnu.org>
18110         * Makefile.in (ELCFILES): Regenerate.
18112 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18114         * subr.el (interactive-p): Mark obsolete.
18115         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18116         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18117         advertised-signature-table for subroutines as well.
18119         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18120         (set-advertised-calling-convention): New function.
18121         (make-obsolete, define-obsolete-function-alias)
18122         (make-obsolete-variable, define-obsolete-variable-alias):
18123         Make the optional-ness of `when' obsolete.
18124         (define-obsolete-face-alias): Make `when' non-optional.
18125         * help-fns.el (help-function-arglist):
18126         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18127         Use advertised-signature-table.
18129 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18131         * files.el (delete-directory): New defun.  The original function
18132         in fileio.c has been renamed to `delete-directory-internal'.
18134         * dired.el (dired-delete-file): Call `delete-directory' with
18135         RECURSIVE parameter.
18137         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18138         parameter RECURSIVE.  Implementation is missing.
18140         * net/tramp.el (tramp-handle-make-directory): Flush upper
18141         directory's file properties.
18142         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18143         (tramp-handle-dired-recursive-delete-directory): Flush directory
18144         properties after the remove command only.
18146         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18147         Handle optional parameter RECURSIVE.
18149         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18150         Handle optional parameter RECURSIVE.
18152         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18153         connection timeout.
18154         (tramp-smb-handle-delete-directory): Handle optional parameter
18155         RECURSIVE.
18157 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18159         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18160         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18161         (byte-compile-defmacro): Use backquotes.
18163         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18165         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18166         has no associated file.
18167         (vc-resynch-buffer): Use vc-dir-buffers.
18169 2009-10-01  Glenn Morris  <rgm@gnu.org>
18171         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18172         (chart-file-count):
18173         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18174         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18175         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18176         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18177         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18178         (eieio-copy-parents-into-subclass, make-instance, class-children)
18179         (eieio-generic-form):
18181         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18182         match-data.  (Bug#4555).
18184         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18185         rather than parsing it as a regexp.  This relaxes the layout
18186         requirements and makes errors easier to detect.
18187         (check-declare-verify): Check file is regular.
18188         (check-declare-directory): Doc fix.
18189         * subr.el (declare-function): Doc fix.
18191         * ibuffer.el (ibuffer-format-qualifier):
18192         * isearch.el (hi-lock-regexp-okay):
18193         * calc/calc.el (math-zerop):
18194         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18195         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18196         Remove unused declarations.
18198 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18200         * emacs-lisp/eieio.el (boolean-p): Delete.
18202 2009-09-30  Glenn Morris  <rgm@gnu.org>
18204         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18206         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18207         filename is not a string.
18209 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18211         * files.el (safe-local-eval-forms): Fix typo.
18213 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18215         * vc-hooks.el (vc-dir-buffers): New var.
18216         (vc-state-refresh): New function.
18217         (vc-state): Use it.
18218         (vc-after-save): Always ask the backend to recompute the new state.
18219         Always call vc-dir if necessary, using vc-dir-buffers.
18220         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18221         Use vc-dir-buffers.
18222         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18223         (vc-dir-prepare-status-buffer, vc-dir-update)
18224         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18225         Don't call expand-file-name on default-directory.
18227 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18229         * speedbar.el (speedbar-item-delete):
18230         * calc/calc-prog.el (calc-kbd-if):
18231         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18233         * epa.el (epa-key-list-mode-map):
18234         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18236         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18237         (hs-show-hook): Fix typo in docstring.
18239 2009-09-29  Glenn Morris  <rgm@gnu.org>
18241         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18242         file-name-nondirectory call preventing location of cedet files.
18243         (check-declare-verify): Use literal search rather than re-search.
18244         Add basic defmethod and defclass, and define-overloadable-function.
18246         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18247         Use tramp-compat-file-attributes rather than nonexistent
18248         tramp-compat-handle-file-attributes.
18250         * Makefile.in (lisptagsfiles4): New.
18251         (AUTOGENEL): Add cedet loaddefs files.
18252         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18253         (update-elclist, compile-always, backup-compiled-files)
18254         (bootstrap-clean): Add yet another directory level.
18255         (update-elclist): Use LC_COLLATE rather than COLLATE.
18256         (ELCFILES): Update, via `make update-elclist'.
18258 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18260         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18261         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18262         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18264 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18266         * Makefile.in (lisptagsfiles3): Define.
18267         (TAGS, TAGS-LISP): Use it.
18268         (update-elclist): Add third directory level to look for elc files.
18269         (compile-always): Likewise.
18270         (backup-compiled-files): Likewise.
18271         (bootstrap-clean): Likewise.
18272         (ELCFILES): Update.
18274 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18276         * Makefile.in (ELCFILES): Add CEDET files.
18278 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18280         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18282         * net/tramp.el (top): Require tramp-imap.
18284         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18285         Use `tramp-compat-handle-file-attributes'.
18287 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18289         * net/tramp-imap.el: New package.
18291 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18293         * emacs-lisp/chart.el:
18294         * emacs-lisp/eieio-base.el:
18295         * emacs-lisp/eieio-comp.el:
18296         * emacs-lisp/eieio-custom.el:
18297         * emacs-lisp/eieio-datadebug.el:
18298         * emacs-lisp/eieio-opt.el:
18299         * emacs-lisp/eieio-speedbar.el:
18300         * emacs-lisp/eieio.el: New files.
18302 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18304         * whitespace.el (whitespace-trailing-regexp)
18305         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18306         Fix doc string.
18308 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18310         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18311         menu.
18313         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18314         menu-bar-ediff-menu.
18316         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18317         define-overloadable-function.
18319         * progmodes/autoconf.el: Provide autoconf as well, so that this
18320         file can be `require'd.
18322         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18324         * emacs-lisp/autoload.el (generated-autoload-feature)
18325         (generated-autoload-load-name): New vars.
18326         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18327         (make-autoload): Recognize define-overloadable-function and
18328         defclass forms (for EIEIO).
18330         * Makefile.in (update-subdirs): Exclude cedet directory.
18332 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18334         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18336         * faces.el: Default light-background background for region face to
18337         ns_selection_color under NS.
18339 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18341         * net/imap-hash.el: New library, see NEWS.
18343         * Makefile.in (ELCFILES): Add imap-hash.el.
18345 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18347         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18348         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18349         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18350         definition where the docstring could be taken for the return value.
18352 2009-09-26  Glenn Morris  <rgm@gnu.org>
18354         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18355         Add option to only show images below a certain size.
18356         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18357         save-excursion calls.
18359 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18361         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18362         subdirectories) and eieio.
18364 2009-09-26  Alan Mackenzie  <acm@muc.de>
18366         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18367         Correct buggy bracketing.  (Bug#4289)
18369         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18370         character constants (as case labels).  (Bug#4289)
18372 2009-09-25  Juri Linkov  <juri@jurta.org>
18374         * files.el (safe-local-eval-forms): Allow time-stamp in
18375         before-save-hook (Bug#4554).
18377 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18379         * menu-bar.el (list-buffers-directory): Doc fix.
18381 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18383         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18384         Try and avoid copying twice the same paragraph.
18385         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18386         Remove save-excursion.
18387         (log-edit-changelog-entry): Do it here instead.
18389 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18391         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18392         when available, instead of hardcoding mode names.  Doc fix.
18394         * menu-bar.el (list-buffers-directory): Add docstring.
18395         Make automatically buffer-local.
18397         * dired.el (dired-mode):
18398         * files.el (cd-absolute):
18399         * pcvs.el (cvs-temp-buffer):
18400         * pcvs-util.el (cvs-get-buffer-create):
18401         * shell.el (shell-mode):
18402         * vc-dir.el (vc-dir-mode):
18403         Don't make `list-buffers-directory' buffer local.
18405 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18407         * comint.el (comint-exec, comint-run, make-comint):
18408         Doc fixes (Bug#4542).
18410 2009-09-25  Glenn Morris  <rgm@gnu.org>
18412         * mail/rmailmm.el (rmail-mime): New custom group.
18413         Move all defcustoms in this file into this group.
18414         (rmail-mime-media-type-handlers-alist): Revert previous change.
18415         (rmail-mime-show-images): New option.
18416         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18417         references to it, since it wasn't actually used for anything.
18418         (rmail-mime-insert-image): New function.
18419         (rmail-mime-image): Use rmail-mime-insert-image.
18420         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18421         obey the value of `rmail-mime-show-images' option.  Print the size of
18422         attachments.
18424 2009-09-25  David Engster  <deng@randomsample.de>
18426         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18428 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18430         * whitespace.el: Does not highlight trailing spaces While point is
18431         at end of line.  Does not highligt spaces at beginning of buffer
18432         while point is at beginning of buffer.  Does not highlight spaces
18433         at end of buffer while point is at end of buffer.  (Bug#4177)
18434         New version 12.0.
18435         (whitespace-display-mappings): Adjust initialization.
18436         (whitespace-point, whitespace-font-lock-refontify): New vars.
18437         (whitespace-color-on, whitespace-color-off): Adjust code.
18438         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18439         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18440         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18442 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18444         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18446         * textmodes/sgml-mode.el: Remove xml-mode alias.
18448         * files.el (auto-mode-alist, conf-mode-maybe)
18449         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18451 2009-09-24  Alan Mackenzie  <acm@muc.de>
18453         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18454         c-forward-conditionals, but it doesn't move point and doesn't set
18455         the mark.
18456         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18457         (c-down-conditional-with-else, c-backward-conditional)
18458         (c-forward-conditional): Refactor to use c-scan-conditionals.
18460 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18462         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18463         (help-default-arg-highlight): Remove.
18464         (help-highlight-arg): New function.
18465         (help-do-arg-highlight): Use it.
18466         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18468 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18470         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18471         Undo last change, which didn't fix the problem and introduced others.
18473 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18475         * progmodes/gdb-mi.el: Don't require speedbar.
18476         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18478 2009-09-24  Glenn Morris  <rgm@gnu.org>
18480         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18482         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18484         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18485         there is no newline after the final mime boundary.  (Bug#4539)
18486         Move markers on insertion so that any buttons inserted don't end up in
18487         the next part of a multipart message.
18488         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18489         (rmail-mime-bulk-handler): Optionally handle images.
18490         (rmail-mime-image): New button action.
18491         (rmail-mime-image-handler): New function.
18492         (rmail-mime-mode): New mode.
18493         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18495 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18497         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18498         than just dropping elements from it (bug#4504).
18500         * term.el (term-set-scroll-region): Don't move cursor any more.
18501         (term-handle-ansi-escape): Call term-goto here instead.
18502         Suggested by Ivan Kanis <apple@kanis.eu>.
18504         * term.el: Require CL.
18505         (term-ansi-reset): New function.
18506         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18507         (term-handle-colors-array): Simplify.
18509 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18511         * allout.el (allout-overlay-interior-modification-handler)
18512         (allout-obtain-passphrase):
18513         * epa-file.el (epa-file-write-region):
18514         * ps-print.el (ps-begin-job):
18515         * vc-hooks.el (vc-toggle-read-only):
18516         * vc-rcs.el (vc-rcs-rollback):
18517         * vc-sccs.el (vc-sccs-rollback):
18518         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18519         (vc-version-diff, vc-revert, vc-rollback):
18520         * wdired.el (wdired-check-kill-buffer):
18521         * emacs-lisp/authors.el (authors):
18522         * net/socks.el (socks-open-connection):
18523         * net/zeroconf.el (zeroconf-service-add-hook):
18524         * obsolete/vc-mcvs.el (vc-mcvs-register):
18525         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18526         (gdb-select-frame):
18527         * progmodes/grep.el (lgrep, rgrep):
18528         * progmodes/idlw-help.el (idlwave-help-check-locations)
18529         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18530         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18531         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18532         (reftex-toc-rename-label): Fix typos in error messages.
18534         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18535         (dired-copy-how-to-fn): Doc fix.
18536         (dired-files-attributes, dired-read-shell-command):
18537         Fix typos in docstrings.
18539         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18540         (dired-x-find-file-other-window): Reflow docstrings.
18541         (dired-omit-marker-char, dired-read-shell-command)
18542         (dired-x-submit-report): Fix typos in docstrings.
18544         * shell.el (shell-mode-hook):
18545         * view.el (View-scroll-line-forward):
18546         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18547         Fix typos in docstrings.
18549         * net/dig.el (dig-invoke): Fix typo in docstring.
18550         (query-dig): Reflow docstring.
18552         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18553         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18554         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18555         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18556         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18557         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18558         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18559         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18560         (idlwave-completion-map, idlwave-current-indent)
18561         (idlwave-custom-ampersand-surround, idlwave-customize)
18562         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18563         (idlwave-define-abbrev, idlwave-determine-class-special)
18564         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18565         (idlwave-end-block-reg, idlwave-end-of-statement)
18566         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18567         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18568         (idlwave-explicit-class-listed, idlwave-file-header)
18569         (idlwave-fill-paragraph, idlwave-find-class-definition)
18570         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18571         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18572         (idlwave-in-quote, idlwave-indent-action-table)
18573         (idlwave-indent-expand-table, idlwave-indent-line)
18574         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18575         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18576         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18577         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18578         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18579         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18580         (idlwave-outlawed-buffers, idlwave-popup-select)
18581         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18582         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18583         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18584         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18585         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18586         (idlwave-statement-type, idlwave-struct-skip)
18587         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18588         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18589         (idlwave-what-module-find-class): Fix typos in docstrings.
18590         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18591         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18592         (idlwave-find-module, idlwave-find-structure-definition)
18593         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18594         (idlwave-list-load-path-shadows, idlwave-next-statement)
18595         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18596         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18597         (idlwave-template): Reflow docstrings.
18599         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18600         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18601         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18602         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18603         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18604         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18605         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18606         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18607         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18608         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18609         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18610         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18611         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18612         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18613         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18614         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18615         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18616         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18617         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18618         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18619         Fix typos in docstrings.
18620         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18621         (idlwave-shell-hide-output, idlwave-shell-mode)
18622         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18623         Reflow docstrings.
18625         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18627 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18629         * term.el (term-bold-attribute): New var.
18630         (term-handle-colors-array): Use it.
18632 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18634         * progmodes/gdb-mi.el (gdb-version): New variable.
18635         (gdb-non-stop-handler): Set gdb-version.
18636         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18637         Condition "--thread" option on gdb-version.
18638         (gdb-invalidate-threads): Remove unused argument.
18640 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18642         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18643         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18645 2009-09-23  Glenn Morris  <rgm@gnu.org>
18647         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18648         replying to mail without References or Message-Id.  (Bug#4525)
18650 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18652         * term/ns-win.el (ns-reg-to-script): New variable.
18654 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18656         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18658 2009-09-22  Sam Steingold  <sds@gnu.org>
18660         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18661         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18662         to 1 because hg returns status 1 when nothing is found.
18663         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18665 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18667         * textmodes/fill.el: Convert to utf-8 encoding.
18668         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18669         pre-Unicode days.
18671         * add-log.el (change-log-fill-forward-paragraph): New function.
18672         (change-log-mode): Use it so fill-region DTRT.
18673         Set fill-indent-according-to-mode here rather than in
18674         change-log-fill-paragraph.
18675         (change-log-fill-paragraph): Remove.
18677 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18679         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18680         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18682 2009-09-22  Glenn Morris  <rgm@gnu.org>
18684         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18685         the scroll-bar scroll the calendar window rather than the buffer.
18687         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18688         commands that move point (as opposed to scrolling).
18690         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18692         * emacs-lisp/elint.el (elint): New custom group.
18693         (elint-log-buffer): Make it a defcustom.
18694         (elint-scan-preloaded, elint-ignored-warnings)
18695         (elint-directory-skip-re): New options.
18696         (elint-builtin-variables): Doc fix.
18697         (elint-preloaded-env): New variable.
18698         (elint-unknown-builtin-args): Add an entry for encode-time.
18699         (elint-extra-errors): Make it a variable rather than a constant.
18700         (elint-preloaded-skip-re): New constant.
18701         (elint-directory): Skip files matching elint-directory-skip-re.
18702         (elint-features): New variable, local to linted buffers.
18703         (elint-update-env): Initialize elint-features.  Possibly add
18704         elint-preloaded-env to the buffer's environment.
18705         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18706         Skip quoted forms.
18707         (elint-init-form): New function, extracted from elint-init-env.
18708         Make non-list forms a warning rather than an error.
18709         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18710         easy-menu-define, put that adds an error-condition, and provide.
18711         When requiring cl, also require cl-macs.  Really require cl, to handle
18712         some cl macros.  Store required libraries in the list elint-features,
18713         so as not to re-load them.  Treat cc-require like require.
18714         (elint-init-env): Call elint-init-form to do the work.
18715         Handle eval-and-compile and such like.
18716         (elint-add-required-env): Do not clear messages.
18717         (elint-special-forms): Add handlers for function, defalias, if, when,
18718         unless, and, or.
18719         (elint-form): Add optional argument to ignore elint-special-forms,
18720         useful to prevent recursive calls from handlers.  Doc fix.
18721         Respect elint-ignored-warnings.
18722         (elint-form): Respect elint-ignored-warnings.
18723         (elint-bound-variable, elint-bound-function): New variables.
18724         (elint-unbound-variable): Respect elint-bound-variable.
18725         (elint-get-args): Respect elint-bound-function.
18726         (elint-check-cond-form): Add some simple handling for (f)boundp and
18727         featurep tests.
18728         (elint-check-defalias-form): New handler.
18729         (elint-check-let-form): Make an empty let a warning rather than an
18730         error.
18731         (elint-check-setq-form): Make an empty setq a warning rather than an
18732         error.  Respect elint-ignored-warnings.
18733         (elint-check-defvar-form): Accept null doc-strings.
18734         (elint-check-conditional-form): New handler.  Does some simple-minded
18735         checking of featurep and (f)boundp tests.
18736         (elint-put-function-args): New function.
18737         (elint-initialize): Use elint-scan-doc-file rather than
18738         elint-find-builtin-variables.  Use elint-put-function-args.
18739         Possibly scan preloaded-file-list.
18740         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18741         extend to handle functions as well.
18743 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18745         * linum.el (linum-delete-overlays, linum-update-window):
18746         Do not modify the right margin.  (Bug#3971)
18748 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18750         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18751         Use nxml-mode instead of xml-mode.
18753 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18755         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18757 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18759         * net/dig.el (dig-mode): Use define-derived-mode.
18761 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18763         * vc-dispatcher.el (vc-do-command): Return the process object in
18764         the asynchronous case.  Use when instead of if.  Do not run
18765         vc-exec-after to display a message if not enabled.  (Bug#4463)
18767         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18768         properties to the stash strings.
18769         (vc-git-stash-list): Return a list of strings.
18770         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18771         (vc-git-stash-show-at-point): New functions.
18772         (vc-git-stash-map): New keymap.
18774         * register.el (ctl-x-r-map): Define the keys here instead of
18775         using autoload.
18777 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18779         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18780         list, to workaround performance problem (bug#4485).
18782 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18784         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18786 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18788         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18789         Document that this option is not recommended to use.
18791 2009-09-19  Glenn Morris  <rgm@gnu.org>
18793         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18794         variable `var'.
18796         * calc/calc-alg.el (var):
18797         * calc/calcalg2.el (var): Define for compiler.
18799 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18801         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18802         Doc fix (Bug#3932).
18804         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18806         * time-stamp.el (time-stamp-month-dd-yyyy)
18807         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18808         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18809         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18810         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18811         Remove functions that have been obsolete since 1995 (Bug#4436).
18813         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18814         indent buffer only if called interactively (Bug#4452).
18816 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18817             Eli Zaretskii  <eliz@gnu.org>
18819         This fixes bug#4197 (merged to bug#865, though not identical).
18820         * server.el (server-auth-dir): Add docstring note about FAT32.
18821         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18822         but warn against using them.
18824 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18826         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18827         older GDB where there is no has_more field.
18829 2009-09-19  Glenn Morris  <rgm@gnu.org>
18831         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18833 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18835         * files.el (auto-mode-alist): Change default for XML files to nXML
18836         mode (Bug#4169).
18838 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18840         * server.el (server-ensure-safe-dir): Pass 'integer
18841         to `file-attributes', as suggested.
18843 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18845         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18846         (dired-query): Use read-key.
18848 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18850         * cus-start.el (ns-use-qd-smoothing): Remove.
18852 2009-09-18  Glenn Morris  <rgm@gnu.org>
18854         * allout.el (top-level): Remove unnecessary progn.
18856         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18858         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18859         definition of abbrev table.
18861         * speedbar.el (speedbar-track-mouse):
18862         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18863         * net/eudc.el (eudc-expand-inline):
18864         * net/newst-backend.el (newsticker--cache-read-feed):
18865         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18866         condition-case handlers.
18868 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18870         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18871         (gdb-var-list): Add an element for has_more field.
18872         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18873         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18874         (gdb-var-update-handler-1): Parse output of dynamic variable
18875         objects (STL containers).
18876         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18877         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18879         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18880         gdb-var-list.
18881         (gud-speedbar-buttons): Make node expandable if expression "has more"
18882         children.
18884 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18886         * startup.el (emacs-quick-startup): Remove variable and all uses.
18887         (command-line): Set `inhibit-x-resources' instead.
18888         (command-line-1): Use `inhibit-x-resources' instead.
18890 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18892         * subr.el: Fix last change to avoid using the `unless' macro,
18893         which breaks bootstrapping.
18895 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18897         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18898         extended definitions, in case we reload subr.el after having
18899         loaded CL.
18900         (eval-next-after-load): Mark as obsolete.
18902 2009-09-17  Juri Linkov  <juri@jurta.org>
18904         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18905         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18906         (menu-bar-showhide-menu, menu-bar-tools-menu)
18907         (menu-bar-describe-menu, menu-bar-help-menu)
18908         (minibuffer-local-completion-map, minibuffer-local-map):
18909         Fix list quoting.
18911 2009-09-17  Glenn Morris  <rgm@gnu.org>
18913         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18914         arguments, whether or not it has a handler.
18916         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18918         * simple.el (hard-newline): Give it a doc-string.
18920         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18921         (lisp-mode-syntax-table): Give them doc-strings.
18923 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18925         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18926         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18927         (menu-bar-options-menu, menu-bar-showhide-menu)
18928         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18929         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18930         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18931         (menu-bar-options-menu, menu-bar-tools-menu)
18932         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18933         (menu-bar-help-menu):
18934         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18935         string arguments.
18937         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18938         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18939         calls for the menu names and :help.
18941 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18943         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18944         to :minor-mode-function (bug#4455).
18946 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18948         * startup.el (command-line): Initialize the window-system after
18949         processing the command-line.
18951         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18952         page-delimiter matches the empty string.
18954 2009-09-16  Glenn Morris  <rgm@gnu.org>
18956         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18957         byte-compile-not-obsolete-var.  It's a list now.
18958         (byte-compile-not-obsolete-funcs): New variable.
18959         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18960         byte-compile-not-obsolete-funcs.
18961         (byte-compile-variable-ref, byte-compile-defvar): Update for
18962         byte-compile-not-obsolete-vars name-change and list nature.
18963         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18964         and variables behind (f)boundp tests.
18965         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18967 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18969         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18971 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18973         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18974         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18975         Don't autoload.
18977 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18979         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18980         the virtual-buffers, use the name of the buffer specified by
18981         find-file-noselect, as the match may be a symlink.  (This was a
18982         problem if the target and the symlink had different names.)
18984 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18986         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18988         * desktop.el (desktop-path): Check user-emacs-directory.
18990         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18992         * loadup.el: Use after-load-functions to GC after loading each file.
18993         Remove the explicit GC calls that used to be sprinkled around.
18995         * subr.el (after-load-functions): New hook.
18996         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18997         `obsolete' packages, rather than painfully extracting the relevant
18998         directory name.
19000 2009-09-15  Glenn Morris  <rgm@gnu.org>
19002         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19003         free variable `doc'.
19005         * dired.el (dired-mode-map): Add menu entry for async shell command.
19007         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19008         variables, also consider the .elc files, since the .el files are
19009         normally gzipped (subsequent code locates the .el.gz from the .elc).
19011         * calc/calc-prog.el (arglist): Define for compiler.
19013         * calendar/diary-lib.el (diary-display-function): Change the default to
19014         fancy display.
19015         (body): Define for compiler.
19017         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19018         (byte-compile-file-form, byte-compile-lambda)
19019         (byte-compile-top-level-body, byte-compile-form)
19020         (byte-compile-variable-ref, byte-compile-setq)
19021         (byte-compile-setq-default, byte-compile-body)
19022         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19023         (batch-byte-compile): Give some more local variables with common names
19024         a "bytecomp-" prefix to avoid masking warnings about free variables.
19026         * startup.el (command-line-1): Give local variables with common names a
19027         distinguishing prefix, so as not to hide free variable warnings during
19028         bootstrap.
19030         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19031         clever and add a suffix to make a unique name, just let the user decide
19032         whether or not to overwrite it.  If the input is a directory, write the
19033         default filename to that directory.  (Bug#4388)
19034         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19035         is a filename-as-a-directory.
19037 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19039         * textmodes/page.el (what-page): Don't move to beginning of line.
19040         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19042 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19044         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19046 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19048         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19049         * help.el (help-for-help-internal): Add purecopy calls for text.
19051         * vc.el (top): print-log method now takes an optional SHORTLOG
19052         argument.  Add a new method: root.
19053         (vc-root-diff, vc-print-root-log): New functions.
19054         (vc-log-short-style): New variable.
19055         (vc-print-log-internal): Add support for showing short logs.
19057         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19058         vc-print-root-log and vc-print-root-diff.
19060         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19061         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19062         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19063         short logs.
19065         * vc-cvs.el (vc-cvs-print-log):
19066         * vc-mtn.el (vc-mtn-print-log):
19067         * vc-rcs.el (vc-rcs-print-log):
19068         * vc-sccs.el (vc-sccs-print-log):
19069         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19070         that is ignored for now.
19072         * vc-mtn.el (vc-mtn-annotate-command):
19073         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19075 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19077         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19078         to function-key-map, and give them ascii-character property.
19079         * term/x-win.el (x-alternatives-map):
19080         * term/ns-win.el (ns-alternatives-map):
19081         * term/internal.el (msdos-key-remapping-map):
19082         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19084 2009-09-14  Glenn Morris  <rgm@gnu.org>
19086         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19087         temp-buffers (2009-09-12).
19089 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19091         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19092         the new read-key function.
19094 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19096         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19097         is defined (Bug#4405).
19099 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19101         * recentf.el (recentf-cleanup): Use a hash table to find
19102         duplicates (Bug#4407).
19104 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19106         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19107         kp-0 to ascii equivalents (Bug#4325).
19109 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19111         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19113         * eshell/em-hist.el:
19114         * eshell/em-dirs.el (eshell-complete-user-reference):
19115         Declare pcomplete functions and variables to avoid compiler warnings.
19117 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19119         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19120         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19121         * eshell/em-alias.el (eshell-aliases-file):
19122         * eshell/em-hist.el (eshell-history-file-name):
19123         Use expand-file-name instead of concat to make file names (Bug#4308).
19125 2009-09-13  Glenn Morris  <rgm@gnu.org>
19127         * ediff-merg.el (ediff-do-merge):
19128         * filesets.el (filesets-run-cmd):
19129         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19130         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19131         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19132         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19133         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19134         Replace empty `let's with `progn'.
19136 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19138         * mail/sendmail.el (send-mail-function):
19139         * tooltip.el (tooltip-mode):
19140         * simple.el (transient-mark-mode):
19141         * rfn-eshadow.el (file-name-shadow-mode):
19142         * frame.el (blink-cursor-mode):
19143         * font-core.el (global-font-lock-mode):
19144         * files.el (temporary-file-directory)
19145         (small-temporary-file-directory, auto-save-file-name-transforms):
19146         * epa-hook.el (auto-encryption-mode):
19147         * composite.el (global-auto-composition-mode):
19148         Use custom-initialize-delay.
19149         * startup.el (command-line): Don't explicitly call
19150         custom-reevaluate-setting for all the above vars.
19151         * custom.el (custom-initialize-safe-set)
19152         (custom-initialize-safe-default): Delete.
19154 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19156         * term/x-win.el (x-initialize-window-system):
19157         * term/w32-win.el (w32-initialize-window-system):
19158         * term/ns-win.el (ns-initialize-window-system): Don't call
19159         mouse-wheel-mode since it's enabled globally by default already.
19161         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19162         actually define the variable, but only silences the byte-compiler.
19163         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19164         before looking it up.
19165         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19166         is changed.
19168 2009-09-12  Glenn Morris  <rgm@gnu.org>
19170         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19171         1000.
19172         (elint-add-required-env): Don't beep on error.
19173         (elint-forms): In case of error, return ENV unchanged.
19174         (elint-init-env): Skip non-list forms.
19175         (elint-log): Handle unknown file positions.
19177 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19179         * epg.el (epg-make-context): Add autoload cookie.
19180         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19181         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19182         (epg-verify-string, epg-start-sign, epg-sign-file)
19183         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19184         (epg-encrypt-string, epg-start-export-keys)
19185         (epg-export-keys-to-file, epg-export-keys-to-string)
19186         (epg-start-import-keys, epg-import-keys-from-file)
19187         (epg-import-keys-from-string, epg-start-receive-keys)
19188         (epg-receive-keys, epg-import-keys-from-server)
19189         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19190         (epg-sign-keys, epg-start-generate-key)
19191         (epg-generate-key-from-file, epg-generate-key-from-string):
19192         Remove autoload cookie.
19194 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19196         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19197         reevaluation of trash-directory.
19199         * mwheel.el: Fix last change.
19200         (mouse-wheel-mode): New defvar.
19201         (mouse-wheel-mode): Remove autoload cookie.
19203 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19205         * mwheel.el (mwheel-installed-bindings): New var.
19206         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19207         the bindings we set last time.  Use custom-initialize-delay.
19208         * loadup.el: Load mwheel after term/*-win.el.
19209         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19210         and mouse-wheel-up-event now that their first evaluation is done
19211         sufficiently late to be correct.
19213         * startup.el (tutorial-directory): Make it a defcustom.
19214         Use custom-initialize-delay rather than eval-at-startup to set it.
19215         * image.el (image-load-path): Make it a defcustom.
19216         Use custom-initialize-delay rather than eval-at-startup to set it.
19217         * subr.el (eval-at-startup): Remove.
19218         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19220         * subr.el (do-after-load-evaluation): Warn the user after loading an
19221         obsolete package.
19223 2009-09-12  Glenn Morris  <rgm@gnu.org>
19225         * proced.el (proced-mark-alt): Remove alias.
19226         (proced-mode-map): Remove proced-mark-alt.
19228         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19229         Elint file and directory.  Remove initialization entry.
19231         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19232         commands.
19233         (elint-current-buffer): Set mode-line-process.
19234         (elint-init-env): Handle define-derived-mode.
19235         Fix declare-function with unspecified arglist.  Guard against odd
19236         defalias statements (eg iso-insert's 8859-1-map).
19237         (elint-add-required-env): Use a temp buffer.
19238         (elint-form): Just print the function/macro name, not the whole form.
19239         Return env unchanged if we fail to parse a macro.
19240         (elint-forms): Guard against parse errors.
19241         (elint-output): New function, to handle batch mode.
19242         (elint-log-message): Add optional argument.  Use elint-output.
19243         (elint-set-mode-line): New function.
19245 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19247         * emacs-lisp/elp.el (elp-not-profilable): Add more
19248         functions (Bug#4233).
19250 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19252         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19253         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19255 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19257         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19258         (gdb-var-list-children): Use json parsing.
19260 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19262         * progmodes/js.el (js--proper-indentation): Handle the case where
19263         char-before is null.  Reported by Deniz Dogan.
19265 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19267         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19269 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19271         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19272         (epg-digest-algorithm-alist): Add SHA224.
19273         (epg-context-set-passphrase-callback)
19274         (epg-context-set-progress-callback): Add description about
19275         callback function.
19277 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19279         * custom.el (custom-delayed-init-variables): New var.
19280         (custom-initialize-delay): New function.
19281         * startup.el (command-line): "Re"evaluate all vars in
19282         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19283         explicitly any more.
19284         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19285         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19287         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19289 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19291         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19292         (gdb-var-update-handler): Use json parsing.
19294 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19296         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19297         decode annotated text, regardless of language environment.  (Bug#2741)
19299 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19301         * Makefile.in (autoloads): Make rmail.el writable as well.
19303 2009-09-11  Glenn Morris  <rgm@gnu.org>
19305         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19306         loaddefs.el.
19307         * dired.el: Regenerate with extracted autoloads.
19308         * Makefile.in (autoloads): Make dired.el writable.
19310         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19311         * ibuffer.el: Regenerate with extracted autoloads.
19312         * Makefile.in (autoloads): Make ibuffer.el writable.
19314         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19315         * version.el (emacs-copyright, emacs-major-version)
19316         (emacs-minor-version): Reformat doc-strings for make-docfile.
19318         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19319         functions and variables, since they must be stuff specific to some other
19320         platform.
19321         (apropos-print): Make mouse-click message less specific about button.
19323         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19324         that records where a macro was defined.
19325         * help-fns.el (describe-function-1): Mention if a function has a
19326         compiler-macro.
19327         * help-mode.el (help-function-cmacro): New button.
19329         * locate.el (top-level): Always require dired.
19330         (locate-mode-map): Initialize inside the defvar.
19332         * net/ange-ftp.el (dired-compress-file): Declare.
19333         (ange-ftp-dired-compress-file): Add doc string.
19335         * term/ns-win.el (x-display-name, x-setup-function-keys):
19336         Unify doc-strings with X versions.
19338 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19340         * emulation/crisp.el (crisp-mode-map): Move initialization
19341         into declaration.
19342         (crisp-mode): Use define-minor-mode.
19344         * progmodes/xscheme.el (xscheme-evaluation-commands):
19345         Put a :advertised-binding property rather than using
19346         advertised-xscheme-send-previous-expression.
19347         (advertised-xscheme-send-previous-expression): Declare obsolete.
19348         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19349         `advertised-undo'.
19350         (crisp-mode): Add corresponding bindings to
19351         undo's :advertised-binding instead.
19352         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19353         than using dired-advertised-find-file.
19354         (dired-advertised-find-file):
19355         * simple.el (advertised-undo):
19356         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19357         (widget-keymap): Put a :advertised-binding property rather
19358         than using advertised-widget-backward.
19359         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19360         than using advertised-undo.
19361         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19363 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19365         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19366         Mark mode is enabled and region is active; otherwise indent or
19367         insert TAB as usual.
19368         (delphi-mode): Update description of TAB-key binding.
19370 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19372         * subr.el (define-key-rebound-commands): Mark obsolete.
19373         * startup.el (precompute-menubar-bindings): Remove.
19374         (normal-top-level): Remove obsolete code that tried to precompute
19375         menubar bindings.
19376         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19377         define-key-rebound-commands and precompute-menubar-bindings.
19379 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19381         * net/imap.el (imap-interactive-login): Better messages.
19382         (imap-open): Fix bug with renamed buffer on reconnect.
19383         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19384         for easier debugging and cleaner code.  On successful (guessed based on
19385         server capabilities) secondary authentication, set imap-state
19386         correctly.
19387         (imap-last-authenticator): Define imap-last-authenticator as a variable
19388         to avoid warnings.
19390 2009-09-10  Glenn Morris  <rgm@gnu.org>
19392         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19394         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19395         (byte-compile-file-form-autoload): Don't warn about unknown functions
19396         where the autoload statement comes after the use.
19397         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19398         that any handlers inside the body (eg require) are in turn respected.
19400         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19401         effects.
19403         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19404         and syntax and abbrev tables basic docs, if they don't have any.
19406         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19408         * international/mule-cmds.el (top-level): Require cl when compiling.
19409         (view-hello-file): Use default-value rather than
19410         default-enable-multibyte-characters.
19412         * progmodes/fortran.el: Move all safe and risky properties into the
19413         defcustoms.
19415         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19416         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19417         * mail/undigest.el:
19418         Put autoloads in rmail.el rather than loaddefs.el.
19419         * mail/rmail.el: Regenerate with extracted autoloads.
19421         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19422         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19424 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19426         Reported in thread for Bug#4375.
19427         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19428         "-data-evaluate-expression" instead of print.
19429         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19430         (gdb-tooltip-print): Parse output from above MI command.
19431         (gdb): Revert 2009-08-11 change.  User should detach inferior
19432         manually.
19434         Remove the word "separate" from IO functions as inferior
19435         output is now never displayed in the GUD buffer.
19437 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19439         * startup.el (command-line-normalize-file-name): On Windows and
19440         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19442 2009-09-10  Juri Linkov  <juri@jurta.org>
19444         * isearch.el (isearch-text-char-description): Propertize escape
19445         character sequences with the `escape-glyph' face.  (Bug#4344)
19447         * simple.el (shell-command): Set asynchronous process filter to
19448         `comint-output-filter'.  (Bug#4343)
19450         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19451         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19452         the list.  Move "asm" to the bottom.
19453         (grep-find-ignored-directories): Add `choice' with nil value
19454         to empty the list easily.
19455         (grep-find-ignored-files): New option.
19456         (grep-files-history): Set to nil by default instead of '("ch" "el").
19457         (grep-compute-defaults): Add "<X>" to `grep-template'.
19458         (grep-read-files): Bind new local variables `default-alias' and
19459         `default-extension'.  Use a list of default values for the file prompt.
19460         (lgrep): Add `--exclude=' command line options composed from
19461         `grep-find-ignored-files'.
19462         (rgrep): Add `-name' command line options composed from
19463         `grep-find-ignored-files'.  (Bug#4301)
19465 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19467         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19468         (bug#4368).
19470 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19472         * calendar/time-date.el (autoload):
19473         Expand define-obsolete-function-alias into defalias and make-obsolete
19474         for old Emacsen that Gnus supports.
19475         (with-no-warnings): Define it for old Emacsen.
19476         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19477         is available.
19478         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19479         float-time is available; suppress compile warning for time-to-seconds.
19481 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19483         * net/imap.el (imap-message-map): Docstring fix.
19485 2009-09-09  Glenn Morris  <rgm@gnu.org>
19487         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19488         line numbers too.  (Bug#4374)
19490 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19492         * smerge-mode.el (smerge-remove-props, smerge-refine):
19493         Use with-silent-modifications (bug#4342).
19495         * subr.el (with-silent-modifications): New macro.
19497 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19499         * files.el (top-level): Require `cl' when compiling.
19501 2009-09-07  Glenn Morris  <rgm@gnu.org>
19503         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19505         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19506         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19508 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19510         * vc-git.el (vc-git-annotate-command): Use separator to parse
19511         arguments correctly.
19513 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19515         * proced.el (proced-mode): Doc fix.
19517 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19519         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19520         lstat fails.
19521         (tramp-do-file-attributes-with-ls): Check for file existence at
19522         remote end.
19523         (tramp-do-file-attributes-with-stat): Likewise.
19524         (tramp-convert-file-attributes): Return nil when attr is nil.
19526 2009-09-05  Glenn Morris  <rgm@gnu.org>
19528         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19529         properties to this button.
19530         (diary-fancy-display): Don't extend the button to the final newline.
19531         (diary-fancy-display-mode): Continue to define "q" as a local key.
19533         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19534         efficient.
19536         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19538         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19539         (byte-compile-dest-file-function): New option.
19540         (byte-compile-dest-file): Doc fix.
19541         Obey byte-compile-dest-file-function.
19542         (byte-compile-cl-file-p): New function.
19543         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19544         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19545         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19546         than for file being previously loaded.
19547         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19548         (byte-compile-file-form-require): Handle the case where requiring a file
19549         indirectly causes CL to be loaded.
19551 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19553         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19554         before killing the old buffer, since by the time `kill-buffer' is
19555         run so many buffer variables have been set to nil that it may not
19556         behave as expected.  (Bug#4061)
19558 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19560         * files.el (find-alternate-file): If the old buffer is modified
19561         and visiting a file, behave similarly to `kill-buffer' when
19562         killing it, thus reverting to the pre-1.878 behavior; see
19563         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19564         for discussion.  Also, consult `buffer-file-name' as a variable
19565         not as a function, for consistency with the rest of the code.
19567 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19569         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19570         also when adding a new directory.
19572         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19573         New defun.
19575 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19577         * files.el (locate-file-completion-table): Make it provide boundary
19578         information, so partial-completion works better.
19580 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19582         * mail/footnote.el (Footnote-text-under-cursor):
19583         Check footnote-text-marker-alist before using it (bug#4324).
19585 2009-09-04  Glenn Morris  <rgm@gnu.org>
19587         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19588         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19589         * play/solitaire.el, play/tetris.el:
19590         Remove leading * from defcustom and defface docs.
19592         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19593         necessary.
19594         (diary-fancy-overriding-map): New variable.
19595         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19596         Use view-mode.
19598         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19599         goto-line.
19601 2009-09-03  Glenn Morris  <rgm@gnu.org>
19603         * arc-mode.el (archive-mode):
19604         * dos-fns.el (set-default-process-coding-system):
19605         * man.el (Man-getpage-in-background):
19606         * menu-bar.el (menu-bar-describe-menu):
19607         * server.el (server-process-filter):
19608         * startup.el (command-line):
19609         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19610         * w32-fns.el (set-default-process-coding-system):
19611         * x-dnd.el (x-dnd-handle-file-name):
19612         * international/mule-cmds.el (mule-menu-keymap)
19613         (set-default-coding-systems, language-info-alist, set-language-info)
19614         (set-language-environment, standard-display-european-internal)
19615         (set-locale-environment):
19616         * international/mule-diag.el (mule-diag):
19617         * mail/emacsbug.el (report-emacs-bug):
19618         * mail/rmail.el (rmail-mode):
19619         * mail/sendmail.el (mail-setup):
19620         Use default-value rather than default-enable-multibyte-characters.
19622         * progmodes/f90.el: Move all safe properties into the defcustoms.
19623         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19625         * calendar/appt.el (appt-check):
19626         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19627         (diary-check-diary-file, diary-list-entries)
19628         (diary-include-other-diary-files, diary-simple-display)
19629         (diary-fancy-display, diary-print-entries)
19630         (diary-mark-included-diary-files, diary-make-entry):
19631         Don't call substitute-in-file-name on diary-file.
19633 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19634             Stefan Monnier  <monnier@iro.umontreal.ca>
19636         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19637         (footnote-mode-map): Move initialization into the declaration.
19638         (footnote-minor-mode-map): Define it rather than changing global-map.
19639         (footnote-mode): Use define-minor-mode.
19641 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19643         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19644         (tramp-do-file-attributes-with-perl)
19645         (tramp-do-file-attributes-with-stat): Rename from
19646         `tramp-handle-file-attributes-with-*'.
19647         (tramp-handle-file-attributes): Use them.
19648         (tramp-do-directory-files-and-attributes-with-perl)
19649         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19650         `tramp-handle-directory-files-and-attributes-with-*'.
19651         (tramp-handle-directory-files-and-attributes): Use them.
19652         (tramp-method-out-of-band-p): Additional parameter SIZE.
19653         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19654         (tramp-handle-write-region): Use it.
19655         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19656         (tramp-handle-vc-registered): Check, whether the first run did
19657         return files to be tested.
19658         (tramp-advice-make-auto-save-file-name): Do not call directly
19659         `tramp-handle-make-auto-save-file-name', because this would bypass
19660         the locking mechanism.
19662         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19663         (file-remote-p, process-file, start-file-process, set-file-times)
19664         (tramp-compat-file-attributes): Compatibility functions shall not
19665         call directly `tramp-handle-*', because this would bypass the
19666         locking mechanism.
19667         (tramp-compat-number-sequence): New defun.
19669 2009-09-02  Glenn Morris  <rgm@gnu.org>
19671         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19672         alias for float-time.
19673         (time-to-number-of-days): In Emacs, use float-time.
19674         * net/newst-backend.el (time-add): Suppress warnings from compat
19675         function.
19676         * time.el (emacs-uptime, emacs-init-time):
19677         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19678         Use float-time rather than time-to-seconds.
19680         * minibuffer.el (completion-initials-expand): Fix typo.
19682         * faces.el (modeline, modeline-inactive, modeline-highlight)
19683         (modeline-buffer-id):
19684         * info.el (info-menu-5): Mark these face aliases as obsolete.
19686 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19688         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19689         space ...
19690         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19691         no "--thread" option.
19692         (gdb-stopped): Don't print "Switched to thread" message when it is
19693         unchanged.
19695 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19697         * minibuffer.el (completion-try-completion)
19698         (completion-all-completions): Remove ill-defined (and
19699         mistakenly installed and luckily never used nor documented)
19700         `completion-styles' property.
19701         (completion-initials-expand, completion-initials-all-completions)
19702         (completion-initials-try-completion): New functions.
19703         (completion-styles-alist): Add doc to each entry.
19704         Add new `initials' entry.
19706 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19708         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19709         MI command -var-evaluate-expression.
19710         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19711         and tweak for case of string child.
19712         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19714 2009-09-01  Glenn Morris  <rgm@gnu.org>
19716         * add-log.el (change-log-date-face, change-log-name-face)
19717         (change-log-email-face, change-log-file-face, change-log-list-face)
19718         (change-log-conditionals-face, change-log-function-face)
19719         (change-log-acknowledgement-face):
19720         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19721         (custom-modified-face, custom-set-face, custom-changed-face)
19722         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19723         (custom-documentation-face, custom-state-face, custom-comment-face)
19724         (custom-comment-tag-face, custom-variable-tag-face)
19725         (custom-variable-button-face, custom-face-tag-face)
19726         (custom-group-tag-face-1, custom-group-tag-face):
19727         * diff-mode.el (diff-header-face, diff-file-header-face)
19728         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19729         (diff-added-face, diff-changed-face, diff-function-face)
19730         (diff-context-face, diff-nonexistent-face):
19731         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19732         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19733         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19734         (Info-title-4-face):
19735         * isearch.el (isearch-lazy-highlight-face):
19736         * log-view.el (log-view-file-face, log-view-message-face):
19737         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19738         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19739         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19740         (cvs-msg-face):
19741         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19742         (smerge-base-face, smerge-markers-face):
19743         * wid-edit.el (widget-documentation-face, widget-button-face)
19744         (widget-field-face, widget-single-line-field-face)
19745         (widget-inactive-face, widget-button-pressed-face):
19746         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19747         (woman-addition-face):
19748         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19749         (eshell-ls-executable-face, eshell-ls-readonly-face)
19750         (eshell-ls-unreadable-face, eshell-ls-special-face)
19751         (eshell-ls-missing-face, eshell-ls-archive-face)
19752         (eshell-ls-backup-face, eshell-ls-product-face)
19753         (eshell-ls-clutter-face):
19754         * eshell/em-prompt.el (eshell-prompt-face):
19755         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19756         * obsolete/old-whitespace.el (whitespace-highlight-face):
19757         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19758         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19759         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19760         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19761         (antlr-font-lock-literal-face):
19762         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19763         (ebrowse-root-class-face, ebrowse-file-name-face)
19764         (ebrowse-default-face, ebrowse-member-attribute-face)
19765         (ebrowse-member-class-face, ebrowse-progress-face):
19766         * progmodes/make-mode.el (makefile-space-face):
19767         * progmodes/sh-script.el (sh-heredoc-face):
19768         * textmodes/flyspell.el (flyspell-incorrect-face)
19769         (flyspell-duplicate-face):
19770         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19771         * textmodes/texinfo.el (texinfo-heading-face):
19772         Mark face aliases with "-face" suffix as obsolete.
19774         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19775         compiler.
19777         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19778         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19779         easy-menu-define wants to modify these.
19781         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19783         * net/browse-url.el (browse-url-file-url):
19784         * term/internal.el (dos-codepage-setup):
19785         Use default-value rather than default-enable-multibyte-characters.
19787         * progmodes/etags.el (etags-goto-tag-location):
19788         * progmodes/flymake.el (flymake-highlight-line)
19789         (flymake-goto-file-and-line, flymake-goto-line):
19790         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19791         (gdb-goto-breakpoint):
19792         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19793         * progmodes/python.el (python-find-function)
19794         (python-pdbtrack-track-stack-file):
19795         * progmodes/verilog-mode.el (verilog-surelint-off):
19796         * term/ns-win.el (ns-open-file-select-line):
19797         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19798         Use forward-line rather than goto-line.
19800         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19801         * textmodes/reftex-index.el (reftex-display-index):
19802         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19803         * textmodes/reftex-toc.el (reftex-toc):
19804         Remove unnecessary bindings of default-major-mode (all are followed by
19805         major-mode check and possible mode switch).
19807 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19809         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19810         Handle watchpoints (bug#4282).
19811         (def-gdb-thread-buffer-command): Enable thread to be selected by
19812         clicking without selecting threads buffer first.
19813         (gdb-current-context-command): Use selected frame so that "up",
19814         "down" etc work in the GUD buffer.
19815         (gdb-update): Find selected frame before rendering stack buffer.
19816         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19818 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19820         * progmodes/sym-comp.el (displayed-completions): Remove.
19821         (symbol-complete): Use minibuffer-complete.
19823 2009-08-31  Glenn Morris  <rgm@gnu.org>
19825         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19827         * apropos.el (apropos-symbols-internal):
19828         Handle (obsolete) face aliases.
19830         * faces.el (describe-face): Adjust the output format to be more like
19831         describe-variable, and to mention (obsolete) face aliases.
19832         Adjust the whitespace so that help-setup-xref works.
19834         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19835         * calendar/diary-lib.el (diary-button-face):
19836         Mark these face aliases as obsolete.
19838         * calendar/calendar.el (calendar-today): Doc fix.
19840 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19842         * progmodes/gdb-mi.el (gdb-control-all-threads)
19843         (gdb-control-current-thread): Force tool bar update.
19844         (gdb-non-stop-handler): New function.
19845         (gdb-init-1): Use it to test if non-stop mode is supported.
19846         Remove unused gdbmi buffer type.
19848 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19850         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19851         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19853 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19855         * comint.el (comint-exec-1): Check command is non-null first.
19856         Part of gdb-mi.el change (2009-08-28).
19858 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19860         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19862 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19864         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19865         instead of `dolist' to avoid a recursive require when bootstrapping.
19867 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19869         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19871         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19873         * net/imap.el (imap-send-command): Simplify.
19874         (imap-wait-for-tag): point-max -> buffer-size.
19876         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19878         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19879         with constant argument.
19881         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19883         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19885         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19886         Change default, since most of our files don't have a history.
19887         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19888         the user.
19890         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19891         Add comint-run.
19893         * calc/calc.el: Improve commenting convention.
19894         (calc-digit-map, toplevel): Simplify.
19896         * comint.el (comint-insert-input): Be careful to only set point if we
19897         don't delegate to some other command.
19899         * proced.el (proced-signal-list): Make it an alist.
19900         (proced-grammar-alist): Capitalize names.
19901         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19902         Disable undo manually and make it read-only.
19903         Use completion-annotate-function.
19905         * minibuffer.el (minibuffer-message): If the current buffer is not
19906         a minibuffer, insert the message in the echo area rather than at the
19907         end of the buffer.
19908         (completion-annotate-function): New variable.
19909         (minibuffer-completion-help): Use it.
19910         (completion--embedded-envvar-table): Environment vars are
19911         always case-sensitive.
19913 2009-08-30  Glenn Morris  <rgm@gnu.org>
19915         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19916         from fortran-current-defun.
19917         (fortran-beginning-of-subprogram): Be more precise about finding the
19918         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19919         (fortran-end-of-subprogram): Simplify.
19920         (fortran-current-defun): Use fortran-start-prog-re.
19922 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19924         * subr.el (do-after-load-evaluation): Simplify.
19926 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19928         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19930         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19931         (vc-rcs-print-log): Use it.
19933         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19935 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19937         * paths.el (abbrev-file-name): Move to abbrev.el.
19938         * abbrev.el (abbrev-file-name): Move from paths.el.
19939         Obey user-emacs-directory.
19940         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19941         user-emacs-directory.
19942         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19943         abbrev-file-name and calc-settings-file any more.
19944         * startup.el (command-line): Recompute abbrev-file-name and
19945         abbreviated-home-dir.
19946         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19947         of the special code for when C-h bindings haven't been changed.
19948         (display-startup-echo-area-message): Use with-current-buffer.
19949         (command-line-1): Use a list of strings, rather than a list of lists
19950         of strings for longopts.
19952         * files.el (get-free-disk-space): Use / for default-directory.
19954         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19955         Use with-current-buffer.
19957         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19958         Recognize immutable variables like most-positive-fixnum.
19959         (byte-compile-setq-default): Check and warn if trying to assign
19960         to an immutable variable, or a non-variable.
19962         * progmodes/cc-vars.el (c-comment-continuation-stars):
19963         * progmodes/cc-engine.el (c-looking-at-bos):
19964         * progmodes/cc-cmds.el (c-toggle-auto-state)
19965         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19966         (c-comment-line-break-function): Add version of obsolescence.
19968 2009-08-28  Juri Linkov  <juri@jurta.org>
19970         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19971         associated with `archive-mode'.
19973         * image.el (image-type-header-regexps): Use only JPEG magic number
19974         to determine JPEG images, and don't use `image-jpeg-p' because
19975         Emacs can display non-JFIF non-Exif JPEG images.
19977 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19979         * arc-mode.el (archive-mode):
19980         * emacs-lisp/re-builder.el (re-builder-unload-function):
19981         Protect against the default value of `major-mode' being nil.
19983 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19985         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19986         Fix typos in docstrings.
19988         * progmodes/js.el (js--macro-decl-re): Doc fix.
19989         (js--plain-method-re, js--split-name): Refloc docstring.
19990         (js--class-styles, js--make-merged-item, js--splice-into-items):
19991         Fix typos in docstrings; reflow docstrings.
19992         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19993         (js--variable-decl-matcher, js--inside-pitem-p)
19994         (js--parse-state-at-point, js--get-all-known-symbols)
19995         (js--symbol-history, js-find-symbol, js--js-references)
19996         (js--moz-interactor, js--js-encode-value, js--read-tab):
19997         Fix typos in docstrings.
19999 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20001         * textmodes/reftex.el (reftex-get-file-buffer-force):
20002         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20003         * emulation/viper.el (viper-go-away, viper-set-hooks):
20004         * emacs-lisp/re-builder.el (re-builder-unload-function):
20005         * emacs-lisp/bytecomp.el (byte-compile-file):
20006         * ses.el (ses-unload-function):
20007         * hexl.el (hexl-find-file):
20008         * files.el (normal-mode):
20009         * ehelp.el (with-electric-help):
20010         * autoinsert.el (auto-insert-alist):
20011         * arc-mode.el (archive-mode):
20012         Use (default-value 'major-mode) instead of default-major-mode.
20014         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20015         * international/mule.el (load-with-code-conversion):
20016         * emacs-lisp/debug.el (debug):
20017         * ediff-vers.el (ediff-rcs-get-output-buffer):
20018         * dired.el (dired-internal-noselect): Don't let-bind
20019         default-major-mode around code that doesn't use it.
20020         E.g. buffer creation via get-buffer-create doesn't use it.
20022 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20024         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20025         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20026         when writing the temp file.  Otherwise, epa-file gets confused.
20027         (tramp-register-file-name-handlers): Make it a defun.  Move also
20028         `epa-file-handler' to the front of `file-name-handler-alist'.
20030 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20032         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20033         start right after a ^M.
20034         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20035         (tramp-completion-file-name-regexp-separate)
20036         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20037         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20038         Don't modify last-coding-system-used by accident.
20039         (tramp-completion-file-name-handler): Apply the checks here,
20040         instead during registration.
20041         (tramp-register-file-name-handlers): Rename from
20042         `tramp-register-file-name-handler'.  Register both
20043         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20044         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20046 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20048         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20049         Remove variable ...
20050         (gdb-init-1, gdb-display-separate-io-buffer)
20051         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20052         references to it.
20053         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20054         (gdb-inferior-filter): Use comint-output-filter to stop
20055         echoing and remove ^M characters.
20057 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20059         * emulation/viper-init.el (viper-restore-cursor-type):
20060         * emulation/cua-base.el (cua--update-indications):
20061         Replace default-cursor-type with (default-value 'cursor-type).
20063         * mail/sendmail.el (mail-recover-1):
20064         * international/mule-diag.el (describe-current-coding-system-briefly)
20065         (describe-current-coding-system):
20066         * international/mule-cmds.el (select-safe-coding-system)
20067         (select-message-coding-system)
20068         (set-language-environment-coding-systems, set-locale-environment):
20069         * hexl.el (hexl-insert-multibyte-char):
20070         * dos-w32.el (find-buffer-file-type-coding-system):
20071         * simple.el (what-cursor-position):
20072         Replace uses of default-buffer-file-coding-system
20073         with (default-value 'buffer-file-coding-system).
20075         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20076         Replace uses of default-cursor-in-non-selected-windows
20077         with (default-value 'cursor-in-non-selected-windows).
20078         Use with-current-buffer.
20080         * mail/feedmail.el: Use CL macros.
20081         (feedmail-run-the-queue, feedmail-send-it-immediately):
20082         * dos-w32.el (find-buffer-file-type): Replace uses of
20083         default-buffer-file-type with (default-value 'buffer-file-type).
20085 2009-08-28  Glenn Morris  <rgm@gnu.org>
20087         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20088         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20089         Use default-value of major-mode rather than default-major-mode.
20091 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20093         * Makefile.in (update-elcfiles): Report left over elc files.
20095         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20096         expand-file-name and with-current-buffer.
20097         (mail-get-names, mail-directory): Use with-current-buffer.
20099         * vc.el (vc-read-revision): New function.
20100         (vc-version-diff, vc-merge): Use it.
20102 2009-08-27  Sam Steingold  <sds@gnu.org>
20104         * simple.el (kill-do-not-save-duplicates): New user option.
20105         (kill-new): When it is non-nil, and the new string is the same as
20106         the latest kill, set replace to t to avoid duplicates in kill-ring.
20108 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20110         * net/tramp.el (tramp-handle-process-file): Do not flush all
20111         caches when `process-file-side-effects' is set.
20112         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20113         instead of `tramp-find-file-exists-command'.
20114         Unset `process-file-side-effects'.
20116 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20118         * net/tramp.el (tramp-methods): New method "rsyncc".
20119         (top): Add completion function for "rsyncc".
20120         (tramp-message-show-message): New defvar.
20121         (tramp-message, tramp-error): Use it.
20122         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20123         remote copying.
20124         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20125         `tramp-methods' entry `copy-env' of "rsyncc".
20126         (tramp-vc-registered-read-file-names): New defconst.
20127         (tramp-vc-registered-file-names): New defvar.
20128         (tramp-handle-vc-registered): Implement optimization strategy.
20129         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20130         (tramp-vc-file-name-handler): New defun.
20131         (tramp-get-ls-command, tramp-get-test-command)
20132         (tramp-get-file-exists-command, tramp-get-remote-ln)
20133         (tramp-get-remote-perl, tramp-get-remote-stat)
20134         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20136         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20137         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20138         timestamps.
20139         (tramp-get-file-property): Check for timestamps in
20140         `tramp-cache-inhibit-cache'.
20141         (tramp-set-file-property): Write timestamp.
20143 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20145         * language/japan-util.el (japanese-symbol-table): Add entries for
20146         cp932-2-byte.
20148         * international/characters.el: Add category `j' to cp932-2-byte.
20150 2009-08-27  Kenichi Handa  <handa@m17n.org>
20152         * international/fontset.el (build-default-fontset-data): New macro.
20153         (setup-default-fontset): Use build-default-fontset-data for CJK,
20154         tibetan, ethiopic, and ipa.
20156 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20158         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20159         (enable-multibyte-characters): Not customizable any more.
20161         * subr.el (default-mode-line-format, default-header-line-format)
20162         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20163         (default-direction-reversed, default-truncate-lines)
20164         (default-left-margin, default-tab-width, default-case-fold-search)
20165         (default-left-margin-width, default-right-margin-width)
20166         (default-left-fringe-width, default-right-fringe-width)
20167         (default-fringes-outside-margins, default-scroll-bar-width)
20168         (default-vertical-scroll-bar, default-indicate-empty-lines)
20169         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20170         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20171         (default-scroll-down-aggressively, default-fill-column)
20172         (default-cursor-type, default-buffer-file-type)
20173         (default-cursor-in-non-selected-windows)
20174         (default-buffer-file-coding-system, default-major-mode)
20175         (default-enable-multibyte-characters): Mark as obsolete.
20177 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20179         * vc-dir.el (vc-dir-update): Remove debug helper.
20181         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20183 2009-08-26  Sam Steingold  <sds@gnu.org>
20185         * simple.el (save-interprogram-paste-before-kill): New user option.
20186         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20187         save the interprogram-paste into kill-ring before overriding it
20188         with the Emacs kill.
20190 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20192         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20193         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20194         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20195         and move to vc-rcs.el.
20196         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20197         move to vc-rcs.el.
20198         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20199         (vc-rcs-update-changelog): Remove.
20200         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20201         and move to vc-rcs.el.
20203         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20204         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20205         renaming.
20206         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20207         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20208         vc.el, renamed to be RCS specific.
20210         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20211         New functions.
20212         (vc-cvs-update-changelog): Move here from vc.el.
20214         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20215         New functions.
20217 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20219         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20221 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20223         * vc-git.el (vc-git-register): Use "git add" for directories.
20224         (vc-git-stash, vc-git-stash-show): New functions.
20225         (vc-git-extra-menu-map): Bind them.
20227         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20228         directory correctly in case the item is a directory itself.
20230         * vc.el: Document the desired behavior for reverted files in the
20231         `added' state.
20232         (vc-default-prettify-state-info): Remove function, unused.
20234         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20236 2009-08-26  Glenn Morris  <rgm@gnu.org>
20238         * bindings.el (standard-mode-line-format): Reposition dashes in
20239         which-func entry.  (Bug#4217)
20241         * files.el (enable-local-variables, enable-local-eval)
20242         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20243         the defcustoms.
20244         (auto-mode-alist, ignored-local-variables)
20245         (save-some-buffers-action-alist): Move risky declarations to the
20246         definitions.
20247         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20248         (font-lock-defaults, format-alist, imenu--index-alist)
20249         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20250         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20251         (mode-line-modified, mode-line-mule-info, mode-line-position)
20252         (mode-line-process, mode-line-remote, outline-level)
20253         (parse-time-rules, rmail-output-file-alist)
20254         (special-display-buffer-names, vc-mode):
20255         Move risky declarations to the relevant files.
20256         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20257         (mode-line-modified, mode-line-process, mode-line-position)
20258         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20259         * font-core.el (font-lock-defaults):
20260         * format.el (format-alist):
20261         * vc-hooks.el (vc-mode):
20262         * window.el (special-display-buffer-names):
20263         * international/mule-cmds.el (input-method-alist):
20264         Define riskiness here (dumped file) rather than in files.el.
20265         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20266         * imenu.el (imenu-generic-expression, imenu--index-alist):
20267         * outline.el (outline-level):
20268         * time.el (display-time-string):
20269         * calendar/parse-time.el (parse-time-rules):
20270         * mail/rmailout.el (rmail-output-file-alist):
20271         Autoload riskiness here, rather than placing in files.el.
20273 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20275         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20277 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20279         * simple.el (process-file-side-effects): New defvar.
20281         * dired-aux.el (dired-show-file-type):
20282         * vc.el (vc-diff-internal):
20283         * vc-arch.el (vc-arch-diff):
20284         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20285         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20286         * vc-git.el (vc-git-registered, vc-git-working-revision)
20287         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20288         (vc-git--empty-db-p):
20289         * vc-hooks.el (vc-user-login-name):
20290         * vc-svn.el (vc-svn-registered, vc-svn-state)
20291         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20292         * progmodes/grep.el (grep-probe): Let-bind
20293         `process-file-side-effects' with nil.
20295         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20297         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20298         daemon.  Replace ping by checking for running service for bluez
20299         and zeroconf.  (Bug#4239)
20301 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20303         * net/dig.el (dig): Add autoload cookie.
20305 2009-08-25  Glenn Morris  <rgm@gnu.org>
20307         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20308         load-history for absolute file-names.
20309         (byte-compile-file-form-require): Warn about use of the cl package.
20311         * format.el (format-alist): Doc fix.
20313         * play/bubbles.el (top-level): Don't require cl at run-time.
20315         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20316         run-time cl).
20318 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20320         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20321         from cl package.
20322         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20324 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20326         * calc/calc-alg.el (math-trig-rewrite)
20327         (math-hyperbolic-trig-rewrite): New functions.
20328         (calc-simplify): Simplify trig functions when asked.
20330 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20332         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20334 2009-08-24  Kenichi Handa  <handa@m17n.org>
20336         * language/ind-util.el (mapthread): Delete it.
20337         (combinatorial): New function.
20338         (indian--puthash-cv): Use combinatorial instead of mapthread.
20340 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20342         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20343         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20344         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20345         Clarify docstring that the value is strings not symbols.
20346         (checkdoc-list-of-strings-p): New function.
20348 2009-08-22  Glenn Morris  <rgm@gnu.org>
20350         * files.el (auto-mode-alist):
20351         * hippie-exp.el (he-concat-directory-file-name):
20352         * lpr.el (lpr-windows-system, printer-name):
20353         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20354         * ps-print.el (ps-windows-system):
20355         * startup.el (command-line):
20356         * emulation/viper-ex.el (viper-glob-function):
20357         * international/mule-cmds.el (set-language-environment-coding-systems):
20358         * net/ange-ftp.el (ange-ftp-write-region):
20359         * obsolete/fast-lock.el (fast-lock-cache-name):
20360         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20361         unisoft-unix, vax-vms, win32, w32.
20363         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20364         given name if the pattern is not more specific.
20366         * calendar/lunar.el (lunar-phase-names): New option.
20367         (lunar-phase): Doc fix.
20368         (lunar-cycles-per-year): New constant.
20369         (lunar-index): New function.
20370         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20371         (lunar-phase-name): Use lunar-phase-names.
20372         (calendar-lunar-phases): Use format.
20373         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20375         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20376         Copy imenu-example--name-and-position function here for own use.
20377         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20379         * bs.el (bs--redisplay):
20380         * cus-edit.el (custom-redraw):
20381         * ibuffer.el (ibuffer-bury-buffer):
20382         * server.el (server-goto-line-column):
20383         * startup.el (command-line-1):
20384         * strokes.el (strokes-xpm-for-stroke):
20385         * term.el (term-display-buffer-line):
20386         * view.el (View-goto-line):
20387         * calc/calc.el (calc-do, calc-trail-buffer):
20388         * play/gamegrid.el (gamegrid-add-score-insecure):
20389         * progmodes/ada-mode.el (ada-compile-goto-error):
20390         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20391         (ebrowse-select-1st-to-9nth):
20392         * progmodes/cperl-mode.el (cperl-time-fontification):
20393         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20394         * progmodes/gud.el (gud-display-line):
20395         (idlwave-shell-display-line):
20396         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20397         * progmodes/make-mode.el (makefile-browser-toggle):
20398         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20399         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20400         * textmodes/picture.el (picture-draw-rectangle):
20401         * textmodes/reftex-index.el (reftex-index-goto-letter):
20402         (reftex-select-jump-to-previous):
20403         * textmodes/reftex-sel.el (reftex-find-start-point)
20404         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20405         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20406         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20407         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20408         * textmodes/two-column.el (2C-associated-buffer):
20409         Use forward-line rather than goto-line.
20411         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20412         goto-line.
20414         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20415         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20416         (quick-check-list-to-regexp): Declare.
20418         * progmodes/make-mode.el (makefile-browser-insert-selection):
20419         Use goto-char rather than goto-line.
20421         * progmodes/prolog.el (compilation-error-regexp-alist)
20422         (compilation-forget-errors): Declare.
20424 2009-08-22  Juri Linkov  <juri@jurta.org>
20426         * progmodes/grep.el (lgrep, rgrep): At the beginning
20427         set `dir' to `default-directory' unless `dir' is a non-nil
20428         readable directory.  (Bug#4052)
20429         (lgrep, rgrep): Change a weird way to report an error
20430         from using `read-string' to using `error'.
20431         Instead of using interactive arguments in the function body,
20432         add new argument `confirm'.
20434 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20436         * textmodes/remember.el (remember-buffer):
20437         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20438         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20439         (icalendar-extract-ical-from-buffer):
20440         * net/newst-treeview.el (newsticker-groups-filename):
20441         * net/newst-backend.el (newsticker-cache-filename):
20442         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20443         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20444         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20445         (speedbar-buffers-line-path, speedbar-path-line)
20446         (speedbar-buffers-line-path):
20447         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20448         (epg-sign-keys):
20449         * epa.el (epa-display-verify-result):
20450         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20452 2009-08-21  Glenn Morris  <rgm@gnu.org>
20454         * progmodes/js.el (inferior-moz-process): Fix declaration.
20456         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20458         * obsolete/rnewspost.el (news-mail-reply):
20459         Use goto-char rather than goto-line.
20461         * term/ns-win.el (ns-open-file-select-line):
20462         Use line-beginning-position rather than goto-line.
20464         * apropos.el (apropos-command):
20465         * ehelp.el (electric-helpify):
20466         * printing.el (pr-show-setup):
20467         * strokes.el (strokes-help):
20468         * tutorial.el (tutorial--describe-nonstandard-key)
20469         (tutorial--detailed-help):
20470         * woman.el (woman-mini-help, woman-display-extended-fonts):
20471         * calc/calc-help.el (calc-describe-key):
20472         * emulation/edt.el (edt-electric-helpify):
20473         * international/mule-diag.el (mule-diag):
20474         * play/yow.el (apropos-zippy):
20475         * progmodes/python.el (python-describe-symbol):
20476         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20477         * textmodes/table.el (*table--cell-describe-mode)
20478         (*table--cell-describe-bindings):
20479         Use help-print-return-message rather than the now obsolete alias.
20481         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20482         (calendar-cursor-to-visible-date):
20483         * play/5x5.el (5x5-position-cursor):
20484         * play/decipher.el (decipher):
20485         * play/gomoku.el (gomoku-goto-xy):
20486         * play/landmark.el (lm-goto-xy):
20487         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20488         (mpuz-paint-digit):
20489         Use forward-line, not goto-line.
20491         * mail/rmail.el (rmail-obsolete): Delete custom group.
20492         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20493         (rmail-remote-password, rmail-remote-password-required):
20494         Remove unneeded :set-after and :set properties.
20496 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20498         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20500 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20502         * loadup.el: Remove leftover macos code.
20504         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20505         Explicitly pass the date format to git blame so that user local
20506         so that the output format can be parsed.
20508 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20510         * net/dbus.el (top): Don't check for (getenv
20511         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20513 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20515         * log-edit.el (log-edit-strip-single-file-name): New var.
20516         (log-edit-insert-changelog): Use it.  Bug#3571
20518 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20520         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20521         Bug#3287
20523         * help.el (help-print-return-message): Rename from
20524         print-help-return-message.
20526         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20527         cvs-mode-map parent hack.
20528         (log-view-mode): Derive from special-mode.
20530         * linum.el (linum-mode): window-size-change-functions is redundant.
20531         Adapt to new window-configuration-change-hook behavior.
20532         (linum-after-size, linum-after-config): Remove.
20534         * imenu.el (imenu-example--name-and-position)
20535         (imenu-example--lisp-extract-index-name)
20536         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20537         Mark as obsolete.
20539         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20540         (inferior-prolog-mode): Use it.
20541         (inferior-prolog-load-file): Reset list of errors.
20543 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20545         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20547         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20549 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20551         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20552         is running already.
20554 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20556         * subr.el (listify-key-sequence-1): Use normal syntax since those
20557         integers are nowadays always represented by the same (positive) number
20558         on all platforms.
20559         (read-key-empty-map): New const.
20560         (read-key-delay): New var.
20561         (read-key): New function.
20562         (force-mode-line-update): Use with-current-buffer.
20563         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20564         (start-process-shell-command, start-file-process-shell-command):
20565         Discourage the use of command-args.
20567 2009-08-19  Glenn Morris  <rgm@gnu.org>
20569         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20571 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20573         * simple.el (choose-completion-string): Don't rely on
20574         minibuffer-completing-file-name and ad-hoc checks to decide whether
20575         to continue completion or not.
20577         * minibuffer.el (minibuffer-hide-completions): New function.
20578         (completion--do-completion): Use it.
20579         (completions-annotations): New face.
20580         (completion--insert-strings): Use it.
20581         (completion-pcm--delim-wild-regex): Add docstring.
20582         (completion-pcm--string->pattern): Add support for 0-width delimiters
20583         in completion-pcm--delim-wild-regex.
20585 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20587         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20588         Remove unused var `buffer-modified-p'.
20590         * minibuffer.el (completion--do-completion): Move point for the #b001
20591         case as well (bug#4176).
20592         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20594 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20596         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20597         and :session buses.
20599 2009-08-18  Kenichi Handa  <handa@m17n.org>
20601         * international/ucs-normalize.el (ucs-normalize-version):
20602         Change to 1.1.
20603         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20604         (utf-8-hfs): Make it perform normalization on encoding too.
20606         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20607         (sentence-end-without-space): Delete duplicated chars.
20608         (sentence-end-base): Likewise.
20610         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20611         (html-mode): Delete duplicated chars from sentence-end-base.
20613         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20614         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20616 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20618         * files.el (hack-one-local-variable): If the mode function is for
20619         a minor mode, pass it an argument (Bug#4148).
20621 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20623         * net/tramp.el (tramp-register-completion-file-name-handler):
20624         Check also for (member 'partial-completion completion-styles).
20626 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20628         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20629         abbrev (Bug#3943).
20631 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20633         * progmodes/cperl-mode.el: Merge upstream 6.2.
20634         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20635         (cperl-forward-re): Check cperl-brace-recursing.
20636         (cperl-highlight-charclass): New function.
20637         (cperl-find-pods-heres): Use it.
20638         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20639         (cperl-beautify-regexp-piece): Fix column calculation.
20640         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20641         (cperl-beautify-level): Don't process entire regexp.
20642         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20643         calling man.
20644         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20645         (cperl-init-faces): Build a list in the normal way.
20647 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20649         * calendar/parse-time.el (parse-time-string-chars): Save match
20650         data.
20652 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20654         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20655         (sql-product): Use it.
20656         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20657         (sql-set-product): Add completion.
20658         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20659         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20660         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20661         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20662         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20663         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20664         (sql-highlight-db2-keywords): Remove.
20665         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20666         (sql-highlight-product): Use derived-mode-p.
20667         (sql-set-sqli-buffer): Use with-current-buffer.
20668         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20669         Simplify.
20671         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20673         * term.el: Fix commenting convention, turn comments into docstrings.
20675 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20677         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20679 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20681         * calendar/parse-time.el (parse-time-string-chars): Compute using
20682         character classes, to handle non-ascii characters (Bug#3190).
20684 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20686         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20687         another heredoc if the user adds another < (Bug#3226).
20689         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20690         Don't initialize based on window-system (Bug#4124).
20692         * facemenu.el (facemenu-read-color): Use a completion function
20693         that accepts any defined color, such as RGB triplets (Bug#3677).
20695         * files.el (get-free-disk-space): Change fallback default
20696         directory to /.  Expand DIR argument before switching to fallback.
20697         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20699 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20701         * files.el (load-library): Doc fix.
20703 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20705         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20706         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20707         incremental search string.
20709         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20710         XEmacs.
20712         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20713         (ediff-merge-region-is-non-clash)
20714         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20715         Also check if the job is really a merge job.
20717         * ediff.el (ediff-current-file): New function.
20719 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20721         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20722         conventions.
20723         (js-insert-and-indent): Delete function.
20724         (js-mode-map): Don't bind keys to js-insert-and-indent.
20725         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20726         (js-end-of-defun): Rename from js--end-of-defun.
20727         (js-auto-indent-flag): Delete variable.
20729 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20731         * progmodes/js.el: Remove proclaim statement.
20732         Defvar which-func-imenu-joiner-function to silence compiler.
20734         * files.el (auto-mode-alist): Use js-mode for .js files.
20736         * progmodes/js2-mode.el: Remove file.
20738         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20740         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20742         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20744 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20745             Karl Landstrom  <karl.landstrom@brgeight.se>
20747         * progmodes/js.el: New file.
20749 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20751         * timezone.el (timezone-parse-date): Add ability to understand ISO
20752         basic format (minimal separators) dates in addition to the
20753         already-supported extended format dates.
20755 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20757         * international/ucs-normalize.el: Add a `coding' file variable.
20759         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20761 2009-08-14  Sam Steingold  <sds@gnu.org>
20763         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20765 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20767         * faces.el (help-argument-name): Define it here instead of
20768         help-fns.el, because in daemon mode help-fns.el may be loaded when
20769         faces are still uninitialized (Bug#1078).
20771         * help-fns.el (help-argument-name): Move defface to faces.el.
20773 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20775         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20776         create buffer with a pty but no process so that GDB can make the
20777         inferior the controlling process.
20779 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20781         * international/ucs-normalize.el: New file.
20783 2009-08-13  Richard Stallman  <rms@gnu.org>
20785         * mail/rmail.el (rmail-get-attr-names):
20786         Accept an attribute header that is too short.
20788         * mail/rmail.el (rmail-forget-messages):
20789         Ignore nil elt in rmail-message-vector.  Use dotimes.
20791         * progmodes/compile.el (compilation-goto-locus):
20792         Use next-error-move-function.
20794         * simple.el (next-error-move-function): New variable.
20796 2009-08-12  Juri Linkov  <juri@jurta.org>
20798         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20799         always non-nil.  (Bug#4052)
20801         * replace.el (read-regexp): Return empty string when
20802         `default-value' is nil.
20803         (keep-lines-read-args): Don't use empty string as the
20804         default value for `read-regexp'.  (Bug#2495)
20806 2009-08-12  Juri Linkov  <juri@jurta.org>
20808         * international/mule-cmds.el (ucs-insert): Change arguments
20809         from `arg' to `character', `count', `inherit' to be the same
20810         as in `insert-char'.  Doc fix.  (Bug#4039)
20812         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20814 2009-08-12  Juri Linkov  <juri@jurta.org>
20816         * files-x.el: New file.
20818         * files.el: Move code that deals with adding/deleting
20819         file/directory-local variables to files-x.el.
20821         * Makefile.in (ELCFILES): Add files-x.elc.
20823 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20825         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20826         to use `goto-line'.
20827         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20828         `goto-line'.
20829         (gdb-invalidate-disassembly): Do not refresh upon receiving
20830         'update signal.  Instead, update all disassembly buffers only after
20831         threads list.
20832         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20833         (gdb-starting): Move -data-list-register-names...
20834         (gdb-stopped): ...here so it's sent when first thread stops.
20835         (gdb-registers-handler-custom): Do nothing if register names are
20836         unknown yet.
20838         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20839         from `gdb-mi.el' to avoid extra tangling.
20841         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20842         change which breaks `gud-def' definitions used in `gdb'.
20843         (gdb-update-gud-running): No extra fuss for updating frame number.
20845 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20847         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20848         (describe-language-environment-map, setup-language-environment-map)
20849         (set-coding-system-map): Move initialization into declaration.
20850         (set-language-info-alist): Last arg to define-key-after can be skipped.
20852         * international/quail.el (quail-completion-1): Simplify.
20853         (quail-define-rules): Use slightly more compact code.
20854         (quail-insert-decode-map): Propertize keys, compact columns.
20856         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20857         Add goto-line.
20859 2009-08-10  Miles Bader  <miles@gnu.org>
20861         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20862         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20863         (js2-instance-member, js2-private-member, js2-private-function-call)
20864         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20865         (js2-magic-paren, js2-external-variable):
20866         Remove "-face" suffix from face names.
20867         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20868         (js2-highlight-undeclared-vars, js2-peek-token)
20869         (js2-parse-function-params, js2-mode-show-errors)
20870         (js2-mode-show-warnings, js2-make-magic-delimiter)
20871         (js2-mode-highlight-magic-parens): Update to use new face names.
20873 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20875         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20876         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20878 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20880         * subr.el: Provide hashtable-print-readable.
20882         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20883         hs-c-like-adjust-block-beginning.
20884         (hs-hide-block-at-point): Stop hiding at the beginning of
20885         hs-block-end-regexp (Bug#700).
20887 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20889         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20890         a macro.
20891         (gdb-registers-handler-custom): Do not fail when register names
20892         are unavailable.
20894 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20896         * progmodes/gdb-mi.el (gdb-control-all-threads)
20897         (gdb-control-current-thread): Interactive setters for
20898         `gdb-gud-control-all-threads' to use in menu.
20899         (gdb-show-run-p): Show «Go» when process is not active.
20900         (gud-tool-bar-map): Add non-stop/A,T indicator.
20901         Uses gud/thread.xpm and gud/all.xpm.
20903 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20905         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20906         (nslookup-font-lock-keywords): Make it a variable.
20907         (net-utils-mode): New mode for viewing diagnostic network output.
20908         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20909         (net-utils-run-simple): New function.
20910         (ifconfig, iwconfig, netstat, arp, route): Use it.
20912 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20914         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20915         (gdb-memory-set-address, def-gdb-set-positive-number)
20916         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20917         after changing settings.
20918         (gdb-invalidate-disassembly): Update when first shown.
20919         (gdb-edit-locals-value): Fix.
20920         (gdb-registers-handler-custom): Print registers in right order and
20921         allow changing register values (only for current thread yet).
20922         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20923         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20924         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20925         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20926         Thread info in mode name.
20927         (gdb-registers-mode-map): TAB to switch to locals.
20929 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20931         * mail/rmail.el (rmail-add-mbox-headers)
20932         (rmail-set-message-counters-counter): Search for
20933         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20935 2009-08-08  Glenn Morris  <rgm@gnu.org>
20937         * Makefile.in (ELCFILES): Update.
20939 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20941         * mail/sendmail.el (mail-yank-original):
20942         Set buffer-file-coding-system from the one used by the message whose
20943         text is yanked.
20945         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20946         to "windows" when "pgnuplot" is used.
20947         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20948         Don't call accept-process-output if "pgnuplot" is used.
20949         (calc-graph-init): Don't send -display and -geometry to
20950         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20951         running "pgnuplot -V" with shell-command-to-string.
20953         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20954         the default.
20956 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20958         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20959         org/org-latex.elc.
20961 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20963         * vc-dispatcher.el (vc-resynch-window): Update comment.
20965         * term.el (term-handle-ansi-escape): Add comments with the
20966         terminfo capabilities implemented.
20968 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20970         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20971         (gdb-var-create-handler): Rewritten using JSON parser.
20972         (gdb-propertize-header): Move earlier.
20973         (gdb-set-header): Remove to avoid duplication.
20974         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20975         Refresh disassembly buffers only after threads list have been
20976         update.
20977         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20978         variables.
20980 2009-08-04  Juri Linkov  <juri@jurta.org>
20982         * files.el: Commands to add/delete file/directory-local variables.
20983         (read-file-local-variable, read-file-local-variable-value)
20984         (read-file-local-variable-mode, modify-file-local-variable)
20985         (modify-file-local-variable-prop-line)
20986         (modify-dir-local-variable): New functions.
20987         (add-file-local-variable, delete-file-local-variable)
20988         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20989         (add-dir-local-variable, delete-dir-local-variable)
20990         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20991         (copy-dir-locals-to-file-locals-prop-line): New commands.
20993 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20995         * abbrev.el (insert-abbrev-table-description): Prettify output.
20996         Suggested by Karl Chen.
20998 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21000         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21001         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21002         (gdb-overlay-arrow-position, gdb-thread-position)
21003         (gdb-disassembly-position): Declare variables.
21004         (gdb-wait-for-pending): Function now.
21005         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21006         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21007         compilation goes smoothly.
21008         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21009         (gdb-non-stop-setting): New customization setting which replaces
21010         `gdb-non-stop' so changing it doesn't break active GDB session.
21011         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21012         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21013         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21014         (gdb-show-threads-by-default): New customization options.
21015         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21016         routines.
21017         (gdb-get-buffer-create): Send buffers update signal when they are
21018         created.
21019         (gdb-invalidate-locals, gdb-invalidate-registers)
21020         (gdb-invalidate-breakpoints)
21021         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21022         (gdb-invalidate-memory): Accept update signal.
21023         (gdb-current-context-command): Use --frame option.
21024         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21025         Implement `gdb-frame-number' selection logic.
21026         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21027         whether to show GUD toolbar buttons.
21028         (gdb-thread-exited): Unselect current thread when it exits.
21029         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21030         (gdb-mark-line): Routine which sets overlay arrow or inverses
21031         video on fringeless displays.
21032         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21033         to build aligned columns of data in GDB buffers and set text
21034         properties line-by-line.
21035         (gdb-invalidate-breakpoints)
21036         (gdb-breakpoints-list-handler-custom)
21037         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21038         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21039         (gdb-registers-handler-custom): Align data columns.
21040         (gdb-locals-handler-custom): Now prints data like in variable
21041         declarations.
21042         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21043         Remove confusing buttons.
21044         (gdb-invalidate-threads): Append --frame.
21045         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21046         between breakpoints/threads buffers.
21047         (gdb-set-window-buffer): Now can ignore dedicated windows.
21048         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21049         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21050         (def-gdb-thread-buffer-gud-command): Replaces
21051         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21052         for fine thread control.
21053         (gdb-preempt-existing-or-display-buffer): New function used to
21054         display bound buffers without breaking window layout.
21055         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21056         (gdb-select-frame): New version of `gdb-frames-select' which now
21057         sets `gdb-frame-number' so commands may use --frame option instead
21058         of inner debugger state.
21059         (gdb-frame-handler): Do not set `gdb-frame-number'.
21060         (gdb-threads-mode-map): Select threads with mouse.
21062         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21063         avoid compilation warning.
21064         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21065         `gdb-show-stop-p`.
21067         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21068         Argument `key' renamed to `buffer-type'.
21069         (gdb-current-context-buffer-name): Do not add thread info to
21070         buffer name when no thread is selected.
21071         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21072         command (bug 3794).
21073         (gdb-thread-selected): Handle `=thread-selected' notification.
21074         (gdb-wait-for-pending): New macro to deal with congestion problems.
21075         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21076         breakpoints.
21077         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21078         This fixes problem similar to one described in bug 3947.
21079         (gud-menu-map): More menu items.
21080         (gdb-init-1): Reset `gdb-thread-number' to nil.
21082         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21083         non-stop settings.
21085         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21086         (gdb-current-context-command): Do not append --thread if
21087         `gdb-thread-number' is nil.
21088         (gdb-running-threads-count, gdb-stopped-threads-count):
21089         New variables.
21090         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21091         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21092         New customization options.
21093         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21094         GUD commands.
21095         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21096         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21097         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21098         set `gdb-thread-number' and update `gud-running' properly.
21099         (gdb-running): Update threads list when new threads appear.
21100         (gdb-stopped): Support non-stop operation and new thread switching
21101         logic.
21102         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21103         (gdb-json-partial-output): New set of JSON routines.
21104         (def-gdb-auto-update-trigger): New `signal-list' optional
21105         argument.
21106         (gdb-thread-list-handler-custom): Update `gud-running',
21107         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21108         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21109         (gdb-continue-thread, gdb-step-thread): New commands for fine
21110         thread execution control.
21111         (gud-menu-map): New menu items to switch non-stop options.
21112         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21113         (gdb-send): Mimic RET properly (bug 3794).
21115         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21116         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21117         gdb-buffer-rules.
21118         (def-gdb-auto-update-handler): New nopreserve optional argument.
21119         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21121         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21122         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21123         (gdb-parent-mode): New mode to derive other GDB modes from.
21124         (gdb-display-disassembly-for-thread)
21125         (gdb-frame-disassembly-for-thread): New commands for threads
21126         buffer.
21128         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21129         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21130         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21131         (gdb-update): We now store all GDB buffers in a list so that they
21132         can be updated by traversing a list instead of calling invalidate
21133         triggers explicitly.
21134         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21135         pair for GDB buffer.
21136         (gdb-stack-buffer-name): Add thread information.
21137         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21138         handle pending triggers.
21139         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21140         (def-gdb-thread-buffer-simple-command)
21141         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21142         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21143         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21144         New commands which show buffers bound to thread.
21145         (gdb-stack-list-locals-regexp): Remove unused regexp.
21147         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21148         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21149         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21150         to (gud-comint-buffer) in *-buffer-name functions
21151         because (gdb-get-target-string) already does that.
21152         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21153         (gdb-changed-registers-handler): Rewritten without regexps.
21155         * progmodes/gdb-mi.el: Basic thread selection support.
21156         (gdb-thread-number): New variable.
21157         (gdb-current-context-command): New macro which adds --thread
21158         option to command.
21159         (gdb-threads-mode-map): Select thread with SPC.
21160         (gdb-thread-list-handler-custom): Mark current thread with overlay
21161         arrow.  Synchronize GDB thread and Emacs thread.
21162         (gdb-select-thread): New command which selects current thread.
21163         (gdb-invalidate-frames, gdb-invalidate-locals)
21164         (gdb-invalidate-registers): Use --thread option.
21166 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21168         * net/tramp.el (top): Make check for tramp-gvfs loading more
21169         robust.  (Bug#3977)
21170         (tramp-handle-insert-file-contents): `unwind-protect' must be
21171         inside `with-parsed-tramp-file-name'.
21173         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21174         fails.
21176 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21178         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21179         directory if CLASSPATH is not set.
21181 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21183         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21184         New defconst.
21185         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21187 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21189         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21190         Update freshmeat link.  Delete newsforge.com as it seems gone.
21192 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21194         * select.el (x-set-selection): Doc fix (Bug#4021).
21196         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21198         * help-fns.el (describe-variable): Treat list return values from
21199         dir-locals-find-file properly (Bug#4005).
21201 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21203         * net/tramp.el (tramp-debug-message): Print also microseconds.
21205 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21207         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21208         or END is non-nil.
21209         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21210         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21211         format.
21213         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21214         (tramp-get-file-property): Use it.
21216         * autorevert.el (auto-revert-handler):
21217         Allow `auto-revert-tail-mode' for remote files.
21219 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21221         * minibuffer.el (read-file-name): Treat confirm options to
21222         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21224 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21226         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21227         (font-lock-variable-name-face, font-lock-constant-face):
21228         Darken the colors for light backgrounds.
21230 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21232         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21233         month names.  (Bug#3987)
21235 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21237         * simple.el (line-move-finish): Pass whole number to
21238         line-move-to-column.
21239         (line-move-visual): Perform hscroll to the recorded position.
21241 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21243         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21245 2009-07-29  Alan Mackenzie  <acm@muc.de>
21247         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21249 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21251         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21252         (gdb-place-breakpoints): Use full path when setting breakpoints.
21254 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21256         * calc/calc.el (calc-mode-map): Add keybinding for
21257         `calc-transpose-lines'.
21259 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21261         * calc/calc-misc.el (calc-transpose-lines): New function.
21263 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21265         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21266         Simplify check for out-of-band methods.
21267         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21268         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21270 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21272         * vc-git.el (vc-git-checkin): Fix typo.
21274 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21276         * progmodes/js2-mode.el: New file.
21278 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21280         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21281         (gud-menu-map): Adjust tooltip accordingly.
21283 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21285         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21286         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21288         * add-log.el (change-log-mode-map): Add a menu.
21290 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21292         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21293         function returns nil.
21294         (dbus-handle-event): Handle special return value :ignore.
21295         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21297 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21299         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21300         it's not needed.
21302 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21304         Fix Bug#3888:
21306         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21308         * term/pc-win.el (x-display-name, x-colors)
21309         (x-select-enable-clipboard, x-select-text): Doc fix.
21311         * term/common-win.el (x-display-name, x-colors): Doc fix.
21313         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21314         (xw-defined-colors): Doc fix.
21316         * w32-fns.el (x-select-text, x-setup-function-keys)
21317         (x-get-selection, x-set-selection): Doc fix.
21319         * term/x-win.el (x-select-text, x-setup-function-keys)
21320         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21322         * select.el (x-set-selection): Doc fix.
21324 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21326         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21327         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21328         "IsNSSSupportAvailable" method is not available.
21329         Reported by Steve Youngs <steve@sxemacs.org>.
21331 2009-07-24  Kenichi Handa  <handa@m17n.org>
21333         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21334         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21335         (build-unicode-category-table): Fix range checks.
21337 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21339         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21340         the buffer we try to sync is current when calling
21341         vc-resynch-buffer.
21343         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21344         not show up to date files.
21346 2009-07-24  Glenn Morris  <rgm@gnu.org>
21348         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21349         Add autoload cookies.  If necessary, initialize.
21350         (elint-log): Handle non-file buffers.
21351         (elint-initialize): Add optional argument to reinitialize.
21352         (elint-find-builtin-variables): Save excursion.
21354 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21356         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21357         for Lint.
21359 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21361         * vc.el (vc-print-log-internal): New function, split out from ...
21362         (vc-print-log): ... here.
21363         (vc-dir-move-to-goal-column): Declare.
21365         * vc-git.el (vc-git-add-signoff): New variable.
21366         (vc-git-checkin): Use it.
21367         (vc-git-toggle-signoff): New function.
21368         (vc-git-extra-menu-map): Bind it to menu.
21369         (vc-git--run-command-string): Accept a nil FILE argument.
21370         (vc-git-stash-list): New function.
21371         (vc-git-dir-extra-headers): Use it.
21373 2009-07-23  Glenn Morris  <rgm@gnu.org>
21375         * help-fns.el (describe-variable): Describe ignored and risky local
21376         variables in a similar way to that in which we describe safe ones.
21378         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21379         (byte-compile-output-file-form, byte-compile-output-docform)
21380         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21381         Give some more local variables with common names a "bytecomp-" prefix,
21382         so as not to shadow things during compilation.
21383         * emacs-lisp/cl-macs.el (load-time-value)
21384         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21385         `outbuffer' to `bytecomp-outbuffer'.
21387         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21388         since the next two variables cover them automatically now.
21389         (elint-builtin-variables, elint-autoloaded-variables): New.
21390         (elint-unknown-builtin-args): Remove all members, since they can be
21391         parsed automatically now.
21392         (elint-extra-errors): New.
21393         (elint-env-add-env, elint-env-add-macro): Use cadr.
21394         (elint-current-buffer): Use or.  Change final message.
21395         (elint-get-top-forms): Use line-end-position.
21396         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21397         and defalias.
21398         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21399         (regexp-assoc): Remove unused function.
21400         (elint-top-form): Set elint-current-pos, to record the start of the
21401         top-level form, for compilation-mode.
21402         (elint-form): Trap errors in macro expansion.  Use dolist.
21403         (elint-unbound-variable): Use elint-builtin-variables and
21404         elint-autoloaded-variables.
21405         (elint-get-args): Use cadr, or.
21406         (elint-check-cond-form): Use dolist, cadr.
21407         (elint-check-condition-case-form): Doc fix.  Use cadr.
21408         Use elint-extra-errors.
21409         (elint-log): New function.
21410         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21411         Distinguish errors and warnings.
21412         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21413         Use a bytecomp-style format.
21414         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21415         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21416         Don't truncate lines.
21417         (elint-initialize): Set builtin and autoloaded variable lists.
21418         Only process elint-unknown-builtin-args if non-nil.
21419         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21420         New functions.
21421         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21423 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21425         * net/newst-backend.el (newsticker--parse-atom-1.0)
21426         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21427         (newsticker--parse-rss-1.0):
21428         * progmodes/idlwave.el (idlwave-mode):
21429         * progmodes/idlw-shell.el (idlwave-shell-mode):
21430         * progmodes/vera-mode.el (vera-mode):
21431         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21432         * progmodes/vhdl-mode.el (vhdl-mode):
21433         * textmodes/table.el (table-generate-source)
21434         (table--warn-incompatibility):
21435         Hyperlink urls in docstrings with URL `...'.
21437 2009-07-22  Glenn Morris  <rgm@gnu.org>
21439         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21440         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21441         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21442         Remove leading * from defcustom docs.
21444         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21446         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21447         defcustom doc.
21448         (list-load-path-shadows): Optionally, just return shadows as a string.
21450         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21452 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21454         * mail/rmailedit.el (rmail-edit-mode):
21455         Use auto-save-include-big-deletions.
21457         * mail/rmail.el (rmail-variables):
21458         Use auto-save-include-big-deletions.
21460         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21461         changes.
21463 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21465         * calc/calc.el (calc-undo-length): New variable.
21466         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21468 2009-07-21  Richard Stallman  <rms@gnu.org>
21470         * files.el (auto-save-mode): Handle buffer-save-size = -2
21471         for toggling mode.
21473 2009-07-21  Glenn Morris  <rgm@gnu.org>
21475         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21477         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21479         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21480         silence compiler.  Instead...
21481         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21482         (ps-print-ensure-fontified): Update for above function name changes.
21484         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21485         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21486         silence compiler.  Instead...
21487         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21488         (mh-show-buffer): Only define for compiler.
21489         (pr-mh-current-message): Update for above function name changes.
21491         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21492         as an argument.
21493         (find-file-noselect, insert-file-1): Update for above change.
21495         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21497         * mail/mailclient.el (mailclient-send-it): Fix message.
21499         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21500         (edebug-eval): Check cl-debug-env is bound.
21501         (print-level, print-circle): Don't redefine built-in variables.
21503         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21504         (custom-print-vectors): Remove old comments from doc.
21506         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21507         (emerge-version): Make the variable an obsolete alias for the
21508         emacs-version variable.  Make the function obsolete.
21509         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21510         Emerge options, rather than merging in into the main Options menu.
21511         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21512         and auto advance modes.  Disable edit/fast items when not relevant.
21514 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21516         * term/vt420.el (terminal-init-vt420): Fix typo.
21518 2009-07-20  Sam Steingold  <sds@gnu.org>
21520         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21521         variable (removed from compile.el on 2004-03-11).
21523 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21525         * files.el (hack-local-variables-filter): Fix last change.
21527 2009-07-19  Juri Linkov  <juri@jurta.org>
21529         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21530         (dir-local-variables-alist): New buffer-local variable.
21531         (hack-local-variables-filter): If variable is not dir-local,
21532         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21533         because file-local overrides dir-local.
21534         (c-postprocess-file-styles) <declare-function>:
21535         Remove obsolete declaration.
21536         (hack-dir-local-variables): Add dir-local variable/value pair to
21537         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21539         * help-fns.el (describe-variable): Add information about
21540         file-local and dir-local variables.
21542 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21544         * files.el (hack-local-variables-filter): Rewrite.
21546 2009-07-19  Glenn Morris  <rgm@gnu.org>
21548         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21549         Silence compiler by only defining on XEmacs.
21551         * international/mule.el (auto-coding-regexp-alist): Only match
21552         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21554         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21555         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21556         (cal-menu-context-mouse-menu): Doc fix.
21558         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21560         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21562 2009-07-18  Juri Linkov  <juri@jurta.org>
21564         * info.el: Virtual Info keyword finder.
21565         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21566         (Info-finder-file): New variable.
21567         (Info-finder-find-file): New function.
21568         (finder-known-keywords, finder-package-info)
21569         (find-library-name, lm-commentary): Use defvar and
21570         declare-function to silence compiler warnings.
21571         (Info-finder-find-node): New function.
21572         (info-finder): New command.
21574         * subr.el (process-kill-buffer-query-function): New function.
21575         (add-hook)<kill-buffer-query-functions>: Add hook
21576         `process-kill-buffer-query-function'.
21578 2009-07-18  Alan Mackenzie  <acm@muc.de>
21580         * progmodes/cc-mode.el (c-before-hack-hook)
21581         (c-postprocess-file-styles): Give invocation of `c-set-style'
21582         DONT-OVERRIDE parameter of t.  Already set style variables will
21583         thus not be overridden by style settings given by `c-file-syle'.
21585         * files.el (hack-local-variables-filter): Remove entries with
21586         duplicate keys from `file-local-variables-alist'.
21588 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21590         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21591         x-set-selection if display-selections-p returns nil for the
21592         current frame.
21594 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21596         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21598 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21600         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21601         Accept nil in addition to a regexp.
21602         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21603         Accept nil in addition to a regexp.
21604         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21605         buffers that have an associated file.  Handle nil values of
21606         desktop-buffers-not-to-save and desktop-files-not-to-save.
21607         (Bug#3833)
21609         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21610         (x-disown-selection-internal): New functions.
21612 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21614         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21615         warning.
21616         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21617         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21619 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21621         * simple.el (set-mark): Revert last change.
21623 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21625         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21626         rendering of pngs is not possible instead of messaging a long
21627         description.
21629 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21631         * w32-fns.el (x-selection-owner-p): New function.
21633         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21634         (mouse-yank-at-click, mouse-yank-primary):
21635         If select-active-regions is non-nil, deactivate the mark before
21636         insertion.
21638         * simple.el (deactivate-mark, set-mark): Only save selection if we
21639         own it.
21641 2009-07-17  Kenichi Handa  <handa@m17n.org>
21643         * case-table.el (describe-buffer-case-table): Fix for the case
21644         that KEY is a cons.
21646 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21648         * vc-rcs.el (vc-rcs-find-file-hook):
21649         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21651 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21653         * net/tramp.el (tramp-wait-for-output): Handle the case when
21654         commands do not return a newline but a null byte before the shell
21655         prompt.  (Bug#3858)
21657 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21659         * term/ns-win.el (ns-set-alpha): Don't declare.
21660         (ns-set-background-alpha): Remove function.
21662 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21664         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21665         y-or-n-p, for safety.
21667 2009-07-16  Richard Stallman  <rms@gnu.org>
21669         * files.el (auto-save-mode): If buffer-saved-size is -2,
21670         don't clobber it.
21672         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21673         (rmail-retry-ignored-headers): Add more uninteresting fields.
21675 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21677         * net/rcirc.el (rcirc): Use history variables.
21678         (rcirc-server-name-history, rcirc-nick-name-history)
21679         (rcirc-server-port-history): New variables.
21681 2009-07-15  Kenichi Handa  <handa@m17n.org>
21683         * international/mule-cmds.el (set-language-environment-charset):
21684         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21685         ignore them.
21687         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21688         Delete unibyte-display.
21690 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21692         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21694 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21696         * simple.el (deactivate-mark): Optional argument FORCE.
21697         (set-mark): Use deactivate-mark.
21699         * info.el (Info-search): No need to check transient-mark-mode
21700         before calling deactivate-mark.
21702         * select.el (x-set-selection): Doc fix.
21703         (x-valid-simple-selection-p): Allow buffer values.
21704         (xselect--selection-bounds): Handle buffer values.
21705         Suggested by David De La Harpe Golden.
21707         * mouse.el (mouse-set-region, mouse-drag-track):
21708         Call copy-region-as-kill before setting the mark, to let
21709         select-active-regions work.
21711 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21713         * simple.el (deactivate-mark): If select-active-regions is
21714         non-nil, copy the selection data into a string.
21715         (activate-mark): If select-active-regions is non-nil, set the
21716         selection to the current buffer.
21717         (set-mark): Update selection if select-active-regions is non-nil.
21719         * select.el (x-valid-simple-selection-p): Allow buffer values.
21721 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21723         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21724         and more featureful message-mode.
21726 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21728         * select.el (x-set-selection): Doc fix.
21729         (x-valid-simple-selection-p): Disallow selection data consisting
21730         of a list or cons of integers, since that is not used.
21731         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21732         (xselect-convert-to-string, xselect-convert-to-length)
21733         (xselect-convert-to-filename, xselect-convert-to-charpos)
21734         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21736 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21738         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21739         output in -break-info command (Emacs bug #3794).
21741 2009-07-14  Glenn Morris  <rgm@gnu.org>
21743         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21744         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21745         (edebug-print-length, edebug-print-level, edebug-print-circle)
21746         (edebug-sit-for-seconds, edebug-view-outside)
21747         (edebug-bounce-point, edebug-set-global-break-condition)
21748         (edebug-Go-nonstop-mode, edebug-trace-mode)
21749         (edebug-Trace-fast-mode, edebug-continue-mode)
21750         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21751         (edebug-visit-eval-list): Doc fixes.
21753         * subr.el (def-edebug-spec): Doc fix.
21755 2009-07-14  Kenichi Handa  <handa@m17n.org>
21757         * international/characters.el: Fix setting of category ?C.
21759 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21761         * term/ns-win.el (x-select-font): defalias x-select-font to
21762         ns-popup-font-panel instead of generate-fontset-menu.
21764 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21766         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21768 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21770         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21771         the PK\003\004 header (Bug#3770).
21773 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21775         * pcomplete.el (pcomplete-comint-setup): Check for
21776         shell-dynamic-complete-filename too.
21778 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21780         * simple.el (temporary-goal-column): Change the value for
21781         line-move-visual to a cons cell.
21782         (line-move-visual): Record or set the window hscroll, if
21783         necessary (Bug#3494).
21784         (line-move-1): Handle cons value of temporary-goal-column.
21786 2009-07-11  Kenichi Handa  <handa@m17n.org>
21788         * international/mule-diag.el (describe-character-set): Don't show
21789         width.
21791 2009-07-10  Sam Steingold  <sds@gnu.org>
21793         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21794         Omake sometimes indents the errors it prints, so allow all
21795         regexps to start with spaces.
21797 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21799         * cus-edit.el (customize-changed-options-previous-release):
21800         Bump value to 22.1.  (Bug#3804)
21802 2009-07-08  Sam Steingold  <sds@gnu.org>
21804         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21805         to be a cons cell (test . ignored-directory) to selectively ignore
21806         some directories depending on the location of the search.
21808 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21810         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21811         remote user is root, on the local host.
21812         (tramp-local-host-p): Either the local user or the remote user
21813         must be root.  (Bug#3771)
21815 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21817         * progmodes/gdb-mi.el (gdb): Remove description of
21818         gdb-use-separate-io-buffer.
21819         (menu): Don't allow toggling of or enable
21820         gdb-use-separate-io-buffer from menubar.
21822 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21824         * mail/unrmail.el (unrmail): Make sure the message ends with two
21825         newlines (Bug#3769).
21827 2009-07-08  Glenn Morris  <rgm@gnu.org>
21829         * calendar/calendar.el (calendar-current-date): Rework previous change.
21831 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21833         * calendar/calendar.el (calendar-current-date):
21834         Add an optional argument giving an offset from today.
21836 2009-07-08  Glenn Morris  <rgm@gnu.org>
21838         * tutorial.el (tutorial--describe-nonstandard-key):
21839         Adjust the message for when a key has been unbound.
21840         (help-with-tutorial): Hide the arch-tag.
21842 2009-07-08  Kenichi Handa  <handa@m17n.org>
21844         * international/fontset.el (setup-default-fontset): For each
21845         script, append (not set) font-specs.
21847         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21848         docstring.
21850 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21852         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21853         -data-list-register-names to ...
21854         (gdb-starting): ... here because GDB 7.0 requires execution to
21855         have started when using this MI command.
21856         (gdb-set-header): New function to distinguish select and
21857         unselected tabs in gdb buffers.
21858         (gdb-propertize-header): New macro that uses gdb-set-header.
21859         (gdb-breakpoints-header, gdb-locals-header): Use it.
21860         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21862 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21864         * Makefile.in (ELCFILES): Remove fadr.elc.
21866 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21868         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21869         may contain frame information, so `string-match' should be used.
21870         (gdb-update): Disassembly is invalidated through
21871         `gdb-get-selected-frame'.
21872         (gdb-pad-string): New function to pad string with spaces.
21873         (gdb-invalidate-disassembly): Invalidate only if the buffer
21874         exists.
21875         (gdb-disassembly-handler-custom): Column alignment.
21876         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21877         placing new ones.
21878         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21879         end of line, too.
21880         (gdb-frame-handler): Match convention to for disassembly buffer
21881         mode name.
21882         (gdb-stack-list-frames-handler): Rewritten without regexps.
21883         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21884         not highlight breakpoints without line information.
21885         (gdb-input): Add trailing newline to command.
21887         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21888         buffer properly.
21889         (gdb-breakpoints-list-handler-custom): Replacement for
21890         `gdb-break-list-handler'.  Using real parser instead of regexps
21891         now.
21892         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21893         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21894         to place breakpoints.
21895         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21896         functions.
21897         (gdb-disassembly-handler-custom): Show overlay arrow.
21898         (gdb-disassembly-place-breakpoints): Show breakpoints in
21899         disassembly buffer.
21900         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21901         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21902         instead of parsing breakpoints buffer.  Fixed old menu references
21903         in `gud-menu-map'.
21905         * fadr.el: Remove.
21907         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21908         (gdb-memory-address): New variable which holds top address of
21909         memory page shown in memory buffer.
21910         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21911         New customization variables.
21912         New functions:
21913         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21914         display the memory buffer.
21915         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21916         buffer display parameters.
21917         (def-gdb-memory-format, gdb-memory-format-binary)
21918         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21919         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21920         Functions for setting memory buffer format.
21921         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21922         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21923         unit size used in memory buffer.
21924         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21925         Switch to next/previous page of memory buffer.
21926         Now using (bindat-get-field) instead of fadr functions.
21928 2009-07-07  Sam Steingold  <sds@gnu.org>
21930         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21931         non-top-level files.
21933 2009-07-07  Kenichi Handa  <handa@m17n.org>
21935         * international/mule-cmds.el (reset-language-environment):
21936         Put the highset priority to the charset iso-8859-1.
21938 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21940         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21941         to the end of the line when locating the block (Bug#700).
21943 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21945         * net/tramp.el (tramp-handle-write-region): Flush file properties
21946         in case of short track.
21948 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21950         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21951         Coded custom representation of verilog error regular expressions
21952         to work with Emacs-22's new format.
21953         (verilog-error-regexp-xemacs-alist): Coded custom representation
21954         of verilog error regular expressions to work with XEmacs format.
21955         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21956         error recognition into XEmacs.
21957         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21958         error recognition into Emacs-22.
21960 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21962         * woman.el: Remove stand-alone closing parentheses.
21963         (woman-file-name, woman2-format-paragraphs)
21964         (woman-leave-blank-lines): Code cleanup.
21965         (woman-use-own-frame): Change default to nil.
21966         (woman-italic, woman-bold, woman-unknown, woman-addition):
21967         Change defaults to inherit from default faces.
21968         (woman2-process-escapes): Consume the newline after a stand-alone
21969         filler character (Bug#3651).
21971 2009-07-06  Glenn Morris  <rgm@gnu.org>
21973         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21974         (top-level): Move provide to the end.
21975         (ffap): Remove defunct URL from custom group.
21977         * subr.el (eval-after-load): Doc fix.
21979 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21981         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21982         `calc-embedded-word' is called twice.
21984 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21986         * files.el (find-alternate-file-other-window, find-alternate-file):
21987         Obey confirm-nonexistent-file-or-buffer.
21989 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21991         * dired-aux.el (dired-show-file-type): Handle remote files.
21993 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21995         * desktop.el (desktop-globals-to-save):
21996         Add file-name-history (Bug#2750).
21998 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22000         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22002 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22004         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22005         property on entire argument since this is what eshell-lisp-command
22006         expects.
22008 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22010         * net/tramp-gvfs.el (tramp-gvfs-methods)
22011         (tramp-gvfs-zeroconf-domain)
22012         (tramp-bluez-discover-devices-timeout): Add version flag.
22013         (tramp-gvfs-handler-mounted-unmounted)
22014         (tramp-gvfs-connection-mounted-p): Polish handling of
22015         incompatibilities between GVFS 0.2 and 1.0.
22017 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22019         * cus-start.el (all): Add make-pointer-invisible.
22021 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22023         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22024         formatted correctly.
22026 2009-07-02  Juri Linkov  <juri@jurta.org>
22028         * info.el: Virtual Info files and nodes.
22029         (Info-virtual-files, Info-virtual-nodes): New variables.
22030         (Info-current-node-virtual): New variable.
22031         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22032         New functions.
22033         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22034         to check for a virtual file instead of checking a fixed list
22035         of node names.
22036         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22037         instead of ad-hoc processing of "dir" and (apropos history toc).
22038         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22039         instead of ad-hoc processing of "dir" and (apropos history toc).
22040         Reread a file when moving from a virtual node.
22041         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22042         (Info-directory-toc-nodes, Info-directory-find-file)
22043         (Info-directory-find-node): New functions.
22044         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22045         (Info-history): Move part of code to
22046         `Info-history-find-node'.
22047         (Info-history-toc-nodes, Info-history-find-file)
22048         (Info-history-find-node): New functions.
22049         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22050         (Info-toc): Move part of code to `Info-toc-find-node'.
22051         (Info-toc-find-node): New function.
22052         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22053         the current Info file name to references because now the node
22054         "*TOC*" belongs to the same Info manual.
22055         (Info-toc-build): Rename from `Info-build-toc'.
22056         (Info-toc-nodes): Rename input argument `file' to `filename'.
22057         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22058         instead of ad-hoc processing of ("dir" apropos history toc).
22059         (Info-index-nodes): Use Info-virtual-file-p
22060         to check for a virtual file instead of checking a fixed list
22061         of node names.
22062         (Info-index-node): Add check for `Info-current-node-virtual'.
22063         Raise `save-match-data' higher up the tree to contain
22064         `search-forward' too (bug fix).
22065         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22066         (Info-virtual-index-nodes): New variable.
22067         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22068         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22069         (Info-apropos-file, Info-apropos-nodes): New variables.
22070         (Info-apropos-toc-nodes, Info-apropos-find-file)
22071         (Info-apropos-find-node, Info-apropos-matches): New functions.
22072         (info-apropos): Move part of code to `Info-apropos-find-node' and
22073         `Info-apropos-matches'.
22074         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22075         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22076         for a virtual file instead of checking a fixed list of node names.
22078         * simple.el (async-shell-command): New command.
22080         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22082         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22083         instead of `mount-info'.
22085 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22087         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22088         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22090 2009-07-02  Kenichi Handa  <handa@m17n.org>
22092         * international/mule.el (set-keyboard-coding-system): Force *-unix
22093         coding-system to avoid eol conversion.
22095 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22097         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22098         Add handler for `process-file', `shell-command' and
22099         `start-file-process'.
22100         (tramp-gvfs-handle-shell-command)
22101         (tramp-gvfs-handle-start-file-process)
22102         (tramp-gvfs-handle-process-file): New defuns.
22103         (tramp-synce-list-devices): Simplify check for existence of property.
22105 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22107         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22109 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22111         * language/korean.el (set-language-info-alist): Add korean-cp949,
22112         cp949 to spec.
22114 2009-07-01  Kenichi Handa  <handa@m17n.org>
22116         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22118         * international/encoded-kb.el: Deleted.
22120         * international/mule.el (set-keyboard-coding-system): Perform the
22121         necessary setup here instead of calling encoded-kbd-setup-display.
22123 2009-07-01  Glenn Morris  <rgm@gnu.org>
22125         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22127 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22129         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22131 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22133         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22134         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22135         (tramp-default-file-modes): Remove execute permissions.
22137         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22138         (top): Add a default for "synce" in `tramp-default-user-alist'.
22139         Add completion function for "synce" method.
22140         (tramp-hal-service, tramp-hal-path-manager)
22141         (tramp-hal-interface-manager, tramp-hal-interface-device):
22142         New defconst.
22143         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22144         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22145         New defuns.
22147         * net/trampver.el: Update release number.
22149 2009-06-30  Kenichi Handa  <handa@m17n.org>
22151         * international/fontset.el (setup-default-fontset): Add CJK fonts
22152         for symbols and the other miscellaneous characters.
22154         * language/korea-util.el (setup-korean-environment-internal):
22155         Make char-width-table suitable for Korean environments.
22156         (exit-korean-environment): Cancel above.
22158         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22159         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22160         setup-function to make char-width-table suitable for respective
22161         environments, and an exit-function to cancel that.
22163         * language/japan-util.el (setup-japanese-environment-internal):
22164         Call use-cjk-char-width-table with arg `ja_JP'.
22166         * international/characters.el (cjk-char-width-table): Delete it.
22167         (cjk-char-width-table-list): New variable.
22168         (use-cjk-char-width-table): New arg local-name.
22169         (use-default-char-width-table): Fix for the case that Emacs is
22170         already using the default char-width-table.
22172 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22174         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22175         modes mandatory.  (Bug#3712)
22177 2009-06-29  Alan Mackenzie  <acm@muc.de>
22179         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22180         correction between the visible width of TABs and their number of bytes.
22182 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22184         * server.el (server-buffer-done): Prevent kill-buffer from
22185         prompting by clearing the buffer modification flag (Bug#3696).
22187 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22189         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22190         (verilog-endcomment-reason-re): Support unique case and priority case.
22191         (verilog-basic-complete-re): Support localparam lineup.
22192         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22193         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22194         commenting.
22195         (verilog-leap-to-case-head): Now support *nested* unique &
22196         priority case statements.
22197         (verilog-auto-lineup): Make just declarations the default (as it
22198         had been).
22199         (verilog-leap-to-case-head): Support priority/unique case statements.
22200         (verilog-auto-lineup): Rework to give users radio buttons to
22201         select the various styles of automatic lineup.
22202         (verilog-error-regexp-alist): Rework to support the XEmacs style
22203         of error regular expressions from compilers, lint tools &
22204         simulators.  Note that GNU Emacs has made it impossible for a mode
22205         to load such things.
22206         (electric-verilog-terminate-line, verilog-indent-declaration)
22207         (verilog-auto-wiure): Rework for radio button selection of
22208         auto-lineup selection of specification of auto lineup.
22209         (verilog-beg-of-statement-1): Redesign to support proper operation
22210         in additional code, based on testing with auto-lineup.
22211         (verilog-calculate-indent, assignments & declarations)
22212         (verilog-backward-token): Enhance to support auto-lineup of
22213         assignments & declarations.
22214         (verilog-in-directive-p, verilog-at-struct-p): New function for
22215         easy test of whether we are.
22216         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22217         to support safe execution at almost anyline.
22218         (verilog-calc-1): Properly support indenting deep inside generate
22219         blocks.
22220         (verilog-init-font): Remove definition & use of verilog-init-font,
22221         as it is redundant with font-lock-defaults.
22222         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22223         to avoid circular calls if syntax-ppss is a function (as is the
22224         case now in 22.x GNU Emacs) as that function would sometimes call
22225         itself, leading to (nearly) infinite recursion.
22226         (verilog-ovm-begin-re, verilog-ovm-end-re)
22227         (verilog-ovm-statement-re, verilog-leap-to-head)
22228         (verilog-backward-token): Add support for OVM macros.  Some are
22229         complete statements, and others open and close scopes like begin
22230         and end.
22231         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22232         (verilog-defun-level-generate-only-re): Really fix the defun-list
22233         compilation issue.
22234         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22235         coverpoint, constraint and cross statements.
22236         (verilog-defun-level-list, verilog-generate-defun-level-list)
22237         (verilog-all-defun-level-list): Redo these specifications - it is
22238         too hard to support eval-when compile aggregation of lists also
22239         built at when-compile time.
22240         (verilog-defun-level-list): Place defconsts of variables used in
22241         building regular expressions which are built in eval-when-compile
22242         bodies in the same eval-when-compile body to facilitate compile
22243         without load.
22244         (verilog-beg-block-re-ordered): Support indenting
22245         virtual/protected tasks and functions.
22246         (verilog-defun-level-list, verilog-in-generate-region-p)
22247         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22248         indentation of some module items (generate items).
22249         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22250         across virtual/protected tasks and functions.
22252 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22254         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22255         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22256         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22257         in concatenations.  Reported by Yishay Belkind.
22258         (verilog-auto-ascii-enum): Support one-hot state machines in
22259         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22260         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22261         modport in AUTOINST and add vl-modport for users.
22262         Reported by David Rogoff.
22263         (verilog-auto-inout-module, verilog-auto-inst)
22264         (verilog-decls-get-interfaces, verilog-insert-definition)
22265         (verilog-insert-one-definition, verilog-read-decls)
22266         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22267         (verilog-sig-modport, verilog-signals-combine-bus)
22268         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22269         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22270         Suggested by David Rogoff.
22271         (verilog-repair-open-comma): Fix non-insertion of comma when
22272         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22273         (verilog-make-width-expression): Simplify [A-1:0] expression
22274         widths to just {A{1'b0}}.
22275         (verilog-mode): Cleanup checkdoc warnings.
22276         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22277         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22278         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22279         (next-error-last-buffer): Fix byte-compiler warning.
22280         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22281         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22282         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22283         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22284         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22285         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22286         in AUTOINOUT.  Reported by Matthew Lovell.
22287         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22288         causing use of <= assignments.  Reported by Alex Reed.
22289         (verilog-read-decls): Fix triand, trior, wand, wor to be
22290         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22291         (verilog-extended-complete-re): Support import "DPI-C" functions.
22292         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22293         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22294         (verilog-insert-date, verilog-insert-year)
22295         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22296         Windows systems.  Reported by Michael Potts.
22297         (verilog-read-module-name): Fix AUTOINST when the child module
22298         declaration's name is a tick define.  Reported by Elliot Mednick.
22299         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22300         passed to next parameter's definition.  Reported by Bruce T.
22301         (verilog-read-decls): Fix detecting "parameter int" when using
22302         AUTOINSTPARAM.  Reported by Bruce T.
22303         (verilog-goto-defun): Fix goto not finding modules unless first
22304         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22305         (verilog-mode): Expand -f flag arguments on entry to mode so
22306         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22307         (verilog-getopt): Expand environment variables in -f file
22308         arguments.  Suggested by Lawrence Butcher.
22309         (verilog-set-define): Fix "Symbol's value as variable is void"
22310         when reading enumerations.
22311         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22312         Suggested by Stephen Peltan.
22313         (verilog-read-defines): Fix reading of enumerations in include
22314         files.  Reported by Steve Peltan.
22316 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22318         * files.el (trash-directory): Fix defcustom type.
22320 2009-06-28  Juri Linkov  <juri@jurta.org>
22322         * help-fns.el (describe-function-1): Correctly locate adviced
22323         functions in hyperlink (Bug#2438).
22325 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22327         * files.el (trash-directory): Change default to nil.
22328         (move-file-to-trash): If trash-directory is nil and
22329         system-move-file-to-trash is unbound, perform freedesktop-style
22330         trashing.
22332 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22334         * files.el (move-file-to-trash): Add freedesktop trash
22335         support (Bug#973).
22337 2009-06-28  Glenn Morris  <rgm@gnu.org>
22339         * autorevert.el (global-auto-revert-non-file-buffers)
22340         (global-auto-revert-mode): Doc fixes.
22342 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22344         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22346 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22348         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22349         opened an X connection before calling x-get-resource (Bug#3194).
22351         * play/doctor.el: Remove reference to obsolete website.
22352         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22354 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22356         Remove find-file-not-found-hook VC method.  (Bug#2757)
22357         * vc-hooks.el (vc-file-not-found-hook)
22358         (vc-default-find-file-not-found-hook): Remove functions.
22359         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22360         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22361         * vc.el:
22362         * vc-hg.el:
22363         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22365 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22367         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22368         compatibility function for `looking-back'.
22370         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22371         Use `ispell-looking-back'.
22373 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22375         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22376         rather than `filename'.
22378 2009-06-23  Miles Bader  <miles@gnu.org>
22380         * face-remap.el (text-scale-set): New function.
22382 2009-06-23  Glenn Morris  <rgm@gnu.org>
22384         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22386         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22388         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22390         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22392         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22393         Simplify Persian conditionals.
22395         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22396         variable `filename'.
22398         * comint.el (comint-insert-input): Doc fix.
22400         * Makefile.in (ELCFILES): Fix typo in previous change.
22402 2009-06-23  Miles Bader  <miles@gnu.org>
22404         * cus-start.el: Add entry for `recenter-redisplay'.
22406 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22408         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22409         Add an optional argument for the backend, use it instead of
22410         calling vc-backend.
22411         (vc-mode-line): Add an optional argument for the backend.
22412         Pass the backend to vc-state and vc-working-revision.  Move code for
22413         special handling for vc-state being a buffer to ...
22415         * vc-rcs.el (vc-rcs-find-file-hook):
22416         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22418         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22419         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22420         vc-stay-local-p and vc-mode-line calls.
22422         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22423         (vc-cvs-diff, vc-cvs-annotate-command)
22424         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22425         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22426         vc-mode-line calls.
22428         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22429         direct comparison.
22430         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22431         backend when calling vc-mode-line.
22432         (vc-register): Do not create a closure for calling the vc register
22433         function, call it directly.
22435 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22437         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22438         to make it obvious item can be clicked.
22440         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22442 2009-06-23  Kenichi Handa  <handa@m17n.org>
22444         * language/korea-util.el (korean-key-bindings): Change the binding
22445         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22446         same command.
22448 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22450         Sync with Tramp 2.1.16.
22452         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22454         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22455         when a loading of a package fails.  Completion function for rsync
22456         is `tramp-completion-function-alist-ssh'.
22457         (all): Replace all calls of `split-string' and
22458         `tramp-split-string' by `tramp-compat-split-string'.
22459         (tramp-default-method): Use `tramp-compat-process-running-p'.
22460         (tramp-default-proxies-alist): Allow also Lisp forms.
22461         (tramp-remote-path): Add choice "Private Directories".
22462         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22463         (tramp-domain-regexp): Allow also "-", "_" and ".".
22464         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22465         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22466         (tramp-debug-message): Insert header line in debug buffer.
22467         (tramp-handle-directory-files-and-attributes-with-stat):
22468         Care about filenames with spaces, or starting with "-".
22469         (tramp-handle-dired-uncache): New defun.
22470         (tramp-handle-insert-directory): Don't flush the directory from
22471         cache, this is handled by `dired-uncache' now.
22472         (tramp-handle-insert-file-contents): Improve error handling.
22473         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22474         Quote `tramp-end-of-output'.
22475         (tramp-action-password): Improve trace message.
22476         (tramp-check-for-regexp): Both echoes must be present, before removing.
22477         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22478         (tramp-compute-multi-hops): Eval cons cells of
22479         `tramp-default-proxies-alist'.
22480         (tramp-maybe-open-connection): Use the same command pattern for
22481         first hop and further hops.
22482         (tramp-wait-for-output): Remove handling of newlines.
22483         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22484         (tramp-split-string): Remove function.  It is handled in
22485         tramp-compat now.
22487         * net/tramp-cmds.el (tramp-bug):
22488         Recommend `tramp-cleanup-all-connections' in the bug mail.
22490         * net/tramp-compat.el (tramp-compat-split-string)
22491         (tramp-compat-process-running-p): New defuns.
22493         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22494         for `dired-uncache'.
22496         * net/tramp-gvfs.el: New package.
22498         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22499         Add handler for `dired-uncache'.
22500         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22502         * net/trampver.el: Update release number.  Make version check fit
22503         for SXEmacs 22.
22505 2009-06-22  Jim Meyering  <meyering@redhat.com>
22507         Automatically handle .xz suffix (XZ-compressed files), too.
22508         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22509         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22511 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22512             Nick Roberts  <nickrob@snap.net.nz>
22514         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22515         repository (http://sphinx.net.ru/hg/gdb-mi/).
22517 2009-06-22  Glenn Morris  <rgm@gnu.org>
22519         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22520         `mode' and `eval' entries.  (Bug#3430)
22522         * Makefile.in (ELCFILES): Add fadr.elc.
22524         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22525         differing behavior of \n and ^ in strings.  (Bug#3385)
22527         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22529         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22530         property.
22531         (lisp-indent-function): Make it a defcustom.
22533 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22535         * progmodes/gdb-ui.el: Replace with ...
22536         * progmodes/gdb-mi.el: ... this file.
22537         * progmodes/gud.el: Modify for gdb-mi.el.
22539 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22541         * fadr.el: New file.
22543 See ChangeLog.14 for earlier changes.
22545 ;; Local Variables:
22546 ;; coding: utf-8
22547 ;; End:
22549   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22551   This file is part of GNU Emacs.
22553   GNU Emacs is free software: you can redistribute it and/or modify
22554   it under the terms of the GNU General Public License as published by
22555   the Free Software Foundation, either version 3 of the License, or
22556   (at your option) any later version.
22558   GNU Emacs is distributed in the hope that it will be useful,
22559   but WITHOUT ANY WARRANTY; without even the implied warranty of
22560   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22561   GNU General Public License for more details.
22563   You should have received a copy of the GNU General Public License
22564   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.